Home
last modified time | relevance | path

Searched refs:remaining_bytes (Results 1 – 23 of 23) sorted by relevance

/system/libziparchive/
Dlibziparchive_writer_fuzzer.cpp22 if (provider.remaining_bytes() == 0) { in LLVMFuzzerTestOneInput()
28 if (provider.remaining_bytes() == 0) { in LLVMFuzzerTestOneInput()
32 0, provider.remaining_bytes()); in LLVMFuzzerTestOneInput()
Dzip_archive.cc1311 uint64_t remaining_bytes = compressed_length; in inflateImpl() local
1317 (remaining_bytes > kBufSize) ? kBufSize : static_cast<uint32_t>(remaining_bytes); in inflateImpl()
1318 const off64_t offset = (compressed_length - remaining_bytes); in inflateImpl()
1325 remaining_bytes -= read_size; in inflateImpl()
1366 if (total_output != uncompressed_length || remaining_bytes != 0) { in inflateImpl()
/system/media/audio_utils/fuzz/audioutilsfiforeaderwriter_fuzzer/
Daudioutilsfiforeaderwriter_fuzzer.cpp32 size_t maxNumberFrames = provider.remaining_bytes() / frameSize; in LLVMFuzzerTestOneInput()
54 while (provider.remaining_bytes() > 4) { in LLVMFuzzerTestOneInput()
60 size_t maxFramesLeft = provider.remaining_bytes() / frameSize; in LLVMFuzzerTestOneInput()
87 if (provider.remaining_bytes() >= 4) { in LLVMFuzzerTestOneInput()
/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp95 uint64_t remaining_bytes = file_size; in Create() local
96 while (remaining_bytes) { in Create()
104 uint64_t chunk_size = std::min(max_piece_size, remaining_bytes); in Create()
118 remaining_bytes = remaining_bytes > writer->size() ? (remaining_bytes - writer->size()) : 0; in Create()
/system/bt/stack/test/fuzzers/a2dp/codec/
Dfuzz_a2dp_codec_info.cc26 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
Dfuzz_a2dp_codec.cc26 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
Dfuzz_a2dp_codec_config.cc26 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
/system/bt/stack/test/fuzzers/sdp/
Dfuzz_sdp.cc28 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
/system/bt/stack/test/fuzzers/a2dp/
Dfuzz_a2dp.cc30 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
/system/extras/partition_tools/
Dlpunpack.cc266 uint64_t remaining_bytes = extent.num_sectors * LP_SECTOR_SIZE; in WriteExtent() local
267 while (remaining_bytes) { in WriteExtent()
268 if (remaining_bytes < block_size_) { in WriteExtent()
279 remaining_bytes -= block_size_; in WriteExtent()
/system/bt/gd/l2cap/fuzz/
Dfuzz_l2cap.cc88 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
94 …t<uint16_t>(std::min(static_cast<size_t>(fdp.ConsumeIntegral<uint16_t>()), fdp.remaining_bytes())); in LLVMFuzzerTestOneInput()
/system/bt/gd/hci/fuzz/
Dacl_manager_fuzz_test.cc47 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
Dhci_layer_fuzz_test.cc46 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
/system/keymaster/tests/fuzzers/
Dmessage_serializable_fuzz.cpp52 for (size_t i = 0; fdp.remaining_bytes() > 0; i++) { in LLVMFuzzerTestOneInput()
Dbuffer_fuzz.cpp81 for (size_t i = 0; i < kMaxOperations && fdp.remaining_bytes() > 0; i++) { in LLVMFuzzerTestOneInput()
/system/update_engine/payload_consumer/
Ddelta_performer_fuzzer.cc87 } while (data_provider.remaining_bytes() > 0); in FuzzDeltaPerformer()
/system/core/libutils/
DLruCache_fuzz.cpp68 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
DLooper_fuzz.cpp77 while (dataProvider.remaining_bytes() > 0 && opsRun++ < MAX_OPERATIONS) { in LLVMFuzzerTestOneInput()
DBitSet_fuzz.cpp63 while (dataProvider.remaining_bytes() > 0 && opsRun++ < MAX_OPERATIONS) { in LLVMFuzzerTestOneInput()
DString16_fuzz.cpp103 while (dataProvider.remaining_bytes() > 0 && opsRun++ < MAX_OPERATIONS) { in LLVMFuzzerTestOneInput()
DString8_fuzz.cpp224 while (dataProvider.remaining_bytes() > 0 && opsRun++ < MAX_OPERATIONS) { in LLVMFuzzerTestOneInput()
/system/libfmq/fuzzer/
Dfmq_fuzzer.cpp78 while (fdp.remaining_bytes()) { in reader()
100 while (fdp.remaining_bytes()) { in writer()
/system/core/fs_mgr/liblp/
Dreader.cpp199 if (size_t remaining_bytes = header.header_size - sizeof(LpMetadataHeaderV1_0)) { in ReadMetadataHeader() local
201 if (!reader->ReadFully(offset, remaining_bytes)) { in ReadMetadataHeader()