Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/mem/
Dallocation_inspector.cpp40 double random = base::RandomGenerator::NextDouble(); in GetNextStepSize()
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp36 thread_local uint64_t RandomGenerator::randomState_ {0};
1316 uint64_t RandomGenerator::XorShift64(uint64_t *pVal) in XorShift64()
1326 void RandomGenerator::InitRandom(JSThread *thread) in InitRandom()
1338 double RandomGenerator::NextDouble() in NextDouble()
1344 double RandomGenerator::ToDouble(uint64_t state) in ToDouble()
1350 int32_t RandomGenerator::Next(int bits) in Next()
1356 int32_t RandomGenerator::GenerateIdentityHash() in GenerateIdentityHash()
1358 return RandomGenerator::Next(INT32_BITS) & INT32_MAX; in GenerateIdentityHash()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_node.h71 hash = base::RandomGenerator::GenerateIdentityHash(); in Hash()
Decma_vm.cpp55 using RandomGenerator = base::RandomGenerator; typedef
130 RandomGenerator::InitRandom(GetAssociatedJSThread()); in PostFork()
Dlinked_hash_table.cpp272 hash = base::RandomGenerator::GenerateIdentityHash(); in Hash()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_math.cpp23 using RandomGenerator = base::RandomGenerator; typedef
641 return GetTaggedDouble(RandomGenerator::NextDouble()); in Random()
Dbuiltins.cpp139 using RandomGenerator = base::RandomGenerator; typedef
1689 RandomGenerator::InitRandom(thread_); in InitializeMath()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightset.cpp468 hash = static_cast<uint32_t>(base::RandomGenerator::GenerateIdentityHash()); in Hash()
Djs_api_lightweightmap.cpp480 hash = base::RandomGenerator::GenerateIdentityHash(); in Hash()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp294 int32_t hash = base::RandomGenerator::GenerateIdentityHash(); in GetObjectHash()