Searched refs:getCapacity (Results 1 - 25 of 52) sorted by relevance

123

/external/icu/icu4c/source/common/
H A Dcharstr.cpp72 if(sLength>=(buffer.getCapacity()-len)) {
79 sLength>=(buffer.getCapacity()-len)
100 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL
106 resultCapacity=buffer.getCapacity()-len-1;
122 len+=s.extract(0, 0x7fffffff, buffer.getAlias()+len, buffer.getCapacity()-len, US_INV);
133 if(capacity>buffer.getCapacity()) {
135 desiredCapacityHint=capacity+buffer.getCapacity();
H A Dlocdispnames.cpp64 buffer, result.getCapacity(),
76 buffer, result.getCapacity(),
104 buffer, result.getCapacity(),
116 buffer, result.getCapacity(),
144 buffer, result.getCapacity(),
156 buffer, result.getCapacity(),
184 buffer, result.getCapacity(),
196 buffer, result.getCapacity(),
224 buffer, result.getCapacity(),
236 buffer, result.getCapacity(),
[all...]
H A Dunistr_case.cpp129 newLength = stringCaseMapper(csm, getArrayStart(), getCapacity(),
H A Dunistr.cpp439 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16,
1196 if(len < getCapacity()) {
1313 u_strFromUTF8WithSub(utf16, getCapacity(), &length16,
1513 if((newLength <= getCapacity() && isBufferWritable()) ||
1696 int32_t capacity=getCapacity();
1724 newCapacity = getCapacity();
1744 newCapacity > getCapacity()
1782 newCapacity = getCapacity();
1863 *resultCapacity = str.getCapacity() - oldLength;
H A Dcmemory.h319 int32_t getCapacity() const { return capacity; } function in class:MaybeStackArray
327 * @return getAlias()+getCapacity()
494 int32_t getCapacity() const { return capacity; } function in class:MaybeStackHeaderAndArray
H A Dunistr_cnv.cpp390 ucnv_toUnicode(converter, &myTarget, array + getCapacity(),
/external/replicaisland/src/com/replica/replicaisland/
H A DObjectPool.java60 return mAvailable.getCapacity() - mAvailable.getCount();
H A DSpriteAnimation.java46 assert frames.getCount() == frames.getCapacity();
H A DFixedSizeArray.java29 * larger than getCount() but smaller than getCapacity() can't be used on their own.
264 public int getCapacity() { method in class:FixedSizeArray
/external/icu/icu4c/source/i18n/
H A Dsortkey.cpp63 (count > getCapacity() && reallocate(count, 0) == NULL)) {
84 if (length > getCapacity() && reallocate(length, 0) == NULL) {
113 // U_ASSERT(newLength >= 0 && newLength <= getCapacity());
157 if (length > getCapacity() && reallocate(length, 0) == NULL) {
H A Ddigitlst.cpp72 fContext.digits = fStorage.getCapacity();
106 if (other.fStorage.getCapacity() > fStorage.getCapacity()) {
107 fDecNumber = fStorage.resize(other.fStorage.getCapacity());
111 fContext.digits = fStorage.getCapacity();
788 // fContext.digits == fStorage.getCapacity()
789 decNumber *t = fStorage.resize(numDigits, fStorage.getCapacity());
910 decNumber *newBuffer = fStorage.resize(requestedCapacity, fStorage.getCapacity());
H A Dcollationkeys.cpp126 if(len < buffer.getCapacity() || ensureCapacity(1)) {
137 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) {
150 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) {
170 if((len + appendLength) <= buffer.getCapacity() || ensureCapacity(appendLength)) {
185 int32_t newCapacity = 2 * buffer.getCapacity();
/external/deqp/framework/delibs/decpp/
H A DdeMemPool.hpp49 deUintptr getCapacity (bool recurse) const { return deMemPool_getCapacity(m_pool, recurse ? DE_TRUE : DE_FALSE); } function in class:de::MemPool
/external/pdfium/third_party/bigint/
H A DBigUnsignedInABase.hh109 using NumberlikeArray<Digit>::getCapacity;
H A DBigInteger.hh93 Index getCapacity() const { return mag.getCapacity(); } function in class:BigInteger
H A DNumberlikeArray.hh79 Index getCapacity() const { return cap; } function in class:NumberlikeArray
/external/icu/icu4c/source/i18n/unicode/
H A Dsortkey.h262 int32_t getCapacity() const { function in class:CollationKey
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
H A DRouteSpecificPool.java132 public int getCapacity() { method in class:RouteSpecificPool
H A DConnPoolByRoute.java310 boolean hasCapacity = rospl.getCapacity() > 0;
313 log.debug("Available capacity: " + rospl.getCapacity()
/external/icu/icu4c/source/test/intltest/
H A Dnptrans.cpp208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
216 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
H A Ddcfmtest.cpp114 if (len+1 > buf.getCapacity()) {
138 int32_t capacity = buf.getCapacity();
/external/icu/icu4c/source/tools/toolutil/
H A Dxmlparser.cpp220 &pu, buffer+src.getCapacity(),
288 cnv, &pu, buffer+src.getCapacity(),
294 capacity=(3*src.getCapacity())/2; // increase capacity by 50%
H A Dppucd.cpp517 int32_t length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode);
522 length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode);
/external/jetty/src/java/org/eclipse/jetty/util/
H A DBlockingArrayQueue.java133 public int getCapacity() method in class:BlockingArrayQueue
684 return getCapacity()-size();
H A DArrayQueue.java73 public int getCapacity() method in class:ArrayQueue

Completed in 964 milliseconds

123