Home
last modified time | relevance | path

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

/external/icu4c/common/
Dcharstr.cpp62 if(sLength>=(buffer.getCapacity()-len)) { in append()
69 sLength>=(buffer.getCapacity()-len) in append()
90 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL in getAppendBuffer()
96 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
105 len+=s.extract(0, 0x7fffffff, buffer.getAlias()+len, buffer.getCapacity()-len, US_INV); in appendInvariantChars()
116 if(capacity>buffer.getCapacity()) { in ensureCapacity()
118 desiredCapacityHint=capacity+buffer.getCapacity(); in ensureCapacity()
Dunistr_case.cpp139 newLength = ustr_toLower(csp, getArrayStart(), getCapacity(), in caseMap()
143 newLength = ustr_toUpper(csp, getArrayStart(), getCapacity(), in caseMap()
150 newLength = ustr_toTitle(csp, getArrayStart(), getCapacity(), in caseMap()
155 newLength = ustr_foldCase(csp, getArrayStart(), getCapacity(), in caseMap()
Dlocdispnames.cpp64 buffer, result.getCapacity(), in getDisplayLanguage()
76 buffer, result.getCapacity(), in getDisplayLanguage()
104 buffer, result.getCapacity(), in getDisplayScript()
116 buffer, result.getCapacity(), in getDisplayScript()
144 buffer, result.getCapacity(), in getDisplayCountry()
156 buffer, result.getCapacity(), in getDisplayCountry()
184 buffer, result.getCapacity(), in getDisplayVariant()
196 buffer, result.getCapacity(), in getDisplayVariant()
224 buffer, result.getCapacity(), in getDisplayName()
236 buffer, result.getCapacity(), in getDisplayName()
Dunistr.cpp430 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, in fromUTF32()
1173 u_strFromUTF8WithSub(utf16, getCapacity(), &length16, in setToUTF8()
1268 if(newSize <= getCapacity() && isBufferWritable()) { in doReplace()
1500 int32_t capacity=getCapacity(); in releaseBuffer()
1528 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1548 newCapacity > getCapacity() in cloneArrayIfNeeded()
1583 newCapacity = getCapacity(); in cloneArrayIfNeeded()
Dcmemory.h220 int32_t getCapacity() const { return capacity; } in getCapacity() function
387 int32_t getCapacity() const { return capacity; } in getCapacity() function
Duts46.cpp600 int32_t capacity=dest.getCapacity(); in mapDevChars()
619 capacity=dest.getCapacity(); in mapDevChars()
701 unicodeBuffer, fromPunycode.getCapacity(), in processLabel()
712 unicodeBuffer, fromPunycode.getCapacity(), in processLabel()
844 buffer+4, punycode.getCapacity()-4, in processLabel()
855 buffer+4, punycode.getCapacity()-4, in processLabel()
Dunistr_cnv.cpp400 ucnv_toUnicode(converter, &myTarget, array + getCapacity(), in doCodepageCreate()
Dnormalizer2impl.cpp46 remainingCapacity=str.getCapacity()-length; in init()
162 remainingCapacity=str.getCapacity(); in remove()
172 remainingCapacity=str.getCapacity(); in removeSuffix()
183 int32_t doubleCapacity=2*str.getCapacity(); in resize()
198 remainingCapacity=str.getCapacity()-length; in resize()
Drbbitblb.cpp962 if (destOriginalSize > destArray.getCapacity()) { in setAdd()
970 if (sourceSize > sourceArray.getCapacity()) { in setAdd()
Dlocid.cpp383 if (size >= togo.getCapacity()) in Locale()
/external/icu4c/i18n/
Ddecnumstr.cpp87 if (fText.getCapacity() < neededSize) { in ensureCapacity()
88 char *newBuf = fText.resize(neededSize, fText.getCapacity()); in ensureCapacity()
93 U_ASSERT(fText.getCapacity() >= neededSize); in ensureCapacity()
Ddigitlst.cpp75 fContext.digits = fStorage.getCapacity(); in DigitList()
110 if (other.fStorage.getCapacity() > fStorage.getCapacity()) { in operator =()
111 fDecNumber = fStorage.resize(other.fStorage.getCapacity()); in operator =()
115 fContext.digits = fStorage.getCapacity(); in operator =()
719 decNumber *t = fStorage.resize(numDigits, fStorage.getCapacity()); in set()
818 decNumber *newBuffer = fStorage.resize(requestedCapacity, fStorage.getCapacity()); in ensureCapacity()
/external/icu4c/test/intltest/
Dnptrans.cpp208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
216 … b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
Ddcfmtest.cpp110 if (len+1 > buf.getCapacity()) { in InvariantStringPiece()
134 int32_t capacity = buf.getCapacity(); in UnicodeStringPiece()
Dustrtest.cpp1031 if(test1.getCapacity()<20) { in TestMiscellaneous()
1079 for(int32_t i=0; i<test1.getCapacity(); ++i) { in TestMiscellaneous()
1083 …if(test1.length()!=test1.getCapacity() || test1.charAt(1)!=1 || test1.charAt(100)!=1 || test1.char… in TestMiscellaneous()
1534 …gus() || test3.setTo((UChar *)test1.getBuffer(), test1.length(), test1.getCapacity()).isBogus() ||… in TestBogus()
Dstrcase.cpp443 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode); in TestCasingImpl()
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DRouteSpecificPool.java127 public int getCapacity() { in getCapacity() method in RouteSpecificPool
DConnPoolByRoute.java305 boolean hasCapacity = rospl.getCapacity() > 0;
308 log.debug("Available capacity: " + rospl.getCapacity()
/external/icu4c/tools/toolutil/
Dxmlparser.cpp220 &pu, buffer+src.getCapacity(), in parseFile()
288 cnv, &pu, buffer+src.getCapacity(), in parseFile()
294 capacity=(3*src.getCapacity())/2; // increase capacity by 50% in parseFile()
/external/llvm/lib/CodeGen/
DRenderMachineFunction.h154 unsigned getCapacity(const TargetRegisterClass *trc) const;
DRenderMachineFunction.cpp444 unsigned TargetRegisterExtraInfo::getCapacity( in getCapacity() function in llvm::TargetRegisterExtraInfo
514 return (getPressureAtSlot(trc, i) > getCapacity(trc)); in classOverCapacityAtSlot()
/external/collada/include/dae/
DdaeArray.h75 size_t getCapacity() const {return _capacity;} in getCapacity() function
/external/icu4c/common/unicode/
Dunistr.h1719 inline int32_t getCapacity(void) const;
3491 UnicodeString::getCapacity() const in getCapacity() function
4208 if(len < getCapacity() && ((fFlags&kRefCounted) == 0 || refCount() == 1)) { in getTerminatedBuffer()