Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/common/
Dcharstr.cpp75 if(sLength>=(buffer.getCapacity()-len)) { in append()
82 sLength>=(buffer.getCapacity()-len) in append()
103 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL in getAppendBuffer()
109 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
125 len+=s.extract(0, 0x7fffffff, buffer.getAlias()+len, buffer.getCapacity()-len, US_INV); in appendInvariantChars()
136 if(capacity>buffer.getCapacity()) { in ensureCapacity()
138 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.cpp466 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, in fromUTF32()
1225 if(len < getCapacity()) { in getTerminatedBuffer()
1343 u_strFromUTF8WithSub(utf16, getCapacity(), &length16, in setToUTF8()
1549 if((newLength <= getCapacity() && isBufferWritable()) || in doAppend()
1732 int32_t capacity=getCapacity(); in releaseBuffer()
1760 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1780 newCapacity > getCapacity() in cloneArrayIfNeeded()
1818 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1901 *resultCapacity = str.getCapacity() - oldLength; in getAppendBuffer()
Dunistr_case.cpp123 capacity = getCapacity(); in caseMap()
203 getArrayStart(), getCapacity(), in caseMap()
Duts46.cpp601 int32_t capacity=dest.getCapacity(); in mapDevChars()
620 capacity=dest.getCapacity(); in mapDevChars()
715 unicodeBuffer, fromPunycode.getCapacity(), in processLabel()
726 unicodeBuffer, fromPunycode.getCapacity(), in processLabel()
860 buffer+4, punycode.getCapacity()-4, in processLabel()
871 buffer+4, punycode.getCapacity()-4, in processLabel()
Dcmemory.h327 int32_t getCapacity() const { return capacity; } in getCapacity() function
502 int32_t getCapacity() const { return capacity; } in getCapacity() function
/external/icu/icu4c/source/i18n/
Ddigitlst.cpp100 fContext.digits = fStorage.getCapacity(); in DigitList()
134 if (other.fStorage.getCapacity() > fStorage.getCapacity()) { in operator =()
135 fDecNumber = fStorage.resize(other.fStorage.getCapacity()); in operator =()
139 fContext.digits = fStorage.getCapacity(); in operator =()
814 decNumber *t = fStorage.resize(numDigits, fStorage.getCapacity()); in set()
935 decNumber *newBuffer = fStorage.resize(requestedCapacity, fStorage.getCapacity()); in ensureCapacity()
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.cpp62 int32_t capacity = other.getCapacity(); in operator =()
135 fZero = getCapacity() / 2; in clear()
226 } else if (index == fLength && fZero + fLength + count < getCapacity()) { in prepareForInsert()
237 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper()
Dnumber_stringbuilder.h119 inline int32_t getCapacity() const { in getCapacity() function
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DNumberStringBuilder.java102 zero = getCapacity() / 2;
249 } else if (index == length && zero + length + count < getCapacity()) {
261 int oldCapacity = getCapacity();
299 private int getCapacity() {
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DNumberStringBuilder.java104 zero = getCapacity() / 2;
251 } else if (index == length && zero + length + count < getCapacity()) {
263 int oldCapacity = getCapacity();
301 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/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/replicaisland/src/com/replica/replicaisland/
DObjectPool.java60 return mAvailable.getCapacity() - mAvailable.getCount(); in getAllocatedCount()
DSpriteAnimation.java46 assert frames.getCount() == frames.getCapacity(); in getFrame()
/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/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()
/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

123