Searched refs:overlapped (Results 1 - 17 of 17) sorted by relevance

/external/qemu/
H A Dtap-win32.c109 static tun_buffer_t* get_buffer_from_free_list(tap_win32_overlapped_t* const overlapped) argument
112 WaitForSingleObject(overlapped->free_list_semaphore, INFINITE);
113 EnterCriticalSection(&overlapped->free_list_cs);
114 buffer = overlapped->free_list;
116 overlapped->free_list = buffer->next;
117 LeaveCriticalSection(&overlapped->free_list_cs);
122 static void put_buffer_on_free_list(tap_win32_overlapped_t* const overlapped, tun_buffer_t* const buffer) argument
124 EnterCriticalSection(&overlapped->free_list_cs);
125 buffer->next = overlapped->free_list;
126 overlapped
131 get_buffer_from_output_queue(tap_win32_overlapped_t* const overlapped, const int block) argument
164 get_buffer_from_output_queue_immediate(tap_win32_overlapped_t* const overlapped) argument
169 put_buffer_on_output_queue(tap_win32_overlapped_t* const overlapped, tun_buffer_t* const buffer) argument
397 tap_win32_overlapped_init(tap_win32_overlapped_t* const overlapped, const HANDLE handle) argument
451 tap_win32_write(tap_win32_overlapped_t *overlapped, const void *buffer, unsigned long size) argument
485 tap_win32_overlapped_t *overlapped = (tap_win32_overlapped_t*)param; local
538 tap_win32_read(tap_win32_overlapped_t *overlapped, uint8_t **pbuf, int max_size) argument
556 tap_win32_free_buffer(tap_win32_overlapped_t *overlapped, uint8_t *pbuf) argument
[all...]
/external/libusb_aah/libusb/os/
H A Dpoll_windows.c38 * The pipe pollable synchronous I/O works using the overlapped event associated
108 || (poll_fd[_index].handle == 0) || (poll_fd[_index].overlapped == NULL) ) {
112 return (*pCancelIoEx)(poll_fd[_index].handle, poll_fd[_index].overlapped);
169 OVERLAPPED *overlapped = (OVERLAPPED*) calloc(1, sizeof(OVERLAPPED)); local
170 if (overlapped == NULL) {
173 overlapped->hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
174 if(overlapped->hEvent == NULL) {
175 free (overlapped);
178 return overlapped;
181 void free_overlapped(OVERLAPPED *overlapped) argument
193 reset_overlapped(OVERLAPPED *overlapped) argument
252 OVERLAPPED* overlapped; local
326 OVERLAPPED* overlapped = NULL; local
489 overlapped_to_winfd(OVERLAPPED* overlapped) argument
[all...]
H A Dpoll_windows.h29 // Handle synchronous completion through the overlapped structure
71 HANDLE handle; // what we need to attach overlapped to the I/O op, so we can poll it
72 OVERLAPPED* overlapped; // what will report our I/O status member in struct:winfd
89 struct winfd overlapped_to_winfd(OVERLAPPED* overlapped);
H A Dwindows_usb.c1953 if (HasOverlappedIoCompletedSync(transfer_priv->pollable_fd.overlapped)) {
1955 io_size = (DWORD)transfer_priv->pollable_fd.overlapped->InternalHigh;
1956 // Regular async overlapped
1958 transfer_priv->pollable_fd.overlapped, &io_size, false)) {
2589 wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY;
2590 wfd.overlapped->InternalHigh = 0;
2592 if (!WinUsb_ControlTransfer(wfd.handle, *setup, transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE, size, NULL, wfd.overlapped)) {
2599 wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY;
2600 wfd.overlapped->InternalHigh = (DWORD)size;
2671 ret = WinUsb_ReadPipe(wfd.handle, transfer->endpoint, transfer->buffer, transfer->length, NULL, wfd.overlapped);
[all...]
/external/chromium/net/base/
H A Dfile_stream_win.cc23 static void SetOffset(OVERLAPPED* overlapped, const LARGE_INTEGER& offset) { argument
24 overlapped->Offset = offset.LowPart;
25 overlapped->OffsetHigh = offset.HighPart;
28 static void IncrementOffset(OVERLAPPED* overlapped, DWORD count) { argument
30 offset.LowPart = overlapped->Offset;
31 offset.HighPart = overlapped->OffsetHigh;
33 SetOffset(overlapped, offset);
63 OVERLAPPED* overlapped() { return &context_.overlapped; } function in class:net::FileStream::AsyncContext
112 IncrementOffset(&context->overlapped, bytes_rea
227 OVERLAPPED* overlapped = NULL; local
287 OVERLAPPED* overlapped = NULL; local
[all...]
/external/chromium/base/
H A Dplatform_file_win.cc120 OVERLAPPED overlapped = {0}; local
121 overlapped.Offset = offset_li.LowPart;
122 overlapped.OffsetHigh = offset_li.HighPart;
125 if (::ReadFile(file, data, size, &bytes_read, &overlapped) != 0)
142 OVERLAPPED overlapped = {0}; local
143 overlapped.Offset = offset_li.LowPart;
144 overlapped.OffsetHigh = offset_li.HighPart;
147 if (::WriteFile(file, data, size, &bytes_written, &overlapped) != 0)
H A Dmessage_pump_win.cc528 OVERLAPPED* overlapped = NULL; local
530 &overlapped, timeout)) {
531 if (!overlapped)
538 item->context = reinterpret_cast<IOContext*>(overlapped);
H A Dmessage_pump_win.h232 // // The only buffer required for this operation is the overlapped
234 // ConnectNamedPipe(file_, &context_->overlapped);
263 // ReadFile(file_, buffer, num_bytes, &read, &context->overlapped);
304 // overlapped IO operation. |handler| must be set to the registered IOHandler
311 // additional buffers (other than the overlapped structure itself).
313 OVERLAPPED overlapped; member in struct:base::MessagePumpForIO::IOContext
H A Dmessage_loop_unittest.cc1231 OVERLAPPED* context() { return &context_.overlapped; }
/external/qemu/block/
H A Draw-win32.c80 DWORD overlapped; local
90 overlapped = FILE_ATTRIBUTE_NORMAL;
92 overlapped |= FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH;
94 overlapped |= FILE_FLAG_WRITE_THROUGH;
97 OPEN_EXISTING, overlapped, NULL);
319 DWORD overlapped; local
344 overlapped = FILE_ATTRIBUTE_NORMAL;
346 overlapped |= FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH;
348 overlapped |= FILE_FLAG_WRITE_THROUGH;
351 create_flags, overlapped, NUL
[all...]
/external/chromium/net/disk_cache/
H A Dfile_win.cc20 OVERLAPPED* overlapped() { function in struct:__anon3013::MyOverlapped
21 return &context_.overlapped;
60 context_.overlapped.Offset = static_cast<DWORD>(offset);
176 if (!ReadFile(platform_file_, buffer, size, &actual, data->overlapped())) {
216 if (!WriteFile(platform_file_, buffer, size, &actual, data->overlapped())) {
/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/chromium/net/tools/dump_cache/
H A Dupgrade.cc173 &out_context_.overlapped)) {
184 &in_context_.overlapped)) {
193 if (!ConnectNamedPipe(channel_, &in_context_.overlapped)) {
/external/libvorbis/doc/
H A D01-introduction.tex351 requirements, overlapped 50\% with the output of the previous frame and
493 Windowed MDCT output is overlapped and added with the right hand data
509 The overlapped portion produced from overlapping the previous and
514 overlapped portions. When overlapping a short and long window, much of
H A D04-codec.tex578 Windowed MDCT output is overlapped and added with the right hand data
581 \xref{vorbis:spec:window}). The overlapped portion
586 one-half block consisting of and only of the overlapped portions. When

Completed in 1034 milliseconds