Home
last modified time | relevance | path

Searched refs:maxCapacity (Results 1 – 7 of 7) 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.h615 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local
616 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/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp244 int32_t capacity, maxCapacity, size, idx; member
250 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument
253 if(maxCapacity<initialCapacity) { in utm_open()
254 maxCapacity=initialCapacity; in utm_open()
266 mem->maxCapacity=maxCapacity; in utm_open()
299 if(mem->maxCapacity<capacity) { in utm_hasCapacity()
301 mem->name, (long)mem->maxCapacity); in utm_hasCapacity()
308 } else if(mem->capacity<=mem->maxCapacity/3) { in utm_hasCapacity()
311 newCapacity=mem->maxCapacity; in utm_hasCapacity()
Dtoolutil.h154 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size);