| /arkcompiler/ets_runtime/ecmascript/ |
| D | method.cpp | 25 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/ |
| D | js_debugger.cpp | 112 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()
|
| D | js_debugger.h | 52 ptMethod_->GetMethodId() == bpoint.GetPtMethod()->GetMethodId() && 61 breakpoint << "methodId:" << ptMethod_->GetMethodId() << ", "; in ToString() 89 (std::hash<uint32_t>()(bpoint.GetPtMethod()->GetMethodId().GetOffset())) ^ in operator()
|
| D | js_pt_method.h | 38 EntityId GetMethodId() const in GetMethodId() function
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_profiler.cpp | 61 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 …]
|
| D | pgo_profiler_decoder.h | 88 … 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/ |
| D | pgo_profiler_test.cpp | 82 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/ |
| D | graph_test.h | 62 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/ |
| D | js_single_stepper.cpp | 45 if ((method_->GetMethodId() == ptMethod->GetMethodId()) && in StepComplete() 126 std::list<JSPtStepRange> ranges = GetStepRanges(extractor, ptMethod->GetMethodId(), in GetStepper()
|
| D | js_pt_hooks.cpp | 23 LOG_DEBUGGER(INFO) << "JSPHooks: Debugger => " << location.GetMethodId() << ": " in DebuggerStmt() 31 LOG_DEBUGGER(VERBOSE) << "JSPtHooks: Breakpoint => " << location.GetMethodId() << ": " in Breakpoint()
|
| /arkcompiler/toolchain/tooling/test/testcases/ |
| D | js_breakpoint_async_test.h | 27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsBreakpointAsyncTest() 38 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsBreakpointAsyncTest()
|
| D | js_breakpoint_test.h | 27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsBreakpointTest() 38 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsBreakpointTest()
|
| D | js_breakpoint_arrow_test.h | 27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsBreakpointArrowTest() 38 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsBreakpointArrowTest()
|
| D | js_single_step_test.h | 47 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSingleStepTest() 59 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSingleStepTest()
|
| D | js_syntax_exception_test.h | 27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSyntaxExceptionTest() 61 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsSyntaxExceptionTest()
|
| D | js_range_error_test.h | 27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsRangeErrorTest() 61 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsRangeErrorTest()
|
| D | js_exception_test.h | 27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsExceptionTest() 61 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsExceptionTest()
|
| D | js_step_into_test.h | 54 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepIntoTest() 65 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepIntoTest()
|
| D | js_throw_exception_test.h | 27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsThrowExceptionTest() 63 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsThrowExceptionTest()
|
| D | js_step_out_test.h | 52 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOutTest() 63 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOutTest()
|
| D | js_step_over_test.h | 52 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOverTest() 63 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOverTest()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | bytecode_info_collector.cpp | 88 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/ |
| D | js_pandafile_executor_test.cpp | 80 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/ |
| D | patch_loader.cpp | 183 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/ |
| D | test_extractor.cpp | 34 retId = jsLocation.GetMethodId(); in GetBreakpointAddress()
|