Home
last modified time | relevance | path

Searched refs:minCapacity (Results 1 – 10 of 10) sorted by relevance

/external/icu4c/common/
Dappendable.cpp58 Appendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
62 if(minCapacity<1 || scratchCapacity<minCapacity) { in getAppendBuffer()
Dcharstr.cpp82 char *CharString::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
91 if(appendCapacity>=minCapacity) { in getAppendBuffer()
95 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { in getAppendBuffer()
Dunistr.cpp1572 UnicodeString::getBuffer(int32_t minCapacity) { in getBuffer() argument
1573 if(minCapacity>=-1 && cloneArrayIfNeeded(minCapacity)) { in getBuffer()
1737 UnicodeStringAppendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
1741 if(minCapacity < 1 || scratchCapacity < minCapacity) { in getAppendBuffer()
1746 if(str.cloneArrayIfNeeded(oldLength + minCapacity, oldLength + desiredCapacityHint)) { in getAppendBuffer()
Dcharstr.h103 char *getAppendBuffer(int32_t minCapacity,
/external/srec/portable/src/
DArrayListImpl.c29 ESR_ReturnCode ArrayListCreateWithCapacity(ArrayList **self, size_t minCapacity) in ArrayListCreateWithCapacity() argument
54 impl->contents = MALLOC(minCapacity * sizeof(void*), MTAG); in ArrayListCreateWithCapacity()
60 impl->capacity = minCapacity; in ArrayListCreateWithCapacity()
61 impl->minCapacity = minCapacity; in ArrayListCreateWithCapacity()
122 if (impl->capacity > impl->minCapacity && in ArrayList_Remove_Internal()
/external/icu4c/common/unicode/
Dappendable.h139 virtual UChar *getAppendBuffer(int32_t minCapacity,
225 virtual UChar *getAppendBuffer(int32_t minCapacity,
Dunistr.h2757 UChar *getBuffer(int32_t minCapacity);
/external/srec/portable/include/
DArrayListImpl.h59 size_t minCapacity; member
DArrayList.h178 PORTABLE_API ESR_ReturnCode ArrayListCreateWithCapacity(ArrayList** self, size_t minCapacity);
/external/icu4c/i18n/
Ducol.cpp305 ensureCEsCapacity(collIterate *data, int32_t minCapacity) { in ensureCEsCapacity() argument
312 if(minCapacity <= oldCapacity) { in ensureCEsCapacity()
316 return reallocCEs(data, minCapacity > oldCapacity ? minCapacity : oldCapacity); in ensureCEsCapacity()