Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp32 thread_local uint64_t RandomGenerator::randomState_ {0};
831 uint64_t RandomGenerator::XorShift64(uint64_t *pVal) in XorShift64()
841 void RandomGenerator::InitRandom() in InitRandom()
852 double RandomGenerator::NextDouble() in NextDouble()
858 double RandomGenerator::ToDouble(uint64_t state) in ToDouble()
864 int32_t RandomGenerator::Next(int bits) in Next()
870 int32_t RandomGenerator::GenerateIdentityHash() in GenerateIdentityHash()
872 return RandomGenerator::Next(INT32_BITS) & INT32_MAX; in GenerateIdentityHash()
Dnumber_helper.h127 class RandomGenerator {
/arkcompiler/ets_runtime/ecmascript/mem/
Dallocation_inspector.cpp41 double random = base::RandomGenerator::NextDouble(); in GetNextStepSize()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.cpp92 using RandomGenerator = base::RandomGenerator; typedef
140 RandomGenerator::InitRandom(); in PostFork()
Dtagged_node.h68 hash = base::RandomGenerator::GenerateIdentityHash(); in Hash()
Dlinked_hash_table.cpp246 hash = base::RandomGenerator::GenerateIdentityHash(); in Hash()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_math.cpp26 using RandomGenerator = base::RandomGenerator; typedef
618 return GetTaggedDouble(RandomGenerator::NextDouble()); in Random()
Dbuiltins.cpp147 using RandomGenerator = base::RandomGenerator; typedef
1658 RandomGenerator::InitRandom(); in InitializeMath()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightset.cpp465 hash = base::RandomGenerator::GenerateIdentityHash(); in Hash()
Djs_api_lightweightmap.cpp469 hash = base::RandomGenerator::GenerateIdentityHash(); in Hash()