Home
last modified time | relevance | path

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

123456

/third_party/flutter/skia/third_party/externals/icu/source/common/
Dcharstr.cpp87 if(sLength>=(buffer.getCapacity()-len)) { in append()
94 sLength>=(buffer.getCapacity()-len) in append()
115 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL in getAppendBuffer()
121 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
154 if(capacity>buffer.getCapacity()) { in ensureCapacity()
156 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()
/third_party/node/deps/icu-small/source/common/
Dcharstr.cpp126 if(sLength>=(buffer.getCapacity()-len)) { in append()
133 sLength>=(buffer.getCapacity()-len) in append()
186 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL in getAppendBuffer()
192 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
225 if(capacity>buffer.getCapacity()) { in ensureCapacity()
227 desiredCapacityHint=capacity+buffer.getCapacity(); in ensureCapacity()
Dlocdispnames.cpp69 buffer, result.getCapacity(), in getDisplayLanguage()
81 buffer, result.getCapacity(), in getDisplayLanguage()
109 buffer, result.getCapacity(), in getDisplayScript()
121 buffer, result.getCapacity(), in getDisplayScript()
149 buffer, result.getCapacity(), in getDisplayCountry()
161 buffer, result.getCapacity(), in getDisplayCountry()
189 buffer, result.getCapacity(), in getDisplayVariant()
201 buffer, result.getCapacity(), in getDisplayVariant()
229 buffer, result.getCapacity(), in getDisplayName()
241 buffer, result.getCapacity(), in getDisplayName()
/third_party/icu/icu4c/source/common/
Dcharstr.cpp126 if(sLength>=(buffer.getCapacity()-len)) { in append()
133 sLength>=(buffer.getCapacity()-len) in append()
186 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL in getAppendBuffer()
192 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
225 if(capacity>buffer.getCapacity()) { in ensureCapacity()
227 desiredCapacityHint=capacity+buffer.getCapacity(); in ensureCapacity()
Dlocdispnames.cpp69 buffer, result.getCapacity(), in getDisplayLanguage()
81 buffer, result.getCapacity(), in getDisplayLanguage()
109 buffer, result.getCapacity(), in getDisplayScript()
121 buffer, result.getCapacity(), in getDisplayScript()
149 buffer, result.getCapacity(), in getDisplayCountry()
161 buffer, result.getCapacity(), in getDisplayCountry()
189 buffer, result.getCapacity(), in getDisplayVariant()
201 buffer, result.getCapacity(), in getDisplayVariant()
229 buffer, result.getCapacity(), in getDisplayName()
241 buffer, result.getCapacity(), in getDisplayName()
/third_party/skia/third_party/externals/icu/source/common/
Dcharstr.cpp126 if(sLength>=(buffer.getCapacity()-len)) { in append()
133 sLength>=(buffer.getCapacity()-len) in append()
186 int32_t appendCapacity=buffer.getCapacity()-len-1; // -1 for NUL in getAppendBuffer()
192 resultCapacity=buffer.getCapacity()-len-1; in getAppendBuffer()
225 if(capacity>buffer.getCapacity()) { in ensureCapacity()
227 desiredCapacityHint=capacity+buffer.getCapacity(); in ensureCapacity()
Dlocdispnames.cpp69 buffer, result.getCapacity(), in getDisplayLanguage()
81 buffer, result.getCapacity(), in getDisplayLanguage()
109 buffer, result.getCapacity(), in getDisplayScript()
121 buffer, result.getCapacity(), in getDisplayScript()
149 buffer, result.getCapacity(), in getDisplayCountry()
161 buffer, result.getCapacity(), in getDisplayCountry()
189 buffer, result.getCapacity(), in getDisplayVariant()
201 buffer, result.getCapacity(), in getDisplayVariant()
229 buffer, result.getCapacity(), in getDisplayName()
241 buffer, result.getCapacity(), in getDisplayName()
/third_party/skia/third_party/externals/icu/source/i18n/
Dpluralranges.cpp93 if (fTriplesLen > result.fTriples.getCapacity()) { in copy()
115 U_ASSERT(fTriplesLen < fTriples.getCapacity()); in addPluralRange()
122 if (length > fTriples.getCapacity()) { in setCapacity()
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 =()
Dformatted_string_builder.cpp40 for (int32_t i=0; i<getCapacity(); i++) { in FormattedStringBuilder()
70 int32_t capacity = other.getCapacity(); in operator =()
143 fZero = getCapacity() / 2; in clear()
263 } else if (index == fLength && fZero + fLength + count < getCapacity()) { in prepareForInsert()
274 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper()
Dformattedval_sbimpl.cpp286 U_ASSERT(spanIndices.getCapacity() >= spanValue); in appendSpanInfo()
287 if (spanIndices.getCapacity() == spanValue) { in appendSpanInfo()
299 U_ASSERT(spanIndices.getCapacity() >= spanValue); in prependSpanInfo()
300 if (spanIndices.getCapacity() == spanValue) { in prependSpanInfo()
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()
/third_party/icu/icu4c/source/i18n/
Dpluralranges.cpp93 if (fTriplesLen > result.fTriples.getCapacity()) { in copy()
115 U_ASSERT(fTriplesLen < fTriples.getCapacity()); in addPluralRange()
122 if (length > fTriples.getCapacity()) { in setCapacity()
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 =()
Dformatted_string_builder.cpp40 for (int32_t i=0; i<getCapacity(); i++) { in FormattedStringBuilder()
70 int32_t capacity = other.getCapacity(); in operator =()
143 fZero = getCapacity() / 2; in clear()
263 } else if (index == fLength && fZero + fLength + count < getCapacity()) { in prepareForInsert()
274 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper()
Dformattedval_sbimpl.cpp286 U_ASSERT(spanIndices.getCapacity() >= spanValue); in appendSpanInfo()
287 if (spanIndices.getCapacity() == spanValue) { in appendSpanInfo()
299 U_ASSERT(spanIndices.getCapacity() >= spanValue); in prependSpanInfo()
300 if (spanIndices.getCapacity() == spanValue) { in prependSpanInfo()
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()
/third_party/node/deps/icu-small/source/i18n/
Dpluralranges.cpp93 if (fTriplesLen > result.fTriples.getCapacity()) { in copy()
115 U_ASSERT(fTriplesLen < fTriples.getCapacity()); in addPluralRange()
122 if (length > fTriples.getCapacity()) { in setCapacity()
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 =()
Dformatted_string_builder.cpp40 for (int32_t i=0; i<getCapacity(); i++) { in FormattedStringBuilder()
70 int32_t capacity = other.getCapacity(); in operator =()
143 fZero = getCapacity() / 2; in clear()
263 } else if (index == fLength && fZero + fLength + count < getCapacity()) { in prepareForInsert()
274 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper()
Dformattedval_sbimpl.cpp291 U_ASSERT(spanIndices.getCapacity() >= spanIndicesCount); in appendSpanInfo()
292 if (spanIndices.getCapacity() == spanIndicesCount) { in appendSpanInfo()
304 U_ASSERT(spanIndices.getCapacity() >= spanIndicesCount); in prependSpanInfo()
305 if (spanIndices.getCapacity() == spanIndicesCount) { in prependSpanInfo()
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()
/third_party/flutter/skia/third_party/externals/icu/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 =()
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()

123456