Home
last modified time | relevance | path

Searched refs:normalArrayLength (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_array.cpp81 uint32_t normalArrayLength = length.ToUint32(); in ArrayCreate() local
94 JSArray::Cast(*obj)->SetArrayLength(thread, normalArrayLength); in ArrayCreate()
96 JSArray::SetCapacity(thread, obj, 0, normalArrayLength, true); in ArrayCreate()
101 normalArrayLength != 0) { in ArrayCreate()
/arkcompiler/ets_runtime/ecmascript/shared_objects/
Djs_shared_array.cpp97 uint32_t normalArrayLength = length.ToUint32(); in ArrayCreate() local
109 JSSharedArray::Cast(*obj)->SetArrayLength(thread, normalArrayLength); in ArrayCreate()
111 JSSharedArray::SetCapacity(thread, obj, 0, normalArrayLength, true); in ArrayCreate()