Searched refs:appendCapacity (Results 1 - 9 of 9) sorted by relevance

/external/icu/icu4c/source/common/unicode/
H A Dappendable.h86 * appendCapacity UChars. A subclass might use this to pre-allocate
89 * @param appendCapacity estimated number of UChars that will be appended
93 virtual UBool reserveAppendCapacity(int32_t appendCapacity);
193 * appendCapacity UChars.
194 * @param appendCapacity estimated number of UChars that will be appended
198 virtual UBool reserveAppendCapacity(int32_t appendCapacity);
/external/icu/icu4c/source/common/
H A Dcharstr.cpp90 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL local
91 if(appendCapacity>=minCapacity) {
92 resultCapacity=appendCapacity;
H A Dunistr.cpp1743 UnicodeStringAppendable::reserveAppendCapacity(int32_t appendCapacity) { argument
1744 return str.cloneArrayIfNeeded(str.length() + appendCapacity);
/external/icu/icu4c/source/i18n/
H A Dcollationkeys.h71 virtual UBool Resize(int32_t appendCapacity, int32_t length) = 0;
H A Dcollationkeys.cpp119 UBool ensureCapacity(int32_t appendCapacity);
181 UBool SortKeyLevel::ensureCapacity(int32_t appendCapacity) { argument
186 int32_t altCapacity = len + 2 * appendCapacity;
H A Drulebasedcollator.cpp68 virtual UBool Resize(int32_t appendCapacity, int32_t length);
84 FixedSortKeyByteSink::Resize(int32_t /*appendCapacity*/, int32_t /*length*/) {
100 virtual UBool Resize(int32_t appendCapacity, int32_t length);
116 CollationKeyByteSink::Resize(int32_t appendCapacity, int32_t length) { argument
121 int32_t altCapacity = length + 2 * appendCapacity;
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationKeys.java127 protected abstract boolean Resize(int appendCapacity, int length); argument
235 private boolean ensureCapacity(int appendCapacity) { argument
240 int altCapacity = len + 2 * appendCapacity;
/external/icu/icu4c/source/test/intltest/
H A Dstrtest.cpp512 int32_t appendCapacity = 0; local
513 char *buffer = chStr.getAppendBuffer(5, 10, appendCapacity, errorCode);
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
H A DRuleBasedCollator.java1134 protected boolean Resize(int appendCapacity, int length) { argument
1136 int altCapacity = length + 2 * appendCapacity;

Completed in 266 milliseconds