Home
last modified time | relevance | path

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

12

/third_party/node/deps/v8/src/base/utils/
Drandom-number-generator.cc26 static RandomNumberGenerator::EntropySource entropy_source = nullptr;
29 void RandomNumberGenerator::SetEntropySource(EntropySource source) { in SetEntropySource()
35 RandomNumberGenerator::RandomNumberGenerator() { in RandomNumberGenerator() function in v8::base::RandomNumberGenerator
96 int RandomNumberGenerator::NextInt(int max) { in NextInt()
114 double RandomNumberGenerator::NextDouble() { in NextDouble()
120 int64_t RandomNumberGenerator::NextInt64() { in NextInt64()
126 void RandomNumberGenerator::NextBytes(void* buffer, size_t buflen) { in NextBytes()
144 std::vector<uint64_t> RandomNumberGenerator::NextSample(uint64_t max, in NextSample()
177 std::vector<uint64_t> RandomNumberGenerator::NextSampleSlow( in NextSampleSlow()
212 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
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DRandomNumberGenerator.h32 class RandomNumberGenerator {
54 RandomNumberGenerator(StringRef Salt);
59 RandomNumberGenerator(const RandomNumberGenerator &other) = delete;
60 RandomNumberGenerator &operator=(const RandomNumberGenerator &other) = delete;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRandomNumberGenerator.cpp33 RandomNumberGenerator::RandomNumberGenerator(StringRef Salt) { in RandomNumberGenerator() function in RandomNumberGenerator
53 RandomNumberGenerator::result_type RandomNumberGenerator::operator()() { in operator ()()
DCMakeLists.txt122 RandomNumberGenerator.cpp
/third_party/node/deps/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()
/third_party/node/deps/v8/src/compiler/backend/
Dinstruction-scheduler.h143 base::RandomNumberGenerator* random_number_generator() { in random_number_generator()
213 base::RandomNumberGenerator* random_number_generator() { in random_number_generator()
246 base::Optional<base::RandomNumberGenerator> random_number_generator_;
Dinstruction-scheduler.cc87 base::Optional<base::RandomNumberGenerator>(FLAG_random_seed); in InstructionScheduler()
/third_party/node/deps/v8/src/profiler/
Dsampling-heap-profiler.h20 class RandomNumberGenerator; variable
133 base::RandomNumberGenerator* random) in Observer()
157 base::RandomNumberGenerator* const random_;
/third_party/skia/third_party/externals/d3d12allocator/src/
DCommon.h326 class RandomNumberGenerator
329 RandomNumberGenerator() : m_Value{GetTickCount()} {} in RandomNumberGenerator() function
330 RandomNumberGenerator(uint32_t seed) : m_Value{seed} { } in RandomNumberGenerator() function
344 MyUniformRandomNumberGenerator(RandomNumberGenerator& gen) : m_Gen(gen) { } in MyUniformRandomNumberGenerator()
348 RandomNumberGenerator& m_Gen;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp92 std::unique_ptr<RandomNumberGenerator> Module::createRNG(const Pass* P) const { in createRNG()
107 return std::unique_ptr<RandomNumberGenerator>(new RandomNumberGenerator(Salt)); in createRNG()
/third_party/node/deps/v8/src/base/
Demulated-virtual-address-subspace.h125 RandomNumberGenerator rng_; in NON_EXPORTED_BASE()
Dvirtual-address-space.h156 RandomNumberGenerator rng_;
Dregion-allocator.h73 Address AllocateRegion(RandomNumberGenerator* rng, size_t size);
Dregion-allocator.cc151 RandomNumberGenerator* rng, size_t size) { in AllocateRegion()
/third_party/node/deps/v8/src/heap/
Dmemory-measurement.h63 base::RandomNumberGenerator random_number_generator_;
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/
DIceELFSectionTest.cpp96 RandomNumberGenerator R(RandomSeed); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModule.h50 class RandomNumberGenerator; variable
260 std::unique_ptr<RandomNumberGenerator> createRNG(const Pass* P) const;
/third_party/node/deps/v8/src/sandbox/
Dsandbox.cc247 base::RandomNumberGenerator rng; in InitializeAsPartiallyReservedSandbox()
/third_party/node/deps/v8/src/execution/
Disolate.h72 class RandomNumberGenerator; variable
1530 base::RandomNumberGenerator* random_number_generator();
1532 base::RandomNumberGenerator* fuzzer_rng();
2136 base::RandomNumberGenerator* random_number_generator_ = nullptr;
2137 base::RandomNumberGenerator* fuzzer_rng_ = nullptr;
Disolate.cc4487 static base::RandomNumberGenerator* ensure_rng_exists( in ThrowInternal()
4488 base::RandomNumberGenerator** rng, int seed) { in ThrowInternal()
4491 *rng = new base::RandomNumberGenerator(seed); in ThrowInternal()
4493 *rng = new base::RandomNumberGenerator(); in ThrowInternal()
4499 base::RandomNumberGenerator* Isolate::random_number_generator() { in ThrowInternal()
4505 base::RandomNumberGenerator* Isolate::fuzzer_rng() { in ThrowInternal()
4512 fuzzer_rng_ = new base::RandomNumberGenerator(seed); in ThrowInternal()
/third_party/node/deps/v8/src/d8/
Dd8-platforms.cc315 base::RandomNumberGenerator rng_;
/third_party/node/deps/v8/src/base/platform/
Dplatform-starboard.cc70 static LazyInstance<RandomNumberGenerator>::type
Dplatform-posix.cc103 DEFINE_LAZY_LEAKY_OBJECT_GETTER(RandomNumberGenerator,
Dplatform-win32.cc737 DEFINE_LAZY_LEAKY_OBJECT_GETTER(RandomNumberGenerator,

12