Home
last modified time | relevance | path

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

/test/vts-testcase/fuzz/iface_fuzzer/include/
DProtoFuzzerMutator.h34 using VarMutateFn = std::function<VarInstance(const VarInstance &)>;
35 using VarRandomGenFn = std::function<VarInstance(const VarSpec &)>;
67 VarInstance RandomGen(const VarSpec &);
69 VarInstance Mutate(const VarInstance &);
76 VarInstance ArrayRandomGen(const VarSpec &);
77 VarInstance ArrayMutate(const VarInstance &);
78 VarInstance EnumRandomGen(const VarSpec &);
79 VarInstance EnumMutate(const VarInstance &);
80 VarInstance ScalarRandomGen(const VarSpec &);
81 VarInstance ScalarMutate(const VarInstance &);
[all …]
DProtoFuzzerUtils.h47 using VarInstance = TypeSpec; variable
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMutateFns.cpp27 static VarInstance VarInstanceStubFromSpec(const VarSpec &var_spec) { in VarInstanceStubFromSpec()
28 VarInstance result{}; in VarInstanceStubFromSpec()
44 VarInstance ProtoFuzzerMutator::ArrayRandomGen(const VarSpec &var_spec) { in ArrayRandomGen()
45 VarInstance result{VarInstanceStubFromSpec(var_spec)}; in ArrayRandomGen()
54 VarInstance ProtoFuzzerMutator::ArrayMutate(const VarInstance &var_instance) { in ArrayMutate()
55 VarInstance result{var_instance}; in ArrayMutate()
62 VarInstance ProtoFuzzerMutator::EnumRandomGen(const VarSpec &var_spec) { in EnumRandomGen()
63 VarInstance result{VarInstanceStubFromSpec(var_spec)}; in EnumRandomGen()
87 VarInstance ProtoFuzzerMutator::EnumMutate(const VarInstance &var_instance) { in EnumMutate()
92 VarInstance ProtoFuzzerMutator::ScalarRandomGen(const VarSpec &var_spec) { in ScalarRandomGen()
[all …]
DProtoFuzzerMutator.cpp164 VarInstance rand_var_spec = RandomGen(var_spec); in RandomGen()
176 VarInstance rand_arg = Mutate(result.arg(rand_arg_idx)); in Mutate()
194 VarInstance ProtoFuzzerMutator::RandomGen(const VarSpec &var_spec) { in RandomGen()
198 VarInstance ProtoFuzzerMutator::Mutate(const VarInstance &var_instance) { in Mutate()