Lines Matching refs:oldLength
1079 int32_t oldLength,
1089 oldText.pinIndices(oldStart, oldLength);
1092 if(oldLength == 0) {
1096 while(length > 0 && length >= oldLength) {
1097 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length);
1103 replace(pos, oldLength, newText, newStart, newLength);
1104 length -= pos + oldLength - start;
1304 int32_t oldLength = this->length();
1313 setLength(oldLength - length);
1317 if(length >= (oldLength - start)) {
1337 if(start >= oldLength) {
1341 newLength = oldLength + srcLength;
1351 if(srcChars + srcStart != oldArray + start || start > oldLength) {
1352 us_arrayCopy(srcChars, srcStart, oldArray, oldLength, srcLength);
1358 start = oldLength;
1365 newLength = oldLength - length + srcLength;
1375 u_memcpy(oldStackBuffer, fUnion.fStackBuffer, oldLength);
1397 oldLength - (start + length));
1402 oldLength - (start + length));
1513 int32_t oldLength = length();
1514 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1519 int32_t start = targetLength - oldLength;
1520 us_arrayCopy(array, 0, array, start, oldLength);
1535 int32_t oldLength = length();
1536 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1542 while(--length >= oldLength) {
1743 int32_t oldLength = str.length();
1744 if(str.cloneArrayIfNeeded(oldLength + minCapacity, oldLength + desiredCapacityHint)) {
1745 *resultCapacity = str.getCapacity() - oldLength;
1746 return str.getArrayStart() + oldLength;