Home
last modified time | relevance | path

Searched refs:ObjectSP (Results 1 – 25 of 102) sorted by relevance

12345

/external/llvm-project/lldb/source/Utility/
DStructuredData.cpp20 static StructuredData::ObjectSP ParseJSONValue(json::Value &value);
21 static StructuredData::ObjectSP ParseJSONObject(json::Object *object);
22 static StructuredData::ObjectSP ParseJSONArray(json::Array *array);
24 StructuredData::ObjectSP
34 StructuredData::ObjectSP
36 StructuredData::ObjectSP return_sp; in ParseJSONFromFile()
50 return StructuredData::ObjectSP(); in ParseJSONFromFile()
53 static StructuredData::ObjectSP ParseJSONValue(json::Value &value) { in ParseJSONValue()
72 return StructuredData::ObjectSP(); in ParseJSONValue()
75 static StructuredData::ObjectSP ParseJSONObject(json::Object *object) { in ParseJSONObject()
[all …]
DEvent.cpp196 const ProcessSP &process_sp, const StructuredData::ObjectSP &object_sp, in EventDataStructuredData()
221 const StructuredData::ObjectSP &EventDataStructuredData::GetObject() const { in GetObject()
235 const StructuredData::ObjectSP &object_sp) { in SetObject()
267 StructuredData::ObjectSP
273 return StructuredData::ObjectSP(); in GetObjectFromEvent()
/external/llvm-project/lldb/include/lldb/Interpreter/
DScriptInterpreter.h195 virtual StructuredData::ObjectSP
198 return StructuredData::ObjectSP(); in CreateSyntheticScriptedProvider()
212 const StructuredData::ObjectSP &implementor, in GetRecognizedArguments()
224 OSPlugin_RegisterInfo(StructuredData::ObjectSP os_plugin_object_sp) { in OSPlugin_RegisterInfo()
229 OSPlugin_ThreadsInfo(StructuredData::ObjectSP os_plugin_object_sp) { in OSPlugin_ThreadsInfo()
234 OSPlugin_RegisterContextData(StructuredData::ObjectSP os_plugin_object_sp, in OSPlugin_RegisterContextData()
240 OSPlugin_CreateThread(StructuredData::ObjectSP os_plugin_object_sp, in OSPlugin_CreateThread()
245 virtual StructuredData::ObjectSP
250 return StructuredData::ObjectSP(); in CreateScriptedThreadPlan()
254 ScriptedThreadPlanExplainsStop(StructuredData::ObjectSP implementor_sp, in ScriptedThreadPlanExplainsStop()
[all …]
/external/llvm-project/lldb/include/lldb/Utility/
DStructuredData.h61 typedef std::shared_ptr<Object> ObjectSP; typedef
150 ObjectSP GetObjectForDotSeparatedPath(llvm::StringRef path);
182 ObjectSP operator[](size_t idx) {
185 return ObjectSP();
188 ObjectSP GetItemAtIndex(size_t idx) const { in GetItemAtIndex()
192 return ObjectSP(); in GetItemAtIndex()
197 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsInteger()
217 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsString()
236 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsString()
256 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsDictionary()
[all …]
DEvent.h134 const StructuredData::ObjectSP &object_sp,
146 const StructuredData::ObjectSP &GetObject() const;
152 void SetObject(const StructuredData::ObjectSP &object_sp);
162 static StructuredData::ObjectSP GetObjectFromEvent(const Event *event_ptr);
171 StructuredData::ObjectSP m_object_sp;
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPythonImpl.h70 StructuredData::ObjectSP
77 StructuredData::ObjectSP
83 bool ScriptedThreadPlanExplainsStop(StructuredData::ObjectSP implementor_sp,
87 bool ScriptedThreadPlanShouldStop(StructuredData::ObjectSP implementor_sp,
90 bool ScriptedThreadPlanIsStale(StructuredData::ObjectSP implementor_sp,
94 ScriptedThreadPlanGetRunState(StructuredData::ObjectSP implementor_sp,
120 GetRecognizedArguments(const StructuredData::ObjectSP &implementor,
128 OSPlugin_RegisterInfo(StructuredData::ObjectSP os_plugin_object_sp) override;
131 OSPlugin_ThreadsInfo(StructuredData::ObjectSP os_plugin_object_sp) override;
134 OSPlugin_RegisterContextData(StructuredData::ObjectSP os_plugin_object_sp,
[all …]
DScriptInterpreterPython.cpp619 StructuredData::ObjectSP empty_args_sp; in IOHandlerInputComplete()
1216 StructuredData::ObjectSP extra_args_sp) { in SetBreakpointCommandCallbackFunction()
1281 StructuredData::ObjectSP extra_args_sp, in SetBreakpointCommandCallback()
1508 const StructuredData::ObjectSP &os_plugin_object_sp, in GetRecognizedArguments()
1572 StructuredData::ObjectSP os_plugin_object_sp) { in OSPlugin_RegisterInfo()
1627 StructuredData::ObjectSP os_plugin_object_sp) { in OSPlugin_ThreadsInfo()
1713 StructuredData::ObjectSP os_plugin_object_sp, lldb::tid_t tid) { in OSPlugin_RegisterContextData()
1769 StructuredData::ObjectSP os_plugin_object_sp, lldb::tid_t tid, in OSPlugin_CreateThread()
1827 StructuredData::ObjectSP ScriptInterpreterPythonImpl::CreateScriptedThreadPlan( in CreateScriptedThreadPlan()
1831 return StructuredData::ObjectSP(); in CreateScriptedThreadPlan()
[all …]
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
DInstrumentationRuntimeMainThreadChecker.cpp81 StructuredData::ObjectSP
86 return StructuredData::ObjectSP(); in RetrieveReportData()
94 return StructuredData::ObjectSP(); in RetrieveReportData()
98 return StructuredData::ObjectSP(); in RetrieveReportData()
102 return StructuredData::ObjectSP(); in RetrieveReportData()
106 return StructuredData::ObjectSP(); in RetrieveReportData()
112 return StructuredData::ObjectSP(); in RetrieveReportData()
126 auto trace_sp = StructuredData::ObjectSP(trace); in RetrieveReportData()
144 trace->AddItem(StructuredData::ObjectSP(new StructuredData::Integer(PC))); in RetrieveReportData()
148 auto dict_sp = StructuredData::ObjectSP(d); in RetrieveReportData()
[all …]
DInstrumentationRuntimeMainThreadChecker.h44 GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override;
63 StructuredData::ObjectSP RetrieveReportData(ExecutionContextRef exe_ctx_ref);
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
DInstrumentationRuntimeTSan.h43 GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override;
62 StructuredData::ObjectSP RetrieveReportData(ExecutionContextRef exe_ctx_ref);
64 std::string FormatDescription(StructuredData::ObjectSP report);
66 std::string GenerateSummary(StructuredData::ObjectSP report);
68 lldb::addr_t GetMainRacyAddress(StructuredData::ObjectSP report);
70 std::string GetLocationDescription(StructuredData::ObjectSP report,
75 lldb::addr_t GetFirstNonInternalFramePc(StructuredData::ObjectSP trace,
DInstrumentationRuntimeTSan.cpp226 StructuredData::ObjectSP(new StructuredData::Integer(trace_addr))); in CreateStackTrace()
248 array->AddItem(StructuredData::ObjectSP(dict)); in ConvertToStructuredArray()
304 StructuredData::ObjectSP InstrumentationRuntimeTSan::RetrieveReportData( in RetrieveReportData()
308 return StructuredData::ObjectSP(); in RetrieveReportData()
314 return StructuredData::ObjectSP(); in RetrieveReportData()
337 return StructuredData::ObjectSP(); in RetrieveReportData()
350 dict->AddItem("sleep_trace", StructuredData::ObjectSP(CreateStackTrace( in RetrieveReportData()
359 dict->AddItem("trace", StructuredData::ObjectSP(CreateStackTrace(o))); in RetrieveReportData()
363 dict->AddItem("stacks", StructuredData::ObjectSP(stacks)); in RetrieveReportData()
388 dict->AddItem("trace", StructuredData::ObjectSP(CreateStackTrace(o))); in RetrieveReportData()
[all …]
/external/llvm-project/lldb/include/lldb/Core/
DStructuredDataImpl.h87 StructuredData::ObjectSP GetObjectSP() { return m_data_sp; } in GetObjectSP()
89 void SetObjectSP(const StructuredData::ObjectSP &obj) { m_data_sp = obj; } in SetObjectSP()
110 StructuredData::ObjectSP GetValueForKey(const char *key) const { in GetValueForKey()
116 return StructuredData::ObjectSP(); in GetValueForKey()
119 StructuredData::ObjectSP GetItemAtIndex(size_t idx) const { in GetItemAtIndex()
125 return StructuredData::ObjectSP(); in GetItemAtIndex()
157 StructuredData::ObjectSP m_data_sp;
DSearchFilter.h207 virtual StructuredData::ObjectSP SerializeToStructuredData() { in SerializeToStructuredData()
208 return StructuredData::ObjectSP(); in SerializeToStructuredData()
305 StructuredData::ObjectSP SerializeToStructuredData() override;
347 StructuredData::ObjectSP SerializeToStructuredData() override;
394 StructuredData::ObjectSP SerializeToStructuredData() override;
433 StructuredData::ObjectSP SerializeToStructuredData() override;
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/UBSan/
DInstrumentationRuntimeUBSan.cpp109 StructuredData::ObjectSP InstrumentationRuntimeUBSan::RetrieveReportData( in RetrieveReportData()
113 return StructuredData::ObjectSP(); in RetrieveReportData()
121 return StructuredData::ObjectSP(); in RetrieveReportData()
146 return StructuredData::ObjectSP(); in RetrieveReportData()
151 auto trace_sp = StructuredData::ObjectSP(trace); in RetrieveReportData()
159 trace->AddItem(StructuredData::ObjectSP(new StructuredData::Integer(PC))); in RetrieveReportData()
171 auto dict_sp = StructuredData::ObjectSP(d); in RetrieveReportData()
184 static std::string GetStopReasonDescription(StructuredData::ObjectSP report) { in GetStopReasonDescription()
221 StructuredData::ObjectSP report = in NotifyBreakpointHit()
303 StructuredData::ObjectSP info) { in GetBacktracesFromExtendedStopInfo()
[all …]
DInstrumentationRuntimeUBSan.h44 GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override;
63 StructuredData::ObjectSP RetrieveReportData(ExecutionContextRef exe_ctx_ref);
/external/llvm-project/lldb/tools/debugserver/source/
DJSONGenerator.h37 typedef std::shared_ptr<Object> ObjectSP; typedef
126 void AddItem(ObjectSP item) { m_items.push_back(item); } in AddItem()
140 typedef std::vector<ObjectSP> collection;
223 void AddItem(std::string key, ObjectSP value) { in AddItem()
228 AddItem(key, ObjectSP(new Integer(value))); in AddIntegerItem()
232 AddItem(key, ObjectSP(new Float(value))); in AddFloatItem()
236 AddItem(key, ObjectSP(new String(std::move(value)))); in AddStringItem()
246 AddItem(key, ObjectSP(new String(std::move(strm.str())))); in AddBytesAsHexASCIIString()
248 AddItem(key, ObjectSP(new String())); in AddBytesAsHexASCIIString()
253 AddItem(key, ObjectSP(new Boolean(value))); in AddBooleanItem()
[all …]
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/ASan/
DInstrumentationRuntimeASan.cpp113 StructuredData::ObjectSP InstrumentationRuntimeASan::RetrieveReportData() { in RetrieveReportData()
116 return StructuredData::ObjectSP(); in RetrieveReportData()
123 return StructuredData::ObjectSP(); in RetrieveReportData()
146 return StructuredData::ObjectSP(); in RetrieveReportData()
152 return StructuredData::ObjectSP(); in RetrieveReportData()
190 return StructuredData::ObjectSP(dict); in RetrieveReportData()
194 InstrumentationRuntimeASan::FormatDescription(StructuredData::ObjectSP report) { in FormatDescription()
255 StructuredData::ObjectSP report = instance->RetrieveReportData(); in NotifyBreakpointHit()
DInstrumentationRuntimeASan.h59 StructuredData::ObjectSP RetrieveReportData();
61 std::string FormatDescription(StructuredData::ObjectSP report);
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DProcessGDBRemote.h216 StructuredData::ObjectSP
222 const StructuredData::ObjectSP &config_sp) override;
224 StructuredData::ObjectSP GetLoadedDynamicLibrariesInfos() override;
226 StructuredData::ObjectSP GetLoadedDynamicLibrariesInfos(
229 StructuredData::ObjectSP
230 GetLoadedDynamicLibrariesInfos_sender(StructuredData::ObjectSP args);
232 StructuredData::ObjectSP GetSharedCacheInfo() override;
269 StructuredData::ObjectSP m_jstopinfo_sp; // Stop info only for any threads
271 StructuredData::ObjectSP m_jthreadsinfo_sp; // Full stop info, expedited
334 StructuredData::ObjectSP GetExtendedInfoForThread(lldb::tid_t tid);
[all …]
/external/llvm-project/lldb/source/Host/common/
DXML.cpp478 StructuredData::ObjectSP CreatePlistValue(XMLNode node) { in CreatePlistValue()
513 return StructuredData::ObjectSP(new StructuredData::Float(value)); in CreatePlistValue()
517 return StructuredData::ObjectSP(new StructuredData::Integer(value)); in CreatePlistValue()
522 return StructuredData::ObjectSP( in CreatePlistValue()
525 return StructuredData::ObjectSP(new StructuredData::Boolean(true)); in CreatePlistValue()
527 return StructuredData::ObjectSP(new StructuredData::Boolean(false)); in CreatePlistValue()
529 return StructuredData::ObjectSP(new StructuredData::Null()); in CreatePlistValue()
534 StructuredData::ObjectSP ApplePropertyList::GetStructuredData() { in GetStructuredData()
535 StructuredData::ObjectSP root_sp; in GetStructuredData()
/external/llvm-project/lldb/source/Target/
DInstrumentationRuntimeStopInfo.cpp20 StructuredData::ObjectSP additional_data) in InstrumentationRuntimeStopInfo()
33 StructuredData::ObjectSP additionalData) { in CreateStopReasonWithInstrumentationData()
/external/llvm-project/lldb/include/lldb/Target/
DInstrumentationRuntimeStopInfo.h33 StructuredData::ObjectSP additional_data);
37 StructuredData::ObjectSP additional_data);
DStructuredDataPlugin.h96 const StructuredData::ObjectSP &object_sp) = 0;
115 virtual Status GetDescription(const StructuredData::ObjectSP &object_sp,
/external/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/
DStructuredDataDarwinLog.h59 const StructuredData::ObjectSP &object_sp) override;
61 Status GetDescription(const StructuredData::ObjectSP &object_sp,
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DMachProcess.h253 JSONGenerator::ObjectSP FormatDynamicLibrariesIntoJSON(
265 JSONGenerator::ObjectSP GetLoadedDynamicLibrariesInfos(
267 JSONGenerator::ObjectSP
270 JSONGenerator::ObjectSP GetAllLoadedLibrariesInfos(nub_process_t pid);
271 JSONGenerator::ObjectSP GetSharedCacheInfo(nub_process_t pid);

12345