Home | History | Annotate | Download | only in unicode

Lines Matching defs:UnicodeString

89  * Constant to be used in the UnicodeString(char *, int32_t, EInvariant) constructor
98 #define US_INV icu::UnicodeString::kInvariant
102 * Dependent on the platform properties, different UnicodeString
103 * constructors should be used to create a UnicodeString object from
118 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)U_DECLARE_UTF16(cs), _length)
120 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)L ## cs, _length)
122 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)cs, _length)
124 # define UNICODE_STRING(cs, _length) icu::UnicodeString(cs, _length, US_INV)
129 * Dependent on the platform properties, different UnicodeString
130 * constructors should be used to create a UnicodeString object from
145 * If explicit, then the UnicodeString(UChar) and UnicodeString(UChar32)
162 * If explicit, then the UnicodeString(const char *) and UnicodeString(const UChar *)
166 * by passing a string literal into an API with a const UnicodeString & parameter.
180 * UnicodeString is a string class that stores Unicode characters directly and provides
184 * The UnicodeString class is not suitable for subclassing.
201 * UnicodeString::getChar32Start() and UnicodeString::getChar32Limit()
204 * UnicodeString methods are more lenient with regard to input parameter values
206 * - If indexes are out of bounds for a UnicodeString object
213 * - Most UnicodeString methods do not take a UErrorCode parameter because
218 * Instead, such methods set the UnicodeString into a "bogus" state
221 * In string comparisons, two UnicodeString objects that are both "bogus"
225 * Const UnicodeString methods are thread-safe. Multiple threads can use
226 * const methods on the same UnicodeString object simultaneously,
230 * Similarly, const UnicodeString & parameters are thread-safe.
232 * This includes the const UnicodeString & parameters for
235 * <p>UnicodeString uses several storage methods.
236 * String contents can be stored inside the UnicodeString object itself,
248 class U_COMMON_API UnicodeString : public Replaceable
253 * Constant to be used in the UnicodeString(char *, int32_t, EInvariant) constructor
276 * @param text The UnicodeString to compare to this one.
281 inline UBool operator== (const UnicodeString& text) const;
285 * @param text The UnicodeString to compare to this one.
290 inline UBool operator!= (const UnicodeString& text) const;
294 * @param text The UnicodeString to compare to this one.
299 inline UBool operator> (const UnicodeString& text) const;
303 * @param text The UnicodeString to compare to this one.
308 inline UBool operator< (const UnicodeString& text) const;
312 * @param text The UnicodeString to compare to this one.
317 inline UBool operator>= (const UnicodeString& text) const;
321 * @param text The UnicodeString to compare to this one.
326 inline UBool operator<= (const UnicodeString& text) const;
329 * Compare the characters bitwise in this UnicodeString to
331 * @param text The UnicodeString to compare to this one.
339 inline int8_t compare(const UnicodeString& text) const;
357 const UnicodeString& text) const;
378 const UnicodeString& srcText,
383 * Compare the characters bitwise in this UnicodeString with the first
385 * @param srcChars The characters to compare to this UnicodeString.
457 const UnicodeString& srcText,
478 inline int8_t compareCodePointOrder(const UnicodeString& text) const;
501 const UnicodeString& srcText) const;
526 const UnicodeString& srcText,
624 const UnicodeString& srcText,
646 inline int8_t caseCompare(const UnicodeString& text, uint32_t options) const;
670 const UnicodeString& srcText,
697 const UnicodeString& srcText,
803 const UnicodeString& srcText,
815 inline UBool startsWith(const UnicodeString& text) const;
827 inline UBool startsWith(const UnicodeString& srcText,
862 inline UBool endsWith(const UnicodeString& text) const;
874 inline UBool endsWith(const UnicodeString& srcText,
914 inline int32_t indexOf(const UnicodeString& text) const;
925 inline int32_t indexOf(const UnicodeString& text,
939 inline int32_t indexOf(const UnicodeString& text,
959 inline int32_t indexOf(const UnicodeString& srcText,
1098 inline int32_t lastIndexOf(const UnicodeString& text) const;
1109 inline int32_t lastIndexOf(const UnicodeString& text,
1123 inline int32_t lastIndexOf(const UnicodeString& text,
1143 inline int32_t lastIndexOf(const UnicodeString& srcText,
1370 * UnicodeString s=UNICODE_STRING("a\\U00010000b\\U0010ffff\\u2029", 31).unescape();
1444 * [<tt>start</tt>, <tt>start + length</tt>) into the UnicodeString
1448 * @param target UnicodeString into which to copy characters.
1454 UnicodeString& target) const;
1474 * into the UnicodeString <tt>target</tt>. Replaceable API.
1477 * @param target UnicodeString into which to copy characters.
1483 UnicodeString& target) const;
1550 * because it avoids object code dependencies of UnicodeString on
1584 * because it avoids object code dependencies of UnicodeString on
1608 * Convert the UnicodeString into a codepage string using an existing UConverter.
1640 * @return a read-only alias UnicodeString object for the substring
1643 UnicodeString tempSubString(int32_t start=0, int32_t length=INT32_MAX) const;
1652 * @return a read-only alias UnicodeString object for the substring
1655 inline UnicodeString tempSubStringBetween(int32_t start, int32_t limit=INT32_MAX) const;
1658 * Convert the UnicodeString to UTF-8 and write the result
1673 * Convert the UnicodeString to UTF-8 and append the result
1694 * Convert the UnicodeString to UTF-32.
1713 * Return the length of the UnicodeString object.
1714 * The length is the number of UChar code units are in the UnicodeString.
1716 * @return the length of the UnicodeString object
1772 * Return the capacity of the internal buffer of the UnicodeString object.
1786 * @return The hash code of this UnicodeString.
1813 * Assignment operator. Replace the characters in this UnicodeString
1819 UnicodeString &operator=(const UnicodeString &srcText);
1823 * Replace the characters in this UnicodeString
1835 * this UnicodeString does not exceed the lifetime of the aliased buffer
1843 UnicodeString &fastCopyFrom(const UnicodeString &src);
1846 * Assignment operator. Replace the characters in this UnicodeString
1852 inline UnicodeString& operator= (UChar ch);
1855 * Assignment operator. Replace the characters in this UnicodeString
1861 inline UnicodeString& operator= (UChar32 ch);
1864 * Set the text in the UnicodeString object to the characters
1874 inline UnicodeString& setTo(const UnicodeString& srcText,
1878 * Set the text in the UnicodeString object to the characters
1890 inline UnicodeString& setTo(const UnicodeString& srcText,
1895 * Set the text in the UnicodeString object to the characters in
1902 inline UnicodeString& setTo(const UnicodeString& srcText);
1905 * Set the characters in the UnicodeString object to the characters
1912 inline UnicodeString& setTo(const UChar *srcChars,
1916 * Set the characters in the UnicodeString object to the code unit
1918 * @param srcChar the code unit which becomes the UnicodeString's character
1923 UnicodeString& setTo(UChar srcChar);
1926 * Set the characters in the UnicodeString object to the code point
1928 * @param srcChar the code point which becomes the UnicodeString's character
1933 UnicodeString& setTo(UChar32 srcChar);
1937 * The text will be used for the UnicodeString object, but
1938 * it will not be released when the UnicodeString is destroyed.
1944 * In an assignment to another UnicodeString, when using the copy constructor
1951 * @param text The characters to alias for the UnicodeString.
1958 UnicodeString &setTo(UBool isTerminated,
1964 * The text will be used for the UnicodeString object, but
1965 * it will not be released when the UnicodeString is destroyed.
1971 * In an assignment to another UnicodeString, the buffer will be copied.
1975 * @param buffer The characters to alias for the UnicodeString.
1981 UnicodeString &setTo(UChar *buffer,
1986 * Make this UnicodeString object invalid.
1994 * This utility function is used throughout the UnicodeString
1995 * implementation to indicate that a UnicodeString operation failed,
2015 * s=UnicodeString(); // assign an empty string, or
2034 UnicodeString& setCharAt(int32_t offset,
2041 * Append operator. Append the code unit <TT>ch</TT> to the UnicodeString
2047 inline UnicodeString& operator+= (UChar ch);
2050 * Append operator. Append the code point <TT>ch</TT> to the UnicodeString
2056 inline UnicodeString& operator+= (UChar32 ch);
2060 * UnicodeString object. <TT>srcText</TT> is not modified.
2065 inline UnicodeString& operator+= (const UnicodeString& srcText);
2071 * UnicodeString object at offset <TT>start</TT>. <TT>srcText</TT>
2081 inline UnicodeString& append(const UnicodeString& srcText,
2086 * Append the characters in <TT>srcText</TT> to the UnicodeString object.
2092 inline UnicodeString& append(const UnicodeString& srcText);
2096 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>) to the UnicodeString
2107 inline UnicodeString& append(const UChar *srcChars,
2112 * Append the characters in <TT>srcChars</TT> to the UnicodeString object
2120 inline UnicodeString& append(const UChar *srcChars,
2124 * Append the code unit <TT>srcChar</TT> to the UnicodeString object.
2129 inline UnicodeString& append(UChar srcChar);
2132 * Append the code point <TT>srcChar</TT> to the UnicodeString object.
2137 UnicodeString& append(UChar32 srcChar);
2144 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>) into the UnicodeString
2155 inline UnicodeString& insert(int32_t start,
2156 const UnicodeString& srcText,
2161 * Insert the characters in <TT>srcText</TT> into the UnicodeString object
2168 inline UnicodeString& insert(int32_t start,
2169 const UnicodeString& srcText);
2173 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>) into the UnicodeString
2184 inline UnicodeString& insert(int32_t start,
2190 * Insert the characters in <TT>srcChars</TT> into the UnicodeString object
2198 inline UnicodeString& insert(int32_t start,
2203 * Insert the code unit <TT>srcChar</TT> into the UnicodeString object at
2210 inline UnicodeString& insert(int32_t start,
2214 * Insert the code point <TT>srcChar</TT> into the UnicodeString object at
2221 inline UnicodeString& insert(int32_t start,
2244 UnicodeString& replace(int32_t start,
2246 const UnicodeString& srcText,
2262 UnicodeString& replace(int32_t start,
2264 const UnicodeString& srcText);
2283 UnicodeString& replace(int32_t start,
2301 inline UnicodeString& replace(int32_t start,
2317 inline UnicodeString& replace(int32_t start,
2332 UnicodeString& replace(int32_t start, int32_t length, UChar32 srcChar);
2343 inline UnicodeString& replaceBetween(int32_t start,
2345 const UnicodeString& srcText);
2361 inline UnicodeString& replaceBetween(int32_t start,
2363 const UnicodeString& srcText,
2379 const UnicodeString& text);
2415 inline UnicodeString& findAndReplace(const UnicodeString& oldText,
2416 const UnicodeString& newText);
2429 inline UnicodeString& findAndReplace(int32_t start,
2431 const UnicodeString& oldText,
2432 const UnicodeString& newText);
2451 UnicodeString& findAndReplace(int32_t start,
2453 const UnicodeString& oldText,
2456 const UnicodeString& newText,
2464 * Remove all characters from the UnicodeString object.
2468 inline UnicodeString& remove(void);
2472 * [<TT>start</TT>, <TT>start + length</TT>) from the UnicodeString object.
2478 inline UnicodeString& remove(int32_t start,
2483 * [<TT>start</TT>, <TT>limit</TT>) from the UnicodeString object.
2489 inline UnicodeString& removeBetween(int32_t start,
2494 * [<code>start</code>, <code>limit</code>) from the UnicodeString object.
2501 inline UnicodeString &retainBetween(int32_t start, int32_t limit = INT32_MAX);
2506 * Pad the start of this UnicodeString with the character <TT>padChar</TT>.
2507 * If the length of this UnicodeString is less than targetLength,
2509 * beginning of this UnicodeString.
2520 * Pad the end of this UnicodeString with the character <TT>padChar</TT>.
2521 * If the length of this UnicodeString is less than targetLength,
2523 * end of this UnicodeString.
2534 * Truncate this UnicodeString to the <TT>targetLength</TT>.
2535 * @param targetLength the desired length of this UnicodeString.
2542 * Trims leading and trailing whitespace from this UnicodeString.
2546 UnicodeString& trim(void);
2552 * Reverse this UnicodeString in place.
2556 inline UnicodeString& reverse(void);
2560 * this UnicodeString.
2566 inline UnicodeString& reverse(int32_t start,
2575 UnicodeString& toUpper(void);
2584 UnicodeString& toUpper(const Locale& locale);
2592 UnicodeString& toLower(void);
2601 UnicodeString& toLower(const Locale& locale);
2631 UnicodeString &toTitle(BreakIterator *titleIter);
2660 UnicodeString &toTitle(BreakIterator *titleIter, const Locale &locale);
2693 UnicodeString &toTitle(BreakIterator *titleIter, const Locale &locale, uint32_t options);
2710 UnicodeString &foldCase(uint32_t options=0 /*U_FOLD_CASE_DEFAULT*/);
2719 * writable, and is still owned by the UnicodeString object.
2726 * state of the UnicodeString object.
2736 * - Any read API call on the UnicodeString object will behave like on a 0-length string.
2737 * - Any write API call on the UnicodeString object is disallowed and will have no effect.
2747 * return to normal UnicodeString operation.
2762 * Release a read/write buffer on a UnicodeString object with an
2771 * After calling releaseBuffer(newLength) the UnicodeString is back to normal operation.
2773 * @param newLength the new length of the UnicodeString object;
2785 * This can be called at any time on a valid UnicodeString.
2791 * The pointer that it returns will remain valid until the UnicodeString object is modified,
2796 * depending on the history of the UnicodeString object.
2818 * This can be called at any time on a valid UnicodeString.
2825 * The pointer that it returns will remain valid until the UnicodeString object is modified,
2830 * depending on the history of the UnicodeString object.
2836 * Note that a UnicodeString may also contain NUL characters as part of its contents.
2854 /** Construct an empty UnicodeString.
2857 inline UnicodeString();
2860 * Construct a UnicodeString with capacity to hold <TT>capacity</TT> UChars
2861 * @param capacity the number of UChars this UnicodeString should hold
2870 UnicodeString(int32_t capacity, UChar32 c, int32_t count);
2878 * @param ch the character to place in the UnicodeString
2881 UNISTR_FROM_CHAR_EXPLICIT UnicodeString(UChar ch);
2889 * @param ch the character to place in the UnicodeString
2892 UNISTR_FROM_CHAR_EXPLICIT UnicodeString(UChar32 ch);
2900 * @param text The characters to place in the UnicodeString. <TT>text</TT>
2904 UNISTR_FROM_STRING_EXPLICIT UnicodeString(const UChar *text);
2908 * @param text The characters to place in the UnicodeString.
2913 UnicodeString(const UChar *text,
2918 * The text will be used for the UnicodeString object, but
2919 * it will not be released when the UnicodeString is destroyed.
2925 * In an assignment to another UnicodeString, when using the copy constructor
2932 * @param text The characters to alias for the UnicodeString.
2938 UnicodeString(UBool isTerminated,
2944 * The text will be used for the UnicodeString object, but
2945 * it will not be released when the UnicodeString is destroyed.
2951 * In an assignment to another UnicodeString, the buffer will be copied.
2955 * @param buffer The characters to alias for the UnicodeString.
2960 UnicodeString(UChar *buffer, int32_t buffLength, int32_t buffCapacity);
2983 UNISTR_FROM_STRING_EXPLICIT UnicodeString(const char *codepageData);
2993 UnicodeString(const char *codepageData, int32_t dataLength);
3010 * UnicodeString(const char *src, int32_t length, enum EInvariant inv)
3011 * because it avoids object code dependencies of UnicodeString on
3016 UnicodeString(const char *codepageData, const char *codepage);
3029 * UnicodeString(const char *src, int32_t length, enum EInvariant inv)
3030 * because it avoids object code dependencies of UnicodeString on
3035 UnicodeString(const char *codepageData, int32_t dataLength, const char *codepage);
3040 * convert the codepage string to Unicode and construct a UnicodeString
3058 UnicodeString(
3077 * UnicodeString ustr(s, -1, US_INV);
3089 UnicodeString(const char *src, int32_t length, enum EInvariant inv);
3094 * @param that The UnicodeString object to copy.
3097 UnicodeString(const UnicodeString& that);
3101 * @param src The UnicodeString object to copy.
3105 UnicodeString(const UnicodeString& src, int32_t srcStart);
3109 * @param src The UnicodeString object to copy.
3114 UnicodeString(const UnicodeString& src, int32_t srcStart, int32_t srcLength);
3137 virtual ~UnicodeString();
3140 * Create a UnicodeString from a UTF-8 string.
3147 * @return A UnicodeString with equivalent UTF-16 contents.
3152 static UnicodeString fromUTF8(const StringPiece &utf8);
3155 * Create a UnicodeString from a UTF-32 string.
3161 * @return A UnicodeString with equivalent UTF-16 contents.
3165 static UnicodeString fromUTF32(const UChar32 *utf32, int32_t length);
3198 * @see UnicodeString#unescapeAt()
3203 UnicodeString unescape() const;
3219 * @see UnicodeString#unescape()
3253 * UnicodeString::charAt() to be inline again (see jitterbug 709).
3260 * UnicodeString::char32At() to be inline again (see jitterbug 709).
3267 UnicodeString &setToUTF8(const StringPiece &utf8);
3281 UBool doEquals(const UnicodeString &text, int32_t len) const;
3286 const UnicodeString& srcText,
3299 const UnicodeString& srcText,
3312 const UnicodeString &srcText,
3348 UnicodeString& target) const;
3352 UnicodeString& doReplace(int32_t start,
3354 const UnicodeString& srcText,
3358 UnicodeString& doReplace(int32_t start,
3364 UnicodeString& doReverse(int32_t start,
3375 // A UnicodeString object (not necessarily its current buffer)
3400 UnicodeString &copyFrom(const UnicodeString &src, UBool fastCopy=FALSE);
3430 * Worker function for creating a UnicodeString from
3459 * Common function for UnicodeString case mappings.
3463 UnicodeString &
3473 // Set the stack buffer size so that sizeof(UnicodeString) is,
3504 * in each UnicodeString object.
3505 * Note that UnicodeString has virtual functions,
3517 * - sizeof(class UnicodeString)
3518 * - offsetof(UnicodeString, fUnion)
3534 * to get up exactly to the intended sizeof(UnicodeString).
3553 * Create a new UnicodeString with the concatenation of two others.
3557 * @return UnicodeString(s1).append(s2)
3560 U_COMMON_API UnicodeString U_EXPORT2
3561 operator+ (const UnicodeString &s1, const UnicodeString &s2);
3572 UnicodeString::pinIndex(int32_t& start) const
3583 UnicodeString::pinIndices(int32_t& start,
3601 UnicodeString::getArrayStart()
3605 UnicodeString::getArrayStart() const
3613 UnicodeString::UnicodeString()
3622 UnicodeString::length() const
3626 UnicodeString::getCapacity() const
3630 UnicodeString::hashCode() const
3634 UnicodeString::isBogus() const
3638 UnicodeString::isWritable() const
3642 UnicodeString::isBufferWritable() const
3650 UnicodeString::getBuffer() const {
3664 UnicodeString::doCompare(int32_t start,
3666 const UnicodeString& srcText,
3679 UnicodeString::operator== (const UnicodeString& text) const
3690 UnicodeString::operator!= (const UnicodeString& text) const
3694 UnicodeString::operator> (const UnicodeString& text) const
3698 UnicodeString::operator< (const UnicodeString& text) const
3702 UnicodeString::operator>= (const UnicodeString& text) const
3706 UnicodeString::operator<= (const UnicodeString& text) const
3710 UnicodeString::compare(const UnicodeString& text) const
3714 UnicodeString::compare(int32_t start,
3716 const UnicodeString& srcText) const
3720 UnicodeString::compare(const UChar *srcChars,
3725 UnicodeString::compare(int32_t start,
3727 const UnicodeString& srcText,
3733 UnicodeString::compare(int32_t start,
3739 UnicodeString::compare(int32_t start,
3747 UnicodeString::compareBetween(int32_t start,
3749 const UnicodeString& srcText,
3756 UnicodeString::doCompareCodePointOrder(int32_t start,
3758 const UnicodeString& srcText,
3771 UnicodeString::compareCodePointOrder(const UnicodeString& text) const
3775 UnicodeString::compareCodePointOrder(int32_t start,
3777 const UnicodeString& srcText) const
3781 UnicodeString::compareCodePointOrder(const UChar *srcChars,
3786 UnicodeString::compareCodePointOrder(int32_t start,
3788 const UnicodeString& srcText,
3794 UnicodeString::compareCodePointOrder(int32_t start,
3800 UnicodeString::compareCodePointOrder(int32_t start,
3808 UnicodeString::compareCodePointOrderBetween(int32_t start,
3810 const UnicodeString& srcText,
3817 UnicodeString::doCaseCompare(int32_t start,
3819 const UnicodeString &srcText,
3833 UnicodeString::caseCompare(const UnicodeString &text, uint32_t options) const {
3838 UnicodeString::caseCompare(int32_t start,
3840 const UnicodeString &srcText,
3846 UnicodeString::caseCompare(const UChar *srcChars,
3853 UnicodeString::caseCompare(int32_t start,
3855 const UnicodeString &srcText,
3863 UnicodeString::caseCompare(int32_t start,
3871 UnicodeString::caseCompare(int32_t start,
3881 UnicodeString::caseCompareBetween(int32_t start,
3883 const UnicodeString &srcText,
3891 UnicodeString::indexOf(const UnicodeString& srcText,
3907 UnicodeString::indexOf(const UnicodeString& text) const
3911 UnicodeString::indexOf(const UnicodeString& text,
3918 UnicodeString::indexOf(const UnicodeString& text,
3924 UnicodeString::indexOf(const UChar *srcChars,
3932 UnicodeString::indexOf(const UChar *srcChars,
3939 UnicodeString::indexOf(UChar c,
3945 UnicodeString::indexOf(UChar32 c,
3951 UnicodeString::indexOf(UChar c) const
3955 UnicodeString::indexOf(UChar32 c) const
3959 UnicodeString::indexOf(UChar c,
3966 UnicodeString::indexOf(UChar32 c,
3973 UnicodeString::lastIndexOf(const UChar *srcChars,
3980 UnicodeString::lastIndexOf(const UChar *srcChars,
3988 UnicodeString::lastIndexOf(const UnicodeString& srcText,
4004 UnicodeString::lastIndexOf(const UnicodeString& text,
4010 UnicodeString::lastIndexOf(const UnicodeString& text,
4017 UnicodeString::lastIndexOf(const UnicodeString& text) const
4021 UnicodeString::lastIndexOf(UChar c,
4027 UnicodeString::lastIndexOf(UChar32 c,
4034 UnicodeString::lastIndexOf(UChar c) const
4038 UnicodeString::lastIndexOf(UChar32 c) const {
4043 UnicodeString::lastIndexOf(UChar c,
4050 UnicodeString::lastIndexOf(UChar32 c,
4057 UnicodeString::startsWith(const UnicodeString& text) const
4061 UnicodeString::startsWith(const UnicodeString& srcText,
4067 UnicodeString::startsWith(const UChar *srcChars, int32_t srcLength) const {
4075 UnicodeString::startsWith(const UChar *srcChars, int32_t srcStart, int32_t srcLength) const {
4083 UnicodeString::endsWith(const UnicodeString& text) const
4088 UnicodeString::endsWith(const UnicodeString& srcText,
4097 UnicodeString::endsWith(const UChar *srcChars,
4107 UnicodeString::endsWith(const UChar *srcChars,
4120 inline UnicodeString&
4121 UnicodeString::replace(int32_t start,
4123 const UnicodeString& srcText)
4126 inline UnicodeString&
4127 UnicodeString::replace(int32_t start,
4129 const UnicodeString& srcText,
4134 inline UnicodeString&
4135 UnicodeString::replace(int32_t start,
4141 inline UnicodeString&
4142 UnicodeString::replace(int32_t start,
4149 inline UnicodeString&
4150 UnicodeString::replace(int32_t start,
4155 inline UnicodeString&
4156 UnicodeString::replaceBetween(int32_t start,
4158 const UnicodeString& srcText)
4161 inline UnicodeString&
4162 UnicodeString::replaceBetween(int32_t start,
4164 const UnicodeString& srcText,
4169 inline UnicodeString&
4170 UnicodeString::findAndReplace(const UnicodeString& oldText,
4171 const UnicodeString& newText)
4175 inline UnicodeString&
4176 UnicodeString::findAndReplace(int32_t start,
4178 const UnicodeString& oldText,
4179 const UnicodeString& newText)
4187 UnicodeString::doExtract(int32_t start,
4189 UnicodeString& target) const
4193 UnicodeString::extract(int32_t start,
4200 UnicodeString::extract(int32_t start,
4202 UnicodeString& target) const
4208 UnicodeString::extract(int32_t start,
4221 UnicodeString::extractBetween(int32_t start,
4230 inline UnicodeString
4231 UnicodeString::tempSubStringBetween(int32_t start, int32_t limit) const {
4236 UnicodeString::doCharAt(int32_t offset) const
4246 UnicodeString::charAt(int32_t offset) const
4250 UnicodeString::operator[] (int32_t offset) const
4254 UnicodeString::isEmpty() const {
4262 UnicodeString::setLength(int32_t len) {
4272 UnicodeString::setToEmpty() {
4278 UnicodeString::setArray(UChar *array, int32_t len, int32_t capacity) {
4285 UnicodeString::getTerminatedBuffer() {
4326 inline UnicodeString&
4327 UnicodeString::operator= (UChar ch)
4330 inline UnicodeString&
4331 UnicodeString::operator= (UChar32 ch)
4334 inline UnicodeString&
4335 UnicodeString::setTo(const UnicodeString& srcText,
4343 inline UnicodeString&
4344 UnicodeString::setTo(const UnicodeString& srcText,
4352 inline UnicodeString&
4353 UnicodeString::setTo(const UnicodeString& srcText)
4358 inline UnicodeString&
4359 UnicodeString::setTo(const UChar *srcChars,
4366 inline UnicodeString&
4367 UnicodeString::setTo(UChar srcChar)
4373 inline UnicodeString&
4374 UnicodeString::setTo(UChar32 srcChar)
4380 inline UnicodeString&
4381 UnicodeString::append(const UnicodeString& srcText,
4386 inline UnicodeString&
4387 UnicodeString::append(const UnicodeString& srcText)
4390 inline UnicodeString&
4391 UnicodeString::append(const UChar *srcChars,
4396 inline UnicodeString&
4397 UnicodeString::append(const UChar *srcChars,
4401 inline UnicodeString&
4402 UnicodeString::append(UChar srcChar)
4405 inline UnicodeString&
4406 UnicodeString::operator+= (UChar ch)
4409 inline UnicodeString&
4410 UnicodeString::operator+= (UChar32 ch) {
4414 inline UnicodeString&
4415 UnicodeString::operator+= (const UnicodeString& srcText)
4418 inline UnicodeString&
4419 UnicodeString::insert(int32_t start,
4420 const UnicodeString& srcText,
4425 inline UnicodeString&
4426 UnicodeString::insert(int32_t start,
4427 const UnicodeString& srcText)
4430 inline UnicodeString&
4431 UnicodeString::insert(int32_t start,
4437 inline UnicodeString&
4438 UnicodeString::insert(int32_t start,
4443 inline UnicodeString&
4444 UnicodeString::insert(int32_t start,
4448 inline UnicodeString&
4449 UnicodeString::insert(int32_t start,
4454 inline UnicodeString&
4455 UnicodeString::remove()
4468 inline UnicodeString&
4469 UnicodeString::remove(int32_t start,
4479 inline UnicodeString&
4480 UnicodeString::removeBetween(int32_t start,
4484 inline UnicodeString &
4485 UnicodeString::retainBetween(int32_t start, int32_t limit) {
4491 UnicodeString::truncate(int32_t targetLength)
4508 inline UnicodeString&
4509 UnicodeString::reverse()
4512 inline UnicodeString&
4513 UnicodeString::reverse(int32_t start,