Home
last modified time | relevance | path

Searched refs:grpc_fuzzer_get_next_byte (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/test/core/util/
Dfuzzer_util.cc28 uint8_t grpc_fuzzer_get_next_byte(input_stream* inp) { in grpc_fuzzer_get_next_byte() function
45 c = static_cast<char>(grpc_fuzzer_get_next_byte(inp)); in grpc_fuzzer_get_next_string()
58 uint8_t b = grpc_fuzzer_get_next_byte(inp); in grpc_fuzzer_get_next_uint32()
62 b = grpc_fuzzer_get_next_byte(inp); in grpc_fuzzer_get_next_uint32()
66 b = grpc_fuzzer_get_next_byte(inp); in grpc_fuzzer_get_next_uint32()
70 b = grpc_fuzzer_get_next_byte(inp); in grpc_fuzzer_get_next_uint32()
73 x = (x << 4) | (grpc_fuzzer_get_next_byte(inp) & 0x0f); in grpc_fuzzer_get_next_uint32()
Dfuzzer_util.h37 uint8_t grpc_fuzzer_get_next_byte(input_stream* inp);
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dalts_credentials_fuzzer.cc33 using grpc_core::testing::grpc_fuzzer_get_next_byte;
46 size_t n = grpc_fuzzer_get_next_byte(inp); in read_target_service_accounts()
72 bool enable_untrusted_alts = grpc_fuzzer_get_next_byte(&inp) & 0x01; in LLVMFuzzerTestOneInput()
74 grpc_fuzzer_get_next_byte(&inp) & 0x01 in LLVMFuzzerTestOneInput()
77 if (grpc_fuzzer_get_next_byte(&inp) & 0x01) { in LLVMFuzzerTestOneInput()
/external/grpc-grpc/test/core/security/
Dalts_credentials_fuzzer.cc34 using grpc_core::testing::grpc_fuzzer_get_next_byte;
47 size_t n = grpc_fuzzer_get_next_byte(inp); in read_target_service_accounts()
77 bool enable_untrusted_alts = grpc_fuzzer_get_next_byte(&inp) & 0x01; in LLVMFuzzerTestOneInput()
79 grpc_fuzzer_get_next_byte(&inp) & 0x01 in LLVMFuzzerTestOneInput()
82 if (grpc_fuzzer_get_next_byte(&inp) & 0x01) { in LLVMFuzzerTestOneInput()
/external/grpc-grpc/test/core/end2end/fuzzers/
Dapi_fuzzer.cc44 using grpc_core::testing::grpc_fuzzer_get_next_byte;
78 *length = grpc_fuzzer_get_next_byte(inp); in read_buffer()
81 *length = grpc_fuzzer_get_next_byte(inp); in read_buffer()
87 (*buffer)[i] = static_cast<char>(grpc_fuzzer_get_next_byte(inp)); in read_buffer()
117 uint8_t b = grpc_fuzzer_get_next_byte(inp); in read_uint22()
121 b = grpc_fuzzer_get_next_byte(inp); in read_uint22()
125 x |= grpc_fuzzer_get_next_byte(inp); in read_uint22()
144 size_t n = grpc_fuzzer_get_next_byte(inp); in read_args()
147 switch (grpc_fuzzer_get_next_byte(inp)) { in read_args()
196 uint8_t b = grpc_fuzzer_get_next_byte(inp); in read_cred_artifact()
[all …]