Home
last modified time | relevance | path

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

/system/bt/osi/test/fuzzers/buffer/
Dfuzz_buffer.cc42 size_t slice_size = in LLVMFuzzerTestOneInput() local
44 if (slice_size > 0) { in LLVMFuzzerTestOneInput()
46 if (slice_size == buf_size) { in LLVMFuzzerTestOneInput()
49 new_slice = buffer_new_slice(buf, slice_size); in LLVMFuzzerTestOneInput()
/system/bt/osi/src/
Dbuffer.cc54 buffer_t* buffer_new_slice(const buffer_t* buf, size_t slice_size) { in buffer_new_slice() argument
56 CHECK(slice_size > 0); in buffer_new_slice()
57 CHECK(slice_size <= buf->length); in buffer_new_slice()
63 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);