Home
last modified time | relevance | path

Searched refs:to_allocate (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/util/
Dblob.c46 size_t to_allocate; in grow_to_fit() local
61 to_allocate = BLOB_INITIAL_SIZE; in grow_to_fit()
63 to_allocate = blob->allocated * 2; in grow_to_fit()
65 to_allocate = MAX2(to_allocate, blob->allocated + additional); in grow_to_fit()
67 new_data = realloc(blob->data, to_allocate); in grow_to_fit()
74 blob->allocated = to_allocate; in grow_to_fit()