/external/rust/crates/libfuzzer-sys/libfuzzer/tests/ |
D | FuzzedDataProviderUnittest.cpp | 318 TEST(FuzzedDataProvider, ConsumeEnum) { in TEST() argument 331 EXPECT_EQ(Enum::Two, DataProv.ConsumeEnum<Enum>()); in TEST() 332 EXPECT_EQ(Enum::One, DataProv.ConsumeEnum<Enum>()); in TEST() 333 EXPECT_EQ(Enum::Five, DataProv.ConsumeEnum<Enum>()); in TEST() 334 EXPECT_EQ(Enum::Seven, DataProv.ConsumeEnum<Enum>()); in TEST() 335 EXPECT_EQ(Enum::Six, DataProv.ConsumeEnum<Enum>()); in TEST() 336 EXPECT_EQ(Enum::One, DataProv.ConsumeEnum<Enum>()); in TEST() 337 EXPECT_EQ(Enum::Three, DataProv.ConsumeEnum<Enum>()); in TEST() 338 EXPECT_EQ(Enum::Three, DataProv.ConsumeEnum<Enum>()); in TEST() 339 EXPECT_EQ(Enum::Five, DataProv.ConsumeEnum<Enum>()); in TEST() [all …]
|
/external/llvm-project/compiler-rt/lib/fuzzer/tests/ |
D | FuzzedDataProviderUnittest.cpp | 318 TEST(FuzzedDataProvider, ConsumeEnum) { in TEST() argument 331 EXPECT_EQ(Enum::Two, DataProv.ConsumeEnum<Enum>()); in TEST() 332 EXPECT_EQ(Enum::One, DataProv.ConsumeEnum<Enum>()); in TEST() 333 EXPECT_EQ(Enum::Five, DataProv.ConsumeEnum<Enum>()); in TEST() 334 EXPECT_EQ(Enum::Seven, DataProv.ConsumeEnum<Enum>()); in TEST() 335 EXPECT_EQ(Enum::Six, DataProv.ConsumeEnum<Enum>()); in TEST() 336 EXPECT_EQ(Enum::One, DataProv.ConsumeEnum<Enum>()); in TEST() 337 EXPECT_EQ(Enum::Three, DataProv.ConsumeEnum<Enum>()); in TEST() 338 EXPECT_EQ(Enum::Three, DataProv.ConsumeEnum<Enum>()); in TEST() 339 EXPECT_EQ(Enum::Five, DataProv.ConsumeEnum<Enum>()); in TEST() [all …]
|
/external/oss-fuzz/projects/e2fsprogs/fuzz/ |
D | ext2fs_read_bitmap_fuzzer.cc | 34 const FuzzerType f = stream.ConsumeEnum<FuzzerType>(); in LLVMFuzzerTestOneInput()
|
D | ext2fs_image_read_write_fuzzer.cc | 38 const FuzzerType f = stream.ConsumeEnum<FuzzerType>(); in LLVMFuzzerTestOneInput()
|
/external/oss-fuzz/projects/pycryptodome/ |
D | pcd_aes_fuzzer.cc | 27 const KeySize keySize = stream.ConsumeEnum<KeySize>(); in LLVMFuzzerTestOneInput()
|
/external/pigweed/pw_tokenizer/ |
D | detokenize_fuzzer.cc | 72 switch (provider.ConsumeEnum<DetokenizeBufferArgumentType>()) { in LLVMFuzzerTestOneInput()
|
D | token_database_fuzzer.cc | 77 switch (provider.ConsumeEnum<FuzzTestType>()) { in LLVMFuzzerTestOneInput()
|
/external/pigweed/pw_fuzzer/public/pw_fuzzer/ |
D | fuzzed_data_provider.h | 106 T ConsumeEnum() { in ConsumeEnum() function
|
/external/libbrillo/brillo/dbus/ |
D | data_serialization_fuzzer.cc | 116 DataType curr_type = data_provider.ConsumeEnum<DataType>(); in LLVMFuzzerTestOneInput() 233 DataType curr_type = data_provider.ConsumeEnum<DataType>(); in LLVMFuzzerTestOneInput()
|
/external/llvm-project/compiler-rt/include/fuzzer/ |
D | FuzzedDataProvider.h | 70 template <typename T> T ConsumeEnum(); 291 template <typename T> T FuzzedDataProvider::ConsumeEnum() { in ConsumeEnum() function
|
/external/oss-fuzz/projects/leveldb/ |
D | fuzz_db.cc | 92 FuzzOp fuzz_op = fuzzed_data.ConsumeEnum<FuzzOp>(); in LLVMFuzzerTestOneInput()
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/fuzzing/compiler-rt/include/fuzzer/ |
D | FuzzedDataProvider.h | 184 template <typename T> T ConsumeEnum() { in ConsumeEnum() function
|
/external/pigweed/pw_protobuf/ |
D | encoder_fuzzer.cc | 153 switch (provider.ConsumeEnum<FieldType>()) { in LLVMFuzzerTestOneInput()
|
/external/protobuf/python/google/protobuf/ |
D | text_format.py | 1058 value = tokenizer.ConsumeEnum(field) 1471 def ConsumeEnum(self, field): member in Tokenizer
|