Home
last modified time | relevance | path

Searched refs:GetMethodId (Results 1 - 25 of 154) sorted by relevance

1234567

/arkcompiler/ets_runtime/ecmascript/
H A Dmethod.cpp24 return MethodLiteral::ParseFunctionName(jsPandaFile, GetMethodId()); in ParseFunctionName()
30 return MethodLiteral::ParseFunctionNameView(jsPandaFile, GetMethodId()); in ParseFunctionNameView()
36 return MethodLiteral::GetMethodName(jsPandaFile, GetMethodId()); in GetMethodName()
41 return MethodLiteral::GetMethodName(file, GetMethodId()); in GetMethodName()
47 return MethodLiteral::GetRecordName(jsPandaFile, GetMethodId()); in GetRecordNameStr()
53 return MethodLiteral::GetCodeSize(jsPandaFile, GetMethodId()); in GetCodeSize()
73 return jsPandaFile->FindMethodLiteral(GetMethodId().GetOffset()); in GetMethodLiteral()
89 panda_file::MethodDataAccessor mda(*pandaFile, GetMethodId()); in FindCatchBlock()
110 panda_file::MethodDataAccessor mda(*pandaFile, GetMethodId()); in HasCatchBlock()
118 EntityId methodId = methodLiteral->GetMethodId(); in Create()
[all...]
/arkcompiler/ets_runtime/ecmascript/debugger/
H A Djs_debugger.cpp144 JSPtLocation smartLocation {method->GetJSPandaFile(), method->GetMethodId(), bcOffset, in HandleBreakpoint()
156 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset, in HandleBreakpoint()
179 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleDebuggerStmt()
191 JSPtLocation throwLocation {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleExceptionThrowEvent()
202 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleStep()
212 (bp.GetPtMethod()->GetMethodId() == method->GetMethodId())) { in FindBreakpoint()
224 (bp.GetPtMethod()->GetMethodId() == method->GetMethodId())) { in FindSmartBreakpoint()
237 (bp.GetPtMethod()->GetMethodId() in RemoveBreakpoint()
[all...]
H A Djs_debugger.h52 ptMethod_->GetMethodId() == bpoint.GetPtMethod()->GetMethodId() && in operator ==()
61 breakpoint << "methodId:" << ptMethod_->GetMethodId() << ", "; in ToString()
89 (std::hash<uint32_t>()(bpoint.GetPtMethod()->GetMethodId().GetOffset())) ^ in operator ()()
H A Djs_pt_method.h38 EntityId GetMethodId() const in GetMethodId() function in panda::ecmascript::tooling::PtMethod
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dir_module.cpp26 std::string name = MethodLiteral::GetMethodName(jsPandaFile, methodLiteral->GetMethodId()); in GetFuncName()
27 auto methodId = methodLiteral->GetMethodId(); in GetFuncName()
31 auto offset = methodLiteral->GetMethodId().GetOffset(); in GetFuncName()
H A Dcompilation_driver.h77 const std::string methodName(MethodLiteral::GetMethodName(jsPandaFile_, methodLiteral->GetMethodId())); in Run()
79 methodLiteral->GetMethodId().GetOffset())) { in Run()
160 const std::string methodName(MethodLiteral::GetMethodName(jsPandaFile, methodLiteral->GetMethodId())); in CompileMethod()
164 auto &methodInfo = methodList.at(methodLiteral->GetMethodId().GetOffset()); in CompileMethod()
167 auto methodOffset = methodLiteral->GetMethodId().GetOffset(); in CompileMethod()
H A Dbytecode_info_collector.cpp80 auto methodId = mda.GetMethodId(); in ProcessClasses()
136 panda_file::File::EntityId methodIdx = methodLiteral->GetMethodId(); in ProcessMethod()
252 auto methodId = method->GetMethodId().GetOffset(); in CollectMethods()
297 innerMethodId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
303 auto entityId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
308 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
314 auto entityId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
319 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
328 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
H A Djit_compilation_env.cpp77 ASSERT(method->GetMethodId() == id); in FindConstpool()
109 uint32_t methodOffset = method->GetMethodId().GetOffset(); in FindOrCreateUnsharedConstpool()
125 if (methodOffset != currMethod->GetMethodId().GetOffset()) { in GetConstantPoolByMethodOffset()
188 auto currMethodOffset = currMethod->GetMethodId().GetOffset(); in GetJsFunctionByMethodOffset()
206 if (Method::Cast(currFunc->GetMethod())->GetMethodId().GetOffset() != callerOffset) { in GetJsFunctionByMethodOffset()
228 if (Method::Cast(currFunc->GetMethod())->GetMethodId().GetOffset() != methodOffset) { in GetJsFunctionByMethodOffset()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
H A Dpgo_profiler_test.cpp109 auto *methodLiteral = new MethodLiteral(mda.GetMethodId()); in CreateJSPandaFile()
134 auto *methodLiteral = new MethodLiteral(mda.GetMethodId()); in CreateJSPandaFile()
215 auto methodName = MethodLiteral::GetRecordName(pf_.get(), methodLiteral->GetMethodId()); in CheckApMethodsInApFiles()
221 if (!(recordEntry->second.at(index) == methodLiteral->GetMethodId())) { in CheckApMethodsInApFiles()
270 ASSERT_TRUE(!loader.Match(pf_.get(), expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
273 ASSERT_TRUE(loader.Match(pf_.get(), expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
321 methodLiterals[idx]->GetMethodName(pf_.get(), methodLiterals[idx]->GetMethodId()), in HWTEST_F_L0()
322 methodLiterals[idx]->GetMethodId()); in HWTEST_F_L0()
324 ASSERT_TRUE(!loader.Match(pf_.get(), expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
325 ASSERT_TRUE(!loader.Match(pf_.get(), expectRecordName, methodLiterals[2]->GetMethodId())); in HWTEST_F_L0()
[all...]
/arkcompiler/runtime_core/bytecode_optimizer/tests/
H A Dgraph_test.h62 mda.GetMethodId().GetOffset()); in TestBuildGraphFromFile()
89 auto func_name = ir_interface.GetMethodIdByOffset(mda.GetMethodId().GetOffset()); in TestBuildGraphFromFunc()
98 mda.GetMethodId().GetOffset()); in TestBuildGraphFromFunc()
/arkcompiler/toolchain/tooling/backend/
H A Djs_single_stepper.cpp45 if ((method_->GetMethodId() == ptMethod->GetMethodId()) && in StepComplete()
126 std::list<JSPtStepRange> ranges = GetStepRanges(extractor, ptMethod->GetMethodId(), in GetStepper()
/arkcompiler/ets_runtime/ecmascript/patch/
H A Dpatch_loader.cpp151 EntityId baseMethodId = baseMethodLiteral->GetMethodId(); in UnloadPatchInternal()
253 EntityId methodId = Method::Cast(function->GetMethod())->GetMethodId(); in UpdateJSFunction()
269 EntityId methodId = Method::Cast(funcTemp->GetMethod())->GetMethodId(); in UpdateJSFunction()
295 EntityId methodIdLoop = Method::Cast(function->GetMethod())->GetMethodId(); in UpdateModuleForColdPatch()
307 EntityId methodIdLoop = Method::Cast(funcTemp->GetMethod())->GetMethodId(); in UpdateModuleForColdPatch()
344 EntityId baseMethodId = baseMethod->GetMethodId(); in FindAndReplaceSameMethod()
351 EntityId patchMethodId = patchMethodLiteral->GetMethodId(); in FindAndReplaceSameMethod()
405 EntityId baseMethodId = baseMethod->GetMethodId(); in FindAndReplaceClassLiteral()
412 EntityId patchMethodId = patchMethodLiteral->GetMethodId(); in FindAndReplaceClassLiteral()
517 EntityId methodId = mda.GetMethodId(); in CollectClassInfo()
[all...]
H A Dquick_fix_helper.cpp26 EntityId methodId = mainMethodLiteral->GetMethodId(); in CreateMainFuncWithPatch()
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
H A Dtest_util.cpp44 auto variables = extractor->GetLocalVariableInfo(location.GetMethodId(), location.GetBytecodeOffset()); in GetValueRegister()
51 auto params = extractor->GetParameterInfo(location.GetMethodId()); in GetValueRegister()
/arkcompiler/toolchain/tooling/test/testcases/
H A Djs_single_step_test.h47 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSingleStepTest()
59 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSingleStepTest()
H A Djs_step_over_test.h52 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOverTest()
67 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOverTest()
H A Djs_step_out_test.h52 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOutTest()
63 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOutTest()
H A Djs_step_into_test.h54 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepIntoTest()
69 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepIntoTest()
H A Djs_range_error_test.h27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsRangeErrorTest()
61 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsRangeErrorTest()
H A Djs_throw_exception_test.h27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsThrowExceptionTest()
63 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsThrowExceptionTest()
H A Djs_syntax_exception_test.h27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSyntaxExceptionTest()
61 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsSyntaxExceptionTest()
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
H A Djs_pandafile_executor_test.cpp80 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0()
115 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0()
152 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0()
H A Dpanda_file_translator_test.cpp80 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0()
123 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/runtime/include/tooling/
H A Dpt_location.h38 EntityId GetMethodId() const in GetMethodId() function in ark::tooling::PtLocation
/arkcompiler/toolchain/tooling/test/utils/
H A Dtest_extractor.cpp34 retId = jsLocation.GetMethodId(); in GetBreakpointAddress()

Completed in 14 milliseconds

1234567