Home
last modified time | relevance | path

Searched refs:StructuredData (Results 1 – 25 of 171) sorted by relevance

1234567

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStructuredData.cpp21 static StructuredData::ObjectSP ParseJSONValue(json::Value &value);
22 static StructuredData::ObjectSP ParseJSONObject(json::Object *object);
23 static StructuredData::ObjectSP ParseJSONArray(json::Array *array);
25 StructuredData::ObjectSP StructuredData::ParseJSON(llvm::StringRef json_text) { in ParseJSON()
34 StructuredData::ObjectSP
35 StructuredData::ParseJSONFromFile(const FileSpec &input_spec, Status &error) { in ParseJSONFromFile()
36 StructuredData::ObjectSP return_sp; in ParseJSONFromFile()
50 return StructuredData::ObjectSP(); in ParseJSONFromFile()
53 bool StructuredData::IsRecordType(const ObjectSP object_sp) { in IsRecordType()
58 static StructuredData::ObjectSP ParseJSONValue(json::Value &value) { in ParseJSONValue()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedThreadPythonInterface.cpp33 llvm::Expected<StructuredData::GenericSP>
36 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject()
46 StructuredData::ObjectSP obj = Dispatch("get_thread_id", error); in GetThreadID()
57 StructuredData::ObjectSP obj = Dispatch("get_name", error); in GetName()
68 StructuredData::ObjectSP obj = Dispatch("get_state", error); in GetState()
79 StructuredData::ObjectSP obj = Dispatch("get_queue", error); in GetQueue()
88 StructuredData::DictionarySP ScriptedThreadPythonInterface::GetStopReason() { in GetStopReason()
90 StructuredData::DictionarySP dict = in GetStopReason()
91 Dispatch<StructuredData::DictionarySP>("get_stop_reason", error); in GetStopReason()
100 StructuredData::ArraySP ScriptedThreadPythonInterface::GetStackFrames() { in GetStackFrames()
[all …]
H A DScriptedProcessPythonInterface.cpp41 llvm::Expected<StructuredData::GenericSP>
44 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject()
52 StructuredData::DictionarySP ScriptedProcessPythonInterface::GetCapabilities() { in GetCapabilities()
54 StructuredData::DictionarySP dict = in GetCapabilities()
55 Dispatch<StructuredData::DictionarySP>("get_capabilities", error); in GetCapabilities()
94 StructuredData::DictionarySP ScriptedProcessPythonInterface::GetThreadsInfo() { in GetThreadsInfo()
96 StructuredData::DictionarySP dict = in GetThreadsInfo()
97 Dispatch<StructuredData::DictionarySP>("get_threads_info", error); in GetThreadsInfo()
109 StructuredData::ObjectSP obj = in CreateBreakpoint()
139 StructuredData::ObjectSP obj = in WriteMemoryAtAddress()
[all …]
H A DOperatingSystemPythonInterface.cpp35 llvm::Expected<StructuredData::GenericSP>
38 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject()
43 StructuredData::DictionarySP
47 StructuredData::DictionarySP dict = Dispatch<StructuredData::DictionarySP>( in CreateThread()
57 StructuredData::ArraySP OperatingSystemPythonInterface::GetThreadInfo() { in GetThreadInfo()
59 StructuredData::ArraySP arr = in GetThreadInfo()
60 Dispatch<StructuredData::ArraySP>("get_thread_info", error); in GetThreadInfo()
69 StructuredData::DictionarySP OperatingSystemPythonInterface::GetRegisterInfo() { in GetRegisterInfo()
76 StructuredData::ObjectSP obj = Dispatch("get_register_data", error, tid); in GetRegisterContextForTID()
87 StructuredData::ObjectSP obj = Dispatch("does_plugin_report_all_threads", error); in DoesPluginReportAllThreads()
H A DScriptedPlatformPythonInterface.cpp36 llvm::Expected<StructuredData::GenericSP>
39 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject()
47 StructuredData::DictionarySP ScriptedPlatformPythonInterface::ListProcesses() { in ListProcesses()
49 StructuredData::DictionarySP dict_sp = in ListProcesses()
50 Dispatch<StructuredData::DictionarySP>("list_processes", error); in ListProcesses()
53 return ScriptedInterface::ErrorWithMessage<StructuredData::DictionarySP>( in ListProcesses()
64 StructuredData::DictionarySP
67 StructuredData::DictionarySP dict_sp = in GetProcessInfo()
68 Dispatch<StructuredData::DictionarySP>("get_process_info", error, pid); in GetProcessInfo()
71 return ScriptedInterface::ErrorWithMessage<StructuredData::DictionarySP>( in GetProcessInfo()
H A DScriptedThreadPythonInterface.h26 llvm::Expected<StructuredData::GenericSP>
28 StructuredData::DictionarySP args_sp,
29 StructuredData::Generic *script_obj = nullptr) override;
45 StructuredData::DictionarySP GetStopReason() override;
47 StructuredData::ArraySP GetStackFrames() override;
49 StructuredData::DictionarySP GetRegisterInfo() override;
53 StructuredData::ArraySP GetExtendedInfo() override;
H A DScriptedProcessPythonInterface.h28 llvm::Expected<StructuredData::GenericSP>
31 StructuredData::DictionarySP args_sp,
32 StructuredData::Generic *script_obj = nullptr) override;
42 StructuredData::DictionarySP GetCapabilities() override;
54 StructuredData::DictionarySP GetThreadsInfo() override;
65 StructuredData::ArraySP GetLoadedImages() override;
73 StructuredData::DictionarySP GetMetadata() override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedThreadPythonInterface.cpp
H A DScriptedProcessPythonInterface.cpp
H A DScriptInterpreterPythonImpl.h73 StructuredData::ObjectSP
77 StructuredData::GenericSP
80 StructuredData::ObjectSP
83 StructuredData::GenericSP
88 StructuredData::GenericSP implementor_sp,
92 StructuredData::GenericSP implementor_sp) override;
94 StructuredData::GenericSP
98 GetRecognizedArguments(const StructuredData::ObjectSP &implementor,
101 bool ShouldHide(const StructuredData::ObjectSP &implementor,
115 StructuredData::ObjectSP
[all …]
H A DScriptedPlatformPythonInterface.cpp
H A DScriptedThreadPythonInterface.h
H A DScriptedProcessPythonInterface.h
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DScriptInterpreter.h164 virtual StructuredData::DictionarySP GetInterpreterInfo();
233 virtual StructuredData::ObjectSP
236 return StructuredData::ObjectSP(); in CreateSyntheticScriptedProvider()
239 virtual StructuredData::GenericSP
241 return StructuredData::GenericSP(); in CreateScriptCommandObject()
244 virtual StructuredData::GenericSP
246 return StructuredData::GenericSP(); in CreateFrameRecognizer()
250 const StructuredData::ObjectSP &implementor, in GetRecognizedArguments()
255 virtual bool ShouldHide(const StructuredData::ObjectSP &implementor, in ShouldHide()
260 virtual StructuredData::GenericSP
[all …]
H A DScriptedProcessInterface.h
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
H A DInstrumentationRuntimeMainThreadChecker.cpp76 StructuredData::ObjectSP
81 return StructuredData::ObjectSP(); in RetrieveReportData()
90 return StructuredData::ObjectSP(); in RetrieveReportData()
94 return StructuredData::ObjectSP(); in RetrieveReportData()
98 return StructuredData::ObjectSP(); in RetrieveReportData()
102 return StructuredData::ObjectSP(); in RetrieveReportData()
108 return StructuredData::ObjectSP(); in RetrieveReportData()
121 StructuredData::Array *trace = new StructuredData::Array(); in RetrieveReportData()
122 auto trace_sp = StructuredData::ObjectSP(trace); in RetrieveReportData()
138 auto *d = new StructuredData::Dictionary(); in RetrieveReportData()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp210 static StructuredData::ArraySP
213 auto trace_sp = std::make_shared<StructuredData::Array>(); in CreateStackTrace()
227 static StructuredData::ArraySP ConvertToStructuredArray( in ConvertToStructuredArray()
231 const StructuredData::DictionarySP &dict)> const in ConvertToStructuredArray()
233 auto array_sp = std::make_shared<StructuredData::Array>(); in ConvertToStructuredArray()
241 auto dict_sp = std::make_shared<StructuredData::Dictionary>(); in ConvertToStructuredArray()
268 const StructuredData::DictionarySP &dict) { in GetRenumberedThreadIds()
301 StructuredData::ObjectSP InstrumentationRuntimeTSan::RetrieveReportData( in RetrieveReportData()
305 return StructuredData::ObjectSP(); in RetrieveReportData()
312 return StructuredData::ObjectSP(); in RetrieveReportData()
[all …]
H A DInstrumentationRuntimeTSan.h39 GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override;
58 StructuredData::ObjectSP RetrieveReportData(ExecutionContextRef exe_ctx_ref);
60 std::string FormatDescription(StructuredData::ObjectSP report);
62 std::string GenerateSummary(StructuredData::ObjectSP report);
64 lldb::addr_t GetMainRacyAddress(StructuredData::ObjectSP report);
66 std::string GetLocationDescription(StructuredData::ObjectSP report,
71 lldb::addr_t GetFirstNonInternalFramePc(StructuredData::ObjectSP trace,
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DSearchFilter.h204 const StructuredData::Dictionary &data_dict,
207 virtual StructuredData::ObjectSP SerializeToStructuredData() { in SerializeToStructuredData()
208 return StructuredData::ObjectSP(); in SerializeToStructuredData()
251 StructuredData::DictionarySP
252 WrapOptionsDict(StructuredData::DictionarySP options_dict_sp);
254 void SerializeFileSpecList(StructuredData::DictionarySP &options_dict_sp,
302 const StructuredData::Dictionary &data_dict,
305 StructuredData::ObjectSP SerializeToStructuredData() override;
344 const StructuredData::Dictionary &data_dict,
347 StructuredData::ObjectSP SerializeToStructuredData() override;
[all …]
H A DStructuredDataImpl.h32 StructuredDataImpl(StructuredData::ObjectSP obj) in StructuredDataImpl()
80 StructuredData::ObjectSP GetObjectSP() { return m_data_sp; } in GetObjectSP()
82 void SetObjectSP(const StructuredData::ObjectSP &obj) { m_data_sp = obj; } in SetObjectSP()
103 StructuredData::ObjectSP GetValueForKey(const char *key) const { in GetValueForKey()
109 return StructuredData::ObjectSP(); in GetValueForKey()
112 StructuredData::ObjectSP GetItemAtIndex(size_t idx) const { in GetItemAtIndex()
118 return StructuredData::ObjectSP(); in GetItemAtIndex()
158 StructuredData::Generic *generic_data = m_data_sp->GetAsGeneric(); in GetGenericValue()
165 StructuredData::ObjectSP GetObjectSP() const { return m_data_sp; } in GetObjectSP()
169 StructuredData::ObjectSP m_data_sp;
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DXML.cpp456 static StructuredData::ObjectSP CreatePlistValue(XMLNode node) { in CreatePlistValue()
459 std::shared_ptr<StructuredData::Array> array_sp( in CreatePlistValue()
460 new StructuredData::Array()); in CreatePlistValue()
468 std::shared_ptr<StructuredData::Dictionary> dict_sp( in CreatePlistValue()
469 new StructuredData::Dictionary()); in CreatePlistValue()
491 return StructuredData::ObjectSP(new StructuredData::Float(value)); in CreatePlistValue()
495 return StructuredData::ObjectSP(new StructuredData::UnsignedInteger(value)); in CreatePlistValue()
500 return StructuredData::ObjectSP( in CreatePlistValue()
501 new StructuredData::String(std::move(text))); in CreatePlistValue()
503 return StructuredData::ObjectSP(new StructuredData::Boolean(true)); in CreatePlistValue()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/UBSan/
H A DInstrumentationRuntimeUBSan.cpp104 StructuredData::ObjectSP InstrumentationRuntimeUBSan::RetrieveReportData( in RetrieveReportData()
108 return StructuredData::ObjectSP(); in RetrieveReportData()
117 return StructuredData::ObjectSP(); in RetrieveReportData()
142 return StructuredData::ObjectSP(); in RetrieveReportData()
146 StructuredData::Array *trace = new StructuredData::Array(); in RetrieveReportData()
147 auto trace_sp = StructuredData::ObjectSP(trace); in RetrieveReportData()
166 auto *d = new StructuredData::Dictionary(); in RetrieveReportData()
167 auto dict_sp = StructuredData::ObjectSP(d); in RetrieveReportData()
180 static std::string GetStopReasonDescription(StructuredData::ObjectSP report) { in GetStopReasonDescription()
217 StructuredData::ObjectSP report = in NotifyBreakpointHit()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/Interfaces/
H A DScriptedProcessInterface.h24 virtual llvm::Expected<StructuredData::GenericSP>
26 StructuredData::DictionarySP args_sp,
27 StructuredData::Generic *script_obj = nullptr) = 0;
29 virtual StructuredData::DictionarySP GetCapabilities() { return {}; } in GetCapabilities()
49 virtual StructuredData::DictionarySP GetThreadsInfo() { return {}; } in GetThreadsInfo()
68 virtual StructuredData::ArraySP GetLoadedImages() { return {}; } in GetLoadedImages()
78 virtual StructuredData::DictionarySP GetMetadata() { return {}; } in GetMetadata()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/
H A DReportRetriever.cpp59 StructuredData::ObjectSP
62 return StructuredData::ObjectSP(); in RetrieveReportData()
68 return StructuredData::ObjectSP(); in RetrieveReportData()
74 return StructuredData::ObjectSP(); in RetrieveReportData()
105 return StructuredData::ObjectSP(); in RetrieveReportData()
111 return StructuredData::ObjectSP(); in RetrieveReportData()
134 auto dict = std::make_shared<StructuredData::Dictionary>(); in RetrieveReportData()
136 return StructuredData::ObjectSP(); in RetrieveReportData()
148 return StructuredData::ObjectSP(dict); in RetrieveReportData()
152 ReportRetriever::FormatDescription(StructuredData::ObjectSP report) { in FormatDescription()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DSearchFilter.cpp79 const StructuredData::Dictionary &filter_dict, in CreateFromStructuredData()
104 StructuredData::Dictionary *subclass_options = nullptr; in CreateFromStructuredData()
176 StructuredData::DictionarySP
177 SearchFilter::WrapOptionsDict(StructuredData::DictionarySP options_dict_sp) { in WrapOptionsDict()
179 return StructuredData::DictionarySP(); in WrapOptionsDict()
181 auto type_dict_sp = std::make_shared<StructuredData::Dictionary>(); in WrapOptionsDict()
189 StructuredData::DictionarySP &options_dict_sp, OptionNames name, in SerializeFileSpecList()
197 auto module_array_sp = std::make_shared<StructuredData::Array>(); in SerializeFileSpecList()
199 module_array_sp->AddItem(std::make_shared<StructuredData::String>( in SerializeFileSpecList()
361 const StructuredData::Dictionary &data_dict, in CreateFromStructuredData()
[all …]

1234567