/aosp12/system/media/audio_utils/fuzz/audioutilsfiforeaderwriter_fuzzer/ |
H A D | audioutilsfiforeaderwriter_fuzzer.cpp | 32 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()
|
/aosp12/frameworks/av/services/mediametrics/fuzzer/ |
H A D | mediametrics_service_fuzzer.cpp | 55 while (fdp.remaining_bytes()) { in invokeStartsWith() 65 while (fdp.remaining_bytes()) { in invokeInstantiate() 84 while (fdp.remaining_bytes()) { in invokePackageInstallerCheck() 94 while (fdp.remaining_bytes()) { in invokeItemManipulation() 97 if (fdp.remaining_bytes() < 1 || key.length() < 1) { in invokeItemManipulation() 208 while (fdp.remaining_bytes()) { in invokeItemExpansion() 296 while (fdp.remaining_bytes()) { in invokeAnalyticsAction() 308 while (fdp2.remaining_bytes()) { in invokeAnalyticsAction() 327 while (fdp.remaining_bytes()) { in invokeAudioAnalytics() 347 while (fdp.remaining_bytes()) { in invokeTimedAction()
|
/aosp12/frameworks/native/libs/binder/tests/unit_fuzzers/ |
H A D | StatusFuzz.cpp | 33 std::string message_str = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput() 38 fdp.ConsumeIntegralInRange<size_t>(0, fdp.remaining_bytes() - 1)); in LLVMFuzzerTestOneInput() 42 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
|
H A D | TextOutputFuzz.cpp | 36 while (fdp.remaining_bytes() > 1) { in LLVMFuzzerTestOneInput() 40 fdp.ConsumeIntegralInRange<size_t>(0, fdp.remaining_bytes())); in LLVMFuzzerTestOneInput() 45 std::string str = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput()
|
H A D | StatusFuzzFunctions.h | 46 fdp->ConsumeRandomLengthString(fdp->remaining_bytes()); 52 fdp->ConsumeRandomLengthString(fdp->remaining_bytes()); 59 fdp->ConsumeRandomLengthString(fdp->remaining_bytes()); 73 fdp->ConsumeRandomLengthString(fdp->remaining_bytes());
|
H A D | MemoryDealerFuzz.cpp | 37 std::string name = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput() 44 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput() 58 std::string randString = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput()
|
H A D | PersistableBundleFuzz.cpp | 29 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput() 30 String16 key(fdp.ConsumeRandomLengthString(fdp.remaining_bytes()).c_str()); in LLVMFuzzerTestOneInput()
|
H A D | BufferedTextOutputFuzz.cpp | 50 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput() 57 std::string txt = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput()
|
H A D | StabilityFuzz.cpp | 28 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
|
/aosp12/system/libziparchive/ |
H A D | libziparchive_writer_fuzzer.cpp | 22 if (provider.remaining_bytes() == 0) { in LLVMFuzzerTestOneInput() 28 if (provider.remaining_bytes() == 0) { in LLVMFuzzerTestOneInput() 32 0, provider.remaining_bytes()); in LLVMFuzzerTestOneInput()
|
/aosp12/frameworks/av/media/libstagefright/tests/fuzzers/ |
H A D | StagefrightMediaScannerFuzzer.cpp | 42 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput() 45 std::string path = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput() 47 fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput()
|
H A D | FrameDecoderFuzzer.cpp | 34 std::string name = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput() 48 while (fdp.remaining_bytes()) { in LLVMFuzzerTestOneInput()
|
H A D | MediaMuxerFuzzer.cpp | 32 while (fdp->remaining_bytes() > 0 && count > 0) { in createMessage() 57 while (fdp.remaining_bytes() > 1) { in LLVMFuzzerTestOneInput()
|
/aosp12/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
H A D | random_parcel.cpp | 36 while (provider.remaining_bytes() > 0) { in fillRandomParcel() 41 provider.ConsumeIntegralInRange<size_t>(0, provider.remaining_bytes()); in fillRandomParcel() 79 std::vector<uint8_t> data = provider.ConsumeBytes<uint8_t>(provider.remaining_bytes()); in fillRandomParcelData()
|
/aosp12/system/core/fs_mgr/libfiemap/ |
H A D | split_fiemap_writer.cpp | 95 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()
|
/aosp12/packages/modules/adb/ |
H A D | sysdeps_win32_test.cpp | 118 std::vector<char> remaining_bytes; in TestParseCompleteUTF8() local 120 &remaining_bytes); in TestParseCompleteUTF8() 122 EXPECT_EQ(expected_remaining_bytes, remaining_bytes); in TestParseCompleteUTF8()
|
/aosp12/frameworks/native/libs/vr/libpdx/fuzz/ |
H A D | service_dispatcher_fuzzer.cpp | 56 while (fdp.remaining_bytes() > sizeof(MessageInfo)) { in LLVMFuzzerTestOneInput() 63 while (fdp.remaining_bytes() > sizeof(MessageInfo)) { in LLVMFuzzerTestOneInput()
|
H A D | message_fuzzer.cpp | 55 if (fdp.remaining_bytes() >= 32) { in LLVMFuzzerTestOneInput() 147 if (fdp.remaining_bytes() >= iovec_size + 1) { in LLVMFuzzerTestOneInput() 151 fdp.ConsumeBytes<uint8_t>(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput()
|
/aosp12/system/extras/partition_tools/ |
H A D | lpunpack.cc | 266 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()
|
/aosp12/system/bt/gd/l2cap/fuzz/ |
H A D | fuzz_l2cap.cc | 88 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()
|
/aosp12/system/bt/stack/test/fuzzers/a2dp/codec/ |
H A D | fuzz_a2dp_codec.cc | 26 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
|
H A D | fuzz_a2dp_codec_config.cc | 26 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
|
H A D | fuzz_a2dp_codec_info.cc | 26 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
|
/aosp12/system/bt/stack/test/fuzzers/a2dp/ |
H A D | fuzz_a2dp.cc | 30 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
|
/aosp12/system/bt/stack/test/fuzzers/sdp/ |
H A D | fuzz_sdp.cc | 28 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
|