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

1 2

  /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/chromium_org/third_party/libusb/src/libusb/os/
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...]
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);
  /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/chromium_org/sandbox/win/src/
named_pipe_policy_test.cc 29 OVERLAPPED overlapped = {0};
30 overlapped.hEvent = ::CreateEvent(NULL, TRUE, TRUE, NULL);
31 BOOL result = ::ConnectNamedPipe(pipe, &overlapped);
44 ::CloseHandle(overlapped.hEvent);
  /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_;
  /external/chromium_org/net/base/
file_stream_context_win.cc 25 void SetOffset(OVERLAPPED* overlapped, const LARGE_INTEGER& offset) {
26 overlapped->Offset = offset.LowPart;
27 overlapped->OffsetHigh = offset.HighPart;
30 void IncrementOffset(OVERLAPPED* overlapped, DWORD count) {
32 offset.LowPart = overlapped->Offset;
33 offset.HighPart = overlapped->OffsetHigh;
35 SetOffset(overlapped, offset);
51 memset(&io_context_.overlapped, 0, sizeof(io_context_.overlapped))
    [all...]
  /external/chromium_org/media/audio/
async_socket_io_handler_win.cc 49 &context_->overlapped);
72 memset(&context_->overlapped, 0, sizeof(context_->overlapped));
  /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_org/base/
platform_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) != 0)
179 OVERLAPPED overlapped = {0}; local
180 overlapped.Offset = offset_li.LowPart;
181 overlapped.OffsetHigh = offset_li.HighPart;
184 if (::WriteFile(file, data, size, &bytes_written, &overlapped) != 0
    [all...]
sync_socket_win.cc 29 bool CreatePairImpl(HANDLE* socket_a, HANDLE* socket_b, bool overlapped) {
37 if (overlapped)
72 if (overlapped)
109 // overlapped fashion and waits for IO completion. The function also waits
123 OVERLAPPED ol = {0};
  /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:__anon5446::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/chromium_org/net/disk_cache/
file_win.cc 20 OVERLAPPED* overlapped() { function in struct:__anon11037::MyOverlapped
21 return &context_.overlapped;
63 context_.overlapped.Offset = static_cast<DWORD>(offset);
179 if (!ReadFile(platform_file_, buffer, size, &actual, data->overlapped())) {
219 if (!WriteFile(platform_file_, buffer, size, &actual, data->overlapped())) {
  /external/chromium_org/webkit/browser/fileapi/
sandbox_file_stream_writer.cc 210 int overlapped = file_size_ - total_bytes_written_ - initial_offset_; local
211 if (overlapped < 0)
212 overlapped = 0;
214 MakeTuple(url_, write_response - overlapped));
  /external/lzma/CPP/Windows/
FileIO.h 69 LPVOID outBuffer, DWORD outSize, LPDWORD bytesReturned, LPOVERLAPPED overlapped) const
72 outBuffer, outSize, bytesReturned, overlapped));
  /external/chromium_org/ipc/
ipc_channel_win.cc 27 memset(&context.overlapped, 0, sizeof(context.overlapped));
125 &bytes_read, &input_state_.context.overlapped);
330 BOOL ok = ConnectNamedPipe(pipe_, &input_state_.context.overlapped);
335 // return success when used in overlapped mode.
393 &output_state_.context.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,

Completed in 616 milliseconds

1 2