Home
last modified time | relevance | path

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

12

/third_party/node/deps/icu-small/source/common/
Dappendable.cpp60 Appendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
64 if(minCapacity<1 || scratchCapacity<minCapacity) { in getAppendBuffer()
Dcharstr.cpp178 char *CharString::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
187 if(appendCapacity>=minCapacity) { in getAppendBuffer()
191 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { in getAppendBuffer()
Dunistr.cpp1799 UnicodeString::getBuffer(int32_t minCapacity) { in getBuffer() argument
1800 if(minCapacity>=-1 && cloneArrayIfNeeded(minCapacity)) { in getBuffer()
1970 UnicodeStringAppendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
1974 if(minCapacity < 1 || scratchCapacity < minCapacity) { in getAppendBuffer()
1979 if(minCapacity <= (kMaxCapacity - oldLength) && in getAppendBuffer()
1981 str.cloneArrayIfNeeded(oldLength + minCapacity, oldLength + desiredCapacityHint)) { in getAppendBuffer()
Duniset.cpp1626 int32_t UnicodeSet::nextCapacity(int32_t minCapacity) { in nextCapacity() argument
1628 if (minCapacity < INITIAL_CAPACITY) { in nextCapacity()
1629 return minCapacity + INITIAL_CAPACITY; in nextCapacity()
1630 } else if (minCapacity <= 2500) { in nextCapacity()
1631 return 5 * minCapacity; in nextCapacity()
1633 int32_t newCapacity = 2 * minCapacity; in nextCapacity()
Dcharstr.h153 char *getAppendBuffer(int32_t minCapacity,
/third_party/icu/icu4c/source/common/
Dappendable.cpp60 Appendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
64 if(minCapacity<1 || scratchCapacity<minCapacity) { in getAppendBuffer()
Dcharstr.cpp178 char *CharString::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
187 if(appendCapacity>=minCapacity) { in getAppendBuffer()
191 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { in getAppendBuffer()
Dunistr.cpp1757 UnicodeString::getBuffer(int32_t minCapacity) { in getBuffer() argument
1758 if(minCapacity>=-1 && cloneArrayIfNeeded(minCapacity)) { in getBuffer()
1928 UnicodeStringAppendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
1932 if(minCapacity < 1 || scratchCapacity < minCapacity) { in getAppendBuffer()
1937 if(minCapacity <= (kMaxCapacity - oldLength) && in getAppendBuffer()
1939 str.cloneArrayIfNeeded(oldLength + minCapacity, oldLength + desiredCapacityHint)) { in getAppendBuffer()
Duniset.cpp1626 int32_t UnicodeSet::nextCapacity(int32_t minCapacity) { in nextCapacity() argument
1628 if (minCapacity < INITIAL_CAPACITY) { in nextCapacity()
1629 return minCapacity + INITIAL_CAPACITY; in nextCapacity()
1630 } else if (minCapacity <= 2500) { in nextCapacity()
1631 return 5 * minCapacity; in nextCapacity()
1633 int32_t newCapacity = 2 * minCapacity; in nextCapacity()
Dcharstr.h153 char *getAppendBuffer(int32_t minCapacity,
/third_party/skia/third_party/externals/icu/source/common/
Dappendable.cpp60 Appendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
64 if(minCapacity<1 || scratchCapacity<minCapacity) { in getAppendBuffer()
Dcharstr.cpp178 char *CharString::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
187 if(appendCapacity>=minCapacity) { in getAppendBuffer()
191 if(ensureCapacity(len+minCapacity+1, len+desiredCapacityHint+1, errorCode)) { in getAppendBuffer()
Dunistr.cpp1756 UnicodeString::getBuffer(int32_t minCapacity) { in getBuffer() argument
1757 if(minCapacity>=-1 && cloneArrayIfNeeded(minCapacity)) { in getBuffer()
1927 UnicodeStringAppendable::getAppendBuffer(int32_t minCapacity, in getAppendBuffer() argument
1931 if(minCapacity < 1 || scratchCapacity < minCapacity) { in getAppendBuffer()
1936 if(minCapacity <= (kMaxCapacity - oldLength) && in getAppendBuffer()
1938 str.cloneArrayIfNeeded(oldLength + minCapacity, oldLength + desiredCapacityHint)) { in getAppendBuffer()
Duniset.cpp1627 int32_t UnicodeSet::nextCapacity(int32_t minCapacity) { in nextCapacity() argument
1629 if (minCapacity < INITIAL_CAPACITY) { in nextCapacity()
1630 return minCapacity + INITIAL_CAPACITY; in nextCapacity()
1631 } else if (minCapacity <= 2500) { in nextCapacity()
1632 return 5 * minCapacity; in nextCapacity()
1634 int32_t newCapacity = 2 * minCapacity; in nextCapacity()
Dcharstr.h153 char *getAppendBuffer(int32_t minCapacity,
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DBOCSU.java137 …private static void ensureAppendCapacity(ByteArrayWrapper sink, int minCapacity, int desiredCapaci… in ensureAppendCapacity() argument
139 if (remainingCapacity >= minCapacity) { return; } in ensureAppendCapacity()
140 if (desiredCapacity < minCapacity) { desiredCapacity = minCapacity; } in ensureAppendCapacity()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DBOCSU.java136 …private static void ensureAppendCapacity(ByteArrayWrapper sink, int minCapacity, int desiredCapaci… in ensureAppendCapacity() argument
138 if (remainingCapacity >= minCapacity) { return; } in ensureAppendCapacity()
139 if (desiredCapacity < minCapacity) { desiredCapacity = minCapacity; } in ensureAppendCapacity()
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dappendable.h144 virtual char16_t *getAppendBuffer(int32_t minCapacity,
226 virtual char16_t *getAppendBuffer(int32_t minCapacity,
/third_party/icu/icu4c/source/common/unicode/
Dappendable.h144 virtual char16_t *getAppendBuffer(int32_t minCapacity,
226 virtual char16_t *getAppendBuffer(int32_t minCapacity,
/third_party/node/deps/icu-small/source/common/unicode/
Dappendable.h144 virtual char16_t *getAppendBuffer(int32_t minCapacity,
226 virtual char16_t *getAppendBuffer(int32_t minCapacity,
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DTransformFeedback.cpp156 GLsizeiptr minCapacity = std::numeric_limits<GLsizeiptr>::max(); in begin() local
161 minCapacity = std::min(minCapacity, capacity); in begin()
163 mState.mVertexCapacity = minCapacity; in begin()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_utils.cpp260 int32_t minCapacity = fData.getAlias()->digits + 14; in toString() local
261 MaybeStackArray<char, 30> buffer(minCapacity, status); in toString()
/third_party/icu/icu4c/source/i18n/
Dnumber_utils.cpp266 int32_t minCapacity = fData.getAlias()->digits + 14; in toString() local
267 MaybeStackArray<char, 30> buffer(minCapacity, status); in toString()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_utils.cpp266 int32_t minCapacity = fData.getAlias()->digits + 14; in toString() local
267 MaybeStackArray<char, 30> buffer(minCapacity, status); in toString()
/third_party/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1464 int32_t minCapacity = key1Length + key2Length; in getMergedCollationKey() local
1465 if(key1Length > 0) { --minCapacity; } in getMergedCollationKey()
1466 if(minCapacity <= mergedKeyCapacity) { in getMergedCollationKey()
1469 if(minCapacity <= 200) { in getMergedCollationKey()
1471 } else if(minCapacity <= 2 * mergedKeyCapacity) { in getMergedCollationKey()
1474 mergedKeyCapacity = minCapacity; in getMergedCollationKey()

12