Home | History | Annotate | Download | only in toolutil

Lines Matching defs:maxCapacity

216     int32_t capacity, maxCapacity, size, idx;
222 utm_open(const char *name, int32_t initialCapacity, int32_t maxCapacity, int32_t size) {
225 if(maxCapacity<initialCapacity) {
226 maxCapacity=initialCapacity;
238 mem->maxCapacity=maxCapacity;
271 if(mem->maxCapacity<capacity) {
272 fprintf(stderr, "error: %s - trying to use more than maxCapacity=%ld units\n",
273 mem->name, (long)mem->maxCapacity);
280 } else if(mem->capacity<=mem->maxCapacity/3) {
283 newCapacity=mem->maxCapacity;