Home
last modified time | relevance | path

Searched refs:RandomNumberGenerator (Results 1 – 25 of 57) sorted by relevance

123

/external/swiftshader/third_party/subzero/src/
DIceRNG.h26 class RandomNumberGenerator {
27 RandomNumberGenerator() = delete;
28 RandomNumberGenerator(const RandomNumberGenerator &) = delete;
29 RandomNumberGenerator &operator=(const RandomNumberGenerator &) = delete;
32 explicit RandomNumberGenerator(uint64_t Seed, llvm::StringRef Salt = "");
46 explicit RandomNumberGenerator(uint64_t Seed,
67 explicit RandomNumberGeneratorWrapper(RandomNumberGenerator &RNG) in RandomNumberGeneratorWrapper()
71 RandomNumberGenerator &RNG;
DIceRNG.cpp32 RandomNumberGenerator::RandomNumberGenerator(uint64_t Seed, llvm::StringRef) in RandomNumberGenerator() function in Ice::RandomNumberGenerator
35 RandomNumberGenerator::RandomNumberGenerator( in RandomNumberGenerator() function in Ice::RandomNumberGenerator
45 uint64_t RandomNumberGenerator::next(uint64_t Max) { in next()
DIceCfgNode.h105 void doNopInsertion(RandomNumberGenerator &RNG);
/external/llvm/include/llvm/Support/
DRandomNumberGenerator.h32 class RandomNumberGenerator {
42 RandomNumberGenerator(StringRef Salt);
51 RandomNumberGenerator(const RandomNumberGenerator &other) = delete;
52 RandomNumberGenerator &operator=(const RandomNumberGenerator &other) = delete;
/external/v8/src/base/utils/
Drandom-number-generator.cc22 static RandomNumberGenerator::EntropySource entropy_source = nullptr;
25 void RandomNumberGenerator::SetEntropySource(EntropySource source) { in SetEntropySource()
31 RandomNumberGenerator::RandomNumberGenerator() { in RandomNumberGenerator() function in v8::base::RandomNumberGenerator
90 int RandomNumberGenerator::NextInt(int max) { in NextInt()
108 double RandomNumberGenerator::NextDouble() { in NextDouble()
114 int64_t RandomNumberGenerator::NextInt64() { in NextInt64()
120 void RandomNumberGenerator::NextBytes(void* buffer, size_t buflen) { in NextBytes()
138 std::vector<uint64_t> RandomNumberGenerator::NextSample(uint64_t max, in NextSample()
171 std::vector<uint64_t> RandomNumberGenerator::NextSampleSlow( in NextSampleSlow()
206 int RandomNumberGenerator::Next(int bits) { in Next()
[all …]
Drandom-number-generator.h38 class V8_BASE_EXPORT RandomNumberGenerator final {
45 RandomNumberGenerator();
46 explicit RandomNumberGenerator(int64_t seed) { SetSeed(seed); } in RandomNumberGenerator() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DRandomNumberGenerator.h33 class RandomNumberGenerator {
55 RandomNumberGenerator(StringRef Salt);
60 RandomNumberGenerator(const RandomNumberGenerator &other) = delete;
61 RandomNumberGenerator &operator=(const RandomNumberGenerator &other) = delete;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DRandomNumberGenerator.cpp38 RandomNumberGenerator::RandomNumberGenerator(StringRef Salt) { in RandomNumberGenerator() function in RandomNumberGenerator
58 RandomNumberGenerator::result_type RandomNumberGenerator::operator()() { in operator ()()
/external/llvm/lib/Support/
DRandomNumberGenerator.cpp33 RandomNumberGenerator::RandomNumberGenerator(StringRef Salt) { in RandomNumberGenerator() function in RandomNumberGenerator
55 uint_fast64_t RandomNumberGenerator::operator()() { in operator ()()
DCMakeLists.txt76 RandomNumberGenerator.cpp
/external/v8/src/numbers/
Dmath-random.cc52 state.s0 = base::RandomNumberGenerator::MurmurHash3(seed); in RefillCache()
53 state.s1 = base::RandomNumberGenerator::MurmurHash3(~seed); in RefillCache()
62 base::RandomNumberGenerator::XorShift128(&state.s0, &state.s1); in RefillCache()
63 cache.set(i, base::RandomNumberGenerator::ToDouble(state.s0)); in RefillCache()
/external/angle/third_party/VulkanMemoryAllocator/src/
DSparseBindingTest.cpp63 virtual void Init(RandomNumberGenerator& rand) = 0;
68 void TestContent(RandomNumberGenerator& rand);
74 void FillImageCreateInfo(RandomNumberGenerator& rand);
76 void ValidateContent(RandomNumberGenerator& rand);
82 virtual void Init(RandomNumberGenerator& rand);
92 virtual void Init(RandomNumberGenerator& rand);
110 void BaseImage::TestContent(RandomNumberGenerator& rand) in TestContent()
118 void BaseImage::FillImageCreateInfo(RandomNumberGenerator& rand) in FillImageCreateInfo()
245 void BaseImage::ValidateContent(RandomNumberGenerator& rand) in ValidateContent()
436 void TraditionalImage::Init(RandomNumberGenerator& rand) in Init()
[all …]
DCommon.h266 class RandomNumberGenerator
269 RandomNumberGenerator() : m_Value{GetTickCount()} {} in RandomNumberGenerator() function
270 RandomNumberGenerator(uint32_t seed) : m_Value{seed} { } in RandomNumberGenerator() function
283 MyUniformRandomNumberGenerator(RandomNumberGenerator& gen) : m_Gen(gen) { } in MyUniformRandomNumberGenerator()
289 RandomNumberGenerator& m_Gen;
DTests.cpp318 RandomNumberGenerator mainRand{config.RandSeed}; in MainTest()
351 RandomNumberGenerator& localRand, in MainTest()
453 RandomNumberGenerator& localRand) in MainTest()
492 RandomNumberGenerator threadRand(randSeed); in MainTest()
1358 RandomNumberGenerator rand(667); in TestDefragmentationSimple()
1553 RandomNumberGenerator rand(668); in TestDefragmentationWholePool()
1734 RandomNumberGenerator rand = { 234522 }; in TestDefragmentationGpu()
2058 RandomNumberGenerator rand = { 234522 }; in TestDefragmentationIncrementalBasic()
2245 RandomNumberGenerator rand = { 234522 }; in TestDefragmentationIncrementalComplex()
2937 RandomNumberGenerator rand{645332}; in TestLinearAllocator()
[all …]
/external/v8/src/compiler/backend/
Dinstruction-scheduler.h15 class RandomNumberGenerator; variable
147 base::RandomNumberGenerator* random_number_generator() { in random_number_generator()
211 base::RandomNumberGenerator* random_number_generator() { in random_number_generator()
244 base::Optional<base::RandomNumberGenerator> random_number_generator_;
/external/v8/src/profiler/
Dsampling-heap-profiler.h20 class RandomNumberGenerator; variable
132 base::RandomNumberGenerator* random) in Observer()
156 base::RandomNumberGenerator* const random_;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DModule.cpp91 std::unique_ptr<RandomNumberGenerator> Module::createRNG(const Pass* P) const { in createRNG()
106 return std::unique_ptr<RandomNumberGenerator>(new RandomNumberGenerator(Salt)); in createRNG()
/external/tensorflow/tensorflow/core/graph/
Dtestlib.cc182 Node* RandomNumberGenerator(const string& op, Graph* g, Node* input, in RandomNumberGenerator() function
194 return RandomNumberGenerator("RandomUniform", g, input, dtype); in RandomUniform()
198 return RandomNumberGenerator("RandomStandardNormal", g, input, dtype); in RandomGaussian()
202 return RandomNumberGenerator("TruncatedNormal", g, input, dtype); in TruncatedNormal()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DModuleTest.cpp66 std::unique_ptr<RandomNumberGenerator> RNG = M.createRNG(&DP); in TEST()
/external/v8/src/heap/
Dmemory-measurement.h62 base::RandomNumberGenerator random_number_generator_;
/external/v8/src/base/
Dregion-allocator.h50 Address AllocateRegion(RandomNumberGenerator* rng, size_t size);
/external/llvm/lib/IR/
DModule.cpp70 RandomNumberGenerator *Module::createRNG(const Pass* P) const { in createRNG()
85 return new RandomNumberGenerator(Salt); in createRNG()
/external/swiftshader/third_party/subzero/unittest/
DIceELFSectionTest.cpp96 RandomNumberGenerator R(RandomSeed); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModule.h48 class RandomNumberGenerator; variable
257 std::unique_ptr<RandomNumberGenerator> createRNG(const Pass* P) const;
/external/llvm/include/llvm/IR/
DModule.h36 class RandomNumberGenerator; variable
252 RandomNumberGenerator *createRNG(const Pass* P) const;

123