Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/tests/
Dhuge_object_test.cpp82 JSHandle<TaggedArray> arrayHandle(thread, array); in HWTEST_F_L0() local
84 arrayHandle->Set(thread, 0, newObj.GetTaggedValue()); in HWTEST_F_L0()
86 EXPECT_EQ(*arrayHandle, reinterpret_cast<TaggedObject *>(array)); in HWTEST_F_L0()
90 EXPECT_EQ(*arrayHandle, reinterpret_cast<TaggedObject *>(array)); in HWTEST_F_L0()
Dtagged_dictionary_test.cpp182 JSHandle<JSTaggedValue> arrayHandle(thread, in HWTEST_F_L0() local
184 int entry = dictHandle->FindEntry(arrayHandle.GetTaggedValue()); in HWTEST_F_L0()
334 JSHandle<JSTaggedValue> arrayHandle(thread, JSTaggedValue(9)); in HWTEST_F_L0() local
335 int entry = dictHandle->FindEntry(arrayHandle.GetTaggedValue()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Darray_helper_test.cpp125 JSHandle<JSTaggedValue> arrayHandle(thread, handleArr); in HWTEST_F_L0() local
126 EXPECT_EQ(ArrayHelper::GetLength(thread, arrayHandle), 10U); in HWTEST_F_L0()
159 JSHandle<JSTaggedValue> arrayHandle(thread, handleArr); in HWTEST_F_L0() local
160 EXPECT_EQ(ArrayHelper::GetLength(thread, arrayHandle), 0U); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.cpp155 JSHandle<JSArray> arrayHandle(thread, arr); in LowerNTypedCreateArrayWithBuffer() local
156 JSHandle<JSHClass> oldHClass(thread, arrayHandle->GetClass()); in LowerNTypedCreateArrayWithBuffer()
161 JSHandle<TaggedArray> elements(thread, arrayHandle->GetElements()); in LowerNTypedCreateArrayWithBuffer()
Dntype_mcr_lowering.cpp109 JSHandle<JSArray> arrayHandle(thread, arr); in LowerCreateArrayWithBuffer() local
110 TaggedArray *arrayLiteral = TaggedArray::Cast(arrayHandle->GetElements()); in LowerCreateArrayWithBuffer()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_plainarray_test.cpp161 JSHandle<JSAPIPlainArray> arrayHandle(thread, result); in HWTEST_F_L0() local
162 JSTaggedValue resultProto = JSObject::GetPrototype(JSHandle<JSObject>::Cast(arrayHandle)); in HWTEST_F_L0()
165 int size = arrayHandle->GetSize(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime_stub-inl.h306 auto arrayHandle = JSHandle<TaggedArray>(thread, array); in StoreWithTransition() local
307 properties = factory->CopyArray(arrayHandle, capacity, in StoreWithTransition()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.cpp1322 JSHandle<TaggedArray> arrayHandle(thread_, classLiteral->GetArray()); in FillSnapshotConstantPoolList() local
1332 CollectLiteralInfo(arrayHandle, data.index, newCP, bcInfoCollector, ihc, chc); in FillSnapshotConstantPoolList()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp265 …JSHandle<TaggedArray> arrayHandle = GetHArg<TaggedArray>(argv, argc, 2); // 2: means the second … in DEF_RUNTIME_STUBS() local
276 …properties = factory->CopyArray(arrayHandle, capacity, JSObject::ComputePropertyCapacity(capacity)… in DEF_RUNTIME_STUBS()
Druntime_stubs-inl.h860 JSHandle<TaggedArray> arrayHandle(thread, classLiteral->GetArray()); in RuntimeCreateClassWithBuffer()
862 ClassInfoExtractor::BuildClassInfoExtractorFromLiteral(thread, extractor, arrayHandle); in RuntimeCreateClassWithBuffer()