Lines Matching refs:oldLength
1904 int32_t oldLength; in repTextReplace() local
1913 oldLength=rep->length(); // will subtract from new length in repTextReplace()
1919 int32_t start32 = pinIndex(start, oldLength); in repTextReplace()
1920 int32_t limit32 = pinIndex(limit, oldLength); in repTextReplace()
1923 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) && in repTextReplace()
1928 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) && in repTextReplace()
1938 int32_t lengthDelta = newLength - oldLength; in repTextReplace()
2180 int32_t oldLength; in unistrTextReplace() local
2192 oldLength=us->length(); in unistrTextReplace()
2193 int32_t start32 = pinIndex(start, oldLength); in unistrTextReplace()
2194 int32_t limit32 = pinIndex(limit, oldLength); in unistrTextReplace()
2195 if (start32 < oldLength) { in unistrTextReplace()
2198 if (limit32 < oldLength) { in unistrTextReplace()
2213 int32_t lengthDelta = newLength - oldLength; in unistrTextReplace()