Searched refs:slice_size (Results 1 – 2 of 2) sorted by relevance
56 buffer_t *buffer_new_slice(const buffer_t *buf, size_t slice_size) { in buffer_new_slice() argument58 assert(slice_size > 0); in buffer_new_slice()59 assert(slice_size <= buf->length); in buffer_new_slice()63 LOG_ERROR("%s unable to allocate new buffer for slice of length %zu.", __func__, slice_size); in buffer_new_slice()69 ret->length = slice_size; in buffer_new_slice()
42 buffer_t *buffer_new_slice(const buffer_t *buf, size_t slice_size);