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

  /development/host/windows/usb/api/
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_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...]
  /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
  /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/libusb_aah/libusb/os/
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);
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...]
  /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...]
  /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/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/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...]

Completed in 310 milliseconds