/external/igt-gpu-tools/lib/tests/ |
D | igt_tests_common.h | 38 static inline void internal_assert_wexited(int wstatus, int exitcode) in internal_assert_wexited() argument 40 internal_assert(WIFEXITED(wstatus) && in internal_assert_wexited() 41 WEXITSTATUS(wstatus) == exitcode); in internal_assert_wexited() 44 static inline void internal_assert_wsignaled(int wstatus, int signal) in internal_assert_wsignaled() argument 46 internal_assert(WIFSIGNALED(wstatus) && in internal_assert_wsignaled() 47 WTERMSIG(wstatus) == signal); in internal_assert_wsignaled()
|
/external/linux-kselftest/tools/testing/selftests/safesetid/ |
D | safesetid-test.c | 208 int wstatus; in test_setuid() local 224 w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED); in test_setuid() 229 if (WIFEXITED(wstatus)) { in test_setuid() 230 if (WEXITSTATUS(wstatus) == EXIT_SUCCESS) { in test_setuid() 243 } else if (WIFSIGNALED(wstatus)) { in test_setuid() 244 if (WTERMSIG(wstatus) == 9) { in test_setuid() 250 die("unexpected signal: %d\n", wstatus); in test_setuid() 253 die("unexpected status: %d\n", wstatus); in test_setuid() 255 } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus)); in test_setuid()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | ipv6_flowlabel_mgr.c | 76 int wstatus; in run_tests() local 142 if (wait(&wstatus) == -1) in run_tests() 144 if (!WIFEXITED(wstatus) || WEXITSTATUS(wstatus) != 0) in run_tests() 159 if (wait(&wstatus) == -1) in run_tests() 161 if (!WIFEXITED(wstatus) || WEXITSTATUS(wstatus) != 0) in run_tests()
|
/external/linux-kselftest/tools/testing/selftests/proc/ |
D | proc-loadavg-001.c | 29 int wstatus; in main() local 78 if (waitpid(pid, &wstatus, 0) == -1) in main() 80 if (WIFEXITED(wstatus) && WEXITSTATUS(wstatus) == 0) in main()
|
D | proc-pid-vm.c | 229 int wstatus; in vsyscall() local 250 waitpid(pid, &wstatus, 0); in vsyscall() 251 if (WIFEXITED(wstatus) && WEXITSTATUS(wstatus) == 0) { in vsyscall()
|
/external/llvm-project/lldb/source/Host/common/ |
D | Host.cpp | 660 WaitStatus WaitStatus::Decode(int wstatus) { in Decode() argument 661 if (WIFEXITED(wstatus)) in Decode() 662 return {Exit, uint8_t(WEXITSTATUS(wstatus))}; in Decode() 663 else if (WIFSIGNALED(wstatus)) in Decode() 664 return {Signal, uint8_t(WTERMSIG(wstatus))}; in Decode() 665 else if (WIFSTOPPED(wstatus)) in Decode() 666 return {Stop, uint8_t(WSTOPSIG(wstatus))}; in Decode()
|
/external/perfetto/src/profiling/symbolizer/ |
D | subprocess_posix.cc | 57 int wstatus; in ~Subprocess() local 58 PERFETTO_EINTR(waitpid(pid_, &wstatus, 0)); in ~Subprocess()
|
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/ |
D | JcopOsDownload.cpp | 188 tJBL_STATUS wstatus = STATUS_FAILED; in JcopOs_Download() local 196 wstatus = STATUS_FAILED; in JcopOs_Download() 202 wstatus = JcopOsDwnld::JcopOs_update_seq_handler(); in JcopOs_Download() 203 if(wstatus == STATUS_FAILED) in JcopOs_Download() 209 ALOGD("%s: exit; status = 0x%x", fn, wstatus); in JcopOs_Download() 210 return wstatus; in JcopOs_Download()
|
/external/boringssl/src/ssl/test/ |
D | handshake_util.cc | 174 static ssize_t waitpid_eintr(pid_t pid, int *wstatus, int options) { in waitpid_eintr() argument 177 ret = waitpid(pid, wstatus, options); in waitpid_eintr() 413 int wstatus; in RunHandshaker() local 414 if (waitpid_eintr(handshaker_pid, &wstatus, 0) != handshaker_pid) { in RunHandshaker() 418 if (ok && wstatus) { in RunHandshaker()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/ |
D | handshake_util.cc | 174 static ssize_t waitpid_eintr(pid_t pid, int *wstatus, int options) { in waitpid_eintr() argument 177 ret = waitpid(pid, wstatus, options); in waitpid_eintr() 413 int wstatus; in RunHandshaker() local 414 if (waitpid_eintr(handshaker_pid, &wstatus, 0) != handshaker_pid) { in RunHandshaker() 418 if (ok && wstatus) { in RunHandshaker()
|
/external/perfetto/src/profiling/memory/ |
D | client_api_factory_standalone.cc | 98 int wstatus; in StartHeapprofdIfStatic() local 99 if (PERFETTO_EINTR(waitpid(f, &wstatus, 0)) == -1) in StartHeapprofdIfStatic()
|
/external/strace/tests-m32/ |
D | wait4.c | 89 do_wait4(pid_t pid, int *wstatus, int options, struct rusage *ru) in do_wait4() argument 95 pid_t rc = wait4(pid, wstatus, options, ru); in do_wait4()
|
/external/strace/tests/ |
D | wait4.c | 89 do_wait4(pid_t pid, int *wstatus, int options, struct rusage *ru) in do_wait4() argument 95 pid_t rc = wait4(pid, wstatus, options, ru); in do_wait4()
|
/external/strace/tests-mx32/ |
D | wait4.c | 89 do_wait4(pid_t pid, int *wstatus, int options, struct rusage *ru) in do_wait4() argument 95 pid_t rc = wait4(pid, wstatus, options, ru); in do_wait4()
|
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/ |
D | NativeProcessFreeBSD.cpp | 70 int wstatus; in Launch() local 71 ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0); in Launch() 74 if (!WIFSTOPPED(wstatus)) { in Launch() 76 WaitStatus::Decode(wstatus)); in Launch() 756 int wstatus; in Attach() local 759 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, 0)) < in Attach()
|
/external/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
D | NativeProcessNetBSD.cpp | 75 int wstatus; in Launch() local 76 ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0); in Launch() 79 if (!WIFSTOPPED(wstatus)) { in Launch() 81 WaitStatus::Decode(wstatus)); in Launch() 802 int wstatus; in Attach() local 805 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, in Attach()
|
/external/llvm-project/lldb/include/lldb/Host/ |
D | Host.h | 49 static WaitStatus Decode(int wstatus);
|
/external/llvm-project/lldb/source/Plugins/Process/Linux/ |
D | NativeProcessLinux.cpp | 230 int wstatus; in Launch() local 231 ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0); in Launch() 234 if (!WIFSTOPPED(wstatus)) { in Launch() 236 WaitStatus::Decode(wstatus)); in Launch()
|