Searched refs:IOObject (Results 1 – 12 of 12) sorted by relevance
20 class IOObject {32 IOObject(FDType type) : m_fd_type(type) {} in IOObject() function33 virtual ~IOObject();48 IOObject(const IOObject &) = delete;49 const IOObject &operator=(const IOObject &) = delete;
13 const IOObject::WaitableHandle IOObject::kInvalidHandleValue = -1;14 IOObject::~IOObject() = default;
70 virtual void UnregisterReadObject(IOObject::WaitableHandle handle) = 0;88 ReadHandle(MainLoopBase &mainloop, IOObject::WaitableHandle handle) in ReadHandle()92 IOObject::WaitableHandle m_handle;
14 #include "lldb/Utility/IOObject.h"36 class File : public IOObject {75 File() : IOObject(eFDTypeFile){}; in File() 122 /// IOObject::kInvalidHandleValue if none is available. This will128 /// a valid handle or IOObject::kInvalidHandleValue
18 #include "lldb/Utility/IOObject.h"41 class Socket : public IOObject {
54 void UnregisterReadObject(IOObject::WaitableHandle handle) override;60 void ProcessReadObject(IOObject::WaitableHandle handle);88 llvm::DenseMap<IOObject::WaitableHandle, Callback> m_read_fds;
196 std::vector<IOObject::WaitableHandle> fds;206 IOObject::WaitableHandle handle = fd.fd;325 void MainLoopPosix::UnregisterReadObject(IOObject::WaitableHandle handle) {383 void MainLoopPosix::ProcessReadObject(IOObject::WaitableHandle handle) {
304 if (m_io_sp->GetFdType() == IOObject::eFDTypeSocket) in Read() 452 const IOObject::WaitableHandle handle = m_io_sp->GetWaitableHandle(); in BytesAvailable() 455 if (handle != IOObject::kInvalidHandleValue) { in BytesAvailable()
75 : IOObject(eFDTypeSocket), m_protocol(protocol), in Socket()211 IOObject::WaitableHandle Socket::GetWaitableHandle() { in GetWaitableHandle()
117 IOObject::WaitableHandle File::GetWaitableHandle() { in GetWaitableHandle() 118 return IOObject::kInvalidHandleValue; in GetWaitableHandle() 276 IOObject::WaitableHandle NativeFile::GetWaitableHandle() { in GetStream()
110 class IOObject; variable359 typedef std::shared_ptr<lldb_private::IOObject> IOObjectSP;
713 SRCS+= Utility/IOObject.cpp