Searched refs:elt_size (Results 1 – 2 of 2) sorted by relevance
215 buf->elt_size = elem_size;249 n_alloc = (n_elem + buf->nelts) * buf->elt_size;252 if (((n_alloc * buf->elt_size) % 512) != 0253 && buf->elt_size < 512)256 ((n_alloc * buf->elt_size) % 512)) /257 buf->elt_size;261 allocate_array (n_alloc, buf->elt_size);265 buf->elt_size);270 memcpy ((char *) buf->elts + buf->nelts * buf->elt_size, ptr,271 n_elem * buf->elt_size);
1111 size_t elt_size; /* in bytes. */ member