Searched refs:n_elem (Results 1 – 2 of 2) sorted by relevance
230 struct Buf *buf_append (struct Buf *buf, const void *ptr, int n_elem) in buf_append() argument234 if (!ptr || n_elem == 0) in buf_append()238 if (n_elem + buf->nelts > buf->nmax) { in buf_append()241 n_alloc = n_elem + buf->nelts; in buf_append()263 (size_t) n_elem * buf->elt_size); in buf_append()264 buf->nelts += n_elem; in buf_append()
1050 extern struct Buf *buf_append(struct Buf * buf, const void *ptr, int n_elem);