Lines Matching refs:oldLength
2235 int32_t oldLength; in repTextReplace() local
2244 oldLength=rep->length(); // will subtract from new length in repTextReplace()
2250 int32_t start32 = pinIndex(start, oldLength); in repTextReplace()
2251 int32_t limit32 = pinIndex(limit, oldLength); in repTextReplace()
2254 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) && in repTextReplace()
2259 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) && in repTextReplace()
2269 int32_t lengthDelta = newLength - oldLength; in repTextReplace()
2508 int32_t oldLength; in unistrTextReplace() local
2520 oldLength=us->length(); in unistrTextReplace()
2521 int32_t start32 = pinIndex(start, oldLength); in unistrTextReplace()
2522 int32_t limit32 = pinIndex(limit, oldLength); in unistrTextReplace()
2523 if (start32 < oldLength) { in unistrTextReplace()
2526 if (limit32 < oldLength) { in unistrTextReplace()
2541 int32_t lengthDelta = newLength - oldLength; in unistrTextReplace()