Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerDictionary.h57 size_t GetPositionHint() const { in GetPositionHint() function
69 Printf("@%zd", GetPositionHint());
DFuzzerMutate.cpp171 DE.GetPositionHint() + W.size() < Size && in ApplyDictionaryEntry()
175 size_t Idx = UsePositionHint ? DE.GetPositionHint() : Rand(Size + 1); in ApplyDictionaryEntry()
181 size_t Idx = UsePositionHint ? DE.GetPositionHint() : Rand(Size - W.size()); in ApplyDictionaryEntry()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerDictionary.h57 size_t GetPositionHint() const { in GetPositionHint() function
69 Printf("@%zd", GetPositionHint());
DFuzzerMutate.cpp171 DE.GetPositionHint() + W.size() < Size && in ApplyDictionaryEntry()
175 size_t Idx = UsePositionHint ? DE.GetPositionHint() : Rand(Size + 1); in ApplyDictionaryEntry()
181 size_t Idx = UsePositionHint ? DE.GetPositionHint() : Rand(Size - W.size()); in ApplyDictionaryEntry()
/external/llvm/lib/Fuzzer/
DFuzzerMutate.cpp162 DE.GetPositionHint() + W.size() < Size && Rand.RandBool(); in AddWordFromDictionary()
165 size_t Idx = UsePositionHint ? DE.GetPositionHint() : Rand(Size + 1); in AddWordFromDictionary()
171 size_t Idx = UsePositionHint ? DE.GetPositionHint() : Rand(Size - W.size()); in AddWordFromDictionary()
DFuzzerInternal.h162 size_t GetPositionHint() const { in GetPositionHint() function