• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/icu/unicode/

Lines Matching refs:srcChars

323    * <TT>srcLength</TT> characters in <TT>srcChars</TT>.
324 * @param srcChars The characters to compare to this UnicodeString.
325 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
327 * contains the same characters as <code>srcChars</code>, -1 if the characters in
328 * this are bitwise less than the characters in <code>srcChars</code>, +1 if the
330 * in <code>srcChars</code>.
333 inline int8_t compare(const UChar *srcChars,
339 * <TT>length</TT> characters in <TT>srcChars</TT>
342 * @param srcChars the characters to be compared
344 * contains the same characters as <code>srcChars</code>, -1 if the characters in
345 * this are bitwise less than the characters in <code>srcChars</code>, +1 if the
347 * in <code>srcChars</code>.
352 const UChar *srcChars) const;
357 * in <TT>srcChars</TT> in the range
361 * @param srcChars the characters to be compared
362 * @param srcStart the offset into <TT>srcChars</TT> to start comparison
363 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
365 * contains the same characters as <code>srcChars</code>, -1 if the characters in
366 * this are bitwise less than the characters in <code>srcChars</code>, +1 if the
368 * in <code>srcChars</code>.
373 const UChar *srcChars,
480 * @param srcChars A pointer to another string to compare this one to.
487 inline int8_t compareCodePointOrder(const UChar *srcChars,
503 * @param srcChars A pointer to another string to compare this one to.
511 const UChar *srcChars) const;
526 * @param srcChars A pointer to another string to compare this one to.
536 const UChar *srcChars,
643 * This is equivalent to this->foldCase(options).compare(srcChars.foldCase(options)).
645 * @param srcChars A pointer to another string to compare this one to.
660 inline int8_t caseCompare(const UChar *srcChars,
666 * This is equivalent to this->foldCase(options).compare(srcChars.foldCase(options)).
670 * @param srcChars A pointer to another string to compare this one to.
686 const UChar *srcChars,
691 * This is equivalent to this->foldCase(options).compare(srcChars.foldCase(options)).
695 * @param srcChars A pointer to another string to compare this one to.
713 const UChar *srcChars,
771 * Determine if this starts with the characters in <TT>srcChars</TT>
772 * @param srcChars The characters to match.
773 * @param srcLength the number of characters in <TT>srcChars</TT>
774 * @return TRUE if this starts with the characters in <TT>srcChars</TT>,
778 inline UBool startsWith(const UChar *srcChars,
782 * Determine if this ends with the characters in <TT>srcChars</TT>
784 * @param srcChars The characters to match.
786 * @param srcLength the number of characters in <TT>srcChars</TT> to match
787 * @return TRUE if this ends with the characters in <TT>srcChars</TT>, FALSE otherwise
790 inline UBool startsWith(const UChar *srcChars,
818 * Determine if this ends with the characters in <TT>srcChars</TT>
819 * @param srcChars The characters to match.
820 * @param srcLength the number of characters in <TT>srcChars</TT>
821 * @return TRUE if this ends with the characters in <TT>srcChars</TT>,
825 inline UBool endsWith(const UChar *srcChars,
829 * Determine if this ends with the characters in <TT>srcChars</TT>
831 * @param srcChars The characters to match.
833 * @param srcLength the number of characters in <TT>srcChars</TT> to match
834 * @return TRUE if this ends with the characters in <TT>srcChars</TT>,
838 inline UBool endsWith(const UChar *srcChars,
906 * <TT>srcChars</TT>
908 * @param srcChars The text to search for.
909 * @param srcLength the number of characters in <TT>srcChars</TT> to match
915 inline int32_t indexOf(const UChar *srcChars,
922 * in <TT>srcChars</TT>, using bitwise comparison.
923 * @param srcChars The text to search for.
924 * @param srcLength the number of characters in <TT>srcChars</TT>
927 * @return The offset into this of the start of <TT>srcChars</TT>,
931 inline int32_t indexOf(const UChar *srcChars,
939 * in <TT>srcChars</TT> in the range
942 * @param srcChars The text to search for.
943 * @param srcStart the offset into <TT>srcChars</TT> at which
945 * @param srcLength the number of characters in <TT>srcChars</TT> to match
952 int32_t indexOf(const UChar *srcChars,
1089 * Locate in this the last occurrence of the characters in <TT>srcChars</TT>
1091 * @param srcChars The text to search for.
1092 * @param srcLength the number of characters in <TT>srcChars</TT> to match
1098 inline int32_t lastIndexOf(const UChar *srcChars,
1105 * in <TT>srcChars</TT>, using bitwise comparison.
1106 * @param srcChars The text to search for.
1107 * @param srcLength the number of characters in <TT>srcChars</TT>
1110 * @return The offset into this of the start of <TT>srcChars</TT>,
1114 inline int32_t lastIndexOf(const UChar *srcChars,
1122 * in <TT>srcChars</TT> in the range
1125 * @param srcChars The text to search for.
1126 * @param srcStart the offset into <TT>srcChars</TT> at which
1128 * @param srcLength the number of characters in <TT>srcChars</TT> to match
1135 int32_t lastIndexOf(const UChar *srcChars,
1843 * in <TT>srcChars</TT>. <TT>srcChars</TT> is not modified.
1844 * @param srcChars the source for the new characters
1845 * @param srcLength the number of Unicode characters in srcChars.
1849 inline UnicodeString& setTo(const UChar *srcChars,
2030 * Append the characters in <TT>srcChars</TT> in the range
2033 * <TT>start</TT>. <TT>srcChars</TT> is not modified.
2034 * @param srcChars the source for the new characters
2035 * @param srcStart the offset into <TT>srcChars</TT> where new characters
2037 * @param srcLength the number of characters in <TT>srcChars</TT> in
2042 inline UnicodeString& append(const UChar *srcChars,
2047 * Append the characters in <TT>srcChars</TT> to the UnicodeString object
2048 * at offset <TT>start</TT>. <TT>srcChars</TT> is not modified.
2049 * @param srcChars the source for the new characters
2050 * @param srcLength the number of Unicode characters in <TT>srcChars</TT>
2054 inline UnicodeString& append(const UChar *srcChars,
2106 * Insert the characters in <TT>srcChars</TT> in the range
2108 * object at offset <TT>start</TT>. <TT>srcChars</TT> is not modified.
2110 * @param srcChars the source for the new characters
2111 * @param srcStart the offset into <TT>srcChars</TT> where new characters
2113 * @param srcLength the number of characters in <TT>srcChars</TT>
2119 const UChar *srcChars,
2124 * Insert the characters in <TT>srcChars</TT> into the UnicodeString object
2125 * at offset <TT>start</TT>. <TT>srcChars</TT> is not modified.
2127 * @param srcChars the source for the new characters
2128 * @param srcLength the number of Unicode characters in srcChars.
2133 const UChar *srcChars,
2203 * <TT>srcChars</TT> in the range
2204 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>). <TT>srcChars</TT>
2209 * @param srcChars the source for the new characters
2210 * @param srcStart the offset into <TT>srcChars</TT> where new characters
2212 * @param srcLength the number of characters in <TT>srcChars</TT>
2219 const UChar *srcChars,
2226 * <TT>srcChars</TT>. <TT>srcChars</TT> is not modified.
2230 * @param srcChars the source for the new characters
2231 * @param srcLength the number of Unicode characters in srcChars
2237 const UChar *srcChars,
2290 * @param srcStart the offset into <TT>srcChars</TT> where new characters
3191 const UChar *srcChars,
3204 const UChar *srcChars,
3219 const UChar *srcChars,
3259 const UChar *srcChars,
3588 UnicodeString::compare(const UChar *srcChars,
3590 { return doCompare(0, length(), srcChars, 0, srcLength); }
3603 const UChar *srcChars) const
3604 { return doCompare(start, _length, srcChars, 0, _length); }
3609 const UChar *srcChars,
3612 { return doCompare(start, _length, srcChars, srcStart, srcLength); }
3649 UnicodeString::compareCodePointOrder(const UChar *srcChars,
3651 { return doCompareCodePointOrder(0, length(), srcChars, 0, srcLength); }
3664 const UChar *srcChars) const
3665 { return doCompareCodePointOrder(start, _length, srcChars, 0, _length); }
3670 const UChar *srcChars,
3673 { return doCompareCodePointOrder(start, _length, srcChars, srcStart, srcLength); }
3714 UnicodeString::caseCompare(const UChar *srcChars,
3717 return doCaseCompare(0, length(), srcChars, 0, srcLength, options);
3733 const UChar *srcChars,
3735 return doCaseCompare(start, _length, srcChars, 0, _length, options);
3741 const UChar *srcChars,
3745 return doCaseCompare(start, _length, srcChars, srcStart, srcLength, options);
3792 UnicodeString::indexOf(const UChar *srcChars,
3796 return indexOf(srcChars, 0, srcLength, start, length() - start);
3800 UnicodeString::indexOf(const UChar *srcChars,
3804 { return indexOf(srcChars, 0, srcLength, start, _length); }
3841 UnicodeString::lastIndexOf(const UChar *srcChars,
3845 { return lastIndexOf(srcChars, 0, srcLength, start, _length); }
3848 UnicodeString::lastIndexOf(const UChar *srcChars,
3852 return lastIndexOf(srcChars, 0, srcLength, start, length() - start);
3935 UnicodeString::startsWith(const UChar *srcChars,
3937 { return doCompare(0, srcLength, srcChars, 0, srcLength) == 0; }
3940 UnicodeString::startsWith(const UChar *srcChars,
3943 { return doCompare(0, srcLength, srcChars, srcStart, srcLength) == 0;}
3960 UnicodeString::endsWith(const UChar *srcChars,
3963 srcLength = u_strlen(srcChars);
3966 srcChars, 0, srcLength) == 0;
3970 UnicodeString::endsWith(const UChar *srcChars,
3974 srcLength = u_strlen(srcChars + srcStart);
3977 srcChars, srcStart, srcLength) == 0;
4000 const UChar *srcChars,
4002 { return doReplace(start, _length, srcChars, 0, srcLength); }
4007 const UChar *srcChars,
4010 { return doReplace(start, _length, srcChars, srcStart, srcLength); }
4271 UnicodeString::setTo(const UChar *srcChars,
4275 return doReplace(0, length(), srcChars, 0, srcLength);
4303 UnicodeString::append(const UChar *srcChars,
4306 { return doReplace(length(), 0, srcChars, srcStart, srcLength); }
4309 UnicodeString::append(const UChar *srcChars,
4311 { return doReplace(length(), 0, srcChars, 0, srcLength); }
4353 const UChar *srcChars,
4356 { return doReplace(start, 0, srcChars, srcStart, srcLength); }
4360 const UChar *srcChars,
4362 { return doReplace(start, 0, srcChars, 0, srcLength); }