• Home
  • Raw
  • Download

Lines Matching refs:start32

1492     int32_t  start32 = pinIndex(start, length);  in utf8TextExtract()  local
1495 if(start32>limit32) { in utf8TextExtract()
1506 if (start32 < ut->chunkNativeLimit) { in utf8TextExtract()
1508 if (U8_IS_SINGLE(buf[start32]) || U8_IS_LEAD(buf[start32]) || start32==0) { in utf8TextExtract()
1511 start32--; in utf8TextExtract()
1527 (const char *)ut->context+start32, limit32-start32, in utf8TextExtract()
1876 int32_t start32 = pinIndex(start, length); in repTextExtract() local
1880 if (start32<length && U16_IS_TRAIL(rep->charAt(start32)) && in repTextExtract()
1881 U_IS_SUPPLEMENTARY(rep->char32At(start32))){ in repTextExtract()
1882 start32--; in repTextExtract()
1889 length=limit32-start32; in repTextExtract()
1891 limit32 = start32 + destCapacity; in repTextExtract()
1894 rep->extractBetween(start32, limit32, buffer); in repTextExtract()
1921 int32_t start32 = pinIndex(start, oldLength); in repTextReplace() local
1925 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) && in repTextReplace()
1926 start32>0 && U16_IS_LEAD(rep->charAt(start32-1))) in repTextReplace()
1928 start32--; in repTextReplace()
1938 rep->handleReplaceBetween(start32, limit32, replStr); in repTextReplace()
1943 if (ut->chunkNativeLimit > start32) { in repTextReplace()
1976 int32_t start32 = pinIndex(start, length); in repTextCopy() local
1984 int32_t segLength=limit32-start32; in repTextCopy()
1985 rep->copy(start32, limit32, destIndex32); in repTextCopy()
1986 if(destIndex32<start32) { in repTextCopy()
1987 start32+=segLength; in repTextCopy()
1990 rep->handleReplaceBetween(start32, limit32, UnicodeString()); in repTextCopy()
1993 rep->copy(start32, limit32, destIndex32); in repTextCopy()
1999 if (move && start32<firstAffectedIndex) { in repTextCopy()
2000 firstAffectedIndex = start32; in repTextCopy()
2008 int32_t nativeIterIndex = destIndex32 + limit32 - start32; in repTextCopy()
2009 if (move && destIndex32>start32) { in repTextCopy()
2158 int32_t start32 = start<length ? us->getChar32Start((int32_t)start) : length; in unistrTextExtract() local
2161 length=limit32-start32; in unistrTextExtract()
2167 us->extract(start32, trimmedLength, dest); in unistrTextExtract()
2168 t->chunkOffset = start32+trimmedLength; in unistrTextExtract()
2170 t->chunkOffset = start32; in unistrTextExtract()
2195 int32_t start32 = pinIndex(start, oldLength); in unistrTextReplace() local
2197 if (start32 < oldLength) { in unistrTextReplace()
2198 start32 = us->getChar32Start(start32); in unistrTextReplace()
2205 us->replace(start32, limit32-start32, src, length); in unistrTextReplace()
2233 int32_t start32 = pinIndex(start, length); in unistrTextCopy() local
2237 if( start32>limit32 || (start32<destIndex32 && destIndex32<limit32)) { in unistrTextCopy()
2244 int32_t segLength=limit32-start32; in unistrTextCopy()
2245 us->copy(start32, limit32, destIndex32); in unistrTextCopy()
2246 if(destIndex32<start32) { in unistrTextCopy()
2247 start32+=segLength; in unistrTextCopy()
2249 us->remove(start32, segLength); in unistrTextCopy()
2252 us->copy(start32, limit32, destIndex32); in unistrTextCopy()
2259 ut->chunkLength += limit32-start32; in unistrTextCopy()
2265 ut->chunkOffset = destIndex32+limit32-start32; in unistrTextCopy()
2266 if (move && destIndex32>start32) { in unistrTextCopy()
2522 int32_t start32; in ucstrTextExtract() local
2530 start32 = ut->chunkOffset; in ucstrTextExtract()
2539 for (si=start32; si<limit32; si++) { in ucstrTextExtract()
2558 di = limit32 - start32; in ucstrTextExtract()
2788 int32_t start32 = pinIndex(start, length); in charIterTextExtract() local
2795 ci->setIndex32(start32); // Moves ix to lead of surrogate pair, if needed. in charIterTextExtract()