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()
2141 int32_t start32 = start<length ? us->getChar32Start((int32_t)start) : length; in unistrTextExtract() local
2144 length=limit32-start32; in unistrTextExtract()
2150 us->extract(start32, trimmedLength, dest); in unistrTextExtract()
2151 t->chunkOffset = start32+trimmedLength; in unistrTextExtract()
2153 t->chunkOffset = start32; in unistrTextExtract()
2178 int32_t start32 = pinIndex(start, oldLength); in unistrTextReplace() local
2180 if (start32 < oldLength) { in unistrTextReplace()
2181 start32 = us->getChar32Start(start32); in unistrTextReplace()
2188 us->replace(start32, limit32-start32, src, length); in unistrTextReplace()
2216 int32_t start32 = pinIndex(start, length); in unistrTextCopy() local
2220 if( start32>limit32 || (start32<destIndex32 && destIndex32<limit32)) { in unistrTextCopy()
2227 int32_t segLength=limit32-start32; in unistrTextCopy()
2228 us->copy(start32, limit32, destIndex32); in unistrTextCopy()
2229 if(destIndex32<start32) { in unistrTextCopy()
2230 start32+=segLength; in unistrTextCopy()
2232 us->replace(start32, segLength, NULL, 0); in unistrTextCopy()
2235 us->copy(start32, limit32, destIndex32); in unistrTextCopy()
2242 ut->chunkLength += limit32-start32; in unistrTextCopy()
2248 ut->chunkOffset = destIndex32+limit32-start32; in unistrTextCopy()
2249 if (move && destIndex32>start32) { in unistrTextCopy()
2505 int32_t start32; in ucstrTextExtract() local
2513 start32 = ut->chunkOffset; in ucstrTextExtract()
2522 for (si=start32; si<limit32; si++) { in ucstrTextExtract()
2540 di = limit32 - start32; in ucstrTextExtract()
2560 ut->chunkOffset = uprv_min(strLength, start32 + destCapacity); in ucstrTextExtract()
2765 int32_t start32 = pinIndex(start, length); in charIterTextExtract() local
2772 ci->setIndex32(start32); // Moves ix to lead of surrogate pair, if needed. in charIterTextExtract()