Lines Matching refs:new_cap
17 int new_cap = old_cap;30 while (new_cap < new_count) {31 old_cap = new_cap;32 new_cap += (new_cap >> 2) + 4;33 if (new_cap < old_cap || new_cap > max_cap) {34 new_cap = max_cap;37 new_items = realloc(a->items, new_cap*sizeof(void*));42 a->capacity = new_cap;