| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | huge_object_test.cpp | 82 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()
|
| D | tagged_dictionary_test.cpp | 182 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/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_core.cpp | 65 VMHandle<coretypes::Array> arrayHandle(coroutine, arr); in StdCoreStackTraceLines() local 70 arrayHandle.GetPtr()->Set(i, str); in StdCoreStackTraceLines() 73 return reinterpret_cast<EtsArray *>(arrayHandle.GetPtr()); in StdCoreStackTraceLines()
|
| D | std_core_Type.cpp | 585 …VMHandle<EtsObjectArray> arrayHandle(coroutine, EtsObjectArray::Create(typeClass, len)->GetCoreTyp… in TypeAPIMakeArrayInstance() local 586 for (size_t i = 0; i < arrayHandle->GetLength(); ++i) { in TypeAPIMakeArrayInstance() 588 arrayHandle->Set(i, elementHandle.GetPtr()); in TypeAPIMakeArrayInstance() 590 return arrayHandle->AsObject(); in TypeAPIMakeArrayInstance()
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | array_helper_test.cpp | 125 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/runtime_core/static_core/runtime/core/ |
| D | core_vm.cpp | 248 VMHandle<coretypes::Array> arrayHandle(thread, array); in CreateArgumentsArray() local 252 arrayHandle.GetPtr()->Set(i, str); in CreateArgumentsArray() 255 return arrayHandle.GetPtr(); in CreateArgumentsArray()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | aot_compiler_preprocessor.cpp | 230 JSHandle<JSArray> arrayHandle(thread, arr); in GenerateGlobalTypes() local 233 … ptManager->RecordElements(id, arrayHandle->GetElements()); in GenerateGlobalTypes()
|
| D | ntype_hcr_lowering.cpp | 92 JSHandle<JSArray> arrayHandle(thread_, arr); in LowerCreateArrayWithBuffer() local 93 TaggedArray *arrayLiteral = TaggedArray::Cast(arrayHandle->GetElements()); in LowerCreateArrayWithBuffer()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_vm.cpp | 398 EtsHandle<EtsObjectArray> arrayHandle(coroutine, etsArray); in CreateArgumentsArray() local 402 arrayHandle.GetPtr()->Set(i, str->AsObject()); in CreateArgumentsArray() 405 return arrayHandle.GetPtr(); in CreateArgumentsArray()
|
| /arkcompiler/ets_runtime/ecmascript/containers/tests/ |
| D | containers_plainarray_test.cpp | 161 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/compiler/aot_snapshot/ |
| D | snapshot_constantpool_data.cpp | 163 JSHandle<TaggedArray> arrayHandle(thread_, classLiteral->GetArray()); in StoreDataToGlobalData() local 179 … CollectLiteralInfo(arrayHandle, data.constantPoolIdx_, snapshotCp, skippedMethods, ihc, chc); in StoreDataToGlobalData()
|
| /arkcompiler/runtime_core/static_core/runtime/coretypes/ |
| D | string.cpp | 183 VMHandle<Array> arrayHandle(thread, chararray); in CreateNewStringFromChars() local 200 … src = reinterpret_cast<uint16_t *>(ToUintPtr<uint32_t>(arrayHandle->GetData()) + (offset << 1UL)); in CreateNewStringFromChars() 225 VMHandle<Array> arrayHandle(thread, bytearray); in CreateNewStringFromBytes() local 239 src = reinterpret_cast<uint8_t *>(ToUintPtr<uint32_t>(arrayHandle->GetData()) + offset); in CreateNewStringFromBytes()
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | ic_runtime_stub-inl.h | 343 auto arrayHandle = JSHandle<TaggedArray>(thread, array); in StoreWithTransition() local 347 properties = factory->CopyArray(arrayHandle, capacity, newLen); in StoreWithTransition()
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs-inl.h | 893 JSHandle<TaggedArray> arrayHandle(thread, classLiteral->GetArray()); in RuntimeCreateClassWithBuffer() 895 ClassInfoExtractor::BuildClassInfoExtractorFromLiteral(thread, extractor, arrayHandle); in RuntimeCreateClassWithBuffer() 938 JSHandle<TaggedArray> arrayHandle(thread, classLiteral->GetArray()); in RuntimeCreateSharedClass() 939 auto literalLength = arrayHandle->GetLength(); in RuntimeCreateSharedClass() 941 auto fieldTypeId = static_cast<uint32_t>(arrayHandle->Get(literalLength - 1).GetInt()); in RuntimeCreateSharedClass() 942 arrayHandle->Trim(thread, literalLength - 1); in RuntimeCreateSharedClass() 944 ClassInfoExtractor::BuildClassInfoExtractorFromLiteral(thread, extractor, arrayHandle); in RuntimeCreateSharedClass()
|
| D | runtime_stubs.cpp | 344 …JSHandle<TaggedArray> arrayHandle = GetHArg<TaggedArray>(argv, argc, 2); // 2: means the second … in DEF_RUNTIME_STUBS() local 358 properties = factory->CopyArray(arrayHandle, capacity, newLen); in DEF_RUNTIME_STUBS()
|