Home | History | Annotate | Download | only in common

Lines Matching refs:start32

1462     int32_t  start32 = pinIndex(start, length);
1465 if(start32>limit32) {
1476 if (start32 < ut->chunkNativeLimit) {
1478 if (U8_IS_SINGLE(buf[start32]) || U8_IS_LEAD(buf[start32]) || start32==0) {
1481 start32--;
1497 (const char *)ut->context+start32, limit32-start32,
1845 int32_t start32 = pinIndex(start, length);
1849 if (start32<length && U16_IS_TRAIL(rep->charAt(start32)) &&
1850 U_IS_SUPPLEMENTARY(rep->char32At(start32))){
1851 start32--;
1858 length=limit32-start32;
1860 limit32 = start32 + destCapacity;
1863 rep->extractBetween(start32, limit32, buffer);
1890 int32_t start32 = pinIndex(start, oldLength);
1894 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) &&
1895 start32>0 && U16_IS_LEAD(rep->charAt(start32-1)))
1897 start32--;
1907 rep->handleReplaceBetween(start32, limit32, replStr);
1912 start32) {
1945 int32_t start32 = pinIndex(start, length);
1953 int32_t segLength=limit32-start32;
1954 rep->copy(start32, limit32, destIndex32);
1955 if(destIndex32<start32) {
1956 start32+=segLength;
1959 rep->handleReplaceBetween(start32, limit32, UnicodeString());
1962 rep->copy(start32, limit32, destIndex32);
1968 if (move && start32<firstAffectedIndex) {
1969 firstAffectedIndex = start32;
1977 int32_t nativeIterIndex = destIndex32 + limit32 - start32;
1978 if (move && destIndex32>start32) {
2124 int32_t start32 = start<length ? us->getChar32Start((int32_t)start) : length;
2127 length=limit32-start32;
2133 us->extract(start32, trimmedLength, dest);
2134 t->chunkOffset = start32+trimmedLength;
2136 t->chunkOffset = start32;
2161 int32_t start32 = pinIndex(start, oldLength);
2163 if (start32 < oldLength) {
2164 start32 = us->getChar32Start(start32);
2171 us->replace(start32, limit32-start32, src, length);
2199 int32_t start32 = pinIndex(start, length);
2203 if( start32>limit32 || (start32<destIndex32 && destIndex32<limit32)) {
2210 int32_t segLength=limit32-start32;
2211 us->copy(start32, limit32, destIndex32);
2212 if(destIndex32<start32) {
2213 start32+=segLength;
2215 us->replace(start32, segLength, NULL, 0);
2218 us->copy(start32, limit32, destIndex32);
2225 ut->chunkLength += limit32-start32;
2231 ut->chunkOffset = destIndex32+limit32-start32;
2232 if (move && destIndex32>start32) {
2488 int32_t start32;
2496 start32 = ut->chunkOffset;
2505 for (si=start32; si<limit32; si++) {
2523 di = limit32 - start32;
2543 ut->chunkOffset = uprv_min(strLength, start32 + destCapacity);
2745 int32_t start32 = pinIndex(start, length);
2752 ci->setIndex32(start32); // Moves ix to lead of surrogate pair, if needed.