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

1 2

  /external/chromium/net/base/
winsock_util.cc 21 void CheckEventWait(WSAEVENT hEvent, DWORD wait_rv, DWORD expected) {
35 void AssertEventNotSignaled(WSAEVENT hEvent) {
36 DWORD wait_rv = WaitForSingleObject(hEvent, 0);
37 CheckEventWait(hEvent, wait_rv, WAIT_TIMEOUT);
40 bool ResetEventIfSignaled(WSAEVENT hEvent) {
42 DWORD wait_rv = WaitForSingleObject(hEvent, 0);
45 CheckEventWait(hEvent, wait_rv, WAIT_OBJECT_0);
46 BOOL ok = WSAResetEvent(hEvent);
winsock_util.h 14 void AssertEventNotSignaled(WSAEVENT hEvent);
24 bool ResetEventIfSignaled(WSAEVENT hEvent);
network_change_notifier_win.cc 20 addr_overlapped_.hEvent = WSACreateEvent();
27 WSACloseEvent(addr_overlapped_.hEvent);
167 addr_watcher_.StartWatching(addr_overlapped_.hEvent, this);
  /external/chromium_org/net/base/
winsock_util.h 15 void AssertEventNotSignaled(WSAEVENT hEvent);
25 bool ResetEventIfSignaled(WSAEVENT hEvent);
winsock_util.cc 22 void CheckEventWait(WSAEVENT hEvent, DWORD wait_rv, DWORD expected) {
36 void AssertEventNotSignaled(WSAEVENT hEvent) {
37 DWORD wait_rv = WaitForSingleObject(hEvent, 0);
38 CheckEventWait(hEvent, wait_rv, WAIT_TIMEOUT);
41 bool ResetEventIfSignaled(WSAEVENT hEvent) {
43 DWORD wait_rv = WaitForSingleObject(hEvent, 0);
46 CheckEventWait(hEvent, wait_rv, WAIT_OBJECT_0);
47 BOOL ok = WSAResetEvent(hEvent);
network_change_notifier_win.cc 64 addr_overlapped_.hEvent = WSACreateEvent();
74 WSACloseEvent(addr_overlapped_.hEvent);
299 addr_watcher_.StartWatching(addr_overlapped_.hEvent, this);
  /hardware/ti/omap3/dspbridge/inc/
sync.h 96 * hEvent: Handle to a synchronization event, created/opened in
105 * Any subsequent usage of hEvent would be invalid.
107 extern DSP_STATUS SYNC_CloseEvent(IN struct SYNC_OBJECT* hEvent);
235 * If function succeeded, pEvent->hEvent must be a valid event handle.
262 * hEvent: Handle to a sync event.
271 extern DSP_STATUS SYNC_ResetEvent(IN struct SYNC_OBJECT* hEvent);
278 * hEvent: Handle to an event object.
287 extern DSP_STATUS SYNC_SetEvent(IN struct SYNC_OBJECT* hEvent);
294 * hEvent: Handle to an event object.
310 extern DSP_STATUS SYNC_WaitOnEvent(IN struct SYNC_OBJECT* hEvent,
    [all...]
  /hardware/ti/omap3/dspbridge/libbridge/inc/
sync.h 96 * hEvent: Handle to a synchronization event, created/opened in
105 * Any subsequent usage of hEvent would be invalid.
107 extern DSP_STATUS SYNC_CloseEvent(IN struct SYNC_OBJECT* hEvent);
235 * If function succeeded, pEvent->hEvent must be a valid event handle.
262 * hEvent: Handle to a sync event.
271 extern DSP_STATUS SYNC_ResetEvent(IN struct SYNC_OBJECT* hEvent);
278 * hEvent: Handle to an event object.
287 extern DSP_STATUS SYNC_SetEvent(IN struct SYNC_OBJECT* hEvent);
294 * hEvent: Handle to an event object.
310 extern DSP_STATUS SYNC_WaitOnEvent(IN struct SYNC_OBJECT* hEvent,
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/thread/win32/
win_ce_semaphore.c 85 hSynch->hEvent = CreateEvent (lpSemaphoreAttributes, FALSE,
125 SetEvent (hSemCE->hEvent);
157 WaitResult = WaitForSingleObject (hSemCE->hEvent, dwMilliseconds);
180 if (hSemCE->CurCount > 0) SetEvent (hSemCE->hEvent);
190 if (hSynch->hEvent != NULL) Result = Result && CloseHandle (hSynch->hEvent);
206 if ((Flags & 4) == 1 && (hSynch->hEvent == NULL)) ok = FALSE;
208 if ((Flags & 1) == 1 && (hSynch->hEvent == NULL)) ok = FALSE;
win_ce_semaphore.h 4 HANDLE hEvent;
  /development/host/windows/usb/api/
adb_io_completion.cpp 35 overlapped_.hEvent = event_hndl;
  /development/host/windows/usb/winusb/
adb_winusb_endpoint_object.cpp 121 overlapped.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
143 if (NULL != overlapped.hEvent)
144 ::CloseHandle(overlapped.hEvent);
155 if (NULL != overlapped.hEvent)
156 ::CloseHandle(overlapped.hEvent);
  /external/chromium/net/udp/
udp_socket_win.cc 25 DCHECK_EQ(object, socket_->read_overlapped_.hEvent);
30 DCHECK_EQ(object, socket_->write_overlapped_.hEvent);
49 read_overlapped_.hEvent = WSACreateEvent();
51 write_overlapped_.hEvent = WSACreateEvent();
254 WSAResetEvent(read_overlapped_.hEvent);
284 WSAResetEvent(write_overlapped_.hEvent);
309 AssertEventNotSignaled(read_overlapped_.hEvent);
313 if (ResetEventIfSignaled(read_overlapped_.hEvent)) {
330 read_watcher_.StartWatching(read_overlapped_.hEvent, &read_delegate_);
355 AssertEventNotSignaled(write_overlapped_.hEvent);
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
ctrl_iface_named_pipe.c 147 dst->overlap.hEvent = CreateEvent(NULL, TRUE, TRUE, NULL);
148 if (dst->overlap.hEvent == NULL) {
154 eloop_register_event(dst->overlap.hEvent,
155 sizeof(dst->overlap.hEvent),
198 if (SetEvent(dst->overlap.hEvent))
226 if (dst->overlap.hEvent) {
227 eloop_unregister_event(dst->overlap.hEvent,
228 sizeof(dst->overlap.hEvent));
229 CloseHandle(dst->overlap.hEvent);
364 ResetEvent(dst->overlap.hEvent);
    [all...]
  /external/chromium/net/socket/
tcp_client_socket_win.cc 167 WSACloseEvent(read_overlapped_.hEvent);
169 WSACloseEvent(write_overlapped_.hEvent);
177 read_watcher_.StartWatching(read_overlapped_.hEvent, &reader_);
184 write_watcher_.StartWatching(write_overlapped_.hEvent, &writer_);
189 DCHECK_EQ(object, core_->read_overlapped_.hEvent);
203 DCHECK_EQ(object, core_->write_overlapped_.hEvent);
335 core_->read_overlapped_.hEvent = WSACreateEvent();
338 WSAEventSelect(socket_, core_->read_overlapped_.hEvent, FD_CONNECT);
340 core_->write_overlapped_.hEvent = WSACreateEvent();
355 if (ResetEventIfSignaled(core_->read_overlapped_.hEvent))
    [all...]
  /external/chromium_org/sandbox/win/src/
named_pipe_policy_test.cc 44 overlapped.hEvent = ::CreateEvent(NULL, TRUE, TRUE, NULL);
58 ::CloseHandle(overlapped.hEvent);
  /external/chromium_org/net/socket/
tcp_socket_win.cc 209 read_overlapped_.hEvent = WSACreateEvent();
210 write_overlapped_.hEvent = WSACreateEvent();
218 WSACloseEvent(read_overlapped_.hEvent);
220 WSACloseEvent(write_overlapped_.hEvent);
228 read_watcher_.StartWatching(read_overlapped_.hEvent, &reader_);
235 write_watcher_.StartWatching(write_overlapped_.hEvent, &writer_);
239 DCHECK_EQ(object, core_->read_overlapped_.hEvent);
252 DCHECK_EQ(object, core_->write_overlapped_.hEvent);
492 AssertEventNotSignaled(core_->write_overlapped_.hEvent);
497 if (ResetEventIfSignaled(core_->write_overlapped_.hEvent)) {
    [all...]
  /external/chromium_org/third_party/libusb/src/libusb/os/
poll_windows.c 201 overlapped->hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
202 if(overlapped->hEvent == NULL) {
214 if ( (overlapped->hEvent != 0)
215 && (overlapped->hEvent != INVALID_HANDLE_VALUE) ) {
216 CloseHandle(overlapped->hEvent);
581 handles_to_wait_on[nb_handles_to_wait_on] = poll_fd[_index].overlapped->hEvent;
674 SetEvent(poll_fd[_index].overlapped->hEvent);
707 if (WaitForSingleObject(poll_fd[_index].overlapped->hEvent, INFINITE) != WAIT_OBJECT_0) {
717 ResetEvent(poll_fd[_index].overlapped->hEvent);
  /external/chromium_org/net/udp/
udp_socket_win.cc 115 read_overlapped_.hEvent = WSACreateEvent();
116 write_overlapped_.hEvent = WSACreateEvent();
124 WSACloseEvent(read_overlapped_.hEvent);
126 WSACloseEvent(write_overlapped_.hEvent);
134 read_watcher_.StartWatching(read_overlapped_.hEvent, &reader_);
141 write_watcher_.StartWatching(write_overlapped_.hEvent, &writer_);
145 DCHECK_EQ(object, core_->read_overlapped_.hEvent);
153 DCHECK_EQ(object, core_->write_overlapped_.hEvent);
445 WSAResetEvent(core_->read_overlapped_.hEvent);
483 WSAResetEvent(core_->write_overlapped_.hEvent);
    [all...]
  /external/chromium_org/base/files/
file_util_proxy_unittest.cc 198 HANDLE hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
200 overlapped.hEvent = hEvent;
  /hardware/ti/omap3/dspbridge/libbridge/
DSPStrm.c 190 HANDLE hEvent;
253 tempStruct.ARGS_STRM_GETEVENTHANDLE.phEvent = &hEvent;
265 CloseHandle(hEvent);
  /external/chromium_org/base/
sync_socket_win.cc 141 ol.hEvent = io_event->handle();
  /external/qemu/
qemu-char.c     [all...]
tap-win32.c 406 overlapped->read_overlapped.hEvent = overlapped->read_event;
410 overlapped->write_overlapped.hEvent = overlapped->write_event;
  /external/wpa_supplicant_8/src/l2_packet/
l2_packet_ndis.c 253 l2->rx_overlapped.hEvent = l2->rx_avail;

Completed in 1375 milliseconds

1 2