Lines Matching refs:oldLength
1875 int32_t oldLength; in repTextReplace() local
1884 oldLength=rep->length(); // will subtract from new length in repTextReplace()
1890 int32_t start32 = pinIndex(start, oldLength); in repTextReplace()
1891 int32_t limit32 = pinIndex(limit, oldLength); in repTextReplace()
1894 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) && in repTextReplace()
1899 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) && in repTextReplace()
1909 int32_t lengthDelta = newLength - oldLength; in repTextReplace()
2148 int32_t oldLength; in unistrTextReplace() local
2160 oldLength=us->length(); in unistrTextReplace()
2161 int32_t start32 = pinIndex(start, oldLength); in unistrTextReplace()
2162 int32_t limit32 = pinIndex(limit, oldLength); in unistrTextReplace()
2163 if (start32 < oldLength) { in unistrTextReplace()
2166 if (limit32 < oldLength) { in unistrTextReplace()
2181 int32_t lengthDelta = newLength - oldLength; in unistrTextReplace()