• Home
  • Raw
  • Download

Lines Matching refs:start

569 UnicodeString::doCompare( int32_t start,  in doCompare()  argument
582 pinIndices(start, length); in doCompare()
591 chars += start; in doCompare()
648 UnicodeString::doCompareCodePointOrder(int32_t start, in doCompareCodePointOrder() argument
661 pinIndices(start, length); in doCompareCodePointOrder()
667 …int32_t diff = uprv_strCompare(getArrayStart() + start, length, srcChars + srcStart, srcLength, FA… in doCompareCodePointOrder()
692 UnicodeString::countChar32(int32_t start, int32_t length) const { in countChar32() argument
693 pinIndices(start, length); in countChar32()
695 return u_countChar32(getArrayStart()+start, length); in countChar32()
699 UnicodeString::hasMoreChar32Than(int32_t start, int32_t length, int32_t number) const { in hasMoreChar32Than() argument
700 pinIndices(start, length); in hasMoreChar32Than()
702 return u_strHasMoreChar32Than(getArrayStart()+start, length, number); in hasMoreChar32Than()
726 UnicodeString::doExtract(int32_t start, in doExtract() argument
732 pinIndices(start, length); in doExtract()
736 if(array + start != dst + dstStart) { in doExtract()
737 us_arrayCopy(array, start, dst, dstStart, length); in doExtract()
761 UnicodeString::extract(int32_t start, in extract() argument
773 pinIndices(start, length); in extract()
776 u_UCharsToChars(getArrayStart() + start, target, length); in extract()
783 UnicodeString::toUTF8(int32_t start, int32_t len, in toUTF8() argument
785 pinIndices(start, len); in toUTF8()
789 getBuffer() + start, len, in toUTF8()
799 UnicodeString::extract(int32_t start, int32_t len, in extract() argument
805 return toUTF8(start, len, target, dstSize <= 0x7fffffff ? (int32_t)dstSize : 0x7fffffff); in extract()
812 UnicodeString::extractBetween(int32_t start, in extractBetween() argument
815 pinIndex(start); in extractBetween()
817 doExtract(start, limit - start, target); in extractBetween()
883 int32_t start, in indexOf() argument
896 pinIndices(start, length); in indexOf()
900 const UChar *match = u_strFindFirst(array + start, length, srcChars + srcStart, srcLength); in indexOf()
910 int32_t start, in doIndexOf() argument
914 pinIndices(start, length); in doIndexOf()
918 const UChar *match = u_memchr(array + start, c, length); in doIndexOf()
928 int32_t start, in doIndexOf() argument
931 pinIndices(start, length); in doIndexOf()
935 const UChar *match = u_memchr32(array + start, c, length); in doIndexOf()
947 int32_t start, in lastIndexOf() argument
960 pinIndices(start, length); in lastIndexOf()
964 const UChar *match = u_strFindLast(array + start, length, srcChars + srcStart, srcLength); in lastIndexOf()
974 int32_t start, in doLastIndexOf() argument
982 pinIndices(start, length); in doLastIndexOf()
986 const UChar *match = u_memrchr(array + start, c, length); in doLastIndexOf()
996 int32_t start, in doLastIndexOf() argument
999 pinIndices(start, length); in doLastIndexOf()
1003 const UChar *match = u_memrchr32(array + start, c, length); in doLastIndexOf()
1016 UnicodeString::findAndReplace(int32_t start, in findAndReplace() argument
1029 pinIndices(start, length); in findAndReplace()
1038 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length); in findAndReplace()
1045 length -= pos + oldLength - start; in findAndReplace()
1046 start = pos + newLength; in findAndReplace()
1190 UnicodeString::doReplace( int32_t start, in doReplace() argument
1202 return doReplace(start, length, src.getArrayStart(), srcStart, srcLength); in doReplace()
1205 return doReplace(start, length, 0, 0, 0); in doReplace()
1210 UnicodeString::doReplace(int32_t start, in doReplace() argument
1233 if(start >= oldLength) { in doReplace()
1241 start = oldLength; in doReplace()
1246 pinIndices(start, length); in doReplace()
1277 us_arrayCopy(oldArray, 0, newArray, 0, start); in doReplace()
1278 us_arrayCopy(oldArray, start + length, in doReplace()
1279 newArray, start + srcLength, in doReplace()
1280 oldLength - (start + length)); in doReplace()
1283 us_arrayCopy(oldArray, start + length, in doReplace()
1284 newArray, start + srcLength, in doReplace()
1285 oldLength - (start + length)); in doReplace()
1289 us_arrayCopy(srcChars, srcStart, newArray, start, srcLength); in doReplace()
1306 UnicodeString::handleReplaceBetween(int32_t start, in handleReplaceBetween() argument
1309 replaceBetween(start, limit, text); in handleReplaceBetween()
1316 UnicodeString::copy(int32_t start, int32_t limit, int32_t dest) { in copy() argument
1317 if (limit <= start) { in copy()
1320 UChar* text = (UChar*) uprv_malloc( sizeof(UChar) * (limit - start) ); in copy()
1323 extractBetween(start, limit, text, 0); in copy()
1324 insert(dest, text, 0, limit - start); in copy()
1347 UnicodeString::doReverse(int32_t start, in doReverse() argument
1355 pinIndices(start, length); in doReverse()
1357 UChar *left = getArrayStart() + start; in doReverse()
1372 left = getArrayStart() + start; in doReverse()
1397 int32_t start = targetLength - oldLength; in padLeading() local
1398 us_arrayCopy(array, 0, array, start, oldLength); in padLeading()
1401 while(--start >= 0) { in padLeading()
1402 array[start] = padChar; in padLeading()