Lines Matching refs:m_read
31 : m_read(INVALID_HANDLE_VALUE), m_write(INVALID_HANDLE_VALUE), in PipeWindows()
39 : m_read((HANDLE)read), m_write((HANDLE)write), in PipeWindows()
53 m_read = INVALID_HANDLE_VALUE; in PipeWindows()
72 BOOL result = ::CreatePipe(&m_read, &m_write, &sa, 1024); in CreateNew()
76 m_read_fd = _open_osfhandle((intptr_t)m_read, _O_RDONLY); in CreateNew()
113 m_read = ::CreateNamedPipeA( in CreateNew()
116 if (INVALID_HANDLE_VALUE == m_read) in CreateNew()
118 m_read_fd = _open_osfhandle((intptr_t)m_read, _O_RDONLY); in CreateNew()
189 m_read = ::CreateFileA(pipe_path.c_str(), GENERIC_READ, 0, &attributes, in OpenNamedPipe()
191 if (INVALID_HANDLE_VALUE == m_read) in OpenNamedPipe()
194 m_read_fd = _open_osfhandle((intptr_t)m_read, _O_RDONLY); in OpenNamedPipe()
223 m_read = INVALID_HANDLE_VALUE; in ReleaseReadFileDescriptor()
246 m_read = INVALID_HANDLE_VALUE; in CloseReadFileDescriptor()
268 bool PipeWindows::CanRead() const { return (m_read != INVALID_HANDLE_VALUE); } in CanRead()
273 PipeWindows::GetReadNativeHandle() { return m_read; } in GetReadNativeHandle()
286 BOOL result = ::ReadFile(m_read, buf, sys_bytes_read, &sys_bytes_read, in ReadWithTimeout()
305 BOOL cancel_result = CancelIoEx(m_read, &m_read_overlapped); in ReadWithTimeout()
315 if (!GetOverlappedResult(m_read, &m_read_overlapped, &sys_bytes_read, FALSE)) in ReadWithTimeout()