OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Rand
(Results
1 - 10
of
10
) 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/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/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/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/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 40 milliseconds
Indexes created Wed Oct 22 00:09:40 GMT 2025