Lines Matching refs:m_read
29 : m_read(INVALID_HANDLE_VALUE), m_write(INVALID_HANDLE_VALUE), in PipeWindows()
37 : m_read((HANDLE)read), m_write((HANDLE)write), in PipeWindows()
51 m_read = INVALID_HANDLE_VALUE; in PipeWindows()
70 BOOL result = ::CreatePipe(&m_read, &m_write, &sa, 1024); in CreateNew()
74 m_read_fd = _open_osfhandle((intptr_t)m_read, _O_RDONLY); in CreateNew()
111 m_read = ::CreateNamedPipeA( in CreateNew()
114 if (INVALID_HANDLE_VALUE == m_read) in CreateNew()
116 m_read_fd = _open_osfhandle((intptr_t)m_read, _O_RDONLY); in CreateNew()
187 m_read = ::CreateFileA(pipe_path.c_str(), GENERIC_READ, 0, &attributes, in OpenNamedPipe()
189 if (INVALID_HANDLE_VALUE == m_read) in OpenNamedPipe()
192 m_read_fd = _open_osfhandle((intptr_t)m_read, _O_RDONLY); in OpenNamedPipe()
221 m_read = INVALID_HANDLE_VALUE; in ReleaseReadFileDescriptor()
244 m_read = INVALID_HANDLE_VALUE; in CloseReadFileDescriptor()
266 bool PipeWindows::CanRead() const { return (m_read != INVALID_HANDLE_VALUE); } in CanRead()
271 PipeWindows::GetReadNativeHandle() { return m_read; } in GetReadNativeHandle()
284 BOOL result = ::ReadFile(m_read, buf, sys_bytes_read, &sys_bytes_read, in ReadWithTimeout()
303 BOOL cancel_result = CancelIoEx(m_read, &m_read_overlapped); in ReadWithTimeout()
313 if (!GetOverlappedResult(m_read, &m_read_overlapped, &sys_bytes_read, FALSE)) in ReadWithTimeout()