Searched refs:waitResult (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Python/ |
D | thread_wince.h | 103 DWORD waitResult; in PyThread_acquire_lock() local 108 waitResult = WaitForSingleObject(aLock, (waitflag ? INFINITE : 0)); in PyThread_acquire_lock() 113 waitResult = WaitForSingleObject(aLock, waitflag ? 3000 : 0); in PyThread_acquire_lock() 114 if (waitflag==0 || (waitflag && waitResult == WAIT_OBJECT_0)) in PyThread_acquire_lock() 119 if (waitResult != WAIT_OBJECT_0) { in PyThread_acquire_lock()
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 278 WaitResult waitResult = handles.first.wait( in testMessagePipeEmpty() local 280 assertEquals(MojoResult.OK, waitResult.getMojoResult()); in testMessagePipeEmpty() 282 HandleSignals.WRITABLE, waitResult.getHandleSignalsState().getSatisfiedSignals()); in testMessagePipeEmpty() 283 assertEquals(ALL_SIGNALS, waitResult.getHandleSignalsState().getSatisfiableSignals()); in testMessagePipeEmpty() 285 waitResult = handles.first.wait(Core.HandleSignals.WRITABLE, 0); in testMessagePipeEmpty() 286 assertEquals(MojoResult.OK, waitResult.getMojoResult()); in testMessagePipeEmpty() 288 HandleSignals.WRITABLE, waitResult.getHandleSignalsState().getSatisfiedSignals()); in testMessagePipeEmpty() 289 assertEquals(ALL_SIGNALS, waitResult.getHandleSignalsState().getSatisfiableSignals()); in testMessagePipeEmpty() 291 waitResult = handles.first.wait(Core.HandleSignals.READABLE, 0); in testMessagePipeEmpty() 292 assertEquals(MojoResult.DEADLINE_EXCEEDED, waitResult.getMojoResult()); in testMessagePipeEmpty() [all …]
|
/external/lzma/CPP/7zip/Common/ |
D | StreamBinder.cpp | 139 DWORD waitResult = ::WaitForMultipleObjects(2, events, FALSE, INFINITE); in Write() local 140 if (waitResult >= WAIT_OBJECT_0 + 2) in Write()
|
/external/deqp/framework/delibs/deutil/ |
D | deProcess.c | 396 pid_t waitResult; in deProcess_waitForFinish() local 405 while ((waitResult = waitpid(process->pid, &status, 0)) != process->pid) in deProcess_waitForFinish() 408 if (waitResult != process->pid) in deProcess_waitForFinish()
|
/external/mdnsresponder/mDNSWindows/mdnsNSP/ |
D | mdnsNSP.c | 653 DWORD waitResult; in NSPLookupServiceNext() local 675 waitResult = WaitForMultipleObjects( obj->waitCount, obj->waitHandles, FALSE, 2 * 1000 ); in NSPLookupServiceNext() 677 require_action_quiet( waitResult != ( WAIT_OBJECT_0 ), exit, err = WSA_E_CANCELLED ); in NSPLookupServiceNext() 678 …err = translate_errno( ( waitResult == WAIT_OBJECT_0 + 1 ) || ( waitResult == WAIT_OBJECT_0 + 2 ),… in NSPLookupServiceNext() 683 if ( waitResult == WAIT_OBJECT_0 + 1 ) in NSPLookupServiceNext() 691 else if ( waitResult == WAIT_OBJECT_0 + 2 ) in NSPLookupServiceNext()
|
/external/webrtc/webrtc/modules/audio_device/win/ |
D | audio_device_core_win.cc | 3321 DWORD waitResult = WaitForSingleObject(waitObject, in DoGetCaptureVolumeThread() local 3323 switch (waitResult) in DoGetCaptureVolumeThread() 3343 DWORD waitResult = WaitForMultipleObjects(2, waitArray, FALSE, INFINITE); in DoSetCaptureVolumeThread() local 3344 switch (waitResult) in DoSetCaptureVolumeThread() 3494 DWORD waitResult = WaitForMultipleObjects(2, waitArray, FALSE, 500); in DoRenderThread() local 3495 switch (waitResult) in DoRenderThread() 3741 DWORD waitResult = WaitForSingleObject(_hShutdownCaptureEvent, 5); in DoCaptureThreadPollDMO() local 3742 switch (waitResult) in DoCaptureThreadPollDMO() 3956 DWORD waitResult = WaitForMultipleObjects(2, waitArray, FALSE, 500); in DoCaptureThread() local 3957 switch (waitResult) in DoCaptureThread()
|
D | audio_device_wave_win.cc | 372 DWORD waitResult = WaitForSingleObject(waitObject, in DoGetCaptureVolumeThread() local 374 switch (waitResult) in DoGetCaptureVolumeThread() 409 DWORD waitResult = WaitForMultipleObjects(2, waitArray, FALSE, INFINITE); in DoSetCaptureVolumeThread() local 410 switch (waitResult) in DoSetCaptureVolumeThread()
|