Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/wpa_supplicant/
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 …]
/external/google-breakpad/src/client/windows/crash_generation/
Dcrash_generation_server.cc204 if (overlapped_.hEvent) { in ~CrashGenerationServer()
205 CloseHandle(overlapped_.hEvent); in ~CrashGenerationServer()
224 overlapped_.hEvent = CreateEvent(NULL, // Security descriptor. in Start()
228 if (!overlapped_.hEvent) { in Start()
234 overlapped_.hEvent, in Start()
256 if (!SetEvent(overlapped_.hEvent)) { in Start()
289 if (overlapped_.hEvent) { in HandleErrorState()
290 CloseHandle(overlapped_.hEvent); in HandleErrorState()
291 overlapped_.hEvent = NULL; in HandleErrorState()
303 if (!ResetEvent(overlapped_.hEvent)) { in HandleInitialState()
[all …]
/external/libusb/libusb/os/
Devents_windows.c28 event->hEvent = CreateEvent(NULL, TRUE, FALSE, NULL); in usbi_create_event()
29 if (event->hEvent == NULL) { in usbi_create_event()
39 if (!CloseHandle(event->hEvent)) in usbi_destroy_event()
45 if (!SetEvent(event->hEvent)) in usbi_signal_event()
51 if (!ResetEvent(event->hEvent)) in usbi_clear_event()
Devents_windows.h28 HANDLE hEvent; member
30 #define USBI_EVENT_OS_HANDLE(e) ((e)->hEvent)
/external/pdfium/third_party/libopenjpeg20/
Dthread.c99 HANDLE hEvent; member
156 HANDLE hEvent = (HANDLE) TlsGetValue(TLSKey); in opj_cond_wait() local
157 if (hEvent == NULL) { in opj_cond_wait()
158 hEvent = CreateEvent(NULL, /* security attributes */ in opj_cond_wait()
162 assert(hEvent); in opj_cond_wait()
164 TlsSetValue(TLSKey, hEvent); in opj_cond_wait()
173 item->hEvent = hEvent; in opj_cond_wait()
185 WaitForSingleObject(hEvent, INFINITE); in opj_cond_wait()
200 SetEvent(psIter->hEvent); in opj_cond_signal()
227 HANDLE hEvent = NULL; in opj_thread_callback_adapter() local
[all …]
/external/llvm-project/lldb/source/Host/windows/
DPipeWindows.cpp78 m_read_overlapped.hEvent = ::CreateEventA(nullptr, TRUE, FALSE, nullptr); in CreateNew()
120 m_read_overlapped.hEvent = ::CreateEvent(nullptr, TRUE, FALSE, nullptr); in CreateNew()
197 m_read_overlapped.hEvent = ::CreateEvent(nullptr, TRUE, FALSE, nullptr); in OpenNamedPipe()
221 if (m_read_overlapped.hEvent) in ReleaseReadFileDescriptor()
222 ::CloseHandle(m_read_overlapped.hEvent); in ReleaseReadFileDescriptor()
242 if (m_read_overlapped.hEvent) in CloseReadFileDescriptor()
243 ::CloseHandle(m_read_overlapped.hEvent); in CloseReadFileDescriptor()
294 DWORD wait_result = ::WaitForSingleObject(m_read_overlapped.hEvent, timeout); in ReadWithTimeout()
DConnectionGenericFileWindows.cpp178 m_overlapped.hEvent = m_event_handles[kBytesAvailableEvent]; in Read()
272 m_overlapped.hEvent = NULL; in Write()
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dserialwin32.py70 self._overlappedRead.hEvent = win32.CreateEvent(None, 1, 0, None)
73 self._overlappedWrite.hEvent = win32.CreateEvent(None, 0, 0, None)
216 win32.CloseHandle(self._overlappedRead.hEvent)
219 win32.CloseHandle(self._overlappedWrite.hEvent)
248 win32.ResetEvent(self._overlappedRead.hEvent)
261 err = win32.WaitForSingleObject(self._overlappedRead.hEvent, win32.INFINITE)
/external/tensorflow/tensorflow/core/platform/windows/
Dwindows_file_system.cc67 overlapped.hEvent = ::CreateEvent(NULL, TRUE, FALSE, NULL); in pread()
69 if (NULL == overlapped.hEvent) { in pread()
98 ::CloseHandle(overlapped.hEvent); in pread()
/external/llvm-project/compiler-rt/lib/profile/
DWindowsMMap.c123 overlapped.hEvent = CreateEvent(NULL, FALSE, FALSE, NULL); in lock()
/external/python/cpython3/Modules/
Doverlapped.c531 if (ov->hEvent != NULL) in mark_as_completed()
532 SetEvent(ov->hEvent); in mark_as_completed()
574 self->overlapped.hEvent = event; in Overlapped_new()
649 if (self->overlapped.hEvent != NULL) { in Overlapped_dealloc()
650 CloseHandle(self->overlapped.hEvent); in Overlapped_dealloc()
1746 offsetof(OverlappedObject, overlapped) + offsetof(OVERLAPPED, hEvent),
D_winapi.c132 CloseHandle(self->overlapped.hEvent); in overlapped_dealloc()
138 CloseHandle(self->overlapped.hEvent); in overlapped_dealloc()
302 offsetof(OverlappedObject, overlapped) + offsetof(OVERLAPPED, hEvent),
363 self->overlapped.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL); in new_overlapped()
428 SetEvent(overlapped->overlapped.hEvent); in _winapi_ConnectNamedPipe_impl()
/external/deqp/execserver/
DxsWin32TestProcess.cpp137 overlapped.hEvent = ioEvent.getHandle(); in run()
233 overlapped.hEvent = ioEvent.getHandle(); in run()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_9_0.inc993 CUresult CUDAAPI cuStreamWaitEvent(CUstream hStream, CUevent hEvent,
998 return func_ptr(hStream, hEvent, Flags);
1048 CUresult CUDAAPI cuEventRecord(CUevent hEvent, CUstream hStream) {
1052 return func_ptr(hEvent, hStream);
1055 CUresult CUDAAPI cuEventQuery(CUevent hEvent) {
1059 return func_ptr(hEvent);
1062 CUresult CUDAAPI cuEventSynchronize(CUevent hEvent) {
1066 return func_ptr(hEvent);
1069 CUresult CUDAAPI cuEventDestroy(CUevent hEvent) {
1073 return func_ptr(hEvent);
Dcuda_10_1.inc1010 CUresult CUDAAPI cuStreamWaitEvent(CUstream hStream, CUevent hEvent,
1015 return func_ptr(hStream, hEvent, Flags);
1106 CUresult CUDAAPI cuEventRecord(CUevent hEvent, CUstream hStream) {
1110 return func_ptr(hEvent, hStream);
1113 CUresult CUDAAPI cuEventQuery(CUevent hEvent) {
1117 return func_ptr(hEvent);
1120 CUresult CUDAAPI cuEventSynchronize(CUevent hEvent) {
1124 return func_ptr(hEvent);
1127 CUresult CUDAAPI cuEventDestroy(CUevent hEvent) {
1131 return func_ptr(hEvent);
Dcuda_10_0.inc1010 CUresult CUDAAPI cuStreamWaitEvent(CUstream hStream, CUevent hEvent,
1015 return func_ptr(hStream, hEvent, Flags);
1087 CUresult CUDAAPI cuEventRecord(CUevent hEvent, CUstream hStream) {
1091 return func_ptr(hEvent, hStream);
1094 CUresult CUDAAPI cuEventQuery(CUevent hEvent) {
1098 return func_ptr(hEvent);
1101 CUresult CUDAAPI cuEventSynchronize(CUevent hEvent) {
1105 return func_ptr(hEvent);
1108 CUresult CUDAAPI cuEventDestroy(CUevent hEvent) {
1112 return func_ptr(hEvent);
Dcuda_10_2.inc1131 CUresult CUDAAPI cuStreamWaitEvent(CUstream hStream, CUevent hEvent,
1136 return func_ptr(hStream, hEvent, Flags);
1227 CUresult CUDAAPI cuEventRecord(CUevent hEvent, CUstream hStream) {
1231 return func_ptr(hEvent, hStream);
1234 CUresult CUDAAPI cuEventQuery(CUevent hEvent) {
1238 return func_ptr(hEvent);
1241 CUresult CUDAAPI cuEventSynchronize(CUevent hEvent) {
1245 return func_ptr(hEvent);
1248 CUresult CUDAAPI cuEventDestroy(CUevent hEvent) {
1252 return func_ptr(hEvent);
Dcuda_11_0.inc1146 CUresult CUDAAPI cuStreamWaitEvent(CUstream hStream, CUevent hEvent,
1151 return func_ptr(hStream, hEvent, Flags);
1267 CUresult CUDAAPI cuEventRecord(CUevent hEvent, CUstream hStream) {
1271 return func_ptr(hEvent, hStream);
1274 CUresult CUDAAPI cuEventQuery(CUevent hEvent) {
1278 return func_ptr(hEvent);
1281 CUresult CUDAAPI cuEventSynchronize(CUevent hEvent) {
1285 return func_ptr(hEvent);
1288 CUresult CUDAAPI cuEventDestroy(CUevent hEvent) {
1292 return func_ptr(hEvent);
Dcuda_11_2.inc1343 CUresult CUDAAPI cuStreamWaitEvent(CUstream hStream, CUevent hEvent,
1348 return func_ptr(hStream, hEvent, Flags);
1464 CUresult CUDAAPI cuEventRecord(CUevent hEvent, CUstream hStream) {
1468 return func_ptr(hEvent, hStream);
1471 CUresult CUDAAPI cuEventRecordWithFlags(CUevent hEvent, CUstream hStream,
1476 return func_ptr(hEvent, hStream, flags);
1479 CUresult CUDAAPI cuEventQuery(CUevent hEvent) {
1483 return func_ptr(hEvent);
1486 CUresult CUDAAPI cuEventSynchronize(CUevent hEvent) {
1490 return func_ptr(hEvent);
[all …]
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_ndis.c253 l2->rx_overlapped.hEvent = l2->rx_avail; in l2_ndisuio_start_read()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c1347 sock->overlapped.data.hEvent = sock; in TCPBeginRecv()
1375 sock = ( overlapped != NULL ) ? overlapped->hEvent : NULL; in TCPEndRecv()
3190 sock->overlapped.data.hEvent = sock; in UDPBeginRecv()
3265 sock = ( overlapped != NULL ) ? overlapped->hEvent : NULL; in UDPEndRecv()