Home
last modified time | relevance | path

Searched refs:slice_size (Results 1 – 2 of 2) sorted by relevance

/system/bt/osi/src/
Dbuffer.c56 buffer_t *buffer_new_slice(const buffer_t *buf, size_t slice_size) { in buffer_new_slice() argument
58 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()
/system/bt/osi/include/
Dbuffer.h42 buffer_t *buffer_new_slice(const buffer_t *buf, size_t slice_size);