Lines Matching refs:limit32
1491 int32_t limit32 = pinIndex(limit, length); in utf8TextExtract() local
1493 if(start32>limit32) { in utf8TextExtract()
1513 if (limit32 < ut->chunkNativeLimit) { in utf8TextExtract()
1515 if (U8_IS_SINGLE(buf[limit32]) || U8_IS_LEAD(buf[limit32]) || limit32==0) { in utf8TextExtract()
1518 limit32--; in utf8TextExtract()
1525 (const char *)ut->context+start32, limit32-start32, in utf8TextExtract()
1527 utf8TextAccess(ut, limit32, TRUE); in utf8TextExtract()
1875 int32_t limit32 = pinIndex(limit, length); in repTextExtract() local
1882 if (limit32<length && U16_IS_TRAIL(rep->charAt(limit32)) && in repTextExtract()
1883 U_IS_SUPPLEMENTARY(rep->char32At(limit32))){ in repTextExtract()
1884 limit32--; in repTextExtract()
1887 length=limit32-start32; in repTextExtract()
1889 limit32 = start32 + destCapacity; in repTextExtract()
1892 rep->extractBetween(start32, limit32, buffer); in repTextExtract()
1893 repTextAccess(ut, limit32, TRUE); in repTextExtract()
1920 int32_t limit32 = pinIndex(limit, oldLength); in repTextReplace() local
1928 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) && in repTextReplace()
1929 U16_IS_TRAIL(rep->charAt(limit32))) in repTextReplace()
1931 limit32++; in repTextReplace()
1936 rep->handleReplaceBetween(start32, limit32, replStr); in repTextReplace()
1948 int32_t newIndexPos = limit32 + lengthDelta; in repTextReplace()
1975 int32_t limit32 = pinIndex(limit, length); in repTextCopy() local
1982 int32_t segLength=limit32-start32; in repTextCopy()
1983 rep->copy(start32, limit32, destIndex32); in repTextCopy()
1986 limit32+=segLength; in repTextCopy()
1988 rep->handleReplaceBetween(start32, limit32, UnicodeString()); in repTextCopy()
1991 rep->copy(start32, limit32, destIndex32); in repTextCopy()
2006 int32_t nativeIterIndex = destIndex32 + limit32 - start32; in repTextCopy()
2157 int32_t limit32 = limit<length ? us->getChar32Start((int32_t)limit) : length; in unistrTextExtract() local
2159 length=limit32-start32; in unistrTextExtract()
2194 int32_t limit32 = pinIndex(limit, oldLength); in unistrTextReplace() local
2198 if (limit32 < oldLength) { in unistrTextReplace()
2199 limit32 = us->getChar32Start(limit32); in unistrTextReplace()
2203 us->replace(start32, limit32-start32, src, length); in unistrTextReplace()
2214 ut->chunkOffset = limit32 + lengthDelta; in unistrTextReplace()
2232 int32_t limit32 = pinIndex(limit, 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()
2250 us->copy(start32, limit32, destIndex32); in unistrTextCopy()
2257 ut->chunkLength += limit32-start32; in unistrTextCopy()
2263 ut->chunkOffset = destIndex32+limit32-start32; in unistrTextCopy()
2521 int32_t limit32; in ucstrTextExtract() local
2532 limit32 = pinIndex(limit, strLength); in ucstrTextExtract()
2534 limit32 = pinIndex(limit, INT32_MAX); in ucstrTextExtract()
2537 for (si=start32; si<limit32; si++) { in ucstrTextExtract()
2545 limit32 = si; in ucstrTextExtract()
2556 di = limit32 - start32; in ucstrTextExtract()
2557 si = limit32; in ucstrTextExtract()
2787 int32_t limit32 = pinIndex(limit, length); in charIterTextExtract() local
2796 while (srci<limit32) { in charIterTextExtract()