• Home
  • Raw
  • Download

Lines Matching refs:start32

1490     int32_t  start32 = pinIndex(start, length);  in utf8TextExtract()  local
1493 if(start32>limit32) { in utf8TextExtract()
1504 if (start32 < ut->chunkNativeLimit) { in utf8TextExtract()
1506 if (U8_IS_SINGLE(buf[start32]) || U8_IS_LEAD(buf[start32]) || start32==0) { in utf8TextExtract()
1509 start32--; in utf8TextExtract()
1525 (const char *)ut->context+start32, limit32-start32, in utf8TextExtract()
1874 int32_t start32 = pinIndex(start, length); in repTextExtract() local
1878 if (start32<length && U16_IS_TRAIL(rep->charAt(start32)) && in repTextExtract()
1879 U_IS_SUPPLEMENTARY(rep->char32At(start32))){ in repTextExtract()
1880 start32--; in repTextExtract()
1887 length=limit32-start32; in repTextExtract()
1889 limit32 = start32 + destCapacity; in repTextExtract()
1892 rep->extractBetween(start32, limit32, buffer); in repTextExtract()
1919 int32_t start32 = pinIndex(start, oldLength); in repTextReplace() local
1923 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) && in repTextReplace()
1924 start32>0 && U16_IS_LEAD(rep->charAt(start32-1))) in repTextReplace()
1926 start32--; in repTextReplace()
1936 rep->handleReplaceBetween(start32, limit32, replStr); in repTextReplace()
1941 if (ut->chunkNativeLimit > start32) { in repTextReplace()
1974 int32_t start32 = pinIndex(start, length); in repTextCopy() local
1982 int32_t segLength=limit32-start32; in repTextCopy()
1983 rep->copy(start32, limit32, destIndex32); in repTextCopy()
1984 if(destIndex32<start32) { in repTextCopy()
1985 start32+=segLength; in repTextCopy()
1988 rep->handleReplaceBetween(start32, limit32, UnicodeString()); in repTextCopy()
1991 rep->copy(start32, limit32, destIndex32); in repTextCopy()
1997 if (move && start32<firstAffectedIndex) { in repTextCopy()
1998 firstAffectedIndex = start32; in repTextCopy()
2006 int32_t nativeIterIndex = destIndex32 + limit32 - start32; in repTextCopy()
2007 if (move && destIndex32>start32) { in repTextCopy()
2156 int32_t start32 = start<length ? us->getChar32Start((int32_t)start) : length; in unistrTextExtract() local
2159 length=limit32-start32; in unistrTextExtract()
2165 us->extract(start32, trimmedLength, dest); in unistrTextExtract()
2166 t->chunkOffset = start32+trimmedLength; in unistrTextExtract()
2168 t->chunkOffset = start32; in unistrTextExtract()
2193 int32_t start32 = pinIndex(start, oldLength); in unistrTextReplace() local
2195 if (start32 < oldLength) { in unistrTextReplace()
2196 start32 = us->getChar32Start(start32); in unistrTextReplace()
2203 us->replace(start32, limit32-start32, src, length); in unistrTextReplace()
2231 int32_t start32 = pinIndex(start, length); in unistrTextCopy() local
2235 if( start32>limit32 || (start32<destIndex32 && destIndex32<limit32)) { in unistrTextCopy()
2242 int32_t segLength=limit32-start32; in unistrTextCopy()
2243 us->copy(start32, limit32, destIndex32); in unistrTextCopy()
2244 if(destIndex32<start32) { in unistrTextCopy()
2245 start32+=segLength; in unistrTextCopy()
2247 us->remove(start32, segLength); in unistrTextCopy()
2250 us->copy(start32, limit32, destIndex32); in unistrTextCopy()
2257 ut->chunkLength += limit32-start32; in unistrTextCopy()
2263 ut->chunkOffset = destIndex32+limit32-start32; in unistrTextCopy()
2264 if (move && destIndex32>start32) { in unistrTextCopy()
2520 int32_t start32; in ucstrTextExtract() local
2528 start32 = ut->chunkOffset; in ucstrTextExtract()
2537 for (si=start32; si<limit32; si++) { in ucstrTextExtract()
2556 di = limit32 - start32; in ucstrTextExtract()
2786 int32_t start32 = pinIndex(start, length); in charIterTextExtract() local
2793 ci->setIndex32(start32); // Moves ix to lead of surrogate pair, if needed. in charIterTextExtract()