summaryrefslogtreecommitdiff
path: root/ACE/ace
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-09-24 12:45:24 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-09-24 12:45:24 +0000
commit40b11ff88eaa927ab6a2869a2928e6bb5db365ad (patch)
tree651994eee0ca6cd97aa51e262a73cfe01e9fc649 /ACE/ace
parent33d155ed884b8e56ad37c9ea33daf9ef0c5348ac (diff)
downloadATCD-40b11ff88eaa927ab6a2869a2928e6bb5db365ad.tar.gz
Fri Sep 24 12:41:13 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* ACE-INSTALL.html: Updated Remedy platforms * ACEXML/parser/parser/Parser.h: * ace/Containers_T.h: * ace/Containers_T.cpp: * ace/OS_NS_string.h: * ace/OS_NS_wchar.h: * apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/shexp.h: Fixed typo
Diffstat (limited to 'ACE/ace')
-rw-r--r--ACE/ace/Containers_T.cpp4
-rw-r--r--ACE/ace/Containers_T.h2
-rw-r--r--ACE/ace/OS_NS_string.h46
-rw-r--r--ACE/ace/OS_NS_wchar.h4
4 files changed, 28 insertions, 28 deletions
diff --git a/ACE/ace/Containers_T.cpp b/ACE/ace/Containers_T.cpp
index 91c51f3b398..6e809a9f2da 100644
--- a/ACE/ace/Containers_T.cpp
+++ b/ACE/ace/Containers_T.cpp
@@ -1621,7 +1621,7 @@ template <class T> int
ACE_Ordered_MultiSet<T>::find (const T &item,
ITERATOR &iter) const
{
- // search an occurence of item, using iterator's current position as a hint
+ // search an occurrence of item, using iterator's current position as a hint
ACE_DNode<T> *node = iter.current_;
int const result = locate (item, node, node);
@@ -1779,7 +1779,7 @@ ACE_Ordered_MultiSet<T>::locate (const T &item, ACE_DNode<T> *start_position,
return 0;
}
-// Looks for first occurence of <item> in the ordered set, using the
+// Looks for first occurrence of <item> in the ordered set, using the
// passed starting position as a hint: if there is such an instance,
// it updates the new_position pointer to point to one such node and
// returns 0; if there is no such node, then if there is a node before
diff --git a/ACE/ace/Containers_T.h b/ACE/ace/Containers_T.h
index 5d7c182b850..fe1d6de5789 100644
--- a/ACE/ace/Containers_T.h
+++ b/ACE/ace/Containers_T.h
@@ -1920,7 +1920,7 @@ private:
ACE_DNode<T> **new_position);
/**
- * Looks for first occurence of @a item in the ordered set, using the
+ * Looks for first occurrence of @a item in the ordered set, using the
* passed starting position as a hint: if there is such an instance, it
* updates the new_position pointer to point to this node and returns 0;
* if there is no such node, then if there is a node before where the
diff --git a/ACE/ace/OS_NS_string.h b/ACE/ace/OS_NS_string.h
index be360bcb9d7..35ad7f46d1b 100644
--- a/ACE/ace/OS_NS_string.h
+++ b/ACE/ace/OS_NS_string.h
@@ -97,24 +97,24 @@ namespace ACE_OS {
wchar_t *strcat (wchar_t *s, const wchar_t *t);
#endif /* ACE_HAS_WCHAR */
- /// Finds the first occurence of a character in a string (const char
+ /// Finds the first occurrence of a character in a string (const char
/// version).
ACE_NAMESPACE_INLINE_FUNCTION
const char *strchr (const char *s, int c);
#if defined (ACE_HAS_WCHAR)
- /// Finds the first occurence of a character in a string (const wchar_t
+ /// Finds the first occurrence of a character in a string (const wchar_t
/// version).
ACE_NAMESPACE_INLINE_FUNCTION
const wchar_t *strchr (const wchar_t *s, wchar_t c);
#endif /* ACE_HAS_WCHAR */
- /// Finds the first occurence of a character in a string (char version).
+ /// Finds the first occurrence of a character in a string (char version).
ACE_NAMESPACE_INLINE_FUNCTION
char *strchr (char *s, int c);
#if defined (ACE_HAS_WCHAR)
- /// Finds the first occurence of a character in a string (wchar_t version).
+ /// Finds the first occurrence of a character in a string (wchar_t version).
ACE_NAMESPACE_INLINE_FUNCTION
wchar_t *strchr (wchar_t *s, wchar_t c);
#endif /* ACE_HAS_WCHAR */
@@ -197,7 +197,7 @@ namespace ACE_OS {
/// Returns a string describing the signal number passed in the
- /// argument signum. If the supplied signal number is out of range,
+ /// argument @a signum. If the supplied signal number is out of range,
/// a string of the form "Unknown signal %d" is used to format the string
/// whose pointer is returned.
extern ACE_Export
@@ -219,21 +219,21 @@ namespace ACE_OS {
ACE_NAMESPACE_INLINE_FUNCTION
ACE_WCHAR_T *strncat (ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len);
- /// Finds the first occurence of a character in an array (const char
+ /// Finds the first occurrence of a character in an array (const char
/// version).
extern ACE_Export
const char *strnchr (const char *s, int c, size_t len);
- /// Finds the first occurence of a character in an array (const ACE_WCHAR_T
+ /// Finds the first occurrence of a character in an array (const ACE_WCHAR_T
/// version).
extern ACE_Export
const ACE_WCHAR_T *strnchr (const ACE_WCHAR_T *s, ACE_WCHAR_T c, size_t len);
- /// Finds the first occurence of a character in an array (char version).
+ /// Finds the first occurrence of a character in an array (char version).
ACE_NAMESPACE_INLINE_FUNCTION
char *strnchr (char *s, int c, size_t len);
- /// Finds the first occurence of a character in an array (ACE_WCHAR_T version).
+ /// Finds the first occurrence of a character in an array (ACE_WCHAR_T version).
ACE_NAMESPACE_INLINE_FUNCTION
ACE_WCHAR_T *strnchr (ACE_WCHAR_T *s, ACE_WCHAR_T c, size_t len);
@@ -277,23 +277,23 @@ namespace ACE_OS {
ACE_NAMESPACE_INLINE_FUNCTION
size_t strnlen (const ACE_WCHAR_T *s, size_t maxlen);
- /// Finds the first occurence of a substring in an array (const char
+ /// Finds the first occurrence of a substring in an array (const char
/// version).
extern ACE_Export
const char *strnstr (const char *s, const char *t, size_t len);
- /// Finds the first occurence of a substring in an array (const wchar_t
+ /// Finds the first occurrence of a substring in an array (const wchar_t
/// version).
extern ACE_Export
const ACE_WCHAR_T *strnstr (const ACE_WCHAR_T *s,
const ACE_WCHAR_T *t,
size_t len);
- /// Finds the first occurence of a substring in an array (char version).
+ /// Finds the first occurrence of a substring in an array (char version).
ACE_NAMESPACE_INLINE_FUNCTION
char *strnstr (char *s, const char *t, size_t len);
- /// Finds the first occurence of a substring in an array (wchar_t version).
+ /// Finds the first occurrence of a substring in an array (wchar_t version).
ACE_NAMESPACE_INLINE_FUNCTION
ACE_WCHAR_T *strnstr (ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len);
@@ -317,35 +317,35 @@ namespace ACE_OS {
wchar_t *strpbrk (wchar_t *s1, const wchar_t *s2);
#endif /* ACE_HAS_WCHAR */
- /// Finds the last occurence of a character in a string (const char
+ /// Finds the last occurrence of a character in a string (const char
/// version).
ACE_NAMESPACE_INLINE_FUNCTION
const char *strrchr (const char *s, int c);
#if defined (ACE_HAS_WCHAR)
- /// Finds the last occurence of a character in a string (const wchar_t
+ /// Finds the last occurrence of a character in a string (const wchar_t
/// version).
ACE_NAMESPACE_INLINE_FUNCTION
const wchar_t *strrchr (const wchar_t *s, wchar_t c);
#endif /* ACE_HAS_WCHAR */
- /// Finds the last occurence of a character in a string (char version).
+ /// Finds the last occurrence of a character in a string (char version).
ACE_NAMESPACE_INLINE_FUNCTION
char *strrchr (char *s, int c);
#if defined (ACE_HAS_WCHAR)
- /// Finds the last occurence of a character in a string (wchar_t version).
+ /// Finds the last occurrence of a character in a string (wchar_t version).
ACE_NAMESPACE_INLINE_FUNCTION
wchar_t *strrchr (wchar_t *s, wchar_t c);
#endif /* ACE_HAS_WCHAR */
#if defined (ACE_LACKS_STRRCHR)
- /// Emulated strrchr (char version) - Finds the last occurence of a
+ /// Emulated strrchr (char version) - Finds the last occurrence of a
/// character in a string.
extern ACE_Export
char *strrchr_emulation (char *s, int c);
- /// Emulated strrchr (const char version) - Finds the last occurence of a
+ /// Emulated strrchr (const char version) - Finds the last occurrence of a
/// character in a string.
extern ACE_Export
const char *strrchr_emulation (const char *s, int c);
@@ -405,24 +405,24 @@ namespace ACE_OS {
size_t strspn (const wchar_t *s1, const wchar_t *s2);
#endif /* ACE_HAS_WCHAR */
- /// Finds the first occurence of a substring in a string (const char
+ /// Finds the first occurrence of a substring in a string (const char
/// version).
ACE_NAMESPACE_INLINE_FUNCTION
const char *strstr (const char *s, const char *t);
#if defined (ACE_HAS_WCHAR)
- /// Finds the first occurence of a substring in a string (const wchar_t
+ /// Finds the first occurrence of a substring in a string (const wchar_t
/// version).
ACE_NAMESPACE_INLINE_FUNCTION
const wchar_t *strstr (const wchar_t *s, const wchar_t *t);
#endif /* ACE_HAS_WCHAR */
- /// Finds the first occurence of a substring in a string (char version).
+ /// Finds the first occurrence of a substring in a string (char version).
ACE_NAMESPACE_INLINE_FUNCTION
char *strstr (char *s, const char *t);
#if defined (ACE_HAS_WCHAR)
- /// Finds the first occurence of a substring in a string (wchar_t version).
+ /// Finds the first occurrence of a substring in a string (wchar_t version).
ACE_NAMESPACE_INLINE_FUNCTION
wchar_t *strstr (wchar_t *s, const wchar_t *t);
#endif /* ACE_HAS_WCHAR */
diff --git a/ACE/ace/OS_NS_wchar.h b/ACE/ace/OS_NS_wchar.h
index 614a19fc435..0e8c6a7c8f9 100644
--- a/ACE/ace/OS_NS_wchar.h
+++ b/ACE/ace/OS_NS_wchar.h
@@ -136,12 +136,12 @@ namespace ACE_OS
#endif /* ACE_HAS_WCHAR && ACE_LACKS_WCSPBRK */
#if defined (ACE_HAS_WCHAR) && defined (ACE_LACKS_WCSRCHR)
- /// Emulated wcsrchr (wchar_t version) - Finds the last occurence of a
+ /// Emulated wcsrchr (wchar_t version) - Finds the last occurrence of a
/// character in a string.
extern ACE_Export
wchar_t *wcsrchr_emulation (wchar_t *string, wint_t c);
- /// Emulated wcsrchr (const wchar_t version) - Finds the last occurence of a
+ /// Emulated wcsrchr (const wchar_t version) - Finds the last occurrence of a
/// character in a string.
extern ACE_Export
const wchar_t *wcsrchr_emulation (const wchar_t *string, wint_t c);