Lines Matching full:capacity
212 int32_t capacity, maxCapacity, size, idx;
233 mem->capacity=initialCapacity;
263 utm_hasCapacity(UToolMemory *mem, int32_t capacity) {
264 if(mem->capacity<capacity) {
267 if(mem->maxCapacity<capacity) {
274 if(capacity>=2*mem->capacity) {
275 newCapacity=capacity;
276 } else if(mem->capacity<=mem->maxCapacity/3) {
277 newCapacity=2*mem->capacity;
295 mem->capacity=newCapacity;