Home
last modified time | relevance | path

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

12

/frameworks/native/libs/binder/tests/unit_fuzzers/
DTextOutputFuzz.cpp36 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()
DStatusFuzz.cpp33 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()
DStatusFuzzFunctions.h46 fdp->ConsumeRandomLengthString(fdp->remaining_bytes());
52 fdp->ConsumeRandomLengthString(fdp->remaining_bytes());
59 fdp->ConsumeRandomLengthString(fdp->remaining_bytes());
73 fdp->ConsumeRandomLengthString(fdp->remaining_bytes());
DMemoryDealerFuzz.cpp37 std::string name = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput()
44 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
49 std::string randString = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput()
DPersistableBundleFuzz.cpp29 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
30 String16 key(fdp.ConsumeRandomLengthString(fdp.remaining_bytes()).c_str()); in LLVMFuzzerTestOneInput()
DBufferedTextOutputFuzz.cpp50 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
57 std::string txt = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput()
DStabilityFuzz.cpp28 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
DBinderFuzz.cpp35 while (fdp.remaining_bytes() > 0 && count++ < MAX_RUNS) { in LLVMFuzzerTestOneInput()
DBpBinderFuzz.cpp67 while (fdp.remaining_bytes() > 0 && count++ < MAX_RUNS) { in LLVMFuzzerTestOneInput()
DPersistableBundleFuzzFunctions.h50 fdp->ConsumeIntegralInRange<size_t>(0, fdp->remaining_bytes() - 1));
100 String16 value(fdp->ConsumeRandomLengthString(fdp->remaining_bytes()).c_str());
/frameworks/av/media/libstagefright/tests/fuzzers/
DStagefrightMediaScannerFuzzer.cpp42 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()
DFrameDecoderFuzzer.cpp34 std::string name = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in LLVMFuzzerTestOneInput()
48 while (fdp.remaining_bytes()) { in LLVMFuzzerTestOneInput()
DMediaMuxerFuzzer.cpp32 while (fdp->remaining_bytes() > 0 && count > 0) { in createMessage()
57 while (fdp.remaining_bytes() > 1) { in LLVMFuzzerTestOneInput()
DMediaClockFuzzer.cpp29 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
DSkipCutBufferFuzzer.cpp33 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
/frameworks/av/services/mediametrics/fuzzer/
Dmediametrics_service_fuzzer.cpp55 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()
346 while (fdp.remaining_bytes()) { in invokeTimedAction()
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Drandom_parcel.cpp38 std::vector<uint8_t> data = provider.ConsumeBytes<uint8_t>(provider.remaining_bytes()); in fillRandomParcelData()
61 while (provider.remaining_bytes() > 0) { in fillRandomParcel()
66 provider.ConsumeIntegralInRange<size_t>(0, provider.remaining_bytes()); in fillRandomParcel()
Dlibbinder_driver.cpp30 while (provider.remaining_bytes() > 0) { in fuzzService()
46 provider.ConsumeIntegralInRange<size_t>(0, provider.remaining_bytes())); in fuzzService()
/frameworks/native/libs/vr/libpdx/fuzz/
Dservice_dispatcher_fuzzer.cpp56 while (fdp.remaining_bytes() > sizeof(MessageInfo)) { in LLVMFuzzerTestOneInput()
63 while (fdp.remaining_bytes() > sizeof(MessageInfo)) { in LLVMFuzzerTestOneInput()
Dmessage_fuzzer.cpp55 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()
Dserialization_fuzzer.cpp72 std::string s_val = fdp.ConsumeRandomLengthString(fdp.remaining_bytes()); in FuzzSerializeDeserialize()
74 fdp.ConsumeBytes<uint8_t>(fdp.remaining_bytes()); in FuzzSerializeDeserialize()
231 while (fdp.remaining_bytes() > 0) { in FuzzDeserializeFixmap()
/frameworks/native/cmds/cmd/fuzzer/
Dcmd_fuzzer.cpp58 while (mFDP->remaining_bytes() > 0) { in process()
59 size_t sizestr = mFDP->ConsumeIntegralInRange<size_t>(1, mFDP->remaining_bytes()); in process()
/frameworks/av/media/libmedia/tests/fuzzer/
Dlibmedia_metadata_fuzzer.cpp51 return fdp -> remaining_bytes() > 0; in bytesRemain()
/frameworks/av/services/camera/libcameraservice/fuzzer/
DDistortionMapperFuzzer.cpp63 for (int index = 0; fdp.remaining_bytes() > 0; index++) { in LLVMFuzzerTestOneInput()
/frameworks/native/services/inputflinger/tests/fuzzers/
DLatencyTrackerFuzzer.cpp61 while (fdp.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()

12