Home
last modified time | relevance | path

Searched refs:entityId (Results 1 - 25 of 27) sorted by relevance

12

/arkcompiler/runtime_core/static_core/abc2program/
H A Dabc_string_table.cpp23 panda_file::File::EntityId entityId(stringId); in GetStringById()
24 return GetStringById(entityId); in GetStringById()
27 std::string AbcStringTable::GetStringById(panda_file::File::EntityId entityId) const in GetStringById()
29 std::string str = StringDataToString(file_.GetStringData(entityId)); in GetStringById()
42 void AbcStringTable::AddStringId(panda_file::File::EntityId entityId) in AddStringId() argument
44 AddStringId(entityId.GetOffset()); in AddStringId()
H A Dabc_file_entity_processor.cpp20 AbcFileEntityProcessor::AbcFileEntityProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData) in AbcFileEntityProcessor() argument
21 : entityId_(entityId), keyData_(keyData) in AbcFileEntityProcessor()
H A Dabc_string_table.h33 std::string GetStringById(panda_file::File::EntityId entityId) const;
35 void AddStringId(panda_file::File::EntityId entityId);
H A Dabc_class_processor.cpp24 AbcClassProcessor::AbcClassProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData) in AbcClassProcessor() argument
25 : AbcFileEntityProcessor(entityId, keyData) in AbcClassProcessor()
H A Dabc_field_processor.cpp21 AbcFieldProcessor::AbcFieldProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData, in AbcFieldProcessor() argument
23 : AbcFileEntityProcessor(entityId, keyData), record_(record), isExternal_(isExternal) in AbcFieldProcessor()
H A Dabc_class_processor.h27 AbcClassProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData);
H A Dabc_field_processor.h27 AbcFieldProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData, pandasm::Record &record,
H A Dabc_method_processor.h26 AbcMethodProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData);
H A Dabc_literal_array_processor.h25 AbcLiteralArrayProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData);
H A Dabc_code_processor.h30 AbcCodeProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData,
H A Dabc_file_entity_processor.h27 AbcFileEntityProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData);
H A Dabc_method_processor.cpp25 AbcMethodProcessor::AbcMethodProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData) in AbcMethodProcessor() argument
26 : AbcFileEntityProcessor(entityId, keyData), function_(pandasm::Function("", keyData.GetFileLanguage())) in AbcMethodProcessor()
H A Dabc_literal_array_processor.cpp21 AbcLiteralArrayProcessor::AbcLiteralArrayProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData) in AbcLiteralArrayProcessor() argument
22 : AbcFileEntityProcessor(entityId, keyData) in AbcLiteralArrayProcessor()
H A Dabc_code_processor.cpp25 AbcCodeProcessor::AbcCodeProcessor(panda_file::File::EntityId entityId, Abc2ProgramKeyData &keyData, in AbcCodeProcessor() argument
27 : AbcFileEntityProcessor(entityId, keyData), methodId_(methodId) in AbcCodeProcessor()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/evaluation/
H A Dhelpers.cpp90 panda_file::File::EntityId entityId(id); in FindEvaluationMethodClass()
91 if (pf->IsExternal(entityId)) { in FindEvaluationMethodClass()
95 panda_file::ClassDataAccessor cda(*pf, entityId); in FindEvaluationMethodClass()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler.h356 bool IsSkippableCtor(uint32_t entityId) in IsSkippableCtor() argument
358 return entityId == 0 || skipCtorMethodId_.find(entityId) != skipCtorMethodId_.end(); in IsSkippableCtor()
361 bool InsertDefinedCtor(uint32_t entityId) in InsertDefinedCtor() argument
363 if (definedCtorMethodId_.find(entityId) == definedCtorMethodId_.end()) { in InsertDefinedCtor()
364 definedCtorMethodId_.insert(entityId); in InsertDefinedCtor()
H A Dpgo_profiler.cpp56 auto entityId = ctorMethod->GetMethodId().GetOffset(); in ProfileDefineClass() local
57 if (!InsertDefinedCtor(entityId)) { in ProfileDefineClass()
64 SetRootProfileType(chc, abcId, entityId, ProfileType::Kind::ConstructorId); in ProfileDefineClass()
69 SetRootProfileType(ihc, abcId, entityId, ProfileType::Kind::ClassId); in ProfileDefineClass()
74 SetRootProfileType(phc, abcId, entityId, ProfileType::Kind::PrototypeId); in ProfileDefineClass()
97 auto entityId = ctorMethod->GetMethodId().GetOffset(); in ProfileClassRootHClass() local
98 if (IsSkippableCtor(entityId)) { in ProfileClassRootHClass()
104 SetRootProfileType(rootHc, abcId, entityId, kind); in ProfileClassRootHClass()
/arkcompiler/runtime_core/static_core/verification/verifier/
H A Dverifier.cpp111 &methodsSet](const panda_file::File &file, const panda_file::File::EntityId &entityId) { in GetFileHandler()
112 if (!file.IsExternal(entityId)) { in GetFileHandler()
113 auto optLang = panda_file::ClassDataAccessor {file, entityId}.GetSourceLang(); in GetFileHandler()
126 const Class *klass = ext->GetClass(file, entityId); in GetFileHandler()
139 panda_file::File::EntityId entityId {id}; in GetFileHandler()
140 if (!handleClass(file, entityId)) { in GetFileHandler()
/arkcompiler/ets_runtime/ecmascript/debugger/tests/
H A Djs_debugger_test.cpp104 panda_file::File::EntityId entityId(42); in HWTEST_F_L0()
106 JSPtLocation location(jspandaFilePtrTest, entityId, 60, "sourceFile.js"); in HWTEST_F_L0()
H A Ddropframe_manager_test.cpp152 panda_file::File::EntityId entityId(42); in HWTEST_F_L0()
153 std::tuple<JSPandaFile*, panda_file::File::EntityId> methodInfo(jspandaFilePtr, entityId); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
H A Daot_builder.cpp316 auto entityId = panda_file::File::EntityId(classes[i]); in AddClassHashTable() local
317 auto name = pandaFile.GetStringData(entityId).data; in AddClassHashTable()
323 entityPair.entityIdOffset = entityId.GetOffset(); in AddClassHashTable()
348 auto entityId = panda_file::File::EntityId(classes[i]); in ResolveConflictClassHashTable() local
349 auto name = pandaFile.GetStringData(entityId).data; in ResolveConflictClassHashTable()
367 entityPair.entityIdOffset = entityId.GetOffset(); in ResolveConflictClassHashTable()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dbytecode_info_collector.cpp303 auto entityId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() local
306 innerMethodId = entityId.GetOffset(); in CollectMethodInfoFromBC()
314 auto entityId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() local
317 innerMethodId = entityId.GetOffset(); in CollectMethodInfoFromBC()
/arkcompiler/ets_runtime/ecmascript/patch/
H A Dpatch_loader.cpp536 EntityId entityId; in CollectClassInfo()
539 entityId = jsPandaFile->ResolveMethodIndex(methodLiteral->GetMethodId(), in CollectClassInfo()
544 entityId = jsPandaFile->ResolveMethodIndex(methodLiteral->GetMethodId(), in CollectClassInfo()
550 className = GetRealName(jsPandaFile, entityId, className); in CollectClassInfo()
577 CString PatchLoader::GetRealName(const JSPandaFile *jsPandaFile, EntityId entityId, CString &className) in GetRealName() argument
579 std::string methodName(MethodLiteral::GetMethodName(jsPandaFile, entityId)); in GetRealName()
H A Dpatch_loader.h140 static CString GetRealName(const JSPandaFile *jsPandaFile, EntityId entityId, CString &className);
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dfile.cpp628 auto entityId = File::EntityId(entityPair->entityIdOffset); in GetClassIdFromClassHashTable() local
629 auto descriptor = GetStringData(entityId).data; in GetClassIdFromClassHashTable()
630 if (entityId.IsValid() && utf::CompareMUtf8ToMUtf8(descriptor, mutf8Name) == 0) { in GetClassIdFromClassHashTable()
631 return entityId; in GetClassIdFromClassHashTable()

Completed in 20 milliseconds

12