| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
| H A D | FuzzerMutate.cpp | 27 MutationDispatcher::MutationDispatcher(Random &Rand, in MutationDispatcher() argument 29 : Rand(Rand), Options(Options) { in MutationDispatcher() 63 static char RandCh(Random &Rand) { in RandCh() argument 64 if (Rand.RandBool()) return Rand(256); in RandCh() 66 return Special[Rand(sizeof(Special) - 1)]; in RandCh() 71 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, Rand.Rand()); in Mutate_Custom() 78 size_t Idx = Rand(Corpus->size()); in Mutate_CustomCrossOver() 85 Data, Size, Other.data(), Other.size(), U.data(), U.size(), Rand.Rand()); in Mutate_CustomCrossOver() 97 Rand(std::min(Size, (size_t)8)) + 1; // [1,8] and <= Size. in Mutate_ShuffleBytes() 98 size_t ShuffleStart = Rand(Size - ShuffleAmount); in Mutate_ShuffleBytes() [all …]
|
| H A D | FuzzerRandom.h | 22 size_t Rand() { return this->operator()(); } in Rand() function 23 size_t RandBool() { return Rand() % 2; } in RandBool() 24 size_t operator()(size_t n) { return n ? Rand() % n : 0; } in operator()
|
| H A D | FuzzerCrossOver.cpp | 24 MaxOutSize = Rand(MaxOutSize) + 1; in CrossOver() 38 size_t ExtraSize = Rand(MaxExtraSize) + 1; in CrossOver()
|
| H A D | FuzzerMutate.h | 24 MutationDispatcher(Random &Rand, const FuzzingOptions &Options); 94 Random &GetRand() { return Rand; } in GetRand() 125 Random &Rand; variable
|
| H A D | FuzzerCorpus.h | 169 InputInfo &ChooseUnitToMutate(Random &Rand) { in ChooseUnitToMutate() argument 170 InputInfo &II = *Inputs[ChooseUnitIdxToMutate(Rand)]; in ChooseUnitToMutate() 176 size_t ChooseUnitIdxToMutate(Random &Rand) { in ChooseUnitIdxToMutate() argument 177 size_t Idx = static_cast<size_t>(CorpusDistribution(Rand)); in ChooseUnitIdxToMutate()
|
| H A D | FuzzerDriver.cpp | 642 Random Rand(Seed); in FuzzerDriver() local 643 auto *MD = new MutationDispatcher(Rand, Options); in FuzzerDriver()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/tests/ |
| H A D | FuzzerUnittest.cpp | 49 Random Rand(0); in TEST() local 50 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TEST() 137 Random Rand(0); in TestEraseBytes() local 138 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestEraseBytes() 173 Random Rand(0); in TestInsertByte() local 174 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestInsertByte() 209 Random Rand(0); in TestInsertRepeatedBytes() local 210 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestInsertRepeatedBytes() 253 Random Rand(0); in TestChangeByte() local 254 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestChangeByte() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/ |
| H A 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() 239 auto RS = makeSampler(IB.Rand, Modifications); in mutate()
|
| H A 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()
|
| /netbsd-src/tests/crypto/libcrypto/bn/div/ |
| H A D | divtest.c | 4 static int Rand(void) in Rand() function 32 BN_pseudo_rand(a, Rand(), 0, 0); in main() 33 BN_pseudo_rand(b, Rand(), 0, 0); in main()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_allocator.h | 50 inline u32 Rand(u32 *state) { // ANSI C linear congruential PRNG. in Rand() function 54 inline u32 RandN(u32 *state, u32 n) { return Rand(state) % n; } // [0, n) in RandN()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_allocator.h | 56 INLINE u32 Rand(u32 *state) { // ANSI C linear congruential PRNG. in Rand() function 60 INLINE u32 RandN(u32 *state, u32 n) { return Rand(state) % n; } // [0, n) in RandN()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_allocator.h | 52 INLINE u32 Rand(u32 *state) { // ANSI C linear congruential PRNG. in Rand() function 56 INLINE u32 RandN(u32 *state, u32 n) { return Rand(state) % n; } // [0, n) in RandN()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/FuzzMutate/ |
| H A D | RandomIRBuilder.h | 26 RandomEngine Rand; member 30 : Rand(Seed), KnownTypes(AllowedTypes.begin(), AllowedTypes.end()) {} in RandomIRBuilder()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 115 uint32_t Rand() { in Rand() function in llvm::__anon27583fdc0111::Random 124 uint64_t Val = Rand() & 0xffff; in Rand64() 125 Val |= uint64_t(Rand() & 0xffff) << 16; in Rand64() 126 Val |= uint64_t(Rand() & 0xffff) << 32; in Rand64() 127 Val |= uint64_t(Rand() & 0xffff) << 48; in Rand64() 143 uint32_t Val = Rand(); in operator ()() 199 return Ran->Rand(); in getRandom()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/container/ |
| H A D | treap.d | 31 Rand _rand = { randSeed }; in Treap() 111 Rand rand; in Treap() 341 private struct Rand struct
|
| /netbsd-src/external/lgpl3/gmp/dist/demos/perl/GMP/ |
| H A D | Rand.pm | 32 package GMP::Rand;
|
| /netbsd-src/external/lgpl3/gmp/dist/demos/perl/ |
| H A D | GMP.xs | 3067 MODULE = GMP PACKAGE = GMP::Rand 3072 GMP::Rand::randstate = 1 3157 GMP::Rand::mpz_rrandomb = 1 3200 GMP::Rand::gmp_urandomm_ui = 1
|
| H A D | test.pl | 59 use GMP::Rand qw(:all);
|
| /netbsd-src/share/dict/ |
| H A D | propernames | 976 Rand
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man7/ |
| H A D | provider-rand.pod | 152 =head2 Rand Parameters
|
| /netbsd-src/external/bsd/am-utils/dist/ |
| H A D | AUTHORS | 254 * Douglas K. Rand" <rand AT aero.und.edu>
|
| /netbsd-src/games/fortune/datfiles/ |
| H A D | startrek | 749 -- Kirk to Yeoman Rand, "The Enemy Within", stardate unknown
|
| H A D | fortunes2 | 3016 -- Ayn Rand, "The Fountainhead" 8299 According to the Rand McNally Places-Rated Almanac, the best place to live in 28425 Kirk to Enterprise -- beam down yeoman Rand and a six-pack. 32720 -- sign in the Rand Hotel, New York, 1907 36521 Kirk, Spock, Bones, Yeoman Rand and two red shirt security officers 36524 As something begins to develop between the Captain and Yeoman Rand, 39427 -- Ayn Rand 48908 -- Robert D. Sprecht, Rand Corp. 54156 -- Ayn Rand
|
| /netbsd-src/external/lgpl3/gmp/dist/ |
| H A D | ChangeLog | 17712 * demos/perl/GMP.xs, demos/perl/GMP.pm, demos/perl/GMP/Rand.pm, 17714 (GMP::Rand::randstate): Accept a randstate object to copy. 18796 to GMP::Rand::randstate. 24251 GMP/Mpz.pm, GMP/Mpq.pm, GMP/mpf.pm, GMP/Rand.pm, sample.pl, test.pl:
|