Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/FuzzMutate/
DRandom.h34 GenT &RandGen; variable
39 ReservoirSampler(GenT &RandGen) : RandGen(RandGen) {} in ReservoirSampler() argument
66 if (uniform<uint64_t>(RandGen, 1, TotalWeight) <= Weight) in sample()
75 ReservoirSampler<ElT, GenT> makeSampler(GenT &RandGen, RangeT &&Items) { in makeSampler() argument
76 ReservoirSampler<ElT, GenT> RS(RandGen); in makeSampler()
82 ReservoirSampler<T, GenT> makeSampler(GenT &RandGen, const T &Item, in makeSampler() argument
84 ReservoirSampler<T, GenT> RS(RandGen); in makeSampler()
90 ReservoirSampler<T, GenT> makeSampler(GenT &RandGen) { in makeSampler() argument
91 return ReservoirSampler<T, GenT>(RandGen); in makeSampler()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/
DRandom.h34 GenT &RandGen; variable
39 ReservoirSampler(GenT &RandGen) : RandGen(RandGen) {} in ReservoirSampler() argument
66 if (uniform<uint64_t>(RandGen, 1, TotalWeight) <= Weight) in sample()
75 ReservoirSampler<ElT, GenT> makeSampler(GenT &RandGen, RangeT &&Items) { in makeSampler() argument
76 ReservoirSampler<ElT, GenT> RS(RandGen); in makeSampler()
82 ReservoirSampler<T, GenT> makeSampler(GenT &RandGen, const T &Item, in makeSampler() argument
84 ReservoirSampler<T, GenT> RS(RandGen); in makeSampler()
90 ReservoirSampler<T, GenT> makeSampler(GenT &RandGen) { in makeSampler() argument
91 return ReservoirSampler<T, GenT>(RandGen); in makeSampler()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DClangdTests.cpp737 std::random_device RandGen; in TEST() local
766 bool ShouldHaveErrors = ShouldHaveErrorsDist(RandGen); in TEST()
775 unsigned FileIndex = FileIndexDist(RandGen); in TEST()
780 unsigned FileIndex = FileIndexDist(RandGen); in TEST()
785 unsigned FileIndex = FileIndexDist(RandGen); in TEST()
795 unsigned FileIndex = FileIndexDist(RandGen); in TEST()
801 Pos.line = LineDist(RandGen); in TEST()
802 Pos.character = ColumnDist(RandGen); in TEST()
814 unsigned FileIndex = FileIndexDist(RandGen); in TEST()
820 Pos.line = LineDist(RandGen); in TEST()
[all …]
/external/lzma/CPP/7zip/Bundles/Alone7z/
Dmakefile122 $O\RandGen.obj \
DAlone.dsp1893 SOURCE=..\..\Crypto\RandGen.cpp
1897 SOURCE=..\..\Crypto\RandGen.h
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp1629 static void RandGen(Byte *buf, UInt32 size, CBaseRandomGenerator &RG) in RandGen() function
1637 RandGen(buf, size, RG); in RandGenCrc()
1657 RandGen(buf + kBufferSize0, kBufferSize1, RG); in CrcInternalTest()