Searched defs:overlapped (Results 1 - 19 of 19) sorted by relevance

/external/libevent/
H A Diocp-internal.h52 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.
160 /** Associate a file descriptor with an iocp, such that overlapped IO on the
H A Devent_iocp.c58 EVUTIL_UPCAST(o, struct event_overlapped, overlapped);
73 OVERLAPPED *overlapped=NULL; local
77 &overlapped, ms);
88 if (key != NOTIFICATION_KEY && overlapped)
89 handle_entry(overlapped, key, bytes, ok);
90 else if (!overlapped)
281 r = PostQueuedCompletionStatus(port->port, n, key, &o->overlapped);
H A Dlistener.c449 struct event_overlapped overlapped; member in struct:accepting_socket
503 event_overlapped_init(&res->overlapped, accepted_socket_cb);
562 as->buflen/2, as->buflen/2, &pending, &as->overlapped.overlapped))
565 accepted_socket_cb(&as->overlapped, 1, 0, 1);
663 EVUTIL_UPCAST(o, struct accepting_socket, overlapped);
686 ok = WSAGetOverlappedResult(as->s, &o->overlapped,
/external/libmojo/mojo/edk/test/
H A Dtest_utils_win.cc21 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
65 &bytes_read_dword, &overlapped)) {
71 if (!GetOverlappedResult(handle.handle, &overlapped, &bytes_read_dword,
/external/libusb/libusb/os/
H A Dpoll_windows.h30 // 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);
H A Dpoll_windows.c39 * The pipe pollable synchronous I/O works using the overlapped event associated
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) ) {
199 OVERLAPPED *overlapped = (OVERLAPPED*) calloc(1, sizeof(OVERLAPPED)); local
200 if (overlapped == NULL) {
203 overlapped->hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
204 if(overlapped->hEvent == NULL) {
205 free (overlapped);
208 return overlapped;
211 free_overlapped(OVERLAPPED *overlapped) argument
264 OVERLAPPED* overlapped; local
324 OVERLAPPED* overlapped = NULL; local
478 overlapped_to_winfd(OVERLAPPED* overlapped) argument
[all...]
H A Dwindows_winusb.c2029 if (HasOverlappedIoCompletedSync(pollable_fd->overlapped)) {
2031 *io_size = (DWORD)pollable_fd->overlapped->InternalHigh;
2033 else if (GetOverlappedResult(pollable_fd->handle, pollable_fd->overlapped, io_size, false)) {
2034 // Regular async overlapped
2746 wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY;
2747 wfd.overlapped->InternalHigh = 0;
2749 if (!WinUSBX[sub_api].ControlTransfer(wfd.handle, *setup, transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE, size, NULL, wfd.overlapped)) {
2756 wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY;
2757 wfd.overlapped->InternalHigh = (DWORD)size;
2827 ret = WinUSBX[sub_api].ReadPipe(wfd.handle, transfer->endpoint, transfer->buffer, transfer->length, NULL, wfd.overlapped);
3272 _hid_get_report(struct hid_device_priv *dev, HANDLE hid_handle, int id, void *data, struct windows_transfer_priv *tp, size_t *size, OVERLAPPED *overlapped, int report_type) argument
3350 _hid_set_report(struct hid_device_priv *dev, HANDLE hid_handle, int id, void *data, struct windows_transfer_priv *tp, size_t *size, OVERLAPPED *overlapped, int report_type) argument
3419 _hid_class_request(struct hid_device_priv *dev, HANDLE hid_handle, int request_type, int request, int value, int _index, void *data, struct windows_transfer_priv *tp, size_t *size, OVERLAPPED *overlapped) argument
[all...]
/external/webrtc/webrtc/test/channel_transport/
H A Dudp_socket2_manager_win.h39 WSAOVERLAPPED overlapped; member in struct:webrtc::test::PerIoContext
/external/wpa_supplicant_8/hostapd/src/l2_packet/
H A Dl2_packet_ndis.c13 * WinXP version of the code uses overlapped I/O and a single threaded design
98 OVERLAPPED overlapped; local
108 os_memset(&overlapped, 0, sizeof(overlapped));
109 o = &overlapped;
137 driver_ndis_get_ndisuio_handle(), &overlapped,
/external/wpa_supplicant_8/src/l2_packet/
H A Dl2_packet_ndis.c13 * WinXP version of the code uses overlapped I/O and a single threaded design
98 OVERLAPPED overlapped; local
108 os_memset(&overlapped, 0, sizeof(overlapped));
109 o = &overlapped;
137 driver_ndis_get_ndisuio_handle(), &overlapped,
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/
H A Dl2_packet_ndis.c13 * WinXP version of the code uses overlapped I/O and a single threaded design
98 OVERLAPPED overlapped; local
108 os_memset(&overlapped, 0, sizeof(overlapped));
109 o = &overlapped;
137 driver_ndis_get_ndisuio_handle(), &overlapped,
/external/skia/src/ports/
H A DSkOSFile_win.cpp135 OVERLAPPED overlapped = {0}; local
138 overlapped.Offset = winOffset.LowPart;
139 overlapped.OffsetHigh = winOffset.HighPart;
146 if (ReadFile(fileHandle, buffer, static_cast<DWORD>(count), &bytesRead, &overlapped)) {
/external/deqp/execserver/
H A DxsWin32TestProcess.cpp133 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
232 deMemset(&overlapped, 0, sizeof(overlapped));
233 overlapped
[all...]
/external/mdnsresponder/mDNSWindows/
H A DmDNSWin32.h61 Overlapped overlapped; member in struct:TCPSocket_struct
80 Overlapped overlapped; member in struct:UDPSocket_struct
H A DmDNSWin32.c144 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;
1189 if ( !sock->overlapped.pending && ( sock->bptr == sock->eptr ) )
1344 check( !sock->overlapped.pending );
1346 ZeroMemory( &sock->overlapped.data, sizeof( sock->overlapped.data ) );
1347 sock->overlapped
1368 TCPEndRecv( DWORD error, DWORD bytesTransferred, LPWSAOVERLAPPED overlapped, DWORD flags ) argument
3256 UDPEndRecv( DWORD err, DWORD bytesTransferred, LPWSAOVERLAPPED overlapped, DWORD flags ) argument
[all...]
/external/v8/tools/clang/rewrite_to_chrome_style/
H A DRewriteToChromeStyle.cpp923 OVERLAPPED overlapped = {}; local
924 LockFileEx(lockfd, LOCKFILE_EXCLUSIVE_LOCK, 0, 1, 0, &overlapped);
946 UnlockFileEx(lockfd, 0, 1, 0, &overlapped);
/external/vboot_reference/tests/
H A Dcgptlib_test.c737 /* Test if overlapped partition tables can be detected. */
745 int overlapped; member in struct:__anon23911
808 EXPECT(cases[i].overlapped == CheckEntries(e, h));
/external/sqlite/dist/orig/
H A Dsqlite3.c40364 OVERLAPPED overlapped; /* The offset for ReadFile. */ local
40482 OVERLAPPED overlapped; /* The offset for WriteFile. */ local
[all...]
/external/sqlite/dist/
H A Dsqlite3.c40364 OVERLAPPED overlapped; /* The offset for ReadFile. */ local
40482 OVERLAPPED overlapped; /* The offset for WriteFile. */ local
[all...]

Completed in 2640 milliseconds