Home
last modified time | relevance | path

Searched refs:cloneArrayIfNeeded (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
Dunistr_case.cpp120 if(!cloneArrayIfNeeded(capacity, capacity, FALSE, &bufferToDelete, TRUE)) { in caseMap()
132 } while(errorCode==U_BUFFER_OVERFLOW_ERROR && cloneArrayIfNeeded(newLength, newLength, FALSE)); in caseMap()
Dunistr.cpp271 if(cloneArrayIfNeeded(length, length, FALSE)) { in UnicodeString()
1218 if(cloneArrayIfNeeded(len+1)) { in getTerminatedBuffer()
1330 if(cloneArrayIfNeeded() && len > 0) { in setCharAt()
1447 if(!cloneArrayIfNeeded(newLength, newLength + (newLength >> 2) + kGrowSize, in doReplace()
1514 cloneArrayIfNeeded(newLength, newLength + (newLength >> 2) + kGrowSize)) { in doAppend()
1577 if(length <= 1 || !cloneArrayIfNeeded()) { in doReverse()
1626 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading()
1648 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing()
1683 if(minCapacity>=-1 && cloneArrayIfNeeded(minCapacity)) { in getBuffer()
1716 UnicodeString::cloneArrayIfNeeded(int32_t newCapacity, in cloneArrayIfNeeded() function in UnicodeString
[all …]
Dunistr_cnv.cpp323 if(cloneArrayIfNeeded(dataLength, dataLength, FALSE)) { in doCodepageCreate()
382 if(!cloneArrayIfNeeded(arraySize, arraySize, doCopyArray)) { in doCodepageCreate()
/external/icu/icu4c/source/common/unicode/
Dunistr.h3592 UBool cloneArrayIfNeeded(int32_t newCapacity = -1,