Home
last modified time | relevance | path

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

/external/selinux/libselinux/fuzzers/
Dselinux_android_restorecon_fuzzer.cpp26 if (fdp.ConsumeBool()) { in GetFlags()
29 if (fdp.ConsumeBool()) { in GetFlags()
32 if (fdp.ConsumeBool()) { in GetFlags()
35 if (fdp.ConsumeBool()) { in GetFlags()
38 if (fdp.ConsumeBool()) { in GetFlags()
41 if (fdp.ConsumeBool()) { in GetFlags()
44 if (fdp.ConsumeBool()) { in GetFlags()
47 if (fdp.ConsumeBool()) { in GetFlags()
51 if (fdp.ConsumeBool()) { in GetFlags()
DAndroidSetcontextFuzzer.cpp27 bool isSystemServer = fdp.ConsumeBool(); in LLVMFuzzerTestOneInput()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/fuzzing/
Dre2_fuzzer.cc151 options.set_encoding(fdp.ConsumeBool() ? RE2::Options::EncodingLatin1 in LLVMFuzzerTestOneInput()
153 options.set_posix_syntax(fdp.ConsumeBool()); in LLVMFuzzerTestOneInput()
154 options.set_longest_match(fdp.ConsumeBool()); in LLVMFuzzerTestOneInput()
157 options.set_literal(fdp.ConsumeBool()); in LLVMFuzzerTestOneInput()
158 options.set_never_nl(fdp.ConsumeBool()); in LLVMFuzzerTestOneInput()
159 options.set_dot_nl(fdp.ConsumeBool()); in LLVMFuzzerTestOneInput()
160 options.set_never_capture(fdp.ConsumeBool()); in LLVMFuzzerTestOneInput()
161 options.set_case_sensitive(!fdp.ConsumeBool()); in LLVMFuzzerTestOneInput()
162 options.set_perl_classes(fdp.ConsumeBool()); in LLVMFuzzerTestOneInput()
163 options.set_word_boundary(fdp.ConsumeBool()); in LLVMFuzzerTestOneInput()
[all …]
/external/libbrillo/brillo/http/
Dhttp_form_data_fuzzer.cc52 while (data_provider->ConsumeBool()) { in CreateMultipartFormField()
53 if (data_provider->ConsumeBool()) { in CreateMultipartFormField()
57 if (data_provider->ConsumeBool()) { in CreateMultipartFormField()
64 if (depth < kMaxRecursionDepth && data_provider->ConsumeBool()) { in CreateMultipartFormField()
98 if (data_provider.ConsumeBool()) { in LLVMFuzzerTestOneInput()
102 if (data_provider.ConsumeBool()) { in LLVMFuzzerTestOneInput()
106 if (data_provider.ConsumeBool()) { in LLVMFuzzerTestOneInput()
/external/rust/crates/libfuzzer-sys/libfuzzer/tests/
DFuzzedDataProviderUnittest.cpp267 TEST(FuzzedDataProvider, ConsumeBool) { in TEST() argument
269 EXPECT_EQ(false, DataProv.ConsumeBool()); in TEST()
270 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
271 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
272 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
273 EXPECT_EQ(false, DataProv.ConsumeBool()); in TEST()
274 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
275 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
276 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
277 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
[all …]
/external/llvm-project/compiler-rt/lib/fuzzer/tests/
DFuzzedDataProviderUnittest.cpp267 TEST(FuzzedDataProvider, ConsumeBool) { in TEST() argument
269 EXPECT_EQ(false, DataProv.ConsumeBool()); in TEST()
270 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
271 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
272 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
273 EXPECT_EQ(false, DataProv.ConsumeBool()); in TEST()
274 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
275 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
276 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
277 EXPECT_EQ(true, DataProv.ConsumeBool()); in TEST()
[all …]
/external/libbrillo/brillo/dbus/
Ddata_serialization_fuzzer.cc117 bool variant = data_provider.ConsumeBool(); in LLVMFuzzerTestOneInput()
141 AppendValue(&writer, variant, data_provider.ConsumeBool()); in LLVMFuzzerTestOneInput()
179 std::pair<bool, int64_t>{data_provider.ConsumeBool(), in LLVMFuzzerTestOneInput()
193 data_provider.ConsumeBool()}); in LLVMFuzzerTestOneInput()
224 data_provider.ConsumeBool(); in LLVMFuzzerTestOneInput()
234 bool variant = data_provider.ConsumeBool(); in LLVMFuzzerTestOneInput()
/external/libbrillo/brillo/
Ddata_encoding_fuzzer.cc21 provider->ConsumeBool()); in FuzzUrlEncodeDecode()
35 brillo::data_encoding::WebParamsEncode(param_list, provider->ConsumeBool()); in FuzzWebParamsEncodeDecode()
/external/llvm-project/compiler-rt/include/fuzzer/
DFuzzedDataProvider.h67 bool ConsumeBool();
256 if (ConsumeBool()) { in ConsumeFloatingPointInRange()
284 inline bool FuzzedDataProvider::ConsumeBool() { in ConsumeBool() function
/external/tensorflow/tensorflow/security/fuzzing/
Dstring_replace_fuzz.cc32 bool all_flag = fuzzed_data.ConsumeBool(); in LLVMFuzzerTestOneInput()
Dstatus_group_fuzz.cc46 bool is_derived = fuzzed_data.ConsumeBool(); in LLVMFuzzerTestOneInput()
Dpython_fuzzing.py54 return self.fdp.ConsumeBool()
/external/libchrome/base/test/
Dfuzzed_data_provider.h50 bool ConsumeBool();
Dfuzzed_data_provider.cc86 bool FuzzedDataProvider::ConsumeBool() { in ConsumeBool() function in base::FuzzedDataProvider
/external/oss-fuzz/projects/abseil-cpp/
Dstring_utilities_fuzzer.cc33 bool bool_value = fuzzed_data.ConsumeBool(); in LLVMFuzzerTestOneInput()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/fuzzing/compiler-rt/include/fuzzer/
DFuzzedDataProvider.h163 bool ConsumeBool() { return 1 & ConsumeIntegral<uint8_t>(); } in ConsumeBool() function
230 if (ConsumeBool()) { in ConsumeFloatingPointInRange()
/external/pdfium/testing/fuzzers/
Dpdf_nametree_fuzzer.cc39 params.delete_backwards = data_provider->ConsumeBool(); in GetParams()
/external/pigweed/pw_fuzzer/public/pw_fuzzer/
Dfuzzed_data_provider.h103 bool ConsumeBool() { return false; } in ConsumeBool() function
/external/oss-fuzz/projects/uriparser/
Duri_parse_fuzzer.cc76 bool domainRelative = stream.ConsumeBool(); in LLVMFuzzerTestOneInput()
/external/protobuf/python/google/protobuf/internal/
Dtext_format_test.py1715 (tokenizer.ConsumeBool, True),
1717 (tokenizer.ConsumeBool, False), '}',
1731 (tokenizer.ConsumeBool, False),
1733 (tokenizer.ConsumeBool, True),
1735 (tokenizer.ConsumeBool, True),
1737 (tokenizer.ConsumeBool, False),
1739 (tokenizer.ConsumeBool, False),
1741 (tokenizer.ConsumeBool, True),
1863 self.assertRaises(text_format.ParseError, tokenizer.ConsumeBool)
/external/pigweed/pw_protobuf/
Dencoder_fuzzer.cc209 provider.ConsumeBool()); in LLVMFuzzerTestOneInput()
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dtext_format_test.py618 self.assertRaises(text_format.ParseError, tokenizer.ConsumeBool)
/external/protobuf/python/google/protobuf/
Dtext_format.py1052 value = tokenizer.ConsumeBool()
1393 def ConsumeBool(self): member in Tokenizer