Home
last modified time | relevance | path

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

/llvm-project/lldb/source/Host/windows/
H A DMainLoopWindows.cpp80 MainLoopWindows::RegisterReadObject(const IOObjectSP &object_sp, in RegisterReadObject()
82 if (!object_sp || !object_sp->IsValid()) { in RegisterReadObject()
86 if (object_sp->GetFdType() != IOObject::eFDTypeSocket) { in RegisterReadObject()
101 .try_emplace(object_sp->GetWaitableHandle(), FdInfo{event, callback}) in UnregisterReadObject()
107 object_sp->GetWaitableHandle()); in ProcessReadObject()
111 return CreateReadHandle(object_sp);
65 RegisterReadObject(const IOObjectSP & object_sp,const Callback & callback,Status & error) RegisterReadObject() argument
/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp716 auto object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetRemoteUnixSignals()
717 if (!object_sp || !object_sp->IsValid()) in GetRemoteUnixSignals()
720 auto array_sp = object_sp->GetAsArray(); in GetRemoteUnixSignals()
746 auto object_sp = dict->GetValueForKey("suppress"); in GetRemoteUnixSignals()
747 if (object_sp && object_sp->IsValid()) in GetRemoteUnixSignals()
748 suppress = object_sp->GetBooleanValue(); in GetRemoteUnixSignals() local
751 object_sp = dict->GetValueForKey("stop"); in GetRemoteUnixSignals()
752 if (object_sp in GetRemoteUnixSignals()
718 auto object_sp = StructuredData::ParseJSON(response.GetStringRef()); GetRemoteUnixSignals() local
[all...]
/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) {
83 return ReadHandleUP(new ReadHandle(*this, object_sp->GetWaitableHandle()));
66 CreateReadHandle(const lldb::IOObjectSP & object_sp) CreateReadHandle() argument
/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.cpp1070 const StructuredData::ObjectSP &object_sp) { in HandleArrivalOfStructuredData()
1074 if (object_sp) in HandleArrivalOfStructuredData()
1075 object_sp->Dump(json_stream); in HandleArrivalOfStructuredData()
1083 if (!object_sp) { in HandleArrivalOfStructuredData()
1107 process.BroadcastStructuredData(object_sp, shared_from_this()); in HandleArrivalOfStructuredData()
1130 const StructuredData::ObjectSP &object_sp, lldb_private::Stream &stream) { in GetDescription()
1133 if (!object_sp) { in GetDescription()
1139 const StructuredData::Dictionary *dictionary = object_sp->GetAsDictionary(); in GetDescription()
1143 *object_sp); in GetDescription()
1152 *object_sp); in GetDescription()
1067 HandleArrivalOfStructuredData(Process & process,llvm::StringRef type_name,const StructuredData::ObjectSP & object_sp) HandleArrivalOfStructuredData() argument
1126 GetDescription(const StructuredData::ObjectSP & object_sp,lldb_private::Stream & stream) GetDescription() argument
[all...]
H A DStructuredDataDarwinLog.h57 const StructuredData::ObjectSP &object_sp) override;
59 Status GetDescription(const StructuredData::ObjectSP &object_sp,
/llvm-project/lldb/source/Host/posix/
H A DMainLoopPosix.cpp249 MainLoopPosix::RegisterReadObject(const IOObjectSP &object_sp,
251 if (!object_sp || !object_sp->IsValid()) {
257 m_read_fds.insert({object_sp->GetWaitableHandle(), callback}).second;
261 object_sp->GetWaitableHandle());
265 return CreateReadHandle(object_sp);
258 RegisterReadObject(const IOObjectSP & object_sp,const Callback & callback,Status & error) global() argument
/llvm-project/lldb/source/Utility/
H A DEvent.cpp184 const ProcessSP &process_sp, const StructuredData::ObjectSP &object_sp,
186 : EventData(), m_process_sp(process_sp), m_object_sp(object_sp),
223 const StructuredData::ObjectSP &object_sp) { in SetStructuredDataPlugin()
224 m_object_sp = object_sp; in SetStructuredDataPlugin()
178 EventDataStructuredData(const ProcessSP & process_sp,const StructuredData::ObjectSP & object_sp,const lldb::StructuredDataPluginSP & plugin_sp) EventDataStructuredData() argument
217 SetObject(const StructuredData::ObjectSP & object_sp) SetObject() argument
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()
/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.h2618 /// \param[in] object_sp
2624 void BroadcastStructuredData(const StructuredData::ObjectSP &object_sp,
2947 /// \param[in] object_sp
2958 /// &object_sp)
2963 bool RouteAsyncStructuredData(const StructuredData::ObjectSP object_sp);
/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.cpp121 StructuredData::GenericSP object_sp = *obj_or_err; in ScriptedProcess() local
123 if (!object_sp || !object_sp->IsValid()) { in ScriptedProcess()
369 StructuredData::ObjectSP object_sp = pair.second; in DoUpdateThreadList()
371 if (!object_sp) in DoUpdateThreadList()
376 ScriptedThread::Create(*this, object_sp->GetAsGeneric()); in DoUpdateThreadList()
368 StructuredData::ObjectSP object_sp = pair.second; DoUpdateThreadList() local
/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.cpp3937 StructuredData::ObjectSP object_sp; in GetLoadedDynamicLibrariesInfos()
3966 object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetLoadedDynamicLibrariesInfos_sender()
3971 return object_sp; in GetLoadedDynamicLibrariesInfos_sender()
4009 StructuredData::ObjectSP object_sp; in GetSharedCacheInfo()
4035 object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetSharedCacheInfo()
4040 return object_sp; in ConfigureStructuredData()
4044 StructuredData::ObjectSP object_sp;
4057 object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetMaxMemorySize()
4062 return object_sp; in GetMaxMemorySize()
4066 StructuredData::ObjectSP object_sp; in GetMaxMemorySize()
3879 StructuredData::ObjectSP object_sp; GetExtendedInfoForThread() local
3951 StructuredData::ObjectSP object_sp; GetLoadedDynamicLibrariesInfos_sender() local
3986 StructuredData::ObjectSP object_sp; GetDynamicLoaderProcessState() local
4008 StructuredData::ObjectSP object_sp; GetSharedCacheInfo() local
[all...]
H A DGDBRemoteCommunicationServerCommon.cpp1160 StructuredData::ObjectSP object_sp = StructuredData::ParseJSON(packet.Peek()); in Handle_jModulesInfo() local
1161 if (!object_sp) in Handle_jModulesInfo()
1164 StructuredData::Array *packet_array = object_sp->GetAsArray(); in Handle_jModulesInfo()
H A DGDBRemoteCommunicationClient.cpp562 StructuredData::ObjectSP object_sp; in GetThreadsInfo()
572 object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetThreadsInfo()
576 return object_sp; in GetThreadExtendedInfoSupported()
557 StructuredData::ObjectSP object_sp; GetThreadsInfo() local
/llvm-project/lldb/unittests/Process/gdb-remote/
H A DGDBRemoteCommunicationClientTest.cpp290 auto object_sp = StructuredData::ParseJSON(ss.GetString()); in TEST_F() local
291 ASSERT_TRUE(bool(object_sp)); in TEST_F()
292 auto dict_sp = object_sp->GetAsDictionary(); in TEST_F()
295 object_sp = dict_sp->GetValueForKey("packet_speeds"); in TEST_F()
296 ASSERT_TRUE(bool(object_sp)); in TEST_F()
297 dict_sp = object_sp->GetAsDictionary(); in TEST_F()
/llvm-project/lldb/include/lldb/Utility/
H A DEvent.h134 const StructuredData::ObjectSP &object_sp,
152 void SetObject(const StructuredData::ObjectSP &object_sp);
H A DStructuredData.h201 for (const auto &object_sp : m_items) { in ForEach() local
202 if (!foreach_callback(object_sp.get())) in ForEach()
579 static bool IsRecordType(const ObjectSP object_sp);
/llvm-project/lldb/include/lldb/Host/windows/
H A DMainLoopWindows.h28 ReadHandleUP RegisterReadObject(const lldb::IOObjectSP &object_sp,
/llvm-project/lldb/include/lldb/Host/posix/
H A DMainLoopPosix.h37 ReadHandleUP RegisterReadObject(const lldb::IOObjectSP &object_sp,
/llvm-project/lldb/source/Core/
H A DFormatEntity.cpp1452 StructuredData::ObjectSP object_sp = thread->GetExtendedInfo(); in Format()
1453 if (object_sp && in Format()
1454 object_sp->GetType() == eStructuredDataTypeDictionary) { in Format()
1455 if (FormatThreadExtendedInfoRecurse(entry, object_sp, sc, exe_ctx, s)) in Format()
1449 StructuredData::ObjectSP object_sp = thread->GetExtendedInfo(); Format() local
/llvm-project/lldb/source/Target/
H A DProcess.cpp4529 void Process::BroadcastStructuredData(const StructuredData::ObjectSP &object_sp, in GetSTDOUT()
4532 shared_from_this(), object_sp, plugin_sp); in GetSTDOUT()
6311 const StructuredData::ObjectSP object_sp) { in RouteAsyncStructuredData()
6313 if (!object_sp) in RouteAsyncStructuredData()
6318 StructuredData::Dictionary *dictionary = object_sp->GetAsDictionary(); in RouteAsyncStructuredData()
6335 find_it->second->HandleArrivalOfStructuredData(*this, type_name, object_sp);
4486 BroadcastStructuredData(const StructuredData::ObjectSP & object_sp,const StructuredDataPluginSP & plugin_sp) BroadcastStructuredData() argument
6292 RouteAsyncStructuredData(const StructuredData::ObjectSP object_sp) RouteAsyncStructuredData() argument
H A DTarget.cpp3990 StructuredData::ObjectSP object_sp = *obj_or_err;
3991 if (!object_sp || !object_sp->IsValid()) {
4035 StructuredData::ObjectSP object_sp = m_extra_args.GetObjectSP();
4036 if (!object_sp || !object_sp->IsValid())
4039 StructuredData::Dictionary *as_dict = object_sp->GetAsDictionary();
3885 StructuredData::ObjectSP object_sp = m_extra_args.GetObjectSP(); GetSubclassDescription() local
/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp5713 StructuredData::ObjectSP object_sp = StructuredData::ParseJSON(buf);
5714 StructuredData::Dictionary *dict = object_sp->GetAsDictionary();