Home
last modified time | relevance | path

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

/system/bt/osi/test/fuzzers/compat/
Dfuzz_compat.cc42 void* dst_buf = malloc(buf_size); in LLVMFuzzerTestOneInput() local
43 if (dst_buf == nullptr) { in LLVMFuzzerTestOneInput()
52 strlcpy(reinterpret_cast<char*>(dst_buf), in LLVMFuzzerTestOneInput()
54 strlcat(reinterpret_cast<char*>(dst_buf), in LLVMFuzzerTestOneInput()
58 free(dst_buf); in LLVMFuzzerTestOneInput()
/system/bt/osi/test/fuzzers/ringbuffer/
Dfuzz_ringbuffer.cc114 void* dst_buf = malloc(size); in callArbitraryFunction() local
115 if (dst_buf == nullptr) { in callArbitraryFunction()
122 ringbuffer_peek(buf, offset, reinterpret_cast<uint8_t*>(dst_buf), in callArbitraryFunction()
126 ringbuffer_pop(buf, reinterpret_cast<uint8_t*>(dst_buf), size); in callArbitraryFunction()
128 free(dst_buf); in callArbitraryFunction()