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

  /external/qemu/
tap-win32.c 99 OVERLAPPED read_overlapped;
100 OVERLAPPED write_overlapped;
109 static tun_buffer_t* get_buffer_from_free_list(tap_win32_overlapped_t* const overlapped)
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)
124 EnterCriticalSection(&overlapped->free_list_cs)
485 tap_win32_overlapped_t *overlapped = (tap_win32_overlapped_t*)param; local
    [all...]
  /development/host/windows/usb/winusb/
adb_winusb_endpoint_object.cpp 81 adb_io_completion->overlapped()) :
87 adb_io_completion->overlapped());
117 // overlapped I/O we're obligated to always provide OVERLAPPED
119 OVERLAPPED overlapped;
120 ZeroMemory(&overlapped, sizeof(overlapped));
121 overlapped.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
132 &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_aah/libusb/os/
poll_windows.c 26 * The way this layer works is by using OVERLAPPED with async I/O transfers, as
27 * OVERLAPPED have an associated event which is flagged for I/O completion.
31 * OVERLAPPED mode
38 * The pipe pollable synchronous I/O works using the overlapped event associated
97 // a single transfer (OVERLAPPED) when used. As it may not be part of any of the
108 || (poll_fd[_index].handle == 0) || (poll_fd[_index].overlapped == NULL) ) {
112 return (*pCancelIoEx)(poll_fd[_index].handle, poll_fd[_index].overlapped);
167 OVERLAPPED *create_overlapped(void)
169 OVERLAPPED *overlapped = (OVERLAPPED*) calloc(1, sizeof(OVERLAPPED)) local
252 OVERLAPPED* overlapped; local
326 OVERLAPPED* overlapped = NULL; local
    [all...]
poll_windows.h 29 // 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);
windows_usb.c     [all...]
  /external/chromium/net/base/
file_stream_win.cc 23 static void SetOffset(OVERLAPPED* overlapped, const LARGE_INTEGER& offset) {
24 overlapped->Offset = offset.LowPart;
25 overlapped->OffsetHigh = offset.HighPart;
28 static void IncrementOffset(OVERLAPPED* overlapped, DWORD count) {
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
227 OVERLAPPED* overlapped = NULL; local
287 OVERLAPPED* overlapped = NULL; 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_;
adb_api.h 151 this API it is opened for asynchronous (or overlapped) I/O. And each time
416 Endpoints are always opened for overlapped I/O.
439 Endpoints are always opened for overlapped I/O.
458 Endpoints are always opened for overlapped I/O.
504 initialize OVERLAPPED structure for this I/O.
527 initialize OVERLAPPED structure for this I/O.
579 /** \brief Gets overlapped I/O result for async I/O performed on the
584 @param[out] ovl_data Buffer for the copy of this object's OVERLAPPED
600 LPOVERLAPPED overlapped,
604 /** \brief Checks if overlapped I/O has been completed.
    [all...]
adb_api.cpp 484 LPOVERLAPPED overlapped,
494 adb_object->GetOvelappedIoResult(overlapped, bytes_transferred, wait);
  /external/chromium/base/
platform_file_win.cc 120 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
    [all...]
message_pump_win.cc 422 reinterpret_cast<OVERLAPPED*>(this));
528 OVERLAPPED* overlapped = NULL; local
530 &overlapped, timeout)) {
531 if (!overlapped)
538 item->context = reinterpret_cast<IOContext*>(overlapped);
message_pump_win.h 232 // // 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
message_loop_unittest.cc     [all...]
  /external/qemu/block/
raw-win32.c 80 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);
112 OVERLAPPED ov;
133 OVERLAPPED ov;
319 DWORD overlapped; local
344 overlapped = FILE_ATTRIBUTE_NORMAL;
346 overlapped |= FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH
    [all...]
  /external/chromium/net/disk_cache/
file_win.cc 20 OVERLAPPED* overlapped() { function in struct:__anon4981::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/src/l2_packet/
l2_packet_ndis.c 13 * WinXP version of the code uses overlapped I/O and a single threaded design
77 OVERLAPPED rx_overlapped;
98 OVERLAPPED overlapped; local
100 OVERLAPPED *o;
108 os_memset(&overlapped, 0, sizeof(overlapped));
109 o = &overlapped;
137 driver_ndis_get_ndisuio_handle(), &overlapped,
  /external/chromium/net/tools/dump_cache/
upgrade.cc 173 &out_context_.overlapped)) {
184 &in_context_.overlapped)) {
193 if (!ConnectNamedPipe(channel_, &in_context_.overlapped)) {
  /external/libvorbis/doc/
01-introduction.tex 351 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
04-codec.tex 578 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 435 milliseconds