Home
last modified time | relevance | path

Searched refs:GetMethodId (Results 1 – 25 of 92) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/
Dmethod.cpp25 return MethodLiteral::ParseFunctionName(jsPandaFile, GetMethodId()); in ParseFunctionName()
31 return MethodLiteral::GetMethodName(jsPandaFile, GetMethodId()); in GetMethodName()
36 return MethodLiteral::GetMethodName(file, GetMethodId()); in GetMethodName()
42 return MethodLiteral::GetRecordName(jsPandaFile, GetMethodId()); in GetRecordName()
48 return MethodLiteral::GetCodeSize(jsPandaFile, GetMethodId()); in GetCodeSize()
67 return jsPandaFile->FindMethodLiteral(GetMethodId().GetOffset()); in GetMethodLiteral()
76 panda_file::MethodDataAccessor mda(*pandaFile, GetMethodId()); in FindCatchBlock()
95 EntityId methodId = methodLiteral->GetMethodId(); in Create()
/arkcompiler/ets_runtime/ecmascript/debugger/
Djs_debugger.cpp112 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset, in HandleBreakpoint()
125 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleDebuggerStmt()
137 JSPtLocation throwLocation {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleExceptionThrowEvent()
148 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleStep()
158 (bp.GetPtMethod()->GetMethodId() == method->GetMethodId())) { in FindBreakpoint()
171 (bp.GetPtMethod()->GetMethodId() == ptMethod->GetMethodId())) { in RemoveBreakpoint()
189 if (methodsData[i].GetMethodId() == location.GetMethodId()) { in FindMethod()
192 methodLiteral->GetMethodId(), methodLiteral->IsNativeWithCallField()); in FindMethod()
Djs_debugger.h52 ptMethod_->GetMethodId() == bpoint.GetPtMethod()->GetMethodId() &&
61 breakpoint << "methodId:" << ptMethod_->GetMethodId() << ", "; in ToString()
89 (std::hash<uint32_t>()(bpoint.GetPtMethod()->GetMethodId().GetOffset())) ^ in operator()
Djs_pt_method.h38 EntityId GetMethodId() const in GetMethodId() function
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.cpp61 auto currentMethodId = currentMethod->GetMethodId(); in ProfileCall()
62 …PGOSampleType calleeMethodOffset = PGOSampleType::CreateClassType(calleeMethod->GetMethodId().GetO… in ProfileCall()
91 recordInfos_->AddType(recordName, jsMethod->GetMethodId(), offset, PGOSampleType(type)); in ProfileOpType()
116 auto funcMethodId = jsMethod->GetMethodId(); in ProfileDefineClass()
128 int32_t ctorMethodId = static_cast<int32_t>(ctorJSMethod->GetMethodId().GetOffset()); in ProfileDefineClass()
138 auto superMethodId = superMethod->GetMethodId().GetOffset(); in ProfileDefineClass()
178 auto funcMethodId = jsMethod->GetMethodId(); in ProfileCreateObject()
238 auto methodId = jsMethod->GetMethodId(); in ProfileObjLayout()
251 auto methodId = jsMethod->GetMethodId(); in ProfileObjLayout()
271 auto methodId = ctorJSMethod->GetMethodId(); in ProfileObjLayout()
[all …]
Dpgo_profiler_decoder.h88 … const auto *methodName = MethodLiteral::GetMethodName(jsPandaFile, methodLiteral->GetMethodId()); in GetTypeInfo()
92 … MethodLiteral::GetCodeSize(jsPandaFile, methodLiteral->GetMethodId())); in GetTypeInfo()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp82 auto *methodLiteral = new MethodLiteral(mda.GetMethodId()); in CreateJSPandaFile()
147 ASSERT_TRUE(!loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
150 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
212 … methodLiterals[idx]->GetMethodName(pf.get(), methodLiterals[idx]->GetMethodId()), in HWTEST_F_L0()
213 methodLiterals[idx]->GetMethodId()); in HWTEST_F_L0()
215 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0()
216 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[2]->GetMethodId())); in HWTEST_F_L0()
217 ASSERT_TRUE(!loader.Match(expectRecordName, methodLiterals[1]->GetMethodId())); in HWTEST_F_L0()
220 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[1]->GetMethodId())); in HWTEST_F_L0()
273 … methodLiterals[idx]->GetMethodName(pf.get(), methodLiterals[idx]->GetMethodId()), in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dgraph_test.h62 mda.GetMethodId().GetOffset()); in TestBuildGraphFromFile()
86 auto func_name = ir_interface.GetMethodIdByOffset(mda.GetMethodId().GetOffset()); in TestBuildGraphFromFunc()
95 mda.GetMethodId().GetOffset()); in TestBuildGraphFromFunc()
/arkcompiler/toolchain/tooling/backend/
Djs_single_stepper.cpp45 if ((method_->GetMethodId() == ptMethod->GetMethodId()) && in StepComplete()
126 std::list<JSPtStepRange> ranges = GetStepRanges(extractor, ptMethod->GetMethodId(), in GetStepper()
Djs_pt_hooks.cpp23 LOG_DEBUGGER(INFO) << "JSPHooks: Debugger => " << location.GetMethodId() << ": " in DebuggerStmt()
31 LOG_DEBUGGER(VERBOSE) << "JSPtHooks: Breakpoint => " << location.GetMethodId() << ": " in Breakpoint()
/arkcompiler/toolchain/tooling/test/testcases/
Djs_breakpoint_async_test.h27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsBreakpointAsyncTest()
38 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsBreakpointAsyncTest()
Djs_breakpoint_test.h27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsBreakpointTest()
38 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsBreakpointTest()
Djs_breakpoint_arrow_test.h27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsBreakpointArrowTest()
38 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsBreakpointArrowTest()
Djs_single_step_test.h47 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSingleStepTest()
59 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSingleStepTest()
Djs_syntax_exception_test.h27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSyntaxExceptionTest()
61 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsSyntaxExceptionTest()
Djs_range_error_test.h27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsRangeErrorTest()
61 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsRangeErrorTest()
Djs_exception_test.h27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsExceptionTest()
61 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsExceptionTest()
Djs_step_into_test.h54 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepIntoTest()
65 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepIntoTest()
Djs_throw_exception_test.h27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsThrowExceptionTest()
63 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsThrowExceptionTest()
Djs_step_out_test.h52 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOutTest()
63 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOutTest()
Djs_step_over_test.h52 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOverTest()
63 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOverTest()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_info_collector.cpp88 auto methodId = mda.GetMethodId(); in ProcessClasses()
182 auto methodId = method->GetMethodId().GetOffset(); in CollectInnerFuncType()
197 panda_file::File::EntityId fieldId = method->GetMethodId(); in IterateLiteral()
311 auto methodId = method->GetMethodId().GetOffset(); in CollectInnerMethods()
367 auto methodOffset = method->GetMethodId().GetOffset(); in NewLexEnvWithSize()
401 methodId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
409 methodId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
415 auto entityId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
422 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
428 auto entityId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
[all …]
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Djs_pandafile_executor_test.cpp80 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0()
116 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0()
154 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/patch/
Dpatch_loader.cpp183 baseFile.get(), baseMethodLiteral->GetMethodId()); in UnloadPatchInternal()
258 EntityId baseMethodId = baseMethod->GetMethodId(); in FindAndReplaceSameMethod()
265 patchMethodLiteral->GetMethodId()); in FindAndReplaceSameMethod()
284 EntityId baseMethodId = baseMethod->GetMethodId(); in FindAndReplaceSameMethod()
291 patchMethodLiteral->GetMethodId()); in FindAndReplaceSameMethod()
/arkcompiler/toolchain/tooling/test/utils/
Dtest_extractor.cpp34 retId = jsLocation.GetMethodId(); in GetBreakpointAddress()

1234