Searched refs:slice_size (Results 1 – 2 of 2) sorted by relevance
53 buffer_t *buffer_new_slice(const buffer_t *buf, size_t slice_size) { in buffer_new_slice() argument55 assert(slice_size > 0); in buffer_new_slice()56 assert(slice_size <= buf->length); in buffer_new_slice()62 ret->length = slice_size; in buffer_new_slice()
42 buffer_t *buffer_new_slice(const buffer_t *buf, size_t slice_size);