Searched refs:eltsize (Results 1 – 1 of 1) sorted by relevance
123 util_dynarray_resize_bytes(struct util_dynarray *buf, unsigned nelts, size_t eltsize) in util_dynarray_resize_bytes() argument125 if (unlikely(nelts > UINT_MAX / eltsize)) in util_dynarray_resize_bytes()128 unsigned newsize = nelts * eltsize; in util_dynarray_resize_bytes()148 util_dynarray_grow_bytes(struct util_dynarray *buf, unsigned ngrow, size_t eltsize) in util_dynarray_grow_bytes() argument150 unsigned growbytes = ngrow * eltsize; in util_dynarray_grow_bytes()152 if (unlikely(ngrow > (UINT_MAX / eltsize) || in util_dynarray_grow_bytes()