| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/ |
| D | source_manager.h | 40 std::pair<ScriptId, bool> GetScriptId(PtThread thread, std::string_view fileName); 41 [[nodiscard]] std::string_view GetSourceFileName(ScriptId id) const; 47 std::unordered_map<std::string, ScriptId> fileNameToId_ GUARDED_BY(mutex_); 48 std::unordered_map<ScriptId, std::string_view> idToFileName_ GUARDED_BY(mutex_); 49 std::map<PtThread, std::unordered_set<ScriptId>> knownSources_ GUARDED_BY(mutex_);
|
| D | source_manager.cpp | 23 std::pair<ScriptId, bool> SourceManager::GetScriptId(PtThread thread, std::string_view fileName) in GetScriptId() 28 ScriptId id(p.first->second); in GetScriptId() 40 std::string_view SourceManager::GetSourceFileName(ScriptId id) const in GetSourceFileName()
|
| D | inspector_server.h | 64 void CallDebuggerScriptParsed(PtThread thread, ScriptId id, std::string_view sourceFile);
|
| D | inspector_server.cpp | 114 void InspectorServer::CallDebuggerScriptParsed(PtThread thread, ScriptId scriptId, std::string_view… in CallDebuggerScriptParsed() 273 if (auto scriptId = ParseNumericId<ScriptId>(params, "scriptId")) { in OnCallDebuggerGetScriptSource()
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/ |
| D | source_manager.cpp | 67 ASSERT_EQ(test_id0.first, ScriptId(0)); in TEST_F() 71 ASSERT_EQ(sm_.GetSourceFileName(ScriptId(1)), ""); in TEST_F() 74 ASSERT_EQ(test_id0.first, ScriptId(0)); in TEST_F() 78 ASSERT_EQ(test_id1.first, ScriptId(1)); in TEST_F() 86 ASSERT_EQ(sm_.GetSourceFileName(ScriptId(5U)), ""); in TEST_F() 92 ASSERT_EQ(test_id0.first, ScriptId(0)); in TEST_F()
|
| D | inspector_server.cpp | 122 inspectorServer.CallDebuggerScriptParsed(g_mthread, ScriptId(scriptId), g_sourceFile); in TEST_F() 238 static JsonObject CreatePossibleBreakpointsRequest(ScriptId startScriptId, size_t start, ScriptId e… in CreatePossibleBreakpointsRequest() 248 static auto g_getPossibleBreakpointsHandler = [](ScriptId scriptId, size_t start, size_t end, bool …
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/ |
| D | location.h | 35 Location(ScriptId scriptId, size_t lineNumber) : scriptId_(scriptId), lineNumber_(lineNumber) {} in Location() 39 ScriptId GetScriptId() const in GetScriptId() 52 ScriptId scriptId_;
|
| D | numeric_id.h | 33 using ScriptId = size_t; variable
|
| D | location.cpp | 37 auto scriptId = ParseNumericId<ScriptId>(**property, "scriptId"); in FromJsonProperty()
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_script.h | 32 …PtScript(ScriptId scriptId, const std::string &fileName, const std::string &url, const std::string… 35 ScriptId GetScriptId() const in GetScriptId() 40 void SetScriptId(ScriptId scriptId) in SetScriptId() 109 ScriptId scriptId_ {0}; // start from 0, such as "0","1","2"...
|
| D | pt_script.cpp | 21 PtScript::PtScript(ScriptId scriptId, const std::string &fileName, const std::string &url, const st… in PtScript()
|
| D | pt_types.h | 170 using ScriptId = int32_t; variable 214 ScriptId GetScriptId() const in GetScriptId() 219 BreakpointReturnInfo &SetScriptId(ScriptId scriptId) in SetScriptId() 232 ScriptId scriptId_ {0}; 643 ScriptId GetScriptId() const in GetScriptId() 648 ExceptionDetails &SetScriptId(ScriptId scriptId) in SetScriptId() 719 std::optional<ScriptId> scriptId_ {}; 1133 ScriptId GetScriptId() const in GetScriptId() 1138 Location &SetScriptId(ScriptId scriptId) in SetScriptId() 1173 ScriptId scriptId_ {0}; [all …]
|
| D | pt_events.h | 324 ScriptId GetScriptId() const in GetScriptId() 329 ScriptFailedToParse &SetScriptId(ScriptId scriptId) in SetScriptId() 547 ScriptId scriptId_ {0}; 576 ScriptId GetScriptId() const in GetScriptId() 581 ScriptParsed &SetScriptId(ScriptId scriptId) in SetScriptId() 815 ScriptId scriptId_ {0};
|
| D | pt_params.h | 166 ScriptId GetScriptId() const in GetScriptId() 175 ScriptId scriptId_ {0};
|
| /arkcompiler/toolchain/test/fuzztest/pttypesexceptiondetailsscriptid_fuzzer/ |
| D | pttypesexceptiondetailsscriptid_fuzzer.cpp | 33 ScriptId id = (ScriptId)*data; in PtTypesExceptionDetailsScriptIdFuzzTest()
|
| /arkcompiler/toolchain/tooling/agent/ |
| D | debugger_impl.h | 41 bool NotifyScriptParsed(ScriptId scriptId, const std::string &fileName, 257 std::unordered_map<ScriptId, std::unique_ptr<PtScript>> scripts_ {};
|
| D | debugger_impl.cpp | 70 bool DebuggerImpl::NotifyScriptParsed(ScriptId scriptId, const std::string &fileName, std::string_v… in NotifyScriptParsed() 896 ScriptId scriptId = params.GetScriptId(); in GetScriptSource() 1020 ScriptId scriptId = ptScript->GetScriptId(); in SetBreakpointByUrl() 1096 ScriptId scriptId = ptScript->GetScriptId(); in ProcessSingleBreakpoint()
|