Lines Matching refs:cloneArrayIfNeeded
273 if(cloneArrayIfNeeded(length, length, FALSE)) { in UnicodeString()
1246 if(len<INT32_MAX && cloneArrayIfNeeded(len+1)) { in getTerminatedBuffer()
1359 if(cloneArrayIfNeeded() && len > 0) { in setCharAt()
1498 if(!cloneArrayIfNeeded(newLength, getGrowCapacity(newLength), in doReplace()
1588 cloneArrayIfNeeded(newLength, getGrowCapacity(newLength))) { in doAppend()
1651 if(length <= 1 || !cloneArrayIfNeeded()) { in doReverse()
1700 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading()
1722 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing()
1757 if(minCapacity>=-1 && cloneArrayIfNeeded(minCapacity)) { in getBuffer()
1790 UnicodeString::cloneArrayIfNeeded(int32_t newCapacity, in cloneArrayIfNeeded() function in UnicodeString
1923 return str.cloneArrayIfNeeded(str.length() + appendCapacity); in reserveAppendCapacity()
1938 str.cloneArrayIfNeeded(oldLength + minCapacity, oldLength + desiredCapacityHint)) { in getAppendBuffer()