Searched refs:maxCapacity (Results 1 – 10 of 10) 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 | 561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local 562 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 | 243 int32_t capacity, maxCapacity, size, idx; member 249 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) { in utm_open() argument 252 if(maxCapacity<initialCapacity) { in utm_open() 253 maxCapacity=initialCapacity; in utm_open() 265 mem->maxCapacity=maxCapacity; in utm_open() 298 if(mem->maxCapacity<capacity) { in utm_hasCapacity() 300 mem->name, (long)mem->maxCapacity); in utm_hasCapacity() 307 } else if(mem->capacity<=mem->maxCapacity/3) { in utm_hasCapacity() 310 newCapacity=mem->maxCapacity; in utm_hasCapacity()
|
D | toolutil.h | 160 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size);
|
/external/icu/libicu/cts_headers/ |
D | putilimp.h | 561 int32_t maxCapacity = (int32_t)(maxBytes / sizeof(T)); in pinCapacity() local 562 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
|