Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/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()
Dcharstr.h103 char *getAppendBuffer(int32_t minCapacity,
Dunistr.cpp1604 UnicodeString::getBuffer(int32_t minCapacity) { in getBuffer() argument
1605 if(minCapacity>=-1 && cloneArrayIfNeeded(minCapacity)) { in getBuffer()
1772 UnicodeStringAppendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
1776 if(minCapacity < 1 || scratchCapacity < minCapacity) { in getAppendBuffer()
1781 if(str.cloneArrayIfNeeded(oldLength + minCapacity, oldLength + desiredCapacityHint)) { in getAppendBuffer()
/external/icu/icu4c/source/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()
Dcharstr.h103 char *getAppendBuffer(int32_t minCapacity,
Dunistr.cpp1604 UnicodeString::getBuffer(int32_t minCapacity) { in getBuffer() argument
1605 if(minCapacity>=-1 && cloneArrayIfNeeded(minCapacity)) { in getBuffer()
1772 UnicodeStringAppendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
1776 if(minCapacity < 1 || scratchCapacity < minCapacity) { in getAppendBuffer()
1781 if(str.cloneArrayIfNeeded(oldLength + minCapacity, oldLength + desiredCapacityHint)) { in getAppendBuffer()
/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/chromium_org/third_party/icu/source/common/unicode/
Dappendable.h139 virtual UChar *getAppendBuffer(int32_t minCapacity,
221 virtual UChar *getAppendBuffer(int32_t minCapacity,
Dunistr.h2757 UChar *getBuffer(int32_t minCapacity);
/external/icu/icu4c/source/common/unicode/
Dappendable.h139 virtual UChar *getAppendBuffer(int32_t minCapacity,
221 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/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1383 int32_t minCapacity = key1Length + key2Length; in getCollationKey() local
1384 if(key1Length > 0) { --minCapacity; } in getCollationKey()
1385 if(minCapacity <= mergedKeyCapacity) { in getCollationKey()
1388 if(minCapacity <= 200) { in getCollationKey()
1390 } else if(minCapacity <= 2 * mergedKeyCapacity) { in getCollationKey()
1393 mergedKeyCapacity = minCapacity; in getCollationKey()
/external/chromium_org/third_party/icu/source/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()