/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/grpc-grpc/src/core/lib/iomgr/ |
iocp_windows.cc | 40 static OVERLAPPED g_iocp_custom_overlap; 62 LPOVERLAPPED overlapped; local 67 GetQueuedCompletionStatus(g_iocp, &bytes, &completion_key, &overlapped, 70 if (success == 0 && overlapped == NULL) { 73 GPR_ASSERT(completion_key && overlapped); 74 if (overlapped == &g_iocp_custom_overlap) { 85 if (overlapped == &socket->write_info.overlapped) { 87 } else if (overlapped == &socket->read_info.overlapped) { [all...] |
socket_windows.h | 44 OVERLAPPED overlapped; member in struct:grpc_winsocket_callback_info 57 /* The results of the overlapped operation. */ 66 and the kind of event, because we can have one overlapped per pending
|
/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 | 83 * A Python object wrapping an OVERLAPPED structure and other useful data 84 * for overlapped I/O 89 OVERLAPPED overlapped; member in struct:__anon37330 110 Py_CancelIoEx(self->handle, &self->overlapped) && 111 GetOverlappedResult(self->handle, &self->overlapped, &bytes, TRUE)) 121 "Overlapped object, the process may crash"); 132 CloseHandle(self->overlapped.hEvent); 138 CloseHandle(self->overlapped.hEvent); 148 class _winapi.Overlapped "OverlappedObject *" "&OverlappedType 397 OverlappedObject *overlapped = NULL; local 1387 OverlappedObject *overlapped = NULL; local 1639 OverlappedObject *overlapped = NULL; local [all...] |
overlapped.c | 2 * Support for overlapped IO 46 OVERLAPPED overlapped; member in struct:__anon37408 179 OVERLAPPED *Overlapped = NULL; 190 &CompletionKey, &Overlapped, Milliseconds); 194 if (Overlapped == NULL) { 201 err, NumberOfBytes, CompletionKey, Overlapped); 215 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 | 32 def pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE): 33 """Like os.pipe() but with overlapped support and using handles not fds.""" 49 if overlapped[0]: 52 if overlapped[1]: 67 ov = _winapi.ConnectNamedPipe(h1, overlapped=True) 82 """Wrapper for an overlapped pipe handle which is vaguely file-object like. 123 # Replacement for subprocess.Popen using overlapped pipe handles 127 """Replacement for subprocess.Popen using overlapped pipe handles. 137 stdin_rh, stdin_wh = pipe(overlapped=(False, True), duplex=True) 142 stdout_rh, stdout_wh = pipe(overlapped=(True, False) [all...] |
/external/skia/src/ports/ |
SkOSFile_win.cpp | 138 OVERLAPPED overlapped; local 139 memset(&overlapped, 0, sizeof(overlapped)); 142 overlapped.Offset = winOffset.LowPart; 143 overlapped.OffsetHigh = winOffset.HighPart; 150 if (ReadFile(fileHandle, buffer, static_cast<DWORD>(count), &bytesRead, &overlapped)) {
|
/external/skqp/src/ports/ |
SkOSFile_win.cpp | 138 OVERLAPPED overlapped; local 139 memset(&overlapped, 0, sizeof(overlapped)); 142 overlapped.Offset = winOffset.LowPart; 143 overlapped.OffsetHigh = winOffset.HighPart; 150 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...] |
/art/libartbase/base/unix_file/ |
fd_file.cc | 80 OVERLAPPED overlapped = {}; local 81 overlapped.Offset = static_cast<DWORD>(offset); 82 overlapped.OffsetHigh = static_cast<DWORD>(offset >> 32); 83 overlapped.hEvent = event.handle(); 84 if (!ReadFile(handle, data, static_cast<DWORD>(byte_count), &bytes_read, &overlapped)) { 90 !::GetOverlappedResult(handle, &overlapped, &bytes_read, TRUE)) { 109 OVERLAPPED overlapped = {}; local 110 overlapped.Offset = static_cast<DWORD>(offset) [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
|
/external/python/cpython3/Lib/test/test_asyncio/ |
test_windows_utils.py | 20 h1, h2 = windows_utils.pipe(overlapped=(True, True)) 22 ov1 = _overlapped.Overlapped() 37 ov2 = _overlapped.Overlapped() 57 h, _ = windows_utils.pipe(overlapped=(True, True)) 95 ovin = _overlapped.Overlapped() 96 ovout = _overlapped.Overlapped() 97 overr = _overlapped.Overlapped()
|
/external/tensorflow/tensorflow/core/platform/windows/ |
windows_file_system.cc | 58 OVERLAPPED overlapped = {0}; local 62 overlapped.Offset = offset_union.LowPart; 63 overlapped.OffsetHigh = offset_union.HighPart; 64 overlapped.hEvent = ::CreateEvent(NULL, TRUE, FALSE, NULL); 66 if (NULL == overlapped.hEvent) { 76 &bytes_read, &overlapped); 86 ::GetOverlappedResult(hfile, &overlapped, &bytes_read, TRUE); 95 ::CloseHandle(overlapped.hEvent);
|