Lines Matching refs:srcChars
667 const UChar *srcChars, in doCompare() argument
679 if(srcChars == NULL) { in doCompare()
688 srcChars += srcStart; in doCompare()
695 srcLength = u_strlen(srcChars + srcStart); in doCompare()
720 if(minLength > 0 && chars != srcChars) { in doCompare()
725 result = uprv_memcmp(chars, srcChars, minLength * sizeof(UChar)); in doCompare()
732 result = ((int32_t)*(chars++) - (int32_t)*(srcChars++)); in doCompare()
746 const UChar *srcChars, in doCompareCodePointOrder() argument
759 if(srcChars == NULL) { in doCompareCodePointOrder()
763 …int32_t diff = uprv_strCompare(getArrayStart() + start, length, (srcChars!=NULL)?(srcChars + srcSt… in doCompareCodePointOrder()
1025 UnicodeString::indexOf(const UChar *srcChars, in indexOf() argument
1031 if(isBogus() || srcChars == 0 || srcStart < 0 || srcLength == 0) { in indexOf()
1036 if(srcLength < 0 && srcChars[srcStart] == 0) { in indexOf()
1045 const UChar *match = u_strFindFirst(array + start, length, srcChars + srcStart, srcLength); in indexOf()
1089 UnicodeString::lastIndexOf(const UChar *srcChars, in lastIndexOf() argument
1095 if(isBogus() || srcChars == 0 || srcStart < 0 || srcLength == 0) { in lastIndexOf()
1100 if(srcLength < 0 && srcChars[srcStart] == 0) { in lastIndexOf()
1109 const UChar *match = u_strFindLast(array + start, length, srcChars + srcStart, srcLength); in lastIndexOf()
1414 const UChar *srcChars, in doReplace() argument
1445 return doAppend(srcChars, srcStart, srcLength); in doReplace()
1448 if(srcChars == 0) { in doReplace()
1453 srcChars += srcStart; in doReplace()
1456 srcLength = u_strlen(srcChars); in doReplace()
1475 oldArray < srcChars + srcLength && in doReplace()
1476 srcChars < oldArray + oldLength) { in doReplace()
1478 UnicodeString copy(srcChars, srcLength); in doReplace()
1521 us_arrayCopy(srcChars, 0, newArray, start, srcLength); in doReplace()
1549 UnicodeString::doAppend(const UChar *srcChars, int32_t srcStart, int32_t srcLength) { in doAppend() argument
1550 if(!isWritable() || srcLength == 0 || srcChars == NULL) { in doAppend()
1556 srcChars += srcStart; in doAppend()
1560 if((srcLength = u_strlen(srcChars)) == 0) { in doAppend()
1575 oldArray < srcChars + srcLength && in doAppend()
1576 srcChars < oldArray + oldLength) { in doAppend()
1578 UnicodeString copy(srcChars, srcLength); in doAppend()
1597 if(srcChars != newArray + oldLength) { in doAppend()
1598 us_arrayCopy(srcChars, 0, newArray, oldLength, srcLength); in doAppend()