Home
last modified time | relevance | path

Searched refs:input_size (Results 1 – 4 of 4) sorted by relevance

/system/media/audio_utils/fuzz/format_fuzzer/
Dformat_fuzzer.cpp42 static void fillBuffer(const uint8_t bytes[], int16_t(&buffer)[size], size_t input_size) in fillBuffer() argument
44 if (size < input_size) { in fillBuffer()
45 input_size = size; in fillBuffer()
51 bytes, AUDIO_FORMAT_PCM_8_BIT, input_size); in fillBuffer()
56 buffer, AUDIO_FORMAT_PCM_16_BIT, input_size); in fillBuffer()
/system/extras/verity/include/verity/
Dhash_tree_builder.h38 uint64_t CalculateSize(uint64_t input_size) const { in CalculateSize() argument
39 return CalculateSize(input_size, block_size_, hash_size_); in CalculateSize()
41 static uint64_t CalculateSize(uint64_t input_size, size_t block_size, size_t hash_size);
/system/media/audio_utils/fuzz/sndfile_fuzzer/
Dsndfile_fuzzer.cpp121 size_t input_size = in LLVMFuzzerTestOneInput() local
124 if (input_size > MAX_BUFFER_SIZE) { in LLVMFuzzerTestOneInput()
128 void *dst_buffer = malloc(input_size); in LLVMFuzzerTestOneInput()
/system/extras/verity/
Dhash_tree_builder.cpp100 uint64_t input_size, size_t block_size, size_t hash_size) { in CalculateSize() argument
106 verity_tree_blocks(input_size, block_size, hash_size, levels); in CalculateSize()