/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_org/sandbox/win/src/ |
named_pipe_policy_test.cc | 43 OVERLAPPED overlapped = {0}; local 44 overlapped.hEvent = ::CreateEvent(NULL, TRUE, TRUE, NULL); 45 BOOL result = ::ConnectNamedPipe(pipe, &overlapped); 58 ::CloseHandle(overlapped.hEvent);
|
/external/chromium_org/mojo/common/test/ |
test_utils_win.cc | 23 OVERLAPPED overlapped = { 0 }; local 27 &bytes_written_dword, &overlapped)) { 29 !GetOverlappedResult(handle.handle, &overlapped, &bytes_written_dword, 43 OVERLAPPED overlapped = { 0 }; local 47 &bytes_read_dword, &overlapped)) { 49 !GetOverlappedResult(handle.handle, &overlapped, &bytes_read_dword, 63 OVERLAPPED overlapped = { 0 } local [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
sandbox_file_stream_writer.cc | 211 int overlapped = file_size_ - total_bytes_written_ - initial_offset_; local 212 if (overlapped < 0) 213 overlapped = 0; 215 MakeTuple(url_, write_response - overlapped));
|
/external/chromium_org/base/ |
platform_file_win.cc | 44 OVERLAPPED overlapped = {0}; local 45 overlapped.Offset = offset_li.LowPart; 46 overlapped.OffsetHigh = offset_li.HighPart; 49 if (::ReadFile(file, data, size, &bytes_read, &overlapped) != 0) 90 OVERLAPPED overlapped = {0}; local 91 overlapped.Offset = offset_li.LowPart; 92 overlapped.OffsetHigh = offset_li.HighPart; 95 if (::WriteFile(file, data, size, &bytes_written, &overlapped) != 0 [all...] |
/external/chromium_org/base/files/ |
file_win.cc | 143 OVERLAPPED overlapped = {0}; local 144 overlapped.Offset = offset_li.LowPart; 145 overlapped.OffsetHigh = offset_li.HighPart; 148 if (::ReadFile(file_, data, size, &bytes_read, &overlapped)) 188 OVERLAPPED overlapped = {0}; local 189 overlapped.Offset = offset_li.LowPart; 190 overlapped.OffsetHigh = offset_li.HighPart; 193 if (::WriteFile(file_, data, size, &bytes_written, &overlapped)) [all...] |
/external/chromium_org/base/message_loop/ |
message_pump_win.h | 199 // // The only buffer required for this operation is the overlapped 201 // ConnectNamedPipe(file_, &context_->overlapped); 230 // ReadFile(file_, buffer, num_bytes, &read, &context->overlapped); 271 // overlapped IO operation. |handler| must be set to the registered IOHandler 278 // additional buffers (other than the overlapped structure itself). 280 OVERLAPPED overlapped; member in struct:base::MessagePumpForIO::IOContext 339 // |handler| will have valid OVERLAPPED pointers.
|
message_pump_win.cc | 445 reinterpret_cast<OVERLAPPED*>(this)); 471 // Job object notifications use the OVERLAPPED pointer to carry the message 473 // convert OVERLAPPED* to IOContext*. 576 OVERLAPPED* overlapped = NULL; local 578 &overlapped, timeout)) { 579 if (!overlapped) 586 item->context = reinterpret_cast<IOContext*>(overlapped);
|
/external/chromium_org/net/disk_cache/blockfile/ |
file_win.cc | 20 OVERLAPPED* overlapped() { function in struct:__anon13171::MyOverlapped 21 return &context_.overlapped; 63 context_.overlapped.Offset = static_cast<DWORD>(offset); 152 data->overlapped())) { 202 data->overlapped())) {
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
poll_windows.h | 30 // Handle synchronous completion through the overlapped structure 79 HANDLE handle; // what we need to attach overlapped to the I/O op, so we can poll it 80 OVERLAPPED* overlapped; // what will report our I/O status member in struct:winfd 100 struct winfd overlapped_to_winfd(OVERLAPPED* overlapped);
|
poll_windows.c | 27 * The way this layer works is by using OVERLAPPED with async I/O transfers, as 28 * OVERLAPPED have an associated event which is flagged for I/O completion. 32 * OVERLAPPED mode 39 * The pipe pollable synchronous I/O works using the overlapped event associated 87 // a single transfer (OVERLAPPED) when used. As it may not be part of any of the 110 || (poll_fd[_index].handle == 0) || (poll_fd[_index].overlapped == NULL) ) { 119 return (*pCancelIoEx)(poll_fd[_index].handle, poll_fd[_index].overlapped); 141 || (poll_fd[_index].handle == 0) || (poll_fd[_index].overlapped == NULL) ) { 195 static OVERLAPPED *create_overlapped(void) 197 OVERLAPPED *overlapped = (OVERLAPPED*) calloc(1, sizeof(OVERLAPPED)) local 262 OVERLAPPED* overlapped; local 322 OVERLAPPED* overlapped = NULL; local [all...] |
/external/chromium_org/third_party/webrtc/test/channel_transport/ |
udp_socket2_manager_win.h | 39 WSAOVERLAPPED overlapped; member in struct:webrtc::test::PerIoContext
|
/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/deqp/execserver/ |
xsWin32TestProcess.cpp | 133 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 230 deUint64 offset = 0; // Overlapped IO requires manual offset keeping [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
mfapi.h | 104 OVERLAPPED overlapped; member in struct:tagMFASYNCRESULT [all...] |
/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...] |
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
_winnt.h | 125 OVERLAPPED overlapped; /* Used for async I/O */ member in struct:_MDOverlapped 128 * using overlapped I/O. 149 /* The overlapped structure must be first! */ 150 struct _MDOverlapped overlapped; /* Used for async IO for this thread */ member in struct:_MDThread
|
/external/sqlite/dist/orig/ |
sqlite3.c | 34440 OVERLAPPED overlapped; \/* The offset for ReadFile. *\/ local 34550 OVERLAPPED overlapped; \/* The offset for WriteFile. *\/ local [all...] |
/external/sqlite/dist/ |
sqlite3.c | 34460 OVERLAPPED overlapped; \/* The offset for ReadFile. *\/ local 34570 OVERLAPPED overlapped; \/* The offset for WriteFile. *\/ local [all...] |