Lines Matching full:capacity
53 vc->capacity = 0;
190 if (new_size > result->capacity)
291 * - size <= capacity.
299 tl_assert(vc->size <= vc->capacity);
308 * Changes capacity, but does not change size. If the size of the memory
315 tl_assert(vc->capacity > VC_PREALLOCATED
319 if (new_capacity > vc->capacity)
321 if (vc->vc && vc->capacity > VC_PREALLOCATED)
325 && vc->capacity > VC_PREALLOCATED);
333 && vc->capacity <= VC_PREALLOCATED);
337 vc->capacity * sizeof(vc->vc[0]));
343 && vc->capacity <= VC_PREALLOCATED);
349 && vc->capacity == 0);
357 && vc->capacity == 0);
360 vc->capacity = new_capacity;
364 if (vc->capacity > VC_PREALLOCATED)
367 vc->capacity = 0;
371 tl_assert(vc->capacity > VC_PREALLOCATED