Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Dcharstr.cpp74 if(sLength>=(buffer.getCapacity()-len)) { in append()
81 sLength>=(buffer.getCapacity()-len) in append()
102 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL in getAppendBuffer()
108 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
124 len+=s.extract(0, 0x7fffffff, buffer.getAlias()+len, buffer.getCapacity()-len, US_INV); in appendInvariantChars()
135 if(capacity>buffer.getCapacity()) { in ensureCapacity()
137 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()
1342 u_strFromUTF8WithSub(utf16, getCapacity(), &length16, in setToUTF8()
1548 if((newLength <= getCapacity() && isBufferWritable()) || in doAppend()
1731 int32_t capacity=getCapacity(); in releaseBuffer()
1759 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1779 newCapacity > getCapacity() in cloneArrayIfNeeded()
1817 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1900 *resultCapacity = str.getCapacity() - oldLength; in getAppendBuffer()
Dunistr_case.cpp131 newLength = stringCaseMapper(csm, 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.h323 int32_t getCapacity() const { return capacity; } in getCapacity() function
498 int32_t getCapacity() const { return capacity; } in getCapacity() function
Dnormalizer2impl.cpp49 remainingCapacity=str.getCapacity()-length; in init()
165 remainingCapacity=str.getCapacity(); in remove()
175 remainingCapacity=str.getCapacity(); in removeSuffix()
186 int32_t doubleCapacity=2*str.getCapacity(); in resize()
201 remainingCapacity=str.getCapacity()-length; in resize()
/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 =()
Ddigitlst.cpp99 fContext.digits = fStorage.getCapacity(); in DigitList()
133 if (other.fStorage.getCapacity() > fStorage.getCapacity()) { in operator =()
134 fDecNumber = fStorage.resize(other.fStorage.getCapacity()); in operator =()
138 fContext.digits = fStorage.getCapacity(); in operator =()
813 decNumber *t = fStorage.resize(numDigits, fStorage.getCapacity()); in set()
934 decNumber *newBuffer = fStorage.resize(requestedCapacity, fStorage.getCapacity()); in ensureCapacity()
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/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()
DFixedSizeArray.java264 public int getCapacity() {
/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()
Dstrcase.cpp447 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode); in TestCasingImpl()
602 u_memset(dest16, 0x55AA, result16.getCapacity()); in assertGreekUpper()
771 int32_t destLength = u_strToUpper(dest, result.getCapacity(), in TestLongUpper()
/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/
DRouteSpecificPool.java132 public int getCapacity() { in getCapacity() method in RouteSpecificPool
DConnPoolByRoute.java310 boolean hasCapacity = rospl.getCapacity() > 0;
313 log.debug("Available capacity: " + rospl.getCapacity()
/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()
Dppucd.cpp519 int32_t length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode); in parseString()
524 length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode); in parseString()

12