Home
last modified time | relevance | path

Searched refs:scriptId (Results 1 – 21 of 21) sorted by relevance

/arkcompiler/toolchain/tooling/base/
Dpt_script.cpp21 PtScript::PtScript(ScriptId scriptId, const std::string &fileName, const std::string &url, const st… in PtScript() argument
22 : scriptId_(scriptId), in PtScript()
Dpt_script.h32 …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()
Dpt_types.h217 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 …]
Dpt_types.cpp1063 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 …]
Dpt_events.h301 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()
Dpt_params.cpp163 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/
Djs_pt_hooks.cpp76 static uint32_t scriptId = 0; in LoadModule() local
77 if (debugger_->NotifyScriptParsed(scriptId++, pandaFileName.data(), entryPoint)) { in LoadModule()
/arkcompiler/toolchain/tooling/test/
Dpt_params_test.cpp122 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()
Ddebugger_types_test.cpp362 "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 …]
Dpt_types_test.cpp526 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()
Ddebugger_events_test.cpp79 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()
Ddebugger_params_test.cpp536 …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()
Ddebugger_impl_test.cpp306 "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/
Dsamples_record.cpp187 + 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()
Dsamples_record.h41 int scriptId = 0; member
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.h67 int scriptId = 0; member
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp63 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 …]
Ddebugger_impl.h41 bool NotifyScriptParsed(ScriptId scriptId, const std::string &fileName,
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot_json_serializer.cpp172 writer_->Write(info.scriptId); in SerializeTraceFunctionInfo()
Dheap_snapshot.h283 int scriptId = 0; member
Dheap_snapshot.cpp820 codeEntry.scriptId = static_cast<int>(scriptIdMap_.size()); in AddMethodInfo()
822 codeEntry.scriptId = iter->second; in AddMethodInfo()