Home
last modified time | relevance | path

Searched refs:wait_result (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/base/process/
Dkill_win.cc144 DWORD wait_result = WaitForSingleObject(handle, 0); in GetTerminationStatus() local
145 if (wait_result == WAIT_TIMEOUT) { in GetTerminationStatus()
147 *exit_code = wait_result; in GetTerminationStatus()
151 if (wait_result == WAIT_FAILED) { in GetTerminationStatus()
154 DCHECK_EQ(WAIT_OBJECT_0, wait_result); in GetTerminationStatus()
214 DWORD wait_result = WaitForSingleObject(process, remaining_wait); in WaitForProcessesToExit() local
216 result = result && (wait_result == WAIT_OBJECT_0); in WaitForProcessesToExit()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc171 DWORD wait_result = in Communicate() local
175 if (wait_result >= WAIT_OBJECT_0 && in Communicate()
176 wait_result < WAIT_OBJECT_0 + handle_count) { in Communicate()
177 signaled_handle = handles[wait_result - WAIT_OBJECT_0]; in Communicate()
178 } else if (wait_result == WAIT_FAILED) { in Communicate()
183 << wait_result; in Communicate()
225 DWORD wait_result = WaitForSingleObject(child_handle_, INFINITE); in Communicate() local
227 if (wait_result == WAIT_FAILED) { in Communicate()
230 } else if (wait_result != WAIT_OBJECT_0) { in Communicate()
232 << wait_result; in Communicate()
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc168 DWORD wait_result = in Communicate() local
172 if (wait_result >= WAIT_OBJECT_0 && in Communicate()
173 wait_result < WAIT_OBJECT_0 + handle_count) { in Communicate()
174 signaled_handle = handles[wait_result - WAIT_OBJECT_0]; in Communicate()
175 } else if (wait_result == WAIT_FAILED) { in Communicate()
180 << wait_result; in Communicate()
222 DWORD wait_result = WaitForSingleObject(child_handle_, INFINITE); in Communicate() local
224 if (wait_result == WAIT_FAILED) { in Communicate()
227 } else if (wait_result != WAIT_OBJECT_0) { in Communicate()
229 << wait_result; in Communicate()
/external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/
Dclone_test.cc29 pid_t wait_result = waitpid(clone_pid, &status, __WCLONE); in main() local
30 if (wait_result < 0) { in main()
34 if (wait_result == clone_pid && WIFEXITED(status)) { in main()
/external/valgrind/main/memcheck/tests/
Dfile_locking.c114 int wait_result; in main() local
116 wait_result = wait4(fork_result, &child_status, 0, 0); in main()
117 assert(wait_result >= 0); in main()
/external/chromium_org/cloud_print/service/win/
Dchrome_launcher.cc247 DWORD wait_result = WAIT_TIMEOUT; in Run() local
248 while (wait_result == WAIT_TIMEOUT) { in Run()
250 wait_result = ::WaitForMultipleObjects(arraysize(handles), handles, in Run()
253 if (wait_result == WAIT_OBJECT_0) { in Run()
256 } else if (wait_result == WAIT_OBJECT_0 + 1) { in Run()
327 DWORD wait_result = ::WaitForSingleObject(chrome_handle, 500); in CreateServiceStateFile() local
330 if (wait_result == WAIT_OBJECT_0) { in CreateServiceStateFile()
333 } else if (wait_result == WAIT_TIMEOUT) { in CreateServiceStateFile()
/external/chromium_org/mojo/system/
Dwaiter.cc79 void Waiter::Awake(MojoResult wait_result) { in Awake() argument
86 wait_result_ = wait_result; in Awake()
Dwaiter.h44 void Awake(MojoResult wait_result);
Dmultiprocess_message_pipe_unittest.cc144 MojoResult wait_result = waiter.Wait(MOJO_DEADLINE_INDEFINITE); in WaitIfNecessary() local
146 return wait_result; in WaitIfNecessary()
/external/chromium_org/base/
Dsync_socket_win.cc152 const int wait_result = WaitForMultipleObjects( in CancelableFileOperation() local
157 if (wait_result == (WAIT_OBJECT_0 + 0)) { in CancelableFileOperation()
159 } else if (wait_result == (WAIT_OBJECT_0 + 1)) { in CancelableFileOperation()
167 DCHECK_EQ(WAIT_TIMEOUT, wait_result); in CancelableFileOperation()
/external/chromium_org/sandbox/win/src/
Dipc_unittest.cc385 DWORD wait_result = 0; in QuickResponseServer() local
386 wait_result = ::WaitForSingleObject(events->ping, INFINITE); in QuickResponseServer()
389 return wait_result; in QuickResponseServer()
491 DWORD wait_result = 0; in SlowResponseServer() local
492 wait_result = ::WaitForSingleObject(events->ping, INFINITE); in SlowResponseServer()
496 return wait_result; in SlowResponseServer()
502 DWORD wait_result = 0; in MainServerThread() local
503 wait_result = ::WaitForSingleObject(events->mutex, INFINITE); in MainServerThread()
505 return wait_result; in MainServerThread()
/external/chromium_org/chrome_frame/test/
Ddll_redirector_test.cc276 DWORD wait_result = ::WaitForSingleObject(params.is_squatting, in TEST_F() local
278 EXPECT_EQ(WAIT_OBJECT_0, wait_result); in TEST_F()
293 wait_result = ::WaitForSingleObject(lock_squat_thread, kWaitTestTimeout); in TEST_F()
294 EXPECT_EQ(WAIT_OBJECT_0, wait_result); in TEST_F()
/external/chromium/base/
Dprocess_util_win.cc434 DWORD wait_result = WaitForSingleObject(handle, 0); in GetTerminationStatus() local
435 if (wait_result == WAIT_TIMEOUT) { in GetTerminationStatus()
437 *exit_code = wait_result; in GetTerminationStatus()
441 DCHECK_EQ(WAIT_OBJECT_0, wait_result); in GetTerminationStatus()
530 DWORD wait_result = WaitForSingleObject(process, remaining_wait); in WaitForProcessesToExit() local
532 result = result && (wait_result == WAIT_OBJECT_0); in WaitForProcessesToExit()
/external/chromium/chrome/browser/cocoa/
Dauthorization_util.mm171 pid_t wait_result = HANDLE_EINTR(waitpid(pid, exit_status_pointer, 0));
172 if (wait_result != pid) {
/external/chromium_org/base/mac/
Dauthorization_util.mm183 pid_t wait_result = HANDLE_EINTR(waitpid(pid, exit_status_pointer, 0));
184 if (wait_result != pid) {
/external/chromium_org/media/audio/win/
Daudio_low_latency_output_win.cc400 DWORD wait_result = WaitForMultipleObjects(arraysize(wait_array), in Run() local
405 switch (wait_result) { in Run()
Daudio_low_latency_input_win.cc342 DWORD wait_result = WaitForMultipleObjects(2, wait_array, FALSE, INFINITE); in Run() local
343 switch (wait_result) { in Run()
Daudio_unified_win.cc685 DWORD wait_result = WaitForMultipleObjects(num_handles, in Run() local
689 switch (wait_result) { in Run()
/external/chromium_org/remoting/host/mac/
Dme2me_preference_pane.mm604 pid_t wait_result = HANDLE_EINTR(waitpid(pid, &exit_status, 0));
605 if (wait_result != pid) {