Searched refs:IOObject (Results 1 – 13 of 13) sorted by relevance
21 class IOObject {33 IOObject(FDType type) : m_fd_type(type) {} in IOObject() function34 virtual ~IOObject();49 IOObject(const IOObject &) = delete;50 const IOObject &operator=(const IOObject &) = delete;
18 const IOObject::WaitableHandle IOObject::kInvalidHandleValue =21 const IOObject::WaitableHandle IOObject::kInvalidHandleValue = -1;23 IOObject::~IOObject() = default;
31 ReadFull(IOObject &descriptor, size_t length, in ReadFull()39 timeout_supported = descriptor.GetFdType() == IOObject::eFDTypeSocket; in ReadFull()72 ReadUntil(IOObject &descriptor, StringRef delimiter, in ReadUntil()98 IOObject *input = m_input.get(); in ReadImpl()151 IOObject *input = m_input.get(); in ReadImpl()
171 : IOObject(eFDTypeSocket), m_protocol(protocol), in Socket()315 IOObject::WaitableHandle Socket::GetWaitableHandle() { in GetWaitableHandle()316 return (IOObject::WaitableHandle)m_socket; in GetWaitableHandle()
117 IOObject::WaitableHandle File::GetWaitableHandle() { in GetWaitableHandle()118 return IOObject::kInvalidHandleValue; in GetWaitableHandle()276 IOObject::WaitableHandle NativeFile::GetWaitableHandle() { in GetWaitableHandle()
54 void UnregisterReadObject(IOObject::WaitableHandle handle) override;60 void ProcessReadObject(IOObject::WaitableHandle handle);89 llvm::DenseMap<IOObject::WaitableHandle, Callback> m_read_fds;
86 virtual void UnregisterReadObject(IOObject::WaitableHandle handle) = 0;108 ReadHandle(MainLoopBase &mainloop, IOObject::WaitableHandle handle) in ReadHandle()112 IOObject::WaitableHandle m_handle;
36 class File : public IOObject {75 File() : IOObject(eFDTypeFile){}; in File()
68 class Socket : public IOObject {
201 IOObject::WaitableHandle handle = fd.fd; in ProcessReadEvents()306 void MainLoopPosix::UnregisterReadObject(IOObject::WaitableHandle handle) { in UnregisterReadObject()357 void MainLoopPosix::ProcessReadObject(IOObject::WaitableHandle handle) { in ProcessReadObject()
296 if (m_io_sp->GetFdType() == IOObject::eFDTypeSocket) in Read()442 const IOObject::WaitableHandle handle = m_io_sp->GetWaitableHandle(); in BytesAvailable()445 if (handle != IOObject::kInvalidHandleValue) { in BytesAvailable()
110 class IOObject; variable364 typedef std::shared_ptr<lldb_private::IOObject> IOObjectSP;
736 SRCS+= Utility/IOObject.cpp