Searched refs:VarInstance (Results 1 – 4 of 4) sorted by relevance
34 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 …]
47 using VarInstance = TypeSpec; variable
27 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 …]
164 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()