Searched refs:maxCapacity (Results 1 – 7 of 7) sorted by relevance
/external/icu/icu4c/source/common/ |
D | uvectr64.cpp | 29 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 …]
|
D | uvectr32.cpp | 32 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 …]
|
D | putilimp.h | 615 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local 616 return capacity <= maxCapacity ? capacity : maxCapacity; in pinCapacity()
|
D | uvectr64.h | 66 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
|
D | uvectr32.h | 67 int32_t maxCapacity; // Limit beyond which capacity is not permitted to grow. variable
|
/external/icu/icu4c/source/tools/toolutil/ |
D | toolutil.cpp | 244 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()
|
D | toolutil.h | 154 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size);
|