Lines Matching refs:oldSize
45 size_t oldSize = size();
47 if (newSize < oldSize) {
48 String::finalizeSlice(oldStrings + newSize, oldSize - newSize);
57 size_t oldSize = size();
59 if (newSize < oldSize) {
60 String::finalizeSlice(oldStrings + newSize, oldSize - newSize);
69 size_t oldSize = size();
70 if (index >= oldSize)
73 String::moveSlice(begin(), index + 1, index, oldSize - index);
77 size_t oldSize = size();
78 DCHECK(index <= oldSize);
79 resize(oldSize + 1U);
80 String::moveSlice(begin(), index, index + 1, oldSize - index);