/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/bluetooth/glib/gio/win32/ |
gwin32directorymonitor.c | 40 OVERLAPPED overlapped; member in struct:_GWin32DirectoryMonitorPrivate 141 &priv->overlapped, 186 &self->priv->overlapped,
|
/external/chromium/net/disk_cache/ |
file_win.cc | 19 OVERLAPPED* overlapped() { function in struct:__anon3548::MyOverlapped 20 return &context_.overlapped; 59 context_.overlapped.Offset = static_cast<DWORD>(offset); 175 if (!ReadFile(platform_file_, buffer, size, &actual, data->overlapped())) { 215 if (!WriteFile(platform_file_, buffer, size, &actual, data->overlapped())) {
|
/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/ |
l2_packet_ndis.c | 19 * WinXP version of the code uses overlapped I/O and a single threaded design 83 OVERLAPPED rx_overlapped; 104 OVERLAPPED overlapped; local 106 OVERLAPPED *o; 114 os_memset(&overlapped, 0, sizeof(overlapped)); 115 o = &overlapped;
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_ndis.c | 19 * WinXP version of the code uses overlapped I/O and a single threaded design 83 OVERLAPPED rx_overlapped; 104 OVERLAPPED overlapped; local 106 OVERLAPPED *o; 114 os_memset(&overlapped, 0, sizeof(overlapped)); 115 o = &overlapped;
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_ndis.c | 19 * WinXP version of the code uses overlapped I/O and a single threaded design 83 OVERLAPPED rx_overlapped; 104 OVERLAPPED overlapped; local 106 OVERLAPPED *o; 114 os_memset(&overlapped, 0, sizeof(overlapped)); 115 o = &overlapped; 143 driver_ndis_get_ndisuio_handle(), &overlapped,
|
/external/qemu/ |
tap-win32.c | 105 OVERLAPPED read_overlapped; 106 OVERLAPPED write_overlapped; 115 static tun_buffer_t* get_buffer_from_free_list(tap_win32_overlapped_t* const overlapped) 118 WaitForSingleObject(overlapped->free_list_semaphore, INFINITE); 119 EnterCriticalSection(&overlapped->free_list_cs); 120 buffer = overlapped->free_list; 122 overlapped->free_list = buffer->next; 123 LeaveCriticalSection(&overlapped->free_list_cs); 128 static void put_buffer_on_free_list(tap_win32_overlapped_t* const overlapped, tun_buffer_t* const buffer) 130 EnterCriticalSection(&overlapped->free_list_cs) 491 tap_win32_overlapped_t *overlapped = (tap_win32_overlapped_t*)param; local [all...] |