Lines Matching refs:start32
1476 int32_t start32 = pinIndex(start, length); in utf8TextExtract() local
1479 if(start32>limit32) { in utf8TextExtract()
1490 if (start32 < ut->chunkNativeLimit) { in utf8TextExtract()
1492 if (U8_IS_SINGLE(buf[start32]) || U8_IS_LEAD(buf[start32]) || start32==0) { in utf8TextExtract()
1495 start32--; in utf8TextExtract()
1511 (const char *)ut->context+start32, limit32-start32, in utf8TextExtract()
1859 int32_t start32 = pinIndex(start, length); in repTextExtract() local
1863 if (start32<length && U16_IS_TRAIL(rep->charAt(start32)) && in repTextExtract()
1864 U_IS_SUPPLEMENTARY(rep->char32At(start32))){ in repTextExtract()
1865 start32--; in repTextExtract()
1872 length=limit32-start32; in repTextExtract()
1874 limit32 = start32 + destCapacity; in repTextExtract()
1877 rep->extractBetween(start32, limit32, buffer); in repTextExtract()
1904 int32_t start32 = pinIndex(start, oldLength); in repTextReplace() local
1908 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) && in repTextReplace()
1909 start32>0 && U16_IS_LEAD(rep->charAt(start32-1))) in repTextReplace()
1911 start32--; in repTextReplace()
1921 rep->handleReplaceBetween(start32, limit32, replStr); in repTextReplace()
1926 if (ut->chunkNativeLimit > start32) { in repTextReplace()
1959 int32_t start32 = pinIndex(start, length); in repTextCopy() local
1967 int32_t segLength=limit32-start32; in repTextCopy()
1968 rep->copy(start32, limit32, destIndex32); in repTextCopy()
1969 if(destIndex32<start32) { in repTextCopy()
1970 start32+=segLength; in repTextCopy()
1973 rep->handleReplaceBetween(start32, limit32, UnicodeString()); in repTextCopy()
1976 rep->copy(start32, limit32, destIndex32); in repTextCopy()
1982 if (move && start32<firstAffectedIndex) { in repTextCopy()
1983 firstAffectedIndex = start32; in repTextCopy()
1991 int32_t nativeIterIndex = destIndex32 + limit32 - start32; in repTextCopy()
1992 if (move && destIndex32>start32) { in repTextCopy()
2138 int32_t start32 = start<length ? us->getChar32Start((int32_t)start) : length; in unistrTextExtract() local
2141 length=limit32-start32; in unistrTextExtract()
2147 us->extract(start32, trimmedLength, dest); in unistrTextExtract()
2148 t->chunkOffset = start32+trimmedLength; in unistrTextExtract()
2150 t->chunkOffset = start32; in unistrTextExtract()
2175 int32_t start32 = pinIndex(start, oldLength); in unistrTextReplace() local
2177 if (start32 < oldLength) { in unistrTextReplace()
2178 start32 = us->getChar32Start(start32); in unistrTextReplace()
2185 us->replace(start32, limit32-start32, src, length); in unistrTextReplace()
2213 int32_t start32 = pinIndex(start, length); in unistrTextCopy() local
2217 if( start32>limit32 || (start32<destIndex32 && destIndex32<limit32)) { in unistrTextCopy()
2224 int32_t segLength=limit32-start32; in unistrTextCopy()
2225 us->copy(start32, limit32, destIndex32); in unistrTextCopy()
2226 if(destIndex32<start32) { in unistrTextCopy()
2227 start32+=segLength; in unistrTextCopy()
2229 us->replace(start32, segLength, NULL, 0); in unistrTextCopy()
2232 us->copy(start32, limit32, destIndex32); in unistrTextCopy()
2239 ut->chunkLength += limit32-start32; in unistrTextCopy()
2245 ut->chunkOffset = destIndex32+limit32-start32; in unistrTextCopy()
2246 if (move && destIndex32>start32) { in unistrTextCopy()
2502 int32_t start32; in ucstrTextExtract() local
2510 start32 = ut->chunkOffset; in ucstrTextExtract()
2519 for (si=start32; si<limit32; si++) { in ucstrTextExtract()
2537 di = limit32 - start32; in ucstrTextExtract()
2557 ut->chunkOffset = uprv_min(strLength, start32 + destCapacity); in ucstrTextExtract()
2759 int32_t start32 = pinIndex(start, length); in charIterTextExtract() local
2766 ci->setIndex32(start32); // Moves ix to lead of surrogate pair, if needed. in charIterTextExtract()