Lines Matching refs:maxCapacity
30 maxCapacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
39 maxCapacity(0), in UVector32()
52 if (maxCapacity>0 && maxCapacity<initialCapacity) { in _init()
53 initialCapacity = maxCapacity; in _init()
56 initialCapacity = uprv_min(DEFAULT_CAPACITY, maxCapacity); in _init()
206 if (maxCapacity>0 && minimumCapacity>maxCapacity) { in expandCapacity()
218 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity()
219 newCap = maxCapacity; in expandCapacity()
246 maxCapacity = limit; in setMaxCapacity()
247 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
254 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*maxCapacity); in setMaxCapacity()
261 capacity = maxCapacity; in setMaxCapacity()