Home
last modified time | relevance | path

Searched refs:RandomGenerator (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp32 thread_local uint64_t RandomGenerator::randomState {0};
822 uint64_t& RandomGenerator::GetRandomState() in GetRandomState()
826 uint64_t RandomGenerator::XorShift64(uint64_t *pVal) in XorShift64()
835 void RandomGenerator::InitRandom() in InitRandom()
Dnumber_helper.h121 class RandomGenerator {
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_math.cpp26 using RandomGenerator = base::RandomGenerator; typedef
592 uint64_t &randomState = RandomGenerator::GetRandomState(); in Random()
593 uint64_t val = RandomGenerator::XorShift64(&randomState); in Random()
Dbuiltins.cpp144 using RandomGenerator = base::RandomGenerator; typedef
1504 RandomGenerator::InitRandom(); in InitializeMath()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.cpp90 using RandomGenerator = base::RandomGenerator; typedef
132 RandomGenerator::InitRandom(); in PostFork()