Searched refs:internal_array (Results 1 – 2 of 2) sorted by relevance
/ark/js_runtime/ecmascript/builtins/tests/ |
D | builtins_weak_map_test.cpp | 104 JSHandle<TaggedArray> internal_array(factory->NewTaggedArray(2)); in HWTEST_F_L0() local 106 internal_array->Set(thread, 0, value); in HWTEST_F_L0() 107 internal_array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0() 108 auto result = JSArray::CreateArrayFromList(thread, internal_array); in HWTEST_F_L0()
|
D | builtins_map_test.cpp | 118 JSHandle<TaggedArray> internal_array(factory->NewTaggedArray(2)); in HWTEST_F_L0() local 119 internal_array->Set(thread, 0, JSTaggedValue(i)); in HWTEST_F_L0() 120 internal_array->Set(thread, 1, JSTaggedValue(i)); in HWTEST_F_L0() 121 auto arr = JSArray::CreateArrayFromList(thread, internal_array); in HWTEST_F_L0()
|