/third_party/json/test/thirdparty/Fuzzer/ |
D | FuzzerMutate.cpp | 27 MutationDispatcher::MutationDispatcher(Random &Rand, in MutationDispatcher() argument 29 : Rand(Rand), Options(Options) { in MutationDispatcher() 65 static char RandCh(Random &Rand) { in RandCh() argument 66 if (Rand.RandBool()) return Rand(256); in RandCh() 68 return Special[Rand(sizeof(Special) - 1)]; in RandCh() 73 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, Rand.Rand()); in Mutate_Custom() 80 size_t Idx = Rand(Corpus->size()); in Mutate_CustomCrossOver() 87 Data, Size, Other.data(), Other.size(), U.data(), U.size(), Rand.Rand()); in Mutate_CustomCrossOver() 100 Rand(std::min(Size, (size_t)8)) + 1; // [1,8] and <= Size. in Mutate_ShuffleBytes() 101 size_t ShuffleStart = Rand(Size - ShuffleAmount); in Mutate_ShuffleBytes() [all …]
|
D | FuzzerRandom.h | 21 size_t Rand() { return R(); } in Rand() function 22 size_t RandBool() { return Rand() % 2; } in RandBool() 23 size_t operator()(size_t n) { return n ? Rand() % n : 0; } in operator()
|
D | FuzzerCorpus.h | 83 InputInfo &ChooseUnitToMutate(Random &Rand) { in ChooseUnitToMutate() argument 84 InputInfo &II = *Inputs[ChooseUnitIdxToMutate(Rand)]; in ChooseUnitToMutate() 92 size_t ChooseUnitIdxToMutate(Random &Rand) { in ChooseUnitIdxToMutate() argument 93 size_t Idx = static_cast<size_t>(CorpusDistribution(Rand.Get_mt19937())); in ChooseUnitIdxToMutate()
|
D | FuzzerMutate.h | 23 MutationDispatcher(Random &Rand, const FuzzingOptions &Options); 92 Random &GetRand() { return Rand; } in GetRand() 117 Random &Rand; variable
|
D | FuzzerCrossOver.cpp | 24 MaxOutSize = Rand(MaxOutSize) + 1; in CrossOver() 38 size_t ExtraSize = Rand(MaxExtraSize) + 1; in CrossOver()
|
/third_party/json/test/thirdparty/Fuzzer/test/ |
D | FuzzerUnittest.cpp | 29 Random Rand(0); in TEST() local 30 MutationDispatcher MD(Rand, {}); in TEST() 117 Random Rand(0); in TestEraseBytes() local 118 MutationDispatcher MD(Rand, {}); in TestEraseBytes() 153 Random Rand(0); in TestInsertByte() local 154 MutationDispatcher MD(Rand, {}); in TestInsertByte() 189 Random Rand(0); in TestInsertRepeatedBytes() local 190 MutationDispatcher MD(Rand, {}); in TestInsertRepeatedBytes() 233 Random Rand(0); in TestChangeByte() local 234 MutationDispatcher MD(Rand, {}); in TestChangeByte() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | IRMutator.cpp | 39 auto RS = makeSampler<Function *>(IB.Rand); in mutate() 47 mutate(*makeSampler(IB.Rand, make_pointer_range(F)).getSelection(), IB); in mutate() 51 mutate(*makeSampler(IB.Rand, make_pointer_range(BB)).getSelection(), IB); in mutate() 61 auto RS = makeSampler<IRMutationStrategy *>(IB.Rand); in mutateModule() 100 auto RS = makeSampler(IB.Rand, make_filter_range(Operations, OpMatchesPred)); in chooseOperation() 114 size_t IP = uniform<size_t>(IB.Rand, 0, Insts.size() - 1); in mutate() 154 auto RS = makeSampler<Instruction *>(IB.Rand); in mutate() 185 auto RS = makeSampler<Value *>(IB.Rand); in mutate()
|
D | RandomIRBuilder.cpp | 33 auto RS = makeSampler(Rand, make_filter_range(Insts, MatchesPred)); in findOrCreateSource() 44 auto RS = makeSampler<Value *>(Rand); in newSource() 97 auto RS = makeSampler<Use *>(Rand); in connectToSink() 124 if (uniform(Rand, 0, 1)) in newSink() 153 if (auto RS = makeSampler(Rand, make_filter_range(Insts, IsMatchingPtr))) in findPointer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/ |
D | RandomIRBuilder.h | 26 RandomEngine Rand; member 30 : Rand(Seed), KnownTypes(AllowedTypes.begin(), AllowedTypes.end()) {} in RandomIRBuilder()
|
/third_party/flutter/skia/third_party/externals/icu/source/data/curr/ |
D | en_LS.txt | 8 "South African Rand",
|
D | en_ZA.txt | 8 "South African Rand",
|
D | kea.txt | 520 "Rand sulafrikanu", 751 other{"Rand sulafrikanu"}
|
D | mg.txt | 223 "Rand afrikanina tatsimo",
|
D | dje.txt | 223 "Hawasa Afriki Rand",
|
D | twq.txt | 223 "Hawasa Afriki Rand",
|
D | khq.txt | 223 "Hawasa Afriki Rand",
|
/third_party/skia/third_party/externals/icu/source/data/curr/ |
D | en_ZA.txt | 9 "South African Rand",
|
D | en_LS.txt | 9 "South African Rand",
|
D | kea.txt | 521 "Rand sulafrikanu", 749 other{"Rand sulafrikanu"}
|
/third_party/icu/icu4c/source/data/curr/ |
D | en_LS.txt | 9 "South African Rand",
|
D | en_ZA.txt | 9 "South African Rand",
|
D | kea.txt | 521 "Rand sulafrikanu", 749 other{"Rand sulafrikanu"}
|
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/ |
D | t1decode.c | 1099 FT_Fixed Rand; in t1_decoder_parse_charstrings() local 1102 Rand = seed; in t1_decoder_parse_charstrings() 1103 if ( Rand >= 0x8000L ) in t1_decoder_parse_charstrings() 1104 Rand++; in t1_decoder_parse_charstrings() 1106 top[0] = Rand; in t1_decoder_parse_charstrings()
|
/third_party/freetype/src/psaux/ |
D | t1decode.c | 1099 FT_Fixed Rand; in t1_decoder_parse_charstrings() local 1102 Rand = seed; in t1_decoder_parse_charstrings() 1103 if ( Rand >= 0x8000L ) in t1_decoder_parse_charstrings() 1104 Rand++; in t1_decoder_parse_charstrings() 1106 top[0] = Rand; in t1_decoder_parse_charstrings()
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
D | t1decode.c | 1099 FT_Fixed Rand; in t1_decoder_parse_charstrings() local 1102 Rand = seed; in t1_decoder_parse_charstrings() 1103 if ( Rand >= 0x8000L ) in t1_decoder_parse_charstrings() 1104 Rand++; in t1_decoder_parse_charstrings() 1106 top[0] = Rand; in t1_decoder_parse_charstrings()
|