Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/common/
Dcharstr.cpp87 if(sLength>=(buffer.getCapacity()-len)) { in append()
94 sLength>=(buffer.getCapacity()-len) in append()
115 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL in getAppendBuffer()
121 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
154 if(capacity>buffer.getCapacity()) { in ensureCapacity()
156 desiredCapacityHint=capacity+buffer.getCapacity(); in ensureCapacity()
Dlocdispnames.cpp66 buffer, result.getCapacity(), in getDisplayLanguage()
78 buffer, result.getCapacity(), in getDisplayLanguage()
106 buffer, result.getCapacity(), in getDisplayScript()
118 buffer, result.getCapacity(), in getDisplayScript()
146 buffer, result.getCapacity(), in getDisplayCountry()
158 buffer, result.getCapacity(), in getDisplayCountry()
186 buffer, result.getCapacity(), in getDisplayVariant()
198 buffer, result.getCapacity(), in getDisplayVariant()
226 buffer, result.getCapacity(), in getDisplayName()
238 buffer, result.getCapacity(), in getDisplayName()
Dunistr_case.cpp123 capacity = getCapacity(); in caseMap()
203 getArrayStart(), getCapacity(), in caseMap()
Dunistr.cpp466 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, in fromUTF32()
1225 if(len < getCapacity()) { in getTerminatedBuffer()
1343 u_strFromUTF8WithSub(utf16, getCapacity(), &length16, in setToUTF8()
1584 if((newLength <= getCapacity() && isBufferWritable()) || in doAppend()
1767 int32_t capacity=getCapacity(); in releaseBuffer()
1795 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1815 newCapacity > getCapacity() in cloneArrayIfNeeded()
1853 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1936 *resultCapacity = str.getCapacity() - oldLength; in getAppendBuffer()
Duts46.cpp612 int32_t capacity=dest.getCapacity(); in mapDevChars()
631 capacity=dest.getCapacity(); in mapDevChars()
726 unicodeBuffer, fromPunycode.getCapacity(), in processLabel()
737 unicodeBuffer, fromPunycode.getCapacity(), in processLabel()
871 buffer+4, punycode.getCapacity()-4, in processLabel()
882 buffer+4, punycode.getCapacity()-4, in processLabel()
Dcmemory.h318 int32_t getCapacity() const { return capacity; } in getCapacity() function
524 int32_t getCapacity() const { return capacity; } in getCapacity() function
/external/icu/icu4c/source/i18n/
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 =()
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()
Dnumber_stringbuilder.cpp61 int32_t capacity = other.getCapacity(); in operator =()
134 fZero = getCapacity() / 2; in clear()
252 } else if (index == fLength && fZero + fLength + count < getCapacity()) { in prepareForInsert()
263 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper()
Dnumber_stringbuilder.h134 inline int32_t getCapacity() const { in getCapacity() function
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DNumberStringBuilder.java104 zero = getCapacity() / 2;
284 } else if (index == length && zero + length + count < getCapacity()) {
297 int oldCapacity = getCapacity();
363 private int getCapacity() {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DNumberStringBuilder.java102 zero = getCapacity() / 2;
282 } else if (index == length && zero + length + count < getCapacity()) {
295 int oldCapacity = getCapacity();
361 private int getCapacity() {
/external/pdfium/third_party/bigint/
DBigInteger.hh93 Index getCapacity() const { return mag.getCapacity(); } in getCapacity() function in BigInteger
DBigUnsignedInABase.hh109 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.cpp210 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
218 … b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
Ddcfmtest.cpp116 if (len+1 > buf.getCapacity()) { in InvariantStringPiece()
140 int32_t capacity = buf.getCapacity(); in UnicodeStringPiece()
/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/icu4c/source/i18n/unicode/
Dsortkey.h264 int32_t getCapacity() const { in getCapacity() function
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DConnPoolByRoute.java310 boolean hasCapacity = rospl.getCapacity() > 0;
313 log.debug("Available capacity: " + rospl.getCapacity()
DRouteSpecificPool.java132 public int getCapacity() { in getCapacity() method in RouteSpecificPool
/external/icu/icu4c/source/tools/toolutil/
Dxmlparser.cpp222 &pu, buffer+src.getCapacity(), in parseFile()
290 cnv, &pu, buffer+src.getCapacity(), in parseFile()
296 capacity=(3*src.getCapacity())/2; // increase capacity by 50% in parseFile()

123