Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dunistr_case.cpp126 if (!cloneArrayIfNeeded(US_STACKBUF_SIZE, US_STACKBUF_SIZE, /* doCopyArray= */ FALSE)) { in caseMap()
171 if (newLength > oldLength && !cloneArrayIfNeeded(newLength, newLength)) { in caseMap()
197 if (!cloneArrayIfNeeded(newLength, newLength, FALSE, &bufferToDelete, TRUE)) { in caseMap()
Dunistr.cpp273 if(cloneArrayIfNeeded(length, length, FALSE)) { in UnicodeString()
1247 if(len<INT32_MAX && cloneArrayIfNeeded(len+1)) { in getTerminatedBuffer()
1360 if(cloneArrayIfNeeded() && len > 0) { in setCharAt()
1499 if(!cloneArrayIfNeeded(newLength, getGrowCapacity(newLength), in doReplace()
1585 cloneArrayIfNeeded(newLength, getGrowCapacity(newLength))) { in doAppend()
1648 if(length <= 1 || !cloneArrayIfNeeded()) { in doReverse()
1697 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading()
1719 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing()
1754 if(minCapacity>=-1 && cloneArrayIfNeeded(minCapacity)) { in getBuffer()
1787 UnicodeString::cloneArrayIfNeeded(int32_t newCapacity, in cloneArrayIfNeeded() function in UnicodeString
[all …]
Dunistr_cnv.cpp325 if(cloneArrayIfNeeded(dataLength, dataLength, FALSE)) { in doCodepageCreate()
384 if(!cloneArrayIfNeeded(arraySize, arraySize, doCopyArray)) { in doCodepageCreate()
/external/icu/icu4c/source/common/unicode/
Dunistr.h3692 UBool cloneArrayIfNeeded(int32_t newCapacity = -1,