Home
last modified time | relevance | path

Searched refs:GetCodeId (Results 1 – 18 of 18) sorted by relevance

/ark/runtime_core/libpandafile/external/
Dfile_ext.cpp59 if (mda.GetCodeId().has_value()) { in QueryMethodSymByOffset()
60 panda::panda_file::CodeDataAccessor ca {*panda_file_, mda.GetCodeId().value()}; in QueryMethodSymByOffset()
62 entry.id_ = mda.GetCodeId().value(); in QueryMethodSymByOffset()
68 if (mda.GetCodeId().value().GetOffset() <= offset && in QueryMethodSymByOffset()
69 offset < mda.GetCodeId().value().GetOffset() + ca.GetCodeSize()) { in QueryMethodSymByOffset()
88 if (mda.GetCodeId().has_value()) { in QueryAllMethodSyms()
89 panda::panda_file::CodeDataAccessor ca {*panda_file_, mda.GetCodeId().value()}; in QueryAllMethodSyms()
97 res.push_back({mda.GetCodeId().value(), ca.GetCodeSize(), ss.str()}); in QueryAllMethodSyms()
/ark/runtime_core/libpandafile/
Dmethod_data_accessor-inl.h28 GetCodeId(); in SkipCode()
61 inline std::optional<File::EntityId> MethodDataAccessor::GetCodeId() in GetCodeId() function
Dcode_data_accessor.h160 File::EntityId GetCodeId() const in GetCodeId() function
Dmethod_data_accessor.h102 std::optional<File::EntityId> GetCodeId();
/ark/runtime_core/runtime/tests/
Ddebugger_test.cpp101 ASSERT_TRUE(mda.GetCodeId()); in TEST_F()
102 code_id = mda.GetCodeId().value(); in TEST_F()
/ark/runtime_core/assembler/tests/
Demitter_test.cpp104 ASSERT_TRUE(mda.GetCodeId().has_value()); in TEST()
106 panda_file::CodeDataAccessor cdacc(*pf, mda.GetCodeId().value()); in TEST()
222 panda_file::CodeDataAccessor cdacc(*pf, mda.GetCodeId().value()); in TEST()
312 panda_file::CodeDataAccessor cdacc(*pf, mda.GetCodeId().value()); in TEST()
/ark/runtime_core/disassembler/
Ddisassembler.cpp195 if (method_accessor.GetCodeId().has_value()) { in GetMethod()
196 … const IdList id_list = GetInstructions(method, method_id, method_accessor.GetCodeId().value()); in GetMethod()
976 if (method_accessor.GetCodeId().has_value()) { in GetMethodInfo()
978 << method_accessor.GetCodeId().value().GetOffset(); in GetMethodInfo()
980 GetInsInfo(method_accessor.GetCodeId().value(), method_info); in GetMethodInfo()
/ark/runtime_core/runtime/include/
Dmethod-inl.h268 panda_file::CodeDataAccessor cda(*panda_file_, mda.GetCodeId().value()); in EnumerateTryBlocks()
Dmethod.h253 panda_file::File::EntityId GetCodeId() const in GetCodeId() function
/ark/js_runtime/ecmascript/class_linker/
Dpanda_file_translator.cpp84 auto codeId = mda.GetCodeId(); in TranslateClasses()
96 InitializeMemory(method, jsPandaFile, mda.GetMethodId(), codeDataAccessor.GetCodeId(), in TranslateClasses()
/ark/runtime_core/libpandafile/tests/
Dfile_item_container_test.cpp311 EXPECT_FALSE(data_accessor.GetCodeId().has_value()); in TEST()
373 auto code_id = data_accessor.GetCodeId(); in TEST()
/ark/runtime_core/runtime/
Dmethod.cpp339 panda_file::CodeDataAccessor cda(*panda_file_, mda.GetCodeId().value()); in FindCatchBlock()
Dclass_linker.cpp357 auto code_id = method_data_accessor->GetCodeId(); in LoadMethod()
/ark/runtime_core/verification/job_queue/
Dcache.cpp648 auto code_id = const_cast<panda_file::MethodDataAccessor &>(mda).GetCodeId(); in InitializeCode()
/ark/runtime_core/runtime/interpreter/
Dinterpreter-inl.h2970 panda_file::CodeDataAccessor cda(*method->GetPandaFile(), method->GetCodeId()); in CallInterpreter()
3026 panda_file::CodeDataAccessor cda(*method->GetPandaFile(), method->GetCodeId()); in CallInterpreterStackless()
/ark/js_runtime/ecmascript/compiler/
Dbytecode_circuit_builder.cpp157 panda_file::CodeDataAccessor cda(file, mda.GetCodeId().value()); in CollectTryCatchBlockInfo()
/ark/js_runtime/ecmascript/interpreter/
Dinterpreter-inl.h3724 panda_file::CodeDataAccessor cda(*pandaFile, mda.GetCodeId().value()); in FindCatchBlock()
Dinterpreter_assembly.cpp3678 panda_file::CodeDataAccessor cda(*pandaFile, mda.GetCodeId().value()); in FindCatchBlock()