Home
last modified time | relevance | path

Searched refs:waitpid (Results 1 – 25 of 232) sorted by relevance

12345678910

/external/bison/lib/
Dsys_wait.in.h115 _GL_FUNCDECL_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options));
117 _GL_CXXALIAS_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options));
118 _GL_CXXALIASWARN (waitpid);
120 # undef waitpid
122 _GL_WARN_ON_USE (waitpid, "waitpid is unportable - "
Dwaitpid.c27 waitpid (pid_t pid, int *statusp, int options) in waitpid() function
/external/valgrind/memcheck/tests/solaris/
Dspawn.c37 waitpid(child, NULL, 0); in main()
50 waitpid(child, NULL, 0); in main()
66 waitpid(child, NULL, 0); in main()
83 waitpid(child, NULL, 0); in main()
101 waitpid(child, NULL, 0); in main()
/external/libchrome/base/process/
Dkill_posix.cc31 const pid_t result = HANDLE_EINTR(waitpid(handle, &status, in GetTerminationStatusImpl()
140 const pid_t result = HANDLE_EINTR(waitpid(child, NULL, WNOHANG)); in IsChildDead()
170 pid_t r = HANDLE_EINTR(waitpid(child_, NULL, 0)); in WaitForChildToDie()
191 if (HANDLE_EINTR(waitpid(child_, NULL, 0)) < 0) in WaitForChildToDie()
Dprocess_posix.cc54 return HANDLE_EINTR(waitpid(handle, status, 0)) > 0; in WaitpidWithTimeout()
57 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG)); in WaitpidWithTimeout()
77 ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG)); in WaitpidWithTimeout()
313 pid_t pid = HANDLE_EINTR(waitpid(process_, NULL, WNOHANG)); in Terminate()
/external/libmicrohttpd/src/testspdy/
Dtest_proxies.c223 wpid = waitpid(child_mhd,&childstatus,WNOHANG); in main()
231 wpid = waitpid(child_spdy2http,&childstatus,WNOHANG); in main()
239 wpid = waitpid(child_mhd2spdy,&childstatus,WNOHANG); in main()
247 if(waitpid(child_curl,&childstatus,WNOHANG) == child_curl) in main()
/external/bison/linux-lib/sys/
Dwait.h417 _GL_FUNCDECL_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options));
419 _GL_CXXALIAS_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options));
420 _GL_CXXALIASWARN (waitpid);
422 # undef waitpid
424 _GL_WARN_ON_USE (waitpid, "waitpid is unportable - "
/external/bison/darwin-lib/sys/
Dwait.h417 _GL_FUNCDECL_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options));
419 _GL_CXXALIAS_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options));
420 _GL_CXXALIASWARN (waitpid);
422 # undef waitpid
424 _GL_WARN_ON_USE (waitpid, "waitpid is unportable - "
/external/autotest/client/bin/
Dparallel.py82 (pid, status) = os.waitpid(pid, 0)
99 (child_pid, status) = os.waitpid(pid, os.WNOHANG)
109 (child_pid, status) = os.waitpid(pid, 0)
/external/google-breakpad/src/client/mac/tests/
Dcrash_generation_server_test.cc137 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
195 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
241 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
305 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
389 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
Dexception_handler_test.cc168 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in InProcessCrash()
300 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
363 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
462 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
561 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
635 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
696 ASSERT_EQ(pid, waitpid(pid, &ret, 0)); in TEST_F()
/external/libmicrohttpd/src/testzzuf/
Dsocat.c79 if (0 < waitpid (zzuf_pid, &status, WNOHANG)) in zzuf_socat_start()
109 waitpid (zzuf_pid, &status, 0); in zzuf_socat_stop()
/external/libmicrohttpd/src/testcurl/
Dgauger.h44 waitpid(__gauger_p,NULL,0);\
75 waitpid(__gauger_p,NULL,0);\
Dperf_get_concurrent.c215 waitpid (par[j], NULL, 0); in do_gets()
226 waitpid (pid, &status, 0); in join_gets()
301 while (0 == waitpid (pid, NULL, WNOHANG)) in testExternalGet()
Dtest_concurrent_stop.c151 waitpid (par[j], NULL, 0); in do_gets()
162 waitpid (pid, &status, 0); in join_gets()
/external/strace/
DREADME-linux-ptrace8 Ptrace API (ab)uses standard Unix parent/child signaling over waitpid.
40 about this event is delivered through waitpid API similarly to
81 that waitpid(WNOHANG) will reliably report tracee's death status if
82 ptrace operation returned ESRCH. waitpid(WNOHANG) may return 0 instead.
94 waitpid API. Tracer should use waitpid family of syscalls to wait for
97 pid = waitpid(pid_or_minus_1, &status, __WALL);
109 Setting of WCONTINUED bit in waitpid flags is not recommended: the
113 Use of WNOHANG bit in waitpid flags may cause waitpid return 0 ("no
115 notification. Example: kill(tracee, SIGKILL); waitpid(tracee, &status,
124 SYSEMU_SINGLESTEP]. They all are reported as waitpid result with
[all …]
/external/autotest/client/site_tests/security_ptraceRestrictions/src/
Dthread-prctl.c99 waitpid(tracee, NULL, 0); in tracer_main()
260 waitpid(tracer, &status, 0); in main()
266 waitpid(tracee, NULL, 0); in main()
/external/libchrome/sandbox/linux/services/
Dnamespace_sandbox_unittest.cc168 PCHECK(waitpid(pid, &status, 0) == pid); in SANDBOX_TEST_ALLOW_NOISE()
191 PCHECK(waitpid(pid, &status, 0) == pid); in SANDBOX_TEST()
217 PCHECK(waitpid(pid, &status, 0) == pid); in SANDBOX_TEST()
/external/valgrind/none/tests/
Dasync-sigs.c62 ret = waitpid(killer, &status, 0); in do_kill()
123 if (waitpid(pid, &status, 0) != pid) { in test()
Dfork.c21 waitpid(pid, NULL, 0); in main()
/external/autotest/server/
Dsubcommand_unittest.py163 (subcommand.os.waitpid.expect_call(1000, subcommand.os.WNOHANG)
172 (subcommand.os.waitpid.expect_call(1000, subcommand.os.WNOHANG)
182 (subcommand.os.waitpid.expect_call(1000, subcommand.os.WNOHANG)
193 (subcommand.os.waitpid.expect_call(1000, 0)
204 (subcommand.os.waitpid.expect_call(1000, 0)
/external/fio/os/windows/posix/include/sys/
Dwait.h10 pid_t waitpid(pid_t, int *stat_loc, int options);
/external/compiler-rt/test/lsan/TestCases/
Dfork.cc19 waitpid(pid, &status, 0); in main()
/external/compiler-rt/test/asan/TestCases/Posix/
Dwait.cc21 res = waitpid(pid, status, WNOHANG); in main()
/external/compiler-rt/test/tsan/
Dfork_atexit.cc28 if (waitpid(pid, 0, 0) == -1) { in main()

12345678910