Home
last modified time | relevance | path

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

/external/libprotobuf-mutator/src/
Dmutator.cc75 bool GetRandomBool(RandomEngine* random, size_t n = 2) { in GetRandomBool() function
394 if (GetRandomBool(mutator_->random(), 100)) return; in Mutate()
403 GetRandomBool(mutator_->random(), unchanged_one_out_of)) { in RepeatMutate()
556 if (GetRandomBool(random_)) in CrossOverImpl()
559 if (GetRandomBool(random_)) { in CrossOverImpl()
568 if (GetRandomBool(random_)) { in CrossOverImpl()
642 while (!result.empty() && GetRandomBool(random_)) { in MutateString()
646 while (result.size() < size_increase_hint && GetRandomBool(random_)) { in MutateString()