Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_shared_array_test.cpp92 HWTEST_F_L0(JSSharedArrayTest, ArraySetLength) in HWTEST_F_L0() argument
101 ASSERT_FALSE(JSSharedArray::ArraySetLength(thread, obj, desc1)); in HWTEST_F_L0()
118 ASSERT_FALSE(JSSharedArray::ArraySetLength(thread, obj, desc2)); in HWTEST_F_L0()
129 ASSERT_TRUE(JSSharedArray::ArraySetLength(thread, obj, desc)); in HWTEST_F_L0()
140 ASSERT_TRUE(JSSharedArray::ArraySetLength(thread, obj, desc)); in HWTEST_F_L0()
152 ASSERT_FALSE(JSSharedArray::ArraySetLength(thread, obj, desc1)); in HWTEST_F_L0()
155 ASSERT_FALSE(JSSharedArray::ArraySetLength(thread, obj, desc2)); in HWTEST_F_L0()
169 ASSERT_TRUE(JSSharedArray::ArraySetLength(thread, obj, desc1)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/shared_objects/
Djs_shared_array.h40 …static bool ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const PropertyDescri…
Djs_shared_array.cpp233 bool JSSharedArray::ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const Propert… in ArraySetLength() function in panda::ecmascript::JSSharedArray
334 return ArraySetLength(thread, array, desc); in DefineOwnProperty()
/arkcompiler/ets_runtime/ecmascript/
Djs_array.h41 …static bool ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const PropertyDescri…
Djs_array.cpp289 bool JSArray::ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const PropertyDescr… in ArraySetLength() function in panda::ecmascript::JSArray
376 return ArraySetLength(thread, array, desc); in DefineOwnProperty()