Home
last modified time | relevance | path

Searched refs:rand_ (Results 1 – 4 of 4) sorted by relevance

/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMutateFns.cpp57 size_t idx = rand_(vector_size); in ArrayMutate()
68 size_t idx = rand_(size); in EnumRandomGen()
77 uint64_t rand_num = rand_(odds_for + odds_against); in EnumRandomGen()
132 size_t dice_roll = str.empty() ? 0 : rand_(3); in StringMutate()
133 size_t idx = rand_(str_size); in StringMutate()
171 size_t idx = rand_(size); in StructMutate()
183 size_t idx = rand_(size); in UnionRandomGen()
212 size_t idx = rand_(size); in VectorMutate()
286 uint64_t rand_int = mutator_config_.scalar_bias_(rand_); in RandomGen()
294 return static_cast<bool>(rand_(2)); in RandomGen()
[all …]
DProtoFuzzerMutator.cpp34 : rand_(rand), in ProtoFuzzerMutator()
104 size_t rand_idx = rand_(tbl.size()); in RandomSelectIface()
123 size_t rand_api_idx = rand_(num_apis); in RandomGen()
136 uint64_t rand_num = rand_(odds_for + odds_against); in Mutate()
140 size_t idx = rand_(exec_spec->function_call_size()); in Mutate()
150 size_t func_idx = rand_(exec_spec->function_call_size()); in Mutate()
151 size_t blueprint_idx = rand_(iface_spec.api_size()); in Mutate()
175 size_t rand_arg_idx = rand_(num_args); in Mutate()
/test/vts-testcase/fuzz/iface_fuzzer/include/
DProtoFuzzerUtils.h56 explicit Random(uint64_t seed) : rand_(seed) {} in Random()
60 virtual uint64_t Rand() { return rand_(); } in Rand()
66 std::mt19937_64 rand_;
DProtoFuzzerMutator.h111 Random &rand_; variable