• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/ICU-531.30/icuSources/common/unicode/

Lines Matching refs:srcChars

382    * <TT>srcLength</TT> characters in <TT>srcChars</TT>.
383 * @param srcChars The characters to compare to this UnicodeString.
384 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
386 * contains the same characters as <code>srcChars</code>, -1 if the characters in
387 * this are bitwise less than the characters in <code>srcChars</code>, +1 if the
389 * in <code>srcChars</code>.
392 inline int8_t compare(const UChar *srcChars,
398 * <TT>length</TT> characters in <TT>srcChars</TT>
401 * @param srcChars the characters to be compared
403 * contains the same characters as <code>srcChars</code>, -1 if the characters in
404 * this are bitwise less than the characters in <code>srcChars</code>, +1 if the
406 * in <code>srcChars</code>.
411 const UChar *srcChars) const;
416 * in <TT>srcChars</TT> in the range
420 * @param srcChars the characters to be compared
421 * @param srcStart the offset into <TT>srcChars</TT> to start comparison
422 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
424 * contains the same characters as <code>srcChars</code>, -1 if the characters in
425 * this are bitwise less than the characters in <code>srcChars</code>, +1 if the
427 * in <code>srcChars</code>.
432 const UChar *srcChars,
539 * @param srcChars A pointer to another string to compare this one to.
546 inline int8_t compareCodePointOrder(const UChar *srcChars,
562 * @param srcChars A pointer to another string to compare this one to.
570 const UChar *srcChars) const;
585 * @param srcChars A pointer to another string to compare this one to.
595 const UChar *srcChars,
702 * This is equivalent to this->foldCase(options).compare(srcChars.foldCase(options)).
704 * @param srcChars A pointer to another string to compare this one to.
719 inline int8_t caseCompare(const UChar *srcChars,
725 * This is equivalent to this->foldCase(options).compare(srcChars.foldCase(options)).
729 * @param srcChars A pointer to another string to compare this one to.
745 const UChar *srcChars,
750 * This is equivalent to this->foldCase(options).compare(srcChars.foldCase(options)).
754 * @param srcChars A pointer to another string to compare this one to.
772 const UChar *srcChars,
830 * Determine if this starts with the characters in <TT>srcChars</TT>
831 * @param srcChars The characters to match.
832 * @param srcLength the number of characters in <TT>srcChars</TT>
833 * @return TRUE if this starts with the characters in <TT>srcChars</TT>,
837 inline UBool startsWith(const UChar *srcChars,
841 * Determine if this ends with the characters in <TT>srcChars</TT>
843 * @param srcChars The characters to match.
845 * @param srcLength the number of characters in <TT>srcChars</TT> to match
846 * @return TRUE if this ends with the characters in <TT>srcChars</TT>, FALSE otherwise
849 inline UBool startsWith(const UChar *srcChars,
877 * Determine if this ends with the characters in <TT>srcChars</TT>
878 * @param srcChars The characters to match.
879 * @param srcLength the number of characters in <TT>srcChars</TT>
880 * @return TRUE if this ends with the characters in <TT>srcChars</TT>,
884 inline UBool endsWith(const UChar *srcChars,
888 * Determine if this ends with the characters in <TT>srcChars</TT>
890 * @param srcChars The characters to match.
892 * @param srcLength the number of characters in <TT>srcChars</TT> to match
893 * @return TRUE if this ends with the characters in <TT>srcChars</TT>,
897 inline UBool endsWith(const UChar *srcChars,
965 * <TT>srcChars</TT>
967 * @param srcChars The text to search for.
968 * @param srcLength the number of characters in <TT>srcChars</TT> to match
974 inline int32_t indexOf(const UChar *srcChars,
981 * in <TT>srcChars</TT>, using bitwise comparison.
982 * @param srcChars The text to search for.
983 * @param srcLength the number of characters in <TT>srcChars</TT>
986 * @return The offset into this of the start of <TT>srcChars</TT>,
990 inline int32_t indexOf(const UChar *srcChars,
998 * in <TT>srcChars</TT> in the range
1001 * @param srcChars The text to search for.
1002 * @param srcStart the offset into <TT>srcChars</TT> at which
1004 * @param srcLength the number of characters in <TT>srcChars</TT> to match
1011 int32_t indexOf(const UChar *srcChars,
1148 * Locate in this the last occurrence of the characters in <TT>srcChars</TT>
1150 * @param srcChars The text to search for.
1151 * @param srcLength the number of characters in <TT>srcChars</TT> to match
1157 inline int32_t lastIndexOf(const UChar *srcChars,
1164 * in <TT>srcChars</TT>, using bitwise comparison.
1165 * @param srcChars The text to search for.
1166 * @param srcLength the number of characters in <TT>srcChars</TT>
1169 * @return The offset into this of the start of <TT>srcChars</TT>,
1173 inline int32_t lastIndexOf(const UChar *srcChars,
1181 * in <TT>srcChars</TT> in the range
1184 * @param srcChars The text to search for.
1185 * @param srcStart the offset into <TT>srcChars</TT> at which
1187 * @param srcLength the number of characters in <TT>srcChars</TT> to match
1194 int32_t lastIndexOf(const UChar *srcChars,
1904 * in <TT>srcChars</TT>. <TT>srcChars</TT> is not modified.
1905 * @param srcChars the source for the new characters
1906 * @param srcLength the number of Unicode characters in srcChars.
1910 inline UnicodeString& setTo(const UChar *srcChars,
2093 * Append the characters in <TT>srcChars</TT> in the range
2096 * <TT>start</TT>. <TT>srcChars</TT> is not modified.
2097 * @param srcChars the source for the new characters
2098 * @param srcStart the offset into <TT>srcChars</TT> where new characters
2100 * @param srcLength the number of characters in <TT>srcChars</TT> in
2101 * the append string; can be -1 if <TT>srcChars</TT> is NUL-terminated
2105 inline UnicodeString& append(const UChar *srcChars,
2110 * Append the characters in <TT>srcChars</TT> to the UnicodeString object
2111 * at offset <TT>start</TT>. <TT>srcChars</TT> is not modified.
2112 * @param srcChars the source for the new characters
2113 * @param srcLength the number of Unicode characters in <TT>srcChars</TT>;
2114 * can be -1 if <TT>srcChars</TT> is NUL-terminated
2118 inline UnicodeString& append(const UChar *srcChars,
2170 * Insert the characters in <TT>srcChars</TT> in the range
2172 * object at offset <TT>start</TT>. <TT>srcChars</TT> is not modified.
2174 * @param srcChars the source for the new characters
2175 * @param srcStart the offset into <TT>srcChars</TT> where new characters
2177 * @param srcLength the number of characters in <TT>srcChars</TT>
2183 const UChar *srcChars,
2188 * Insert the characters in <TT>srcChars</TT> into the UnicodeString object
2189 * at offset <TT>start</TT>. <TT>srcChars</TT> is not modified.
2191 * @param srcChars the source for the new characters
2192 * @param srcLength the number of Unicode characters in srcChars.
2197 const UChar *srcChars,
2267 * <TT>srcChars</TT> in the range
2268 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>). <TT>srcChars</TT>
2273 * @param srcChars the source for the new characters
2274 * @param srcStart the offset into <TT>srcChars</TT> where new characters
2276 * @param srcLength the number of characters in <TT>srcChars</TT>
2283 const UChar *srcChars,
2290 * <TT>srcChars</TT>. <TT>srcChars</TT> is not modified.
2294 * @param srcChars the source for the new characters
2295 * @param srcLength the number of Unicode characters in srcChars
2301 const UChar *srcChars,
2352 * @param srcStart the offset into <TT>srcChars</TT> where new characters
3290 const UChar *srcChars,
3303 const UChar *srcChars,
3318 const UChar *srcChars,
3358 const UChar *srcChars,
3718 UnicodeString::compare(const UChar *srcChars,
3720 { return doCompare(0, length(), srcChars, 0, srcLength); }
3733 const UChar *srcChars) const
3734 { return doCompare(start, _length, srcChars, 0, _length); }
3739 const UChar *srcChars,
3742 { return doCompare(start, _length, srcChars, srcStart, srcLength); }
3779 UnicodeString::compareCodePointOrder(const UChar *srcChars,
3781 { return doCompareCodePointOrder(0, length(), srcChars, 0, srcLength); }
3794 const UChar *srcChars) const
3795 { return doCompareCodePointOrder(start, _length, srcChars, 0, _length); }
3800 const UChar *srcChars,
3803 { return doCompareCodePointOrder(start, _length, srcChars, srcStart, srcLength); }
3844 UnicodeString::caseCompare(const UChar *srcChars,
3847 return doCaseCompare(0, length(), srcChars, 0, srcLength, options);
3863 const UChar *srcChars,
3865 return doCaseCompare(start, _length, srcChars, 0, _length, options);
3871 const UChar *srcChars,
3875 return doCaseCompare(start, _length, srcChars, srcStart, srcLength, options);
3922 UnicodeString::indexOf(const UChar *srcChars,
3926 return indexOf(srcChars, 0, srcLength, start, length() - start);
3930 UnicodeString::indexOf(const UChar *srcChars,
3934 { return indexOf(srcChars, 0, srcLength, start, _length); }
3971 UnicodeString::lastIndexOf(const UChar *srcChars,
3975 { return lastIndexOf(srcChars, 0, srcLength, start, _length); }
3978 UnicodeString::lastIndexOf(const UChar *srcChars,
3982 return lastIndexOf(srcChars, 0, srcLength, start, length() - start);
4065 UnicodeString::startsWith(const UChar *srcChars, int32_t srcLength) const {
4067 srcLength = u_strlen(srcChars);
4069 return doCompare(0, srcLength, srcChars, 0, srcLength) == 0;
4073 UnicodeString::startsWith(const UChar *srcChars, int32_t srcStart, int32_t srcLength) const {
4075 srcLength = u_strlen(srcChars);
4077 return doCompare(0, srcLength, srcChars, srcStart, srcLength) == 0;
4095 UnicodeString::endsWith(const UChar *srcChars,
4098 srcLength = u_strlen(srcChars);
4101 srcChars, 0, srcLength) == 0;
4105 UnicodeString::endsWith(const UChar *srcChars,
4109 srcLength = u_strlen(srcChars + srcStart);
4112 srcChars, srcStart, srcLength) == 0;
4135 const UChar *srcChars,
4137 { return doReplace(start, _length, srcChars, 0, srcLength); }
4142 const UChar *srcChars,
4145 { return doReplace(start, _length, srcChars, srcStart, srcLength); }
4315 UnicodeString::setTo(const UChar *srcChars,
4319 return doReplace(0, length(), srcChars, 0, srcLength);
4347 UnicodeString::append(const UChar *srcChars,
4350 { return doReplace(length(), 0, srcChars, srcStart, srcLength); }
4353 UnicodeString::append(const UChar *srcChars,
4355 { return doReplace(length(), 0, srcChars, 0, srcLength); }
4388 const UChar *srcChars,
4391 { return doReplace(start, 0, srcChars, srcStart, srcLength); }
4395 const UChar *srcChars,
4397 { return doReplace(start, 0, srcChars, 0, srcLength); }