/arkcompiler/toolchain/tooling/base/ |
D | pt_script.cpp | 21 PtScript::PtScript(ScriptId scriptId, const std::string &fileName, const std::string &url, const st… in PtScript() argument 22 : scriptId_(scriptId), in PtScript()
|
D | pt_script.h | 32 …PtScript(ScriptId scriptId, const std::string &fileName, const std::string &url, const std::string… 40 void SetScriptId(ScriptId scriptId) in SetScriptId() argument 42 scriptId_ = scriptId; in SetScriptId()
|
D | pt_types.h | 217 BreakpointReturnInfo &SetScriptId(ScriptId scriptId) in SetScriptId() argument 219 scriptId_ = scriptId; in SetScriptId() 644 ExceptionDetails &SetScriptId(ScriptId scriptId) in SetScriptId() argument 646 scriptId_ = scriptId; in SetScriptId() 1137 Location &SetScriptId(ScriptId scriptId) in SetScriptId() argument 1139 scriptId_ = scriptId; in SetScriptId() 1270 LocationRange &SetScriptId(ScriptId scriptId) in SetScriptId() argument 1272 scriptId_ = scriptId; in SetScriptId() 1321 BreakLocation &SetScriptId(ScriptId scriptId) in SetScriptId() argument 1323 scriptId_ = scriptId; in SetScriptId() [all …]
|
D | pt_types.cpp | 1063 std::string scriptId; in Create() local 1064 ret = params.GetString("scriptId", &scriptId); in Create() 1066 exceptionDetails->scriptId_ = std::stoi(scriptId); in Create() 1499 std::string scriptId; in Create() local 1500 ret = params.GetString("scriptId", &scriptId); in Create() 1502 location->scriptId_ = std::stoi(scriptId); in Create() 1627 std::string scriptId; in Create() local 1628 ret = params.GetString("scriptId", &scriptId); in Create() 1630 locationRange->scriptId_ = std::stoi(scriptId); in Create() 1689 std::string scriptId; in Create() local [all …]
|
D | pt_events.h | 301 ScriptFailedToParse &SetScriptId(ScriptId scriptId) in SetScriptId() argument 303 scriptId_ = scriptId; in SetScriptId() 553 ScriptParsed &SetScriptId(ScriptId scriptId) in SetScriptId() argument 555 scriptId_ = scriptId; in SetScriptId()
|
D | pt_params.cpp | 163 std::string scriptId; in Create() local 164 ret = params.GetString("scriptId", &scriptId); in Create() 166 paramsObject->scriptId_ = std::stoi(scriptId); in Create()
|
/arkcompiler/toolchain/tooling/backend/ |
D | js_pt_hooks.cpp | 76 static uint32_t scriptId = 0; in LoadModule() local 77 if (debugger_->NotifyScriptParsed(scriptId++, pandaFileName.data(), entryPoint)) { in LoadModule()
|
/arkcompiler/toolchain/tooling/test/ |
D | pt_params_test.cpp | 122 std::unique_ptr<PtJson> scriptId = PtJson::CreateObject(); in HWTEST_F_L0() local 125 scriptId->Add("scriptId", 123); in HWTEST_F_L0() 127 array->Push(scriptId); in HWTEST_F_L0() 141 std::unique_ptr<PtJson> scriptId = PtJson::CreateObject(); in HWTEST_F_L0() local 144 scriptId->Add("scriptId", 123); in HWTEST_F_L0() 146 array->Push(scriptId); in HWTEST_F_L0()
|
D | debugger_types_test.cpp | 362 "exceptionId":3,"text":"text0","lineNumber":10,"columnNumber":20,"scriptId":10}})"; in HWTEST_F_L0() 369 "exceptionId":3,"text":"text0","lineNumber":10,"columnNumber":20,"scriptId":["10"]}})"; in HWTEST_F_L0() 376 "exceptionId":3,"text":"text0","lineNumber":10,"columnNumber":20,"scriptId":"0"}})"; in HWTEST_F_L0() 478 … "exceptionId":5,"text":"text0","lineNumber":10,"columnNumber":20,"scriptId":"100","url":"url0", in HWTEST_F_L0() 984 "scriptId":10,"lineNumber":99 in HWTEST_F_L0() 991 "scriptId":["id3"],"lineNumber":99 in HWTEST_F_L0() 998 "scriptId":"222","lineNumber":"99" in HWTEST_F_L0() 1005 "scriptId":"222","lineNumber":[99] in HWTEST_F_L0() 1012 "scriptId":"222","lineNumber":899,"columnNumber":138 in HWTEST_F_L0() 1022 "scriptId":"2122","lineNumber":8299 in HWTEST_F_L0() [all …]
|
D | pt_types_test.cpp | 526 std::string scriptId = "12"; in HWTEST_F_L0() local 533 ptJson->Add("scriptId", scriptId.c_str()); in HWTEST_F_L0() 545 std::string scriptId = "12"; in HWTEST_F_L0() local 552 ptJson->Add("scriptId1", scriptId.c_str()); in HWTEST_F_L0() 564 std::string scriptId = "12"; in HWTEST_F_L0() local 571 ptJson->Add("scriptId1", scriptId.c_str()); in HWTEST_F_L0() 582 std::string scriptId = "scriptId"; in HWTEST_F_L0() local 588 ptJson->Add("scriptId", scriptId.c_str()); in HWTEST_F_L0() 600 std::string scriptId = "scriptId"; in HWTEST_F_L0() local 606 ptJson->Add("scriptId1", scriptId.c_str()); in HWTEST_F_L0()
|
D | debugger_events_test.cpp | 79 std::string scriptId; in HWTEST_F_L0() local 80 ASSERT_EQ(locationJson->GetString("scriptId", &scriptId), Result::SUCCESS); in HWTEST_F_L0() 81 EXPECT_EQ(scriptId, "2"); in HWTEST_F_L0() 392 "scriptId":"1001", in HWTEST_F_L0()
|
D | debugger_params_test.cpp | 536 …msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"start":{"scriptId":"1", "line… in HWTEST_F_L0() 537 …"columnNumber":10}, "end":{"scriptId":"1", "lineNumber":10, "columnNumber":10}, "restrictToFunctio… in HWTEST_F_L0() 571 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"scriptId":10}})"; in HWTEST_F_L0() 575 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"scriptId":"10"}})"; in HWTEST_F_L0() 764 … "skipList":[{"scriptId":"1", "start":{"lineNumber":1, "columnNumber":10}, "end":{"lineNumber":2, in HWTEST_F_L0() 765 …"columnNumber":20}}, {"scriptId":"2", "start":{"lineNumber":3, "columnNumber":30}, "end":{"lineNum… in HWTEST_F_L0() 784 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"skipList":[{"scriptId":"1", in HWTEST_F_L0() 785 …":{"lineNumber":1, "columnNumber":10}, "end":{"lineNumber":2, "columnNumber":20}}, {"scriptId":"2", in HWTEST_F_L0()
|
D | debugger_impl_test.cpp | 306 "scriptId":"0", in HWTEST_F_L0() 311 "scriptId":"0", in HWTEST_F_L0() 373 "scriptId":"0" in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
D | samples_record.cpp | 187 + std::to_string(codeEntry.scriptId) + "\",\"url\":\"" in StringifyNodes() 689 frameInfo.scriptId = static_cast<int>(scriptIdMap_.size()); in FrameInfoTempToMap() 691 frameInfo.scriptId = iter->second; in FrameInfoTempToMap() 718 frameInfo.scriptId = static_cast<int>(scriptIdMap_.size()); in NapiFrameInfoTempToMap() 720 frameInfo.scriptId = iter->second; in NapiFrameInfoTempToMap() 789 frames_[rear_].frameInfoTemps[i].scriptId = frameInfoTemps[i].scriptId; in PostFrame() 826 frames_[rear_].frameInfoTemps[i].scriptId = napiFrameInfoTemps[i].scriptId; in PostNapiFrame()
|
D | samples_record.h | 41 int scriptId = 0; member
|
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
D | js_stackgetter.h | 67 int scriptId = 0; member
|
/arkcompiler/toolchain/tooling/agent/ |
D | debugger_impl.cpp | 63 bool DebuggerImpl::NotifyScriptParsed(ScriptId scriptId, const std::string &fileName, std::string_v… in NotifyScriptParsed() argument 105 std::unique_ptr<PtScript> script = std::make_unique<PtScript>(scriptId, fileName, url, source); in NotifyScriptParsed() 700 ScriptId scriptId = params.GetScriptId(); in GetScriptSource() local 701 auto iter = scripts_.find(scriptId); in GetScriptSource() 704 return DispatchResponse::Fail("unknown script id: " + std::to_string(scriptId)); in GetScriptSource() 787 ScriptId scriptId; in SetBreakpointByUrl() local 789 auto scriptFunc = [&scriptId, &fileName](PtScript *script) -> bool { in SetBreakpointByUrl() 790 scriptId = script->GetScriptId(); in SetBreakpointByUrl() 826 location->SetScriptId(scriptId).SetLine(lineNumber).SetColumn(0); in SetBreakpointByUrl() 870 ScriptId scriptId; in ProcessSingleBreakpoint() local [all …]
|
D | debugger_impl.h | 41 bool NotifyScriptParsed(ScriptId scriptId, const std::string &fileName,
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
D | heap_snapshot_json_serializer.cpp | 172 writer_->Write(info.scriptId); in SerializeTraceFunctionInfo()
|
D | heap_snapshot.h | 283 int scriptId = 0; member
|
D | heap_snapshot.cpp | 820 codeEntry.scriptId = static_cast<int>(scriptIdMap_.size()); in AddMethodInfo() 822 codeEntry.scriptId = iter->second; in AddMethodInfo()
|