/external/rust/crates/shared_child/src/sys/ |
D | windows.rs | 5 use winapi::um::synchapi::WaitForSingleObject; 23 let wait_ret = unsafe { WaitForSingleObject(handle.0 as HANDLE, INFINITE) }; in wait_without_reaping() 32 let wait_ret = unsafe { WaitForSingleObject(handle.0 as HANDLE, 0) }; in try_wait_without_reaping()
|
/external/libvpx/libvpx/vpx_util/ |
D | vpx_thread.h | 70 #define WaitForSingleObject(obj, timeout) \ macro 96 return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 || in pthread_join() 167 while (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { in pthread_cond_broadcast() 172 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_broadcast() 184 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { in pthread_cond_signal() 189 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal() 207 ok = (WaitForSingleObject(condition->signal_event_, INFINITE) == in pthread_cond_wait()
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
D | thread_stack_reuse.cc | 27 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main() 33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
|
D | thread_stack_array_right_oob.cc | 26 WaitForSingleObject(thr, INFINITE); in main()
|
D | thread_stack_array_left_oob.cc | 26 WaitForSingleObject(thr, INFINITE); in main()
|
D | dll_thread_stack_array_left_oob.cc | 33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in test_function()
|
D | queue_user_work_item_report.cc | 27 if (WAIT_OBJECT_0 != WaitForSingleObject(done, 10 * 1000)) in main()
|
D | beginthreadex.cc | 18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
|
D | thread_simple.cc | 18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/ |
D | thread_stack_reuse.cpp | 27 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main() 33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
|
D | thread_stack_array_right_oob.cpp | 26 WaitForSingleObject(thr, INFINITE); in main()
|
D | thread_stack_array_left_oob.cpp | 26 WaitForSingleObject(thr, INFINITE); in main()
|
D | dll_thread_stack_array_left_oob.cpp | 33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in test_function()
|
D | queue_user_work_item_report.cpp | 25 if (WAIT_OBJECT_0 != WaitForSingleObject(done, 10 * 1000)) in main()
|
D | beginthreadex.cpp | 18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
|
D | thread_simple.cpp | 18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) in main()
|
/external/webp/src/utils/ |
D | thread_utils.c | 71 #define WaitForSingleObject(obj, timeout) \ macro 100 return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 || in pthread_join() 166 if (WaitForSingleObject(condition->waiting_sem_, 0) == WAIT_OBJECT_0) { in pthread_cond_signal() 171 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal() 189 ok = (WaitForSingleObject(condition->signal_event_, INFINITE) == in pthread_cond_wait()
|
/external/deqp/framework/delibs/dethread/win32/ |
D | deSemaphoreWin32.c | 68 DWORD ret = WaitForSingleObject(handle, INFINITE); in deSemaphore_decrement() 76 DWORD ret = WaitForSingleObject(handle, 0); in deSemaphore_tryDecrement()
|
D | deMutexWin32.c | 110 DWORD ret = WaitForSingleObject(handle, INFINITE); in deMutex_lock() 124 DWORD ret = WaitForSingleObject(handle, 0); in deMutex_tryLock()
|
/external/virglrenderer/src/gallium/include/c11/ |
D | threads_win32.h | 190 WaitForSingleObject(cond->sem_gate, INFINITE); in impl_cond_do_signal() 216 WaitForSingleObject(cond->sem_gate, INFINITE); in impl_cond_do_wait() 222 w = WaitForSingleObject(cond->sem_queue, xt ? impl_xtime2msec(xt) : INFINITE); in impl_cond_do_wait() 244 WaitForSingleObject(cond->sem_gate, INFINITE); in impl_cond_do_wait() 253 WaitForSingleObject(cond->sem_queue, INFINITE); in impl_cond_do_wait() 562 w = WaitForSingleObject(thr, INFINITE); in thrd_join()
|
/external/mesa3d/include/c11/ |
D | threads_win32.h | 194 WaitForSingleObject(cond->sem_gate, INFINITE); in impl_cond_do_signal() 220 WaitForSingleObject(cond->sem_gate, INFINITE); in impl_cond_do_wait() 226 w = WaitForSingleObject(cond->sem_queue, ts ? impl_timespec2msec(ts) : INFINITE); in impl_cond_do_wait() 248 WaitForSingleObject(cond->sem_gate, INFINITE); in impl_cond_do_wait() 257 WaitForSingleObject(cond->sem_queue, INFINITE); in impl_cond_do_wait() 570 w = WaitForSingleObject(thr, INFINITE); in thrd_join()
|
/external/python/cpython2/Python/ |
D | thread_wince.h | 108 waitResult = WaitForSingleObject(aLock, (waitflag ? INFINITE : 0)); in PyThread_acquire_lock() 113 waitResult = WaitForSingleObject(aLock, waitflag ? 3000 : 0); in PyThread_acquire_lock()
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
D | win32.py | 159 WaitForSingleObject = _stdcall_libraries['kernel32'].WaitForSingleObject variable 160 WaitForSingleObject.restype = DWORD 161 WaitForSingleObject.argtypes = [HANDLE, DWORD]
|
/external/pthreadpool/src/ |
D | windows.c | 47 const DWORD wait_status = WaitForSingleObject(threadpool->completion_event[event_index], INFINITE); in wait_worker_threads() 76 const DWORD wait_status = WaitForSingleObject(threadpool->command_event[event_index], INFINITE); in wait_for_new_command() 206 const DWORD wait_status = WaitForSingleObject(threadpool->execution_mutex, INFINITE); in pthreadpool_parallelize() 338 const DWORD wait_status = WaitForSingleObject(thread_handle, INFINITE); in pthreadpool_destroy()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_winpcap.c | 121 WaitForSingleObject(l2->rx_done, INFINITE); in l2_packet_receive_cb() 137 if (WaitForSingleObject(l2->rx_notify, in l2_packet_receive_thread() 271 WaitForSingleObject(l2->rx_thread_done, 2000) != WAIT_OBJECT_0) { in l2_packet_deinit_timeout()
|