Home
last modified time | relevance | path

Searched refs:appendCapacity (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/common/unicode/
Dappendable.h95 virtual UBool reserveAppendCapacity(int32_t appendCapacity);
200 virtual UBool reserveAppendCapacity(int32_t appendCapacity);
/external/icu/icu4c/source/common/
Dcharstr.cpp115 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL in getAppendBuffer() local
116 if(appendCapacity>=minCapacity) { in getAppendBuffer()
117 resultCapacity=appendCapacity; in getAppendBuffer()
Dunistr.cpp1919 UnicodeStringAppendable::reserveAppendCapacity(int32_t appendCapacity) { in reserveAppendCapacity() argument
1920 return str.cloneArrayIfNeeded(str.length() + appendCapacity); in reserveAppendCapacity()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationKeys.java129 protected abstract boolean Resize(int appendCapacity, int length); in Resize() argument
237 private boolean ensureCapacity(int appendCapacity) { in ensureCapacity() argument
242 int altCapacity = len + 2 * appendCapacity; in ensureCapacity()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationKeys.java136 protected abstract boolean Resize(int appendCapacity, int length); in Resize() argument
247 private boolean ensureCapacity(int appendCapacity) { in ensureCapacity() argument
252 int altCapacity = len + 2 * appendCapacity; in ensureCapacity()
/external/icu/icu4c/source/i18n/
Dcollationkeys.cpp121 UBool ensureCapacity(int32_t appendCapacity);
183 UBool SortKeyLevel::ensureCapacity(int32_t appendCapacity) { in ensureCapacity() argument
188 int32_t altCapacity = len + 2 * appendCapacity; in ensureCapacity()
Dcollationkeys.h73 virtual UBool Resize(int32_t appendCapacity, int32_t length) = 0;
Drulebasedcollator.cpp70 virtual UBool Resize(int32_t appendCapacity, int32_t length);
102 virtual UBool Resize(int32_t appendCapacity, int32_t length);
118 CollationKeyByteSink::Resize(int32_t appendCapacity, int32_t length) { in Resize() argument
123 int32_t altCapacity = length + 2 * appendCapacity; in Resize()
/external/icu/icu4c/source/test/intltest/
Dstrtest.cpp532 int32_t appendCapacity = 0; in TestCharString() local
533 char *buffer = chStr.getAppendBuffer(5, 10, appendCapacity, errorCode); in TestCharString()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java1118 protected boolean Resize(int appendCapacity, int length) { in Resize() argument
1120 int altCapacity = length + 2 * appendCapacity; in Resize()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedCollator.java1092 protected boolean Resize(int appendCapacity, int length) { in Resize() argument
1094 int altCapacity = length + 2 * appendCapacity; in Resize()