OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Rand
(Results
1 - 21
of
21
) sorted by relevancy
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerRandom.h
22
size_t
Rand
() { return this->operator()(); }
23
size_t RandBool() { return
Rand
() % 2; }
24
size_t operator()(size_t n) { return n ?
Rand
() % n : 0; }
FuzzerMutate.cpp
27
MutationDispatcher::MutationDispatcher(Random &
Rand
,
29
:
Rand
(
Rand
), Options(Options) {
63
static char RandCh(Random &
Rand
) {
64
if (
Rand
.RandBool()) return
Rand
(256);
66
return Special[
Rand
(sizeof(Special) - 1)];
71
return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize,
Rand
.
Rand
());
78
size_t Idx =
Rand
(Corpus->size())
[
all
...]
FuzzerCrossOver.cpp
24
MaxOutSize =
Rand
(MaxOutSize) + 1;
38
size_t ExtraSize =
Rand
(MaxExtraSize) + 1;
FuzzerCorpus.h
169
InputInfo &ChooseUnitToMutate(Random &
Rand
) {
170
InputInfo &II = *Inputs[ChooseUnitIdxToMutate(
Rand
)];
176
size_t ChooseUnitIdxToMutate(Random &
Rand
) {
177
size_t Idx = static_cast<size_t>(CorpusDistribution(
Rand
));
FuzzerMutate.h
24
MutationDispatcher(Random &
Rand
, const FuzzingOptions &Options);
94
Random &GetRand() { return
Rand
; }
125
Random &
Rand
;
FuzzerDriver.cpp
642
Random
Rand
(Seed);
643
auto *MD = new MutationDispatcher(
Rand
, Options);
/src/external/lgpl3/gmp/dist/demos/perl/GMP/
Rand.pm
32
package GMP::
Rand
;
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator.h
56
INLINE u32
Rand
(u32 *state) { // ANSI C linear congruential PRNG.
60
INLINE u32 RandN(u32 *state, u32 n) { return
Rand
(state) % n; } // [0, n)
/src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_allocator.h
50
inline u32
Rand
(u32 *state) { // ANSI C linear congruential PRNG.
54
inline u32 RandN(u32 *state, u32 n) { return
Rand
(state) % n; } // [0, n)
/src/tests/crypto/libcrypto/bn/div/
divtest.c
2
#include <openssl/
rand
.h>
4
static int
Rand
(void)
32
BN_rand(a,
Rand
(), 0, 0);
33
BN_rand(b,
Rand
(), 0, 0);
/src/external/apache2/llvm/dist/llvm/include/llvm/FuzzMutate/
RandomIRBuilder.h
26
RandomEngine
Rand
;
30
:
Rand
(Seed), KnownTypes(AllowedTypes.begin(), AllowedTypes.end()) {}
/src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_allocator.h
50
inline u32
Rand
(u32 *state) { // ANSI C linear congruential PRNG.
54
inline u32 RandN(u32 *state, u32 n) { return
Rand
(state) % n; } // [0, n)
/src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/
RandomIRBuilder.cpp
33
auto RS = makeSampler(
Rand
, make_filter_range(Insts, MatchesPred));
44
auto RS = makeSampler<Value *>(
Rand
);
97
auto RS = makeSampler<Use *>(
Rand
);
124
if (uniform(
Rand
, 0, 1))
153
if (auto RS = makeSampler(
Rand
, make_filter_range(Insts, IsMatchingPtr)))
IRMutator.cpp
39
auto RS = makeSampler<Function *>(IB.
Rand
);
47
mutate(*makeSampler(IB.
Rand
, make_pointer_range(F)).getSelection(), IB);
51
mutate(*makeSampler(IB.
Rand
, make_pointer_range(BB)).getSelection(), IB);
61
auto RS = makeSampler<IRMutationStrategy *>(IB.
Rand
);
100
auto RS = makeSampler(IB.
Rand
, make_filter_range(Operations, OpMatchesPred));
114
size_t IP = uniform<size_t>(IB.
Rand
, 0, Insts.size() - 1);
154
auto RS = makeSampler<Instruction *>(IB.
Rand
);
185
auto RS = makeSampler<Value *>(IB.
Rand
);
239
auto RS = makeSampler(IB.
Rand
, Modifications);
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/tests/
FuzzerUnittest.cpp
49
Random
Rand
(0);
50
std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(
Rand
, {}));
137
Random
Rand
(0);
138
std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(
Rand
, {}));
173
Random
Rand
(0);
174
std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(
Rand
, {}));
209
Random
Rand
(0);
210
std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(
Rand
, {}));
253
Random
Rand
(0);
254
std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(
Rand
, {}));
[
all
...]
/src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/internal/container/
treap.d
31
Rand
_rand = { randSeed };
32
rand
= _rand;
111
Rand
rand
;
117
node.priority =
rand
();
254
import /*cstdlib = */core.stdc.stdlib :
rand
, srand;
266
treap.initialize(
rand
());
272
data ~=
rand
();
287
ops ~= cast(OP)(
rand
() < uint.max / 2 ? OP.add: OP.remove);
288
opdata ~=
rand
();
[
all
...]
/src/external/apache2/llvm/dist/llvm/tools/llvm-stress/
llvm-stress.cpp
115
uint32_t
Rand
() {
124
uint64_t Val =
Rand
() & 0xffff;
125
Val |= uint64_t(
Rand
() & 0xffff) << 16;
126
Val |= uint64_t(
Rand
() & 0xffff) << 32;
127
Val |= uint64_t(
Rand
() & 0xffff) << 48;
131
///
Rand
operator for STL algorithms.
143
uint32_t Val =
Rand
();
199
return Ran->
Rand
();
/src/external/lgpl3/gmp/dist/demos/perl/
GMP.pm
145
use GMP::
Rand
;
435
=head2 GMP::
Rand
440
use GMP::
Rand
qw(randstate);
478
use GMP::
Rand
(:all);
GMP.xs
155
static classconst char rand_class[] = "GMP::
Rand
";
3067
MODULE = GMP PACKAGE = GMP::
Rand
3072
GMP::
Rand
::randstate = 1
3157
GMP::
Rand
::mpz_rrandomb = 1
3200
GMP::
Rand
::gmp_urandomm_ui = 1
test.pl
59
use GMP::
Rand
qw(:all);
1746
# GMP::
Rand
1749
# GMP::
Rand
::new
1769
# GMP::
Rand
::seed
1777
# GMP::
Rand
::mpf_urandomb
1784
# GMP::
Rand
::mpz_urandomb
1791
# GMP::
Rand
::mpz_rrandomb
1798
# GMP::
Rand
::mpz_urandomm
1805
# GMP::
Rand
::mpz_urandomb_ui
1816
# GMP::
Rand
::mpz_urandomm_u
[
all
...]
/src/share/terminfo/
terminfo
15212
# Originally from Mike O'Brien@
Rand
and Howard Katseff at Bell Labs.
15214
# split out into several for the various screen sizes by dave-yost@
rand
[
all
...]
Completed in 73 milliseconds
Indexes created Thu May 14 00:25:00 UTC 2026