Home
last modified time | relevance | path

Searched refs:getCapacity (Results 1 – 25 of 60) sorted by relevance

123

/external/icu/icu4c/source/common/
Dcharstr.cpp124 if(sLength>=(buffer.getCapacity()-len)) { in append()
131 sLength>=(buffer.getCapacity()-len) in append()
152 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL in getAppendBuffer()
158 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
191 if(capacity>buffer.getCapacity()) { in ensureCapacity()
193 desiredCapacityHint=capacity+buffer.getCapacity(); in ensureCapacity()
Dlocdispnames.cpp69 buffer, result.getCapacity(), in getDisplayLanguage()
81 buffer, result.getCapacity(), in getDisplayLanguage()
109 buffer, result.getCapacity(), in getDisplayScript()
121 buffer, result.getCapacity(), in getDisplayScript()
149 buffer, result.getCapacity(), in getDisplayCountry()
161 buffer, result.getCapacity(), in getDisplayCountry()
189 buffer, result.getCapacity(), in getDisplayVariant()
201 buffer, result.getCapacity(), in getDisplayVariant()
229 buffer, result.getCapacity(), in getDisplayName()
241 buffer, result.getCapacity(), in getDisplayName()
Dunistr_case.cpp123 capacity = getCapacity(); in caseMap()
203 getArrayStart(), getCapacity(), in caseMap()
Dunistr.cpp465 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, in fromUTF32()
1224 if(len < getCapacity()) { in getTerminatedBuffer()
1342 u_strFromUTF8WithSub(utf16, getCapacity(), &length16, in setToUTF8()
1587 if((newLength <= getCapacity() && isBufferWritable()) || in doAppend()
1770 int32_t capacity=getCapacity(); in releaseBuffer()
1798 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1818 newCapacity > getCapacity() in cloneArrayIfNeeded()
1856 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1939 *resultCapacity = str.getCapacity() - oldLength; in getAppendBuffer()
Duarrsort.cpp145 if (sizeInMaxAlignTs(itemSize) > v.getCapacity() && in insertionSort()
239 if(sizeInMaxAlignTs(itemSize)*2 > xw.getCapacity() && in quickSort()
Dcmemory.h327 int32_t getCapacity() const { return capacity; } in getCapacity() function
540 int32_t getCapacity() const { return capacity; } in getCapacity() function
748 int32_t capacity = fPool.getCapacity(); in create()
/external/icu/icu4c/source/i18n/
Dpluralranges.cpp93 if (fTriplesLen > result.fTriples.getCapacity()) { in copy()
115 U_ASSERT(fTriplesLen < fTriples.getCapacity()); in addPluralRange()
122 if (length > fTriples.getCapacity()) { in setCapacity()
Dsortkey.cpp65 (count > getCapacity() && reallocate(count, 0) == NULL)) { in CollationKey()
86 if (length > getCapacity() && reallocate(length, 0) == NULL) { in CollationKey()
159 if (length > getCapacity() && reallocate(length, 0) == NULL) { in operator =()
Dformattedval_sbimpl.cpp233 U_ASSERT(spanIndices.getCapacity() >= spanValue); in appendSpanInfo()
234 if (spanIndices.getCapacity() == spanValue) { in appendSpanInfo()
245 U_ASSERT(spanIndices.getCapacity() >= spanValue); in prependSpanInfo()
246 if (spanIndices.getCapacity() == spanValue) { in prependSpanInfo()
Dformatted_string_builder.cpp40 for (int32_t i=0; i<getCapacity(); i++) { in FormattedStringBuilder()
70 int32_t capacity = other.getCapacity(); in operator =()
143 fZero = getCapacity() / 2; in clear()
263 } else if (index == fLength && fZero + fLength + count < getCapacity()) { in prepareForInsert()
274 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper()
Dcollationkeys.cpp128 if(len < buffer.getCapacity() || ensureCapacity(1)) { in appendByte()
139 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) { in appendWeight16()
152 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) { in appendWeight32()
172 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) { in appendReverseWeight16()
187 int32_t newCapacity = 2 * buffer.getCapacity(); in ensureCapacity()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DFormattedStringBuilder.java111 zero = getCapacity() / 2;
315 } else if (index == length && zero + length + count < getCapacity()) {
328 int oldCapacity = getCapacity();
394 private int getCapacity() {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedStringBuilder.java109 zero = getCapacity() / 2;
313 } else if (index == length && zero + length + count < getCapacity()) {
326 int oldCapacity = getCapacity();
392 private int getCapacity() {
/external/pdfium/third_party/bigint/
DBigInteger.hh93 Index getCapacity() const { return mag.getCapacity(); } in getCapacity() function in BigInteger
DBigUnsignedInABase.hh110 using NumberlikeArray<Digit>::getCapacity;
DNumberlikeArray.hh79 Index getCapacity() const { return cap; } in getCapacity() function in NumberlikeArray
/external/replicaisland/src/com/replica/replicaisland/
DObjectPool.java60 return mAvailable.getCapacity() - mAvailable.getCount(); in getAllocatedCount()
DSpriteAnimation.java46 assert frames.getCount() == frames.getCapacity(); in getFrame()
/external/icu/icu4c/source/test/intltest/
Dnptrans.cpp207 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
215 … b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
/external/perfetto/src/android_internal/
Dhealth_hal.cc65 g_svc->getCapacity([&res, value](Result hal_res, int64_t hal_value) { in GetBatteryCounter()
/external/deqp/framework/delibs/decpp/
DdeMemPool.hpp49 …deUintptr getCapacity (bool recurse) const { return deMemPool_getCapacity(m_pool, recurse ? DE… in getCapacity() function in de::MemPool
/external/icu/libicu/cts_headers/unicode/
Dsortkey.h266 int32_t getCapacity() const { in getCapacity() function
/external/icu/icu4c/source/i18n/unicode/
Dsortkey.h266 int32_t getCapacity() const { in getCapacity() function
/external/icu/libicu/cts_headers/
Dcmemory.h327 int32_t getCapacity() const { return capacity; } in getCapacity() function
540 int32_t getCapacity() const { return capacity; } in getCapacity() function
748 int32_t capacity = fPool.getCapacity(); in create()
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DRouteSpecificPool.java132 public int getCapacity() { in getCapacity() method in RouteSpecificPool

123