Home
last modified time | relevance | path

Searched refs:object_sp (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp712 auto object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetRemoteUnixSignals() local
713 if (!object_sp || !object_sp->IsValid()) in GetRemoteUnixSignals()
716 auto array_sp = object_sp->GetAsArray(); in GetRemoteUnixSignals()
742 auto object_sp = dict->GetValueForKey("suppress"); in GetRemoteUnixSignals() local
743 if (object_sp && object_sp->IsValid()) in GetRemoteUnixSignals()
744 suppress = object_sp->GetBooleanValue(); in GetRemoteUnixSignals()
747 object_sp = dict->GetValueForKey("stop"); in GetRemoteUnixSignals()
748 if (object_sp && object_sp->IsValid()) in GetRemoteUnixSignals()
749 stop = object_sp->GetBooleanValue(); in GetRemoteUnixSignals()
752 object_sp = dict->GetValueForKey("notify"); in GetRemoteUnixSignals()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DMainLoopBase.h53 virtual ReadHandleUP RegisterReadObject(const lldb::IOObjectSP &object_sp,
82 ReadHandleUP CreateReadHandle(const lldb::IOObjectSP &object_sp) { in CreateReadHandle() argument
83 return ReadHandleUP(new ReadHandle(*this, object_sp->GetWaitableHandle())); in CreateReadHandle()
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DMainLoopPosix.cpp249 MainLoopPosix::RegisterReadObject(const IOObjectSP &object_sp, in RegisterReadObject() argument
251 if (!object_sp || !object_sp->IsValid()) { in RegisterReadObject()
257 m_read_fds.insert({object_sp->GetWaitableHandle(), callback}).second; in RegisterReadObject()
261 object_sp->GetWaitableHandle()); in RegisterReadObject()
265 return CreateReadHandle(object_sp); in RegisterReadObject()
/freebsd/contrib/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.cpp1073 const StructuredData::ObjectSP &object_sp) { in HandleArrivalOfStructuredData() argument
1077 if (object_sp) in HandleArrivalOfStructuredData()
1078 object_sp->Dump(json_stream); in HandleArrivalOfStructuredData()
1086 if (!object_sp) { in HandleArrivalOfStructuredData()
1110 process.BroadcastStructuredData(object_sp, shared_from_this()); in HandleArrivalOfStructuredData()
1133 const StructuredData::ObjectSP &object_sp, lldb_private::Stream &stream) { in GetDescription() argument
1136 if (!object_sp) { in GetDescription()
1142 const StructuredData::Dictionary *dictionary = object_sp->GetAsDictionary(); in GetDescription()
1146 *object_sp); in GetDescription()
1155 *object_sp); in GetDescription()
[all …]
H A DStructuredDataDarwinLog.h57 const StructuredData::ObjectSP &object_sp) override;
59 Status GetDescription(const StructuredData::ObjectSP &object_sp,
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DEvent.cpp184 const ProcessSP &process_sp, const StructuredData::ObjectSP &object_sp, in EventDataStructuredData() argument
186 : EventData(), m_process_sp(process_sp), m_object_sp(object_sp), in EventDataStructuredData()
223 const StructuredData::ObjectSP &object_sp) { in SetObject() argument
224 m_object_sp = object_sp; in SetObject()
H A DStructuredData.cpp53 bool StructuredData::IsRecordType(const ObjectSP object_sp) { in IsRecordType() argument
54 return object_sp->GetType() == lldb::eStructuredDataTypeArray || in IsRecordType()
55 object_sp->GetType() == lldb::eStructuredDataTypeDictionary; in IsRecordType()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DStructuredDataPlugin.h96 const StructuredData::ObjectSP &object_sp) = 0;
115 virtual Status GetDescription(const StructuredData::ObjectSP &object_sp,
H A DProcess.h2696 void BroadcastStructuredData(const StructuredData::ObjectSP &object_sp,
3047 bool RouteAsyncStructuredData(const StructuredData::ObjectSP object_sp);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.cpp123 StructuredData::GenericSP object_sp = *obj_or_err; in ScriptedProcess() local
125 if (!object_sp || !object_sp->IsValid()) { in ScriptedProcess()
375 StructuredData::ObjectSP object_sp = pair.second; in DoUpdateThreadList() local
377 if (!object_sp) in DoUpdateThreadList()
382 ScriptedThread::Create(*this, object_sp->GetAsGeneric()); in DoUpdateThreadList()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DThreadGDBRemote.cpp223 StructuredData::ObjectSP object_sp; in FetchThreadExtendedInfo() local
231 object_sp = gdb_process->GetExtendedInfoForThread(tid); in FetchThreadExtendedInfo()
233 return object_sp; in FetchThreadExtendedInfo()
H A DProcessGDBRemote.cpp4009 StructuredData::ObjectSP object_sp; in GetExtendedInfoForThread() local
4038 object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetExtendedInfoForThread()
4043 return object_sp; in GetExtendedInfoForThread()
4081 StructuredData::ObjectSP object_sp; in GetLoadedDynamicLibrariesInfos_sender() local
4107 object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetLoadedDynamicLibrariesInfos_sender()
4112 return object_sp; in GetLoadedDynamicLibrariesInfos_sender()
4116 StructuredData::ObjectSP object_sp; in GetDynamicLoaderProcessState() local
4129 object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetDynamicLoaderProcessState()
4134 return object_sp; in GetDynamicLoaderProcessState()
4138 StructuredData::ObjectSP object_sp; in GetSharedCacheInfo() local
[all …]
H A DGDBRemoteCommunicationServerCommon.cpp1162 StructuredData::ObjectSP object_sp = StructuredData::ParseJSON(packet.Peek()); in Handle_jModulesInfo() local
1163 if (!object_sp) in Handle_jModulesInfo()
1166 StructuredData::Array *packet_array = object_sp->GetAsArray(); in Handle_jModulesInfo()
H A DGDBRemoteCommunicationClient.cpp585 StructuredData::ObjectSP object_sp; in GetThreadsInfo() local
595 object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetThreadsInfo()
599 return object_sp; in GetThreadsInfo()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DEvent.h133 const StructuredData::ObjectSP &object_sp,
151 void SetObject(const StructuredData::ObjectSP &object_sp);
H A DStructuredData.h201 for (const auto &object_sp : m_items) { in ForEach()
202 if (!foreach_callback(object_sp.get())) in ForEach()
579 static bool IsRecordType(const ObjectSP object_sp); in AddIntegerItem()
200 for (const auto &object_sp : m_items) { ForEach() local
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/posix/
H A DMainLoopPosix.h37 ReadHandleUP RegisterReadObject(const lldb::IOObjectSP &object_sp,
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DFormatEntity.cpp1585 StructuredData::ObjectSP object_sp = thread->GetExtendedInfo(); in Format() local
1586 if (object_sp && in Format()
1587 object_sp->GetType() == eStructuredDataTypeDictionary) { in Format()
1588 if (FormatThreadExtendedInfoRecurse(entry, object_sp, sc, exe_ctx, s)) in Format()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DTarget.cpp4017 StructuredData::ObjectSP object_sp = *obj_or_err; in SetScriptCallback() local
4018 if (!object_sp || !object_sp->IsValid()) { in SetScriptCallback()
4062 StructuredData::ObjectSP object_sp = m_extra_args.GetObjectSP(); in GetSubclassDescription() local
4063 if (!object_sp || !object_sp->IsValid()) in GetSubclassDescription()
4066 StructuredData::Dictionary *as_dict = object_sp->GetAsDictionary(); in GetSubclassDescription()
H A DProcess.cpp4535 void Process::BroadcastStructuredData(const StructuredData::ObjectSP &object_sp, in BroadcastStructuredData() argument
4538 shared_from_this(), object_sp, plugin_sp); in BroadcastStructuredData()
6330 const StructuredData::ObjectSP object_sp) { in RouteAsyncStructuredData() argument
6332 if (!object_sp) in RouteAsyncStructuredData()
6337 StructuredData::Dictionary *dictionary = object_sp->GetAsDictionary(); in RouteAsyncStructuredData()
6354 find_it->second->HandleArrivalOfStructuredData(*this, type_name, object_sp); in RouteAsyncStructuredData()