Searched refs:newcap (Results 1 – 1 of 1) sorted by relevance
94 util_dynarray_ensure_cap(struct util_dynarray *buf, unsigned newcap) in util_dynarray_ensure_cap() argument96 if (newcap > buf->capacity) { in util_dynarray_ensure_cap()97 unsigned capacity = MAX3(DYN_ARRAY_INITIAL_SIZE, buf->capacity * 2, newcap); in util_dynarray_ensure_cap()