HomeSort by relevance Sort by last modified time
    Searched refs:overlapped (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /development/host/windows/usb/winusb/
adb_winusb_endpoint_object.cpp 133 adb_io_completion->overlapped()) :
139 adb_io_completion->overlapped());
187 // overlapped I/O we're obligated to always provide OVERLAPPED
189 OVERLAPPED overlapped;
190 ZeroMemory(&overlapped, sizeof(overlapped));
191 overlapped.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
202 &overlapped) :
    [all...]
adb_winusb_io_completion.cpp 19 encapsulates a wrapper around OVERLAPPED Win32 structure returned from
62 overlapped(),
78 overlapped(),
90 CopyMemory(ovl_data, overlapped(), sizeof(OVERLAPPED));
  /external/libusb/libusb/os/
poll_windows.c 27 * The way this layer works is by using OVERLAPPED with async I/O transfers, as
28 * OVERLAPPED have an associated event which is flagged for I/O completion.
32 * OVERLAPPED mode
39 * The pipe pollable synchronous I/O works using the overlapped event associated
89 // a single transfer (OVERLAPPED) when used. As it may not be part of any of the
112 || (poll_fd[_index].handle == 0) || (poll_fd[_index].overlapped == NULL) ) {
121 return (*pCancelIoEx)(poll_fd[_index].handle, poll_fd[_index].overlapped);
143 || (poll_fd[_index].handle == 0) || (poll_fd[_index].overlapped == NULL) ) {
197 static OVERLAPPED *create_overlapped(void)
199 OVERLAPPED *overlapped = (OVERLAPPED*) calloc(1, sizeof(OVERLAPPED)) local
264 OVERLAPPED* overlapped; local
324 OVERLAPPED* overlapped = NULL; local
    [all...]
poll_windows.h 30 // Handle synchronous completion through the overlapped structure
85 HANDLE handle; // what we need to attach overlapped to the I/O op, so we can poll it
86 OVERLAPPED* overlapped; // what will report our I/O status member in struct:winfd
106 struct winfd overlapped_to_winfd(OVERLAPPED* overlapped);
  /external/libmojo/mojo/edk/test/
test_utils_win.cc 21 OVERLAPPED overlapped = {0}; local
25 &bytes_written_dword, &overlapped)) {
27 !GetOverlappedResult(handle.handle, &overlapped, &bytes_written_dword,
41 OVERLAPPED overlapped = {0}; local
45 &bytes_read_dword, &overlapped)) {
47 !GetOverlappedResult(handle.handle, &overlapped, &bytes_read_dword,
61 OVERLAPPED overlapped = {0} local
    [all...]
  /development/host/windows/usb/api/
adb_legacy_endpoint_object.cpp 86 adb_io_completion->overlapped()) :
91 adb_io_completion->overlapped());
105 adb_io_completion->overlapped());
145 // overlapped I/O we're obligated to always provide OVERLAPPED
147 OVERLAPPED overlapped; local
148 ZeroMemory(&overlapped, sizeof(overlapped));
155 ReadFile(usb_handle(), buffer, bytes_to_transfer, bytes_transferred, &overlapped) :
    [all...]
adb_io_completion.cpp 19 encapsulates a generic wrapper around OVERLAPPED Win32 structure
49 return HasOverlappedIoCompleted(overlapped()) ? true : false;
adb_legacy_io_completion.cpp 19 encapsulates a wrapper around OVERLAPPED Win32 structure returned from
53 overlapped(),
69 overlapped(),
82 CopyMemory(ovl_data, overlapped(), sizeof(OVERLAPPED));
adb_io_completion.h 21 a generic wrapper around OVERLAPPED Win32 structure returned from
27 /** \brief Encapsulates encapsulates a generic wrapper around OVERLAPPED Win32
47 used to initialize OVERLAPPED structure for this object.
66 /** \brief Gets overlapped I/O result
68 @param[out] ovl_data Buffer for the copy of this object's OVERLAPPED
101 /// Gets overlapped structure for this I/O
102 LPOVERLAPPED overlapped() { function in class:AdbIOCompletion
123 /// Overlapped structure for this I/O
124 OVERLAPPED overlapped_;
  /external/python/cpython3/Modules/
_winapi.c 85 * A Python object wrapping an OVERLAPPED structure and other useful data
86 * for overlapped I/O
91 OVERLAPPED overlapped; member in struct:__anon33406
112 Py_CancelIoEx(self->handle, &self->overlapped) &&
113 GetOverlappedResult(self->handle, &self->overlapped, &bytes, TRUE))
123 "Overlapped object, the process may crash");
134 CloseHandle(self->overlapped.hEvent);
140 CloseHandle(self->overlapped.hEvent);
150 class _winapi.Overlapped "OverlappedObject *" "&OverlappedType
399 OverlappedObject *overlapped = NULL; local
1176 OverlappedObject *overlapped = NULL; local
1428 OverlappedObject *overlapped = NULL; local
    [all...]
overlapped.c 2 * Support for overlapped IO
46 OVERLAPPED overlapped; member in struct:__anon33480
176 OVERLAPPED *Overlapped = NULL;
187 &CompletionKey, &Overlapped, Milliseconds);
191 if (Overlapped == NULL) {
198 err, NumberOfBytes, CompletionKey, Overlapped);
212 OVERLAPPED *Overlapped;
    [all...]
  /external/libevent/
event_iocp.c 56 handle_entry(OVERLAPPED *o, ULONG_PTR completion_key, DWORD nBytes, int ok)
59 EVUTIL_UPCAST(o, struct event_overlapped, overlapped);
74 OVERLAPPED *overlapped=NULL; local
78 &overlapped, ms);
89 if (key != NOTIFICATION_KEY && overlapped)
90 handle_entry(overlapped, key, bytes, ok);
91 else if (!overlapped)
282 r = PostQueuedCompletionStatus(port->port, n, key, &o->overlapped);
iocp-internal.h 45 Internal use only. Wraps an OVERLAPPED that we're using for libevent
47 OVERLAPPED*, it upcasts the pointer to an event_overlapped, and calls the
52 OVERLAPPED overlapped; member in struct:event_overlapped
105 @param overlapped The struct event_overlapped to initialize
111 /** Allocate and return a new evbuffer that supports overlapped IO on a given
122 /** Start reading data onto the end of an overlapped evbuffer.
131 @param ol Overlapped object with associated completion callback.
145 @param ol Overlapped object with associated completion callback.
160 /** Associate a file descriptor with an iocp, such that overlapped IO on th
    [all...]
  /external/python/cpython3/Lib/asyncio/
windows_utils.py 83 def pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE):
84 """Like os.pipe() but with overlapped support and using handles not fds."""
99 if overlapped[0]:
102 if overlapped[1]:
117 ov = _winapi.ConnectNamedPipe(h1, overlapped=True)
132 """Wrapper for an overlapped pipe handle which is vaguely file-object like.
173 # Replacement for subprocess.Popen using overlapped pipe handles
177 """Replacement for subprocess.Popen using overlapped pipe handles.
187 stdin_rh, stdin_wh = pipe(overlapped=(False, True), duplex=True)
192 stdout_rh, stdout_wh = pipe(overlapped=(True, False)
    [all...]
  /prebuilts/go/darwin-x86/src/internal/poll/
sockopt_windows.go 19 func (fd *FD) WSAIoctl(iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *syscall.Overlapped, completionRoutine uintptr) error {
24 return syscall.WSAIoctl(fd.Sysfd, iocc, inbuf, cbif, outbuf, cbob, cbbr, overlapped, completionRoutine)
  /prebuilts/go/linux-x86/src/internal/poll/
sockopt_windows.go 19 func (fd *FD) WSAIoctl(iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *syscall.Overlapped, completionRoutine uintptr) error {
24 return syscall.WSAIoctl(fd.Sysfd, iocc, inbuf, cbif, outbuf, cbob, cbbr, overlapped, completionRoutine)
  /external/skia/src/ports/
SkOSFile_win.cpp 136 OVERLAPPED overlapped; local
137 memset(&overlapped, 0, sizeof(overlapped));
140 overlapped.Offset = winOffset.LowPart;
141 overlapped.OffsetHigh = winOffset.HighPart;
148 if (ReadFile(fileHandle, buffer, static_cast<DWORD>(count), &bytesRead, &overlapped)) {
  /external/skqp/src/ports/
SkOSFile_win.cpp 135 OVERLAPPED overlapped; local
136 memset(&overlapped, 0, sizeof(overlapped));
139 overlapped.Offset = winOffset.LowPart;
140 overlapped.OffsetHigh = winOffset.HighPart;
147 if (ReadFile(fileHandle, buffer, static_cast<DWORD>(count), &bytesRead, &overlapped)) {
  /external/deqp/execserver/
xsWin32TestProcess.cpp 133 OVERLAPPED overlapped; local
136 deMemset(&overlapped, 0, sizeof(overlapped));
137 overlapped.hEvent = ioEvent.getHandle();
145 if (!WriteFile(m_dst, &m_caseList[curPos], (DWORD)numToWrite, NULL, &overlapped))
159 if (!GetOverlappedResult(m_dst, &overlapped, &numBytesWritten, FALSE))
228 OVERLAPPED overlapped; local
230 deUint64 offset = 0; // Overlapped IO requires manual offset keeping
    [all...]
  /external/mdnsresponder/mDNSWindows/
mDNSWin32.c 144 mDNSlocal void CALLBACK TCPEndRecv( DWORD error, DWORD bytesTransferred, LPWSAOVERLAPPED overlapped, DWORD flags );
148 mDNSlocal void CALLBACK UDPEndRecv( DWORD err, DWORD bytesTransferred, LPWSAOVERLAPPED overlapped, DWORD flags );
325 // Set the thread global overlapped flag
337 inMDNS->p->unicastSock4.overlapped.pending = FALSE;
369 inMDNS->p->unicastSock6.overlapped.pending = FALSE;
    [all...]
mDNSWin32.h 35 typedef struct Overlapped
38 OVERLAPPED data;
46 } Overlapped;
61 Overlapped overlapped; member in struct:TCPSocket_struct
80 Overlapped overlapped; member in struct:UDPSocket_struct
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/
EfiCopyMemRep1.c 62 jb _CopyBytes ; Copy backward if overlapped
EfiCopyMemRep4.c 62 jae _CopyBackward ; Copy backward if overlapped
  /system/core/base/
file.cpp 161 OVERLAPPED overlapped; local
162 memset(&overlapped, 0, sizeof(OVERLAPPED));
163 overlapped.Offset = static_cast<DWORD>(offset);
164 overlapped.OffsetHigh = static_cast<DWORD>(offset >> 32);
166 &bytes_read, &overlapped)) {
  /external/tensorflow/tensorflow/core/platform/windows/
windows_file_system.cc 56 OVERLAPPED overlapped = {0}; local
60 overlapped.Offset = offset_union.LowPart;
61 overlapped.OffsetHigh = offset_union.HighPart;
62 overlapped.hEvent = ::CreateEvent(NULL, TRUE, FALSE, NULL);
64 if (NULL == overlapped.hEvent) {
74 &bytes_read, &overlapped);
84 ::GetOverlappedResult(hfile, &overlapped, &bytes_read, TRUE);
93 ::CloseHandle(overlapped.hEvent);

Completed in 1087 milliseconds

1 2 3 4 5