Home
last modified time | relevance | path

Searched refs:GetClassId (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/runtime_core/assembler/tests/
Demitter_test.cpp76 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor)); in TEST()
97 ASSERT_EQ(mda.GetClassId(), class_id); in TEST()
131 auto class_id = pf->GetClassId(GetTypeDescriptor("R", &descriptor)); in TEST()
164 ASSERT_EQ(fda.GetClassId(), class_id); in TEST()
219 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor)); in TEST()
309 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor)); in TEST()
330 …std::vector<CatchInfo> catch_infos {{pf->GetClassId(GetTypeDescriptor("Exception1", &descriptor)),… in TEST()
331 … {pf->GetClassId(GetTypeDescriptor("Exception2", &descriptor)), 5 * 9}, in TEST()
443 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor)); in TEST()
471 auto class_id = pf->GetClassId(GetTypeDescriptor("R", &descriptor)); in TEST()
[all …]
Dassembler_emitter_test.cpp77 auto class_id = pf->GetClassId(GetTypeDescriptor("R", &descriptor));
118 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor));
137 EXPECT_EQ(mda.GetClassId(), class_id); in __anon654af7a10402()
167 auto class_id = pf->GetClassId(GetTypeDescriptor("R", &descriptor));
196 EXPECT_EQ(fda.GetClassId(), class_id); in __anon654af7a10602()
250 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor));
363 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor));
391 …std::vector<CatchInfo> catch_infos {{pf->GetClassId(GetTypeDescriptor("Exception1", &descriptor)),… in __anon654af7a10a02()
392 … {pf->GetClassId(GetTypeDescriptor("Exception2", &descriptor)), 16}, in __anon654af7a10a02()
510 auto class_id = pf->GetClassId(GetTypeDescriptor("_GLOBAL", &descriptor));
[all …]
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dmethod_literal.cpp49 … auto *annotationName = reinterpret_cast<const char *>(pf->GetStringData(ada.GetClassId()).data); in Initialize()
119 panda_file::ClassDataAccessor cda(*pf, mda.GetClassId()); in GetRecordName()
132 panda_file::ClassDataAccessor cda(*pf, mda.GetClassId()); in GetRecordNameWithSymbol()
Ddebug_info_extractor.cpp276 auto classId = mda.GetClassId(); in ExtractorMethodDebugInfo()
Dtype_literal_extractor.cpp45 …annotationName = reinterpret_cast<const char *>(jsPandaFile->GetStringData(ada.GetClassId()).data); in GetMethodAnnoOffset()
/arkcompiler/runtime_core/compiler/tests/
Dclass_hash_table_test.cpp334 auto class_id1_A = pfile->GetClassId(descriptor_A); in TEST_F()
335 auto class_id1_B = pfile->GetClassId(descriptor_B); in TEST_F()
336 auto class_id1_C = pfile->GetClassId(descriptor_C); in TEST_F()
337 auto class_id1_D = pfile->GetClassId(descriptor_D); in TEST_F()
338 auto class_id1_E = pfile->GetClassId(descriptor_E); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Djs_pandafile_executor_test.cpp76 File::EntityId classId = file->GetClassId(typeDesc); in HWTEST_F_L0()
112 File::EntityId classId = file->GetClassId(typeDesc); in HWTEST_F_L0()
150 File::EntityId classId = file->GetClassId(typeDesc); in HWTEST_F_L0()
Djs_pandafile_test.cpp130 File::EntityId classId = file->GetClassId(typeDesc); in HWTEST_F_L0()
164 File::EntityId classId = file->GetClassId(typeDesc); in HWTEST_F_L0()
214 File::EntityId classId = file->GetClassId(typeDesc); in HWTEST_F_L0()
247 File::EntityId classId = file->GetClassId(typeDesc); in HWTEST_F_L0()
Dpanda_file_translator_test.cpp76 File::EntityId classId = file->GetClassId(typeDesc); in HWTEST_F_L0()
119 File::EntityId classId = file->GetClassId(typeDesc); in HWTEST_F_L0()
Djs_pandafile_manager_test.cpp258 File::EntityId classId = file->GetClassId(typeDesc); in HWTEST_F_L0()
/arkcompiler/runtime_core/libpandafile/
Dmethod_data_accessor.h42 static File::EntityId GetClassId(const File &panda_file, File::EntityId method_id);
89 File::EntityId GetClassId() const in GetClassId() function
Dmethod_data_accessor-inl.h50 inline File::EntityId MethodDataAccessor::GetClassId(const File &panda_file, File::EntityId method_… in GetClassId() function
320 cb(panda_file::Type {panda_file::Type::TypeId::REFERENCE}, GetClassId()); in EnumerateTypesInProto()
340 …annotation_name = reinterpret_cast<const char *>(panda_file_.GetStringData(ada.GetClassId()).data); in GetNumericalAnnotation()
Dannotation_data_accessor.h82 File::EntityId GetClassId() const in GetClassId() function
Dclass_data_accessor.h114 File::EntityId GetClassId() const in GetClassId() function
Dfield_data_accessor.h49 File::EntityId GetClassId() const in GetClassId() function
Dfile_reader.cpp166 File::EntityId class_id(method_acc.GetClassId()); in CreateLiteralArrayItem()
189 File::EntityId ann_class_id {ann_acc.GetClassId()}; in CreateAnnotationItem()
268 auto *cls_item = CreateGenericClassItem(method_acc.GetClassId()); in CreateAnnotationItem()
276 auto *cls_item = CreateGenericClassItem(field_acc.GetClassId()); in CreateAnnotationItem()
452 auto *cls_item = CreateGenericClassItem(method_acc.GetClassId()); in CreateAnnotationItem()
465 auto *cls_item = CreateGenericClassItem(field_acc.GetClassId()); in CreateAnnotationItem()
991 File::EntityId class_id(method_acc.GetClassId()); in ReadIndexHeaders()
1012 File::EntityId class_id(field_acc.GetClassId()); in ReadIndexHeaders()
1015 auto *fclass_item = CreateForeignClassItem(field_acc.GetClassId()); in ReadIndexHeaders()
1020 auto *class_item = CreateClassItem(field_acc.GetClassId()); in ReadIndexHeaders()
Ddebug_info_extractor.cpp212 const char *class_name = utf::Mutf8AsCString(pf->GetStringData(cda.GetClassId()).data); in Extract()
Dfile.h146 EntityId GetClassId(const uint8_t *mutf8_name) const;
Dfile.cpp633 File::EntityId File::GetClassId(const uint8_t *mutf8_name) const in GetClassId() function in panda::panda_file::File
/arkcompiler/runtime_core/bytecode_optimizer/
Druntime_adapter.h119 return static_cast<size_t>(mda.GetClassId().GetOffset()); in GetClassIdForMethod()
126 auto string_data = panda_file_.GetStringData(mda.GetClassId()); in GetClassNameFromMethod()
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_item_container_test.cpp313 auto class_id = panda_file->GetClassId(class_name.data());
344 EXPECT_EQ(data_accessor.GetClassId().GetOffset(), class_item->GetOffset()); in __anon97c8f9170302()
357 EXPECT_EQ(data_accessor.GetClassId().GetOffset(), class_item->GetOffset()); in __anon97c8f9170402()
363 EXPECT_EQ(data_accessor.GetClassId().GetOffset(), class_item->GetOffset()); in __anon97c8f9170502()
377 EXPECT_EQ(data_accessor.GetClassId().GetOffset(), class_item->GetOffset()); in __anon97c8f9170802()
439 EXPECT_EQ(data_accessor.GetClassId().GetOffset(), class_item->GetOffset()); in __anon97c8f9170b02()
737 EXPECT_EQ(method_data_accessor.GetClassId().GetOffset(), class_item->GetOffset());
745 EXPECT_EQ(field_data_accessor.GetClassId().GetOffset(), class_item->GetOffset());
Dfile_test.cpp120 … EXPECT_EQ(panda_file->GetClassId(reinterpret_cast<const uint8_t *>(names[i].c_str())).GetOffset(),
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_builder.h259 auto GetClassId() const in GetClassId() function
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Druntime_adapter_test.cpp59 auto class_id = cda.GetClassId().GetOffset(); in GetPointers()
/arkcompiler/runtime_core/disassembler/
Ddisassembler.cpp658 … const auto class_name = StringDataToString(file_->GetStringData(method_accessor.GetClassId())); in GetMetaData()
859 ss << GetFullRecordName(field_accessor.GetClassId()) << "." in ScalarValueToString()
912 ss << GetFullRecordName(field_accessor.GetClassId()) << "." in ArrayValueToString()
930 std::string class_name = GetFullRecordName(method_accessor.GetClassId()); in GetFullMethodName()
973 …<< class_accessor.GetClassId() << ", size: 0x" << std::setfill('0') << std::setw(DEFAULT_OFFSET_WI… in GetRecordInfo()

12