Home
last modified time | relevance | path

Searched refs:maxCapacity (Results 1 – 20 of 20) sorted by relevance

/external/icu/icu4c/source/common/
Duvectr64.cpp29 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
38 maxCapacity(0), in UVector64()
51 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
52 initialCapacity = maxCapacity; in _init()
55 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
129 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
141 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
142 newCap = maxCapacity; in expandCapacity()
169 maxCapacity = limit; in setMaxCapacity()
170 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Duvectr32.cpp32 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
41 maxCapacity(0), in UVector32()
54 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
55 initialCapacity = maxCapacity; in _init()
58 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
211 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
223 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
224 newCap = maxCapacity; in expandCapacity()
251 maxCapacity = limit; in setMaxCapacity()
252 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Dputilimp.h561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local
562 return capacity <= maxCapacity ? capacity : maxCapacity; in pinCapacity()
Duvectr64.h66 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
Duvectr32.h67 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
/external/cronet/third_party/icu/source/common/
Duvectr64.cpp29 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
38 maxCapacity(0), in UVector64()
51 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
52 initialCapacity = maxCapacity; in _init()
55 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
129 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
141 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
142 newCap = maxCapacity; in expandCapacity()
169 maxCapacity = limit; in setMaxCapacity()
170 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Duvectr32.cpp32 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
41 maxCapacity(0), in UVector32()
54 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
55 initialCapacity = maxCapacity; in _init()
58 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
211 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
223 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
224 newCap = maxCapacity; in expandCapacity()
251 maxCapacity = limit; in setMaxCapacity()
252 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
[all …]
Dputilimp.h561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local
562 return capacity <= maxCapacity ? capacity : maxCapacity; in pinCapacity()
Duvectr64.h66 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
Duvectr32.h67 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/internal/
DOnDemandAllocatingPoolLincheckTest.kt19 abstract class OnDemandAllocatingPoolLincheckTest(maxCapacity: Int) : AbstractLincheckTest() {
21 private val pool = OnDemandAllocatingPool(maxCapacity = maxCapacity, create = { in <lambda>()
32 abstract class OnDemandAllocatingSequentialPool(private val maxCapacity: Int) { in allocate() constant in OnDemandAllocatingSequentialPool
39 if (elements < maxCapacity) { in allocate()
/external/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp268 int32_t capacity, maxCapacity, size, idx; member
274 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument
277 if(maxCapacity<initialCapacity) { in utm_open()
278 maxCapacity=initialCapacity; in utm_open()
290 mem->maxCapacity=maxCapacity; in utm_open()
323 if(mem->maxCapacity<capacity) { in utm_hasCapacity()
325 mem->name, (long)mem->maxCapacity); in utm_hasCapacity()
332 } else if(mem->capacity<=mem->maxCapacity/3) { in utm_hasCapacity()
335 newCapacity=mem->maxCapacity; in utm_hasCapacity()
Dtoolutil.h168 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size);
/external/cronet/third_party/icu/source/tools/toolutil/
Dtoolutil.cpp268 int32_t capacity, maxCapacity, size, idx; member
274 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument
277 if(maxCapacity<initialCapacity) { in utm_open()
278 maxCapacity=initialCapacity; in utm_open()
290 mem->maxCapacity=maxCapacity; in utm_open()
323 if(mem->maxCapacity<capacity) { in utm_hasCapacity()
325 mem->name, (long)mem->maxCapacity); in utm_hasCapacity()
332 } else if(mem->capacity<=mem->maxCapacity/3) { in utm_hasCapacity()
335 newCapacity=mem->maxCapacity; in utm_hasCapacity()
Dtoolutil.h168 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size);
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/src/internal/
DOnDemandAllocatingPool.kt19 private val maxCapacity: Int, in <lambda>() constant in kotlinx.coroutines.internal.OnDemandAllocatingPool
27 private val elements = atomicArrayOfNulls<T>(maxCapacity) in <lambda>()
55 if (ctl >= maxCapacity) return true in <lambda>()
/external/skia/include/private/base/
DSkContainers.h15 SkContainerAllocator(size_t sizeOfT, int maxCapacity) in SkContainerAllocator() argument
17 , fMaxCapacity{maxCapacity} {}
/external/icu/libicu/cts_headers/
Dputilimp.h561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local
562 return capacity <= maxCapacity ? capacity : maxCapacity; in pinCapacity()
Duvectr64.h66 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
Duvectr32.h67 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable