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

/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()
386 int32_t getCapacity() const { return capacity; } function in class:MaybeStackHeaderAndArray
H A Dunistr.cpp431 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16,
1174 u_strFromUTF8WithSub(utf16, getCapacity(), &length16,
1269 if(newLength <= getCapacity() && isBufferWritable()) {
1511 int32_t capacity=getCapacity();
1539 newCapacity = getCapacity();
1559 newCapacity > getCapacity()
1594 newCapacity = getCapacity();
1668 *resultCapacity = str.getCapacity() - oldLength;
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()) {
H A Dmessagepattern.cpp105 if(length>a.getCapacity() && NULL==a.resize(length)) {
119 if(a.getCapacity()>oldLength || a.resize(2*oldLength, oldLength)!=NULL) {
H A Dlocid.cpp383 if (size >= togo.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/icu4c/i18n/
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();
728 // fContext.digits == fStorage.getCapacity()
729 decNumber *t = fStorage.resize(numDigits, fStorage.getCapacity());
828 decNumber *newBuffer = fStorage.resize(requestedCapacity, fStorage.getCapacity());
H A Dplurrule.cpp599 if (sampleCount == newSamples.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.cpp1047 if(test1.getCapacity()<20) {
1048 errln("UnicodeString::getBuffer(20).getCapacity()<20");
1095 for(int32_t i=0; i<test1.getCapacity(); ++i) {
1099 if(test1.length()!=test1.getCapacity() || test1.charAt(1)!=1 || test1.charAt(100)!=1 || test1.charAt(test1.getCapacity()-1)!=1) {
1152 test1.truncate(36); // ensure length()<getCapacity()
1163 test1.truncate(36); // ensure length()<getCapacity()
1550 if(!test3.isBogus() || test3.setTo((UChar *)test1.getBuffer(), test1.length(), test1.getCapacity()).isBogus() || test3!=test1) {
H A Dstrcase.cpp443 u_strFromUTF8(buffer, result.getCapacity(), &resultLength, utf8Out, utf8OutLength, errorCode);
/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/icu4c/common/unicode/
H A Dunistr.h1720 inline int32_t getCapacity(void) const;
2665 * getCapacity() returns the actual capacity.
2679 * If length()<getCapacity() then you can terminate it by writing a NUL
2729 * The capacity of the buffer can be determined with getCapacity().
2735 * <code>(s.length()<s.getCapacity() && buffer[s.length()]==0)</code>.
2763 * The capacity of the buffer can be determined with getCapacity().
3515 UnicodeString::getCapacity() const function in class:UnicodeString
4232 if(len < getCapacity() && ((fFlags&kRefCounted) == 0 || refCount() == 1)) {

Completed in 1229 milliseconds