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

12

/external/icu4c/common/
H A Dcharstr.cpp62 if(sLength>=(buffer.getCapacity()-len)) {
69 sLength>=(buffer.getCapacity()-len)
90 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL
96 resultCapacity=buffer.getCapacity()-len-1;
105 len+=s.extract(0, 0x7fffffff, buffer.getAlias()+len, buffer.getCapacity()-len, US_INV);
116 if(capacity>buffer.getCapacity()) {
118 desiredCapacityHint=capacity+buffer.getCapacity();
H A Dunistr_case.cpp139 newLength = ustr_toLower(csp, getArrayStart(), getCapacity(),
143 newLength = ustr_toUpper(csp, getArrayStart(), getCapacity(),
150 newLength = ustr_toTitle(csp, getArrayStart(), getCapacity(),
155 newLength = ustr_foldCase(csp, getArrayStart(), 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 Dcmemory.h220 int32_t getCapacity() const { return capacity; } function in class:MaybeStackArray
228 * @return getAlias()+getCapacity()
387 int32_t getCapacity() const { return capacity; } function in class:MaybeStackHeaderAndArray
H A Dunistr.cpp430 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16,
1173 u_strFromUTF8WithSub(utf16, getCapacity(), &length16,
1268 if(newSize <= getCapacity() && isBufferWritable()) {
1500 int32_t capacity=getCapacity();
1528 newCapacity = getCapacity();
1548 newCapacity > getCapacity()
1583 newCapacity = getCapacity();
H A Duts46.cpp600 int32_t capacity=dest.getCapacity();
619 capacity=dest.getCapacity();
701 unicodeBuffer, fromPunycode.getCapacity(),
712 unicodeBuffer, fromPunycode.getCapacity(),
844 buffer+4, punycode.getCapacity()-4,
855 buffer+4, punycode.getCapacity()-4,
H A Dunistr_cnv.cpp400 ucnv_toUnicode(converter, &myTarget, array + getCapacity(),
H A Dnormalizer2impl.cpp46 remainingCapacity=str.getCapacity()-length;
162 remainingCapacity=str.getCapacity();
172 remainingCapacity=str.getCapacity();
183 int32_t doubleCapacity=2*str.getCapacity();
198 remainingCapacity=str.getCapacity()-length;
H A Drbbitblb.cpp962 if (destOriginalSize > destArray.getCapacity()) {
970 if (sourceSize > sourceArray.getCapacity()) {
/external/icu4c/i18n/
H A Ddecnumstr.cpp87 if (fText.getCapacity() < neededSize) {
88 char *newBuf = fText.resize(neededSize, fText.getCapacity());
93 U_ASSERT(fText.getCapacity() >= neededSize);
H A Ddigitlst.cpp75 fContext.digits = fStorage.getCapacity();
110 if (other.fStorage.getCapacity() > fStorage.getCapacity()) {
111 fDecNumber = fStorage.resize(other.fStorage.getCapacity());
115 fContext.digits = fStorage.getCapacity();
718 // fContext.digits == fStorage.getCapacity()
719 decNumber *t = fStorage.resize(numDigits, fStorage.getCapacity());
818 decNumber *newBuffer = fStorage.resize(requestedCapacity, fStorage.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
H A DCollisionSystem.java480 final int maxSegments = outputHitPoints.getCapacity() - outputHitPoints.getCount();
851 if (segments.getCount() < segments.getCapacity()) {
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
H A DRouteSpecificPool.java127 public int getCapacity() { method in class:RouteSpecificPool
H A DConnPoolByRoute.java305 boolean hasCapacity = rospl.getCapacity() > 0;
308 log.debug("Available capacity: " + rospl.getCapacity()
/external/icu4c/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.cpp110 if (len+1 > buf.getCapacity()) {
134 int32_t capacity = buf.getCapacity();
H A Dustrtest.cpp1031 if(test1.getCapacity()<20) {
1032 errln("UnicodeString::getBuffer(20).getCapacity()<20");
1079 for(int32_t i=0; i<test1.getCapacity(); ++i) {
1083 if(test1.length()!=test1.getCapacity() || test1.charAt(1)!=1 || test1.charAt(100)!=1 || test1.charAt(test1.getCapacity()-1)!=1) {
1136 test1.truncate(36); // ensure length()<getCapacity()
1147 test1.truncate(36); // ensure length()<getCapacity()
1534 if(!test3.isBogus() || test3.setTo((UChar *)test1.getBuffer(), test1.length(), test1.getCapacity()).isBogus() || test3!=test1) {
/external/icu4c/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%
/external/llvm/lib/CodeGen/
H A DRenderMachineFunction.h154 unsigned getCapacity(const TargetRegisterClass *trc) const;
H A DRenderMachineFunction.cpp444 unsigned TargetRegisterExtraInfo::getCapacity( function in class:llvm::TargetRegisterExtraInfo
514 return (getPressureAtSlot(trc, i) > getCapacity(trc));
/external/collada/include/dae/
H A DdaeArray.h75 size_t getCapacity() const {return _capacity;} function in class:daeArray
/external/icu4c/common/unicode/
H A Dunistr.h1719 inline int32_t getCapacity(void) const;
2664 * getCapacity() returns the actual capacity.
2678 * If length()<getCapacity() then you can terminate it by writing a NUL
2728 * The capacity of the buffer can be determined with getCapacity().
2734 * <code>(s.length()<s.getCapacity() && buffer[s.length()]==0)</code>.
2762 * The capacity of the buffer can be determined with getCapacity().
3491 UnicodeString::getCapacity() const function in class:UnicodeString
4208 if(len < getCapacity() && ((fFlags&kRefCounted) == 0 || refCount() == 1)) {

Completed in 415 milliseconds

12