Lines Matching refs:ov
280 ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
284 [ov.event], False, INFINITE)
287 ov.cancel()
290 nwritten, err = ov.GetOverlappedResult(True)
301 ov, err = _winapi.ReadFile(self._handle, bsize,
306 [ov.event], False, INFINITE)
309 ov.cancel()
312 nread, err = ov.GetOverlappedResult(True)
315 f.write(ov.getbuffer())
318 return self._get_more_data(ov, maxsize)
332 def _get_more_data(self, ov, maxsize): argument
333 buf = ov.getbuffer()
340 ov, err = _winapi.ReadFile(self._handle, left, overlapped=True)
341 rbytes, err = ov.GetOverlappedResult(True)
344 f.write(ov.getbuffer())
669 ov = _winapi.ConnectNamedPipe(handle, overlapped=True)
678 [ov.event], False, INFINITE)
680 ov.cancel()
684 _, err = ov.GetOverlappedResult(True)
854 ov, err = _winapi.ReadFile(fileno(), 0, True)
856 ov, err = None, e.winerror
860 ov_list.append(ov)
861 waithandle_to_obj[ov.event] = o
866 if ov and sys.getwindowsversion()[:2] >= (6, 2):
870 _, err = ov.GetOverlappedResult(False)
881 for ov in ov_list:
882 ov.cancel()
885 for ov in ov_list:
887 _, err = ov.GetOverlappedResult(True)
893 o = waithandle_to_obj[ov.event]