Home
last modified time | relevance | path

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

12345

/external/scudo/standalone/
Dmem_map_base.h35 DCHECK((Addr == getBase()) || (Addr + Size == getBase() + getCapacity())); in unmap()
44 DCHECK((Addr >= getBase()) || (Addr + Size <= getBase() + getCapacity()));
52 DCHECK((Addr >= getBase()) || (Addr + Size <= getBase() + getCapacity())); in setMemoryPermission()
62 DCHECK((From >= getBase()) || (From + Size <= getBase() + getCapacity())); in releasePagesToOS()
69 DCHECK((From >= getBase()) || (From + Size <= getBase() + getCapacity())); in releaseAndZeroPagesToOS()
74 uptr getCapacity() { return invokeImpl(&Derived::getCapacityImpl); } in getCapacity() function
112 DCHECK((Addr >= getBase()) || (Addr + Size <= getBase() + getCapacity())); in dispatch()
117 uptr getCapacity() { return invokeImpl(&Derived::getCapacityImpl); } in getCapacity() function
Dsecondary.h72 MemMap.unmap(MemMap.getBase(), MemMap.getCapacity()); in unmap()
225 Entry.MemMap.unmap(Entry.MemMap.getBase(), Entry.MemMap.getCapacity()); in store()
323 MemMap.unmap(MemMap.getBase(), MemMap.getCapacity()); in disableMemoryTagging()
361 MemMap.unmap(MemMap.getBase(), MemMap.getCapacity()); in empty()
531 Stats.add(StatMapped, H->MemMap.getCapacity()); in allocate()
543 ReservedMemory.getCapacity()); in allocate()
597 Stats.add(StatMapped, H->MemMap.getCapacity()); in allocate()
613 Stats.sub(StatMapped, H->MemMap.getCapacity()); in deallocate()
/external/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()
Dunistr_case.cpp123 capacity = getCapacity(); in caseMap()
203 getArrayStart(), getCapacity(), in caseMap()
Dunistr.cpp466 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, in fromUTF32()
1225 if(len < getCapacity()) { in getTerminatedBuffer()
1343 u_strFromUTF8WithSub(utf16, getCapacity(), &length16, in setToUTF8()
1588 if((newLength <= getCapacity() && isBufferWritable()) || in doAppend()
1771 int32_t capacity=getCapacity(); in releaseBuffer()
1799 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1819 newCapacity > getCapacity() in cloneArrayIfNeeded()
1857 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1940 *resultCapacity = str.getCapacity() - oldLength; in getAppendBuffer()
/external/cronet/third_party/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()
Dunistr_case.cpp123 capacity = getCapacity(); in caseMap()
203 getArrayStart(), getCapacity(), in caseMap()
Dunistr.cpp466 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, in fromUTF32()
1225 if(len < getCapacity()) { in getTerminatedBuffer()
1343 u_strFromUTF8WithSub(utf16, getCapacity(), &length16, in setToUTF8()
1588 if((newLength <= getCapacity() && isBufferWritable()) || in doAppend()
1771 int32_t capacity=getCapacity(); in releaseBuffer()
1799 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1819 newCapacity > getCapacity() in cloneArrayIfNeeded()
1857 newCapacity = getCapacity(); in cloneArrayIfNeeded()
1940 *resultCapacity = str.getCapacity() - oldLength; in getAppendBuffer()
/external/cronet/third_party/icu/source/i18n/
Dformatted_string_builder.cpp41 for (int32_t i=0; i<getCapacity(); i++) { in FormattedStringBuilder()
71 int32_t capacity = other.getCapacity(); in operator =()
144 fZero = getCapacity() / 2; in clear()
267 U_ASSERT(getCapacity() - fZero >= fLength); in prepareForInsert()
276 } else if (index == fLength && count <= getCapacity() - fZero - fLength) { in prepareForInsert()
287 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper()
363 U_ASSERT(index <= getCapacity() - fZero); in remove()
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 =()
Dformattedval_sbimpl.cpp296 U_ASSERT(spanIndices.getCapacity() >= spanIndicesCount); in appendSpanInfo()
297 if (spanIndices.getCapacity() == spanIndicesCount) { in appendSpanInfo()
309 U_ASSERT(spanIndices.getCapacity() >= spanIndicesCount); in prependSpanInfo()
310 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()
/external/icu/icu4c/source/i18n/
Dformatted_string_builder.cpp41 for (int32_t i=0; i<getCapacity(); i++) { in FormattedStringBuilder()
71 int32_t capacity = other.getCapacity(); in operator =()
144 fZero = getCapacity() / 2; in clear()
267 U_ASSERT(getCapacity() - fZero >= fLength); in prepareForInsert()
276 } else if (index == fLength && count <= getCapacity() - fZero - fLength) { in prepareForInsert()
287 int32_t oldCapacity = getCapacity(); in prepareForInsertHelper()
363 U_ASSERT(index <= getCapacity() - fZero); in remove()
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 =()
Dformattedval_sbimpl.cpp296 U_ASSERT(spanIndices.getCapacity() >= spanIndicesCount); in appendSpanInfo()
297 if (spanIndices.getCapacity() == spanIndicesCount) { in appendSpanInfo()
309 U_ASSERT(spanIndices.getCapacity() >= spanIndicesCount); in prependSpanInfo()
310 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()
/external/scudo/standalone/tests/
Dmap_test.cpp71 MemMap.unmap(MemMap.getBase(), MemMap.getCapacity()); in TEST()
90 MemMap.unmap(MemMap.getBase(), MemMap.getCapacity()); in TEST()
/external/perfetto/src/android_internal/
Dhealth_hal.cc74 ret = g_svc.hidl->getCapacity( in GetBatteryCounterHidl()
117 status = g_svc.aidl->getCapacity(&value32); in GetBatteryCounterAidl()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DFormattedStringBuilder.java130 zero = getCapacity() / 2;
334 } else if (index == length && zero + length + count < getCapacity()) {
347 int oldCapacity = getCapacity();
413 private int getCapacity() {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedStringBuilder.java125 zero = getCapacity() / 2;
329 } else if (index == length && zero + length + count < getCapacity()) {
342 int oldCapacity = getCapacity();
408 private int getCapacity() {
/external/pdfium/third_party/bigint/
DBigInteger.hh93 Index getCapacity() const { return mag.getCapacity(); } in getCapacity() function in BigInteger

12345