Lines Matching refs:_handle
115 _handle = None variable in _ConnectionBase
124 self._handle = handle
131 if self._handle is not None:
135 if self._handle is None:
156 return self._handle is None
171 return self._handle
175 if self._handle is not None:
179 self._handle = None
277 _CloseHandle(self._handle)
280 ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
301 ov, err = _winapi.ReadFile(self._handle, bsize,
328 _winapi.PeekNamedPipe(self._handle)[0] != 0):
336 left = _winapi.PeekNamedPipe(self._handle)[1]
340 ov, err = _winapi.ReadFile(self._handle, left, overlapped=True)
356 _close(self._handle)
361 _close(self._handle)
368 n = write(self._handle, buf)
376 handle = self._handle