Home
last modified time | relevance | path

Searched refs:hEvent (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_named_pipe.c147 dst->overlap.hEvent = CreateEvent(NULL, TRUE, TRUE, NULL); in ctrl_open_pipe()
148 if (dst->overlap.hEvent == NULL) { in ctrl_open_pipe()
154 eloop_register_event(dst->overlap.hEvent, in ctrl_open_pipe()
155 sizeof(dst->overlap.hEvent), in ctrl_open_pipe()
198 if (SetEvent(dst->overlap.hEvent)) in ctrl_open_pipe()
226 if (dst->overlap.hEvent) { in ctrl_close_pipe()
227 eloop_unregister_event(dst->overlap.hEvent, in ctrl_close_pipe()
228 sizeof(dst->overlap.hEvent)); in ctrl_close_pipe()
229 CloseHandle(dst->overlap.hEvent); in ctrl_close_pipe()
363 ResetEvent(dst->overlap.hEvent); in wpa_supplicant_ctrl_iface_receive()
[all …]
/freebsd/contrib/unbound/util/
H A Dwinsock_event.c206 log_assert(ev->is_signal && ev->hEvent); in handle_signal()
208 ret = WSAWaitForMultipleEvents(1, &ev->hEvent, 0 /* any object */, in handle_signal()
221 if(!WSAResetEvent(ev->hEvent)) in handle_signal()
260 base->waitfor[numwait++] = base->items[i]->hEvent; in handle_select()
539 ev->hEvent = WSACreateEvent(); in event_add()
540 if(ev->hEvent == WSA_INVALID_EVENT) in event_add()
545 if(WSAEventSelect(ev->ev_fd, ev->hEvent, events) != 0) { in event_add()
595 zero_waitfor(ev->ev_base->waitfor, ev->hEvent); in event_del()
597 if(WSAEventSelect(ev->ev_fd, ev->hEvent, 0) != 0) in event_del()
600 if(!WSACloseEvent(ev->hEvent)) in event_del()
[all …]
H A Dwinsock_event.h194 WSAEVENT hEvent; member
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp106 Overlapped.hEvent = in DirectoryWatcherWindows()
108 assert(Overlapped.hEvent && "unable to create event"); in DirectoryWatcherWindows()
131 CloseHandle(Overlapped.hEvent); in ~DirectoryWatcherWindows()
168 HANDLE Handles[2] = { Terminate, Overlapped.hEvent }; in WatcherThreadProc()
/freebsd/contrib/libfido2/src/
H A Dhid_win.c431 if ((ctx->overlap.hEvent = CreateEventA(NULL, FALSE, FALSE, in fido_hid_open()
453 if (ctx->overlap.hEvent != NULL) { in fido_hid_close()
460 CloseHandle(ctx->overlap.hEvent); in fido_hid_close()
490 ResetEvent(ctx->overlap.hEvent); in fido_hid_read()
500 if (ms > -1 && WaitForSingleObject(ctx->overlap.hEvent, in fido_hid_read()
/freebsd/crypto/heimdal/lib/roken/
H A Dflock.c99 ov.hEvent = NULL; in rk_flock()
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DWindowsMMap.c134 overlapped.hEvent = CreateEvent(NULL, FALSE, FALSE, NULL); in lock()
/freebsd/contrib/wpa/src/l2_packet/
H A Dl2_packet_ndis.c253 l2->rx_overlapped.hEvent = l2->rx_avail; in l2_ndisuio_start_read()