Home | History | Annotate | Download | only in common

Lines Matching refs:oldLength

1166                   int32_t oldLength,
1176 oldText.pinIndices(oldStart, oldLength);
1179 if(oldLength == 0) {
1183 while(length > 0 && length >= oldLength) {
1184 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length);
1190 replace(pos, oldLength, newText, newStart, newLength);
1191 length -= pos + oldLength - start;
1422 int32_t oldLength = this->length();
1431 setLength(oldLength - length);
1435 if(length >= (oldLength - start)) {
1444 if(start == oldLength) {
1460 int32_t newLength = oldLength - length;
1474 u_memcpy(oldStackBuffer, fUnion.fStackFields.fBuffer, oldLength);
1496 oldLength - (start + length));
1501 oldLength - (start + length));
1545 int32_t oldLength = length();
1546 int32_t newLength = oldLength + srcLength;
1558 if(srcChars + srcStart != newArray + oldLength) {
1559 us_arrayCopy(srcChars, srcStart, newArray, oldLength, srcLength);
1660 int32_t oldLength = length();
1661 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1666 int32_t start = targetLength - oldLength;
1667 us_arrayCopy(array, 0, array, start, oldLength);
1682 int32_t oldLength = length();
1683 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1689 while(--length >= oldLength) {
1791 int32_t oldLength = length();
1799 us_arrayCopy(fUnion.fStackFields.fBuffer, 0, oldStackBuffer, 0, oldLength);
1816 int32_t minLength = oldLength;
1896 int32_t oldLength = str.length();
1897 if(minCapacity <= (kMaxCapacity - oldLength) &&
1898 desiredCapacityHint <= (kMaxCapacity - oldLength) &&
1899 str.cloneArrayIfNeeded(oldLength + minCapacity, oldLength + desiredCapacityHint)) {
1900 *resultCapacity = str.getCapacity() - oldLength;
1901 return str.getArrayStart() + oldLength;