• Home
  • Raw
  • Download

Lines Matching refs:srcChars

668               const UChar *srcChars,  in doCompare()  argument
680 if(srcChars == NULL) { in doCompare()
689 srcChars += srcStart; in doCompare()
696 srcLength = u_strlen(srcChars + srcStart); in doCompare()
721 if(minLength > 0 && chars != srcChars) { in doCompare()
726 result = uprv_memcmp(chars, srcChars, minLength * sizeof(UChar)); in doCompare()
733 result = ((int32_t)*(chars++) - (int32_t)*(srcChars++)); in doCompare()
747 const UChar *srcChars, in doCompareCodePointOrder() argument
760 if(srcChars == NULL) { in doCompareCodePointOrder()
764 …int32_t diff = uprv_strCompare(getArrayStart() + start, length, (srcChars!=NULL)?(srcChars + srcSt… in doCompareCodePointOrder()
1026 UnicodeString::indexOf(const UChar *srcChars, in indexOf() argument
1032 if(isBogus() || srcChars == 0 || srcStart < 0 || srcLength == 0) { in indexOf()
1037 if(srcLength < 0 && srcChars[srcStart] == 0) { in indexOf()
1046 const UChar *match = u_strFindFirst(array + start, length, srcChars + srcStart, srcLength); in indexOf()
1090 UnicodeString::lastIndexOf(const UChar *srcChars, in lastIndexOf() argument
1096 if(isBogus() || srcChars == 0 || srcStart < 0 || srcLength == 0) { in lastIndexOf()
1101 if(srcLength < 0 && srcChars[srcStart] == 0) { in lastIndexOf()
1110 const UChar *match = u_strFindLast(array + start, length, srcChars + srcStart, srcLength); in lastIndexOf()
1415 const UChar *srcChars, in doReplace() argument
1446 return doAppend(srcChars, srcStart, srcLength); in doReplace()
1449 if(srcChars == 0) { in doReplace()
1454 srcChars += srcStart; in doReplace()
1457 srcLength = u_strlen(srcChars); in doReplace()
1476 oldArray < srcChars + srcLength && in doReplace()
1477 srcChars < oldArray + oldLength) { in doReplace()
1479 UnicodeString copy(srcChars, srcLength); in doReplace()
1522 us_arrayCopy(srcChars, 0, newArray, start, srcLength); in doReplace()
1550 UnicodeString::doAppend(const UChar *srcChars, int32_t srcStart, int32_t srcLength) { in doAppend() argument
1551 if(!isWritable() || srcLength == 0 || srcChars == NULL) { in doAppend()
1557 srcChars += srcStart; in doAppend()
1561 if((srcLength = u_strlen(srcChars)) == 0) { in doAppend()
1572 oldArray < srcChars + srcLength && in doAppend()
1573 srcChars < oldArray + oldLength) { in doAppend()
1575 UnicodeString copy(srcChars, srcLength); in doAppend()
1594 if(srcChars != newArray + oldLength) { in doAppend()
1595 us_arrayCopy(srcChars, 0, newArray, oldLength, srcLength); in doAppend()