/third_party/cups-filters/backend/ |
D | beh.c | 223 wait_status, in call_backend() local 313 while ((wait_pid = wait(&wait_status)) < 0 && errno == EINTR); in call_backend() 315 if (wait_pid >= 0 && wait_status) in call_backend() 317 if (WIFEXITED(wait_status)) in call_backend() 318 retval = WEXITSTATUS(wait_status); in call_backend() 319 else if (WTERMSIG(wait_status) != SIGTERM) in call_backend() 320 retval = WTERMSIG(wait_status); in call_backend()
|
/third_party/ltp/testcases/kernel/syscalls/fork/ |
D | fork01.c | 167 int kid_status, wait_status; in main() local 192 wait_status = waitpid(TEST_RETURN, &kid_status, 0); in main() 194 if (wait_status == TEST_RETURN) { in main() 204 wait_status, errno, in main()
|
D | fork04.c | 274 int wait_status; in main() local 301 wait_status = waitpid(TEST_RETURN, &kid_status, 0); in main() 303 if (wait_status == TEST_RETURN) { in main() 313 wait_status, errno, in main()
|
/third_party/cups-filters/ |
D | backport-CVE-2023-24805.patch | 32 + wait_status, 145 + while ((wait_pid = wait(&wait_status)) < 0 && errno == EINTR); 147 + if (wait_pid >= 0 && wait_status) 149 + if (WIFEXITED(wait_status)) 150 + retval = WEXITSTATUS(wait_status); 151 + else if (WTERMSIG(wait_status) != SIGTERM) 152 + retval = WTERMSIG(wait_status);
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/app/ |
D | gstappsink.c | 120 GstAppSinkWaitStatus wait_status; member 567 priv->wait_status = NOONE_WAITING; in gst_app_sink_init() 746 priv->wait_status = NOONE_WAITING; in gst_app_sink_start() 771 priv->wait_status = NOONE_WAITING; in gst_app_sink_stop() 846 priv->wait_status |= STREAM_WAITING; in gst_app_sink_event() 848 priv->wait_status &= ~STREAM_WAITING; in gst_app_sink_event() 936 if ((priv->wait_status & APP_WAITING)) in gst_app_sink_preroll() 1078 priv->wait_status |= STREAM_WAITING; in gst_app_sink_render_common() 1080 priv->wait_status &= ~STREAM_WAITING; in gst_app_sink_render_common() 1090 if ((priv->wait_status & APP_WAITING)) in gst_app_sink_render_common() [all …]
|
D | gstappsrc.c | 146 GstAppSrcWaitStatus wait_status; member 758 priv->wait_status = NOONE_WAITING; in gst_app_src_init() 1050 if ((priv->wait_status & STREAM_WAITING)) in gst_app_src_send_event() 1769 if ((priv->wait_status & APP_WAITING)) in gst_app_src_create() 1811 priv->wait_status |= STREAM_WAITING; in gst_app_src_create() 1813 priv->wait_status &= ~STREAM_WAITING; in gst_app_src_create() 1891 if ((priv->wait_status & STREAM_WAITING)) in gst_app_src_set_caps() 2653 priv->wait_status |= APP_WAITING; in gst_app_src_push_internal() 2655 priv->wait_status &= ~APP_WAITING; in gst_app_src_push_internal() 2718 if ((priv->wait_status & STREAM_WAITING)) in gst_app_src_push_internal()
|
/third_party/cups-filters/cupsfilters/ |
D | ipp.c | 479 wait_status, /* Status from child */ in ippfind_based_uri_converter() local 670 while ((wait_pid = wait(&wait_status)) < 0 && errno == EINTR) { in ippfind_based_uri_converter() 682 if (wait_status) { in ippfind_based_uri_converter() 683 if (WIFEXITED(wait_status)) { in ippfind_based_uri_converter() 684 exit_status = WEXITSTATUS(wait_status); in ippfind_based_uri_converter() 687 } else if (WTERMSIG(wait_status) == SIGTERM) { in ippfind_based_uri_converter() 689 exit_status = WTERMSIG(wait_status); in ippfind_based_uri_converter()
|
/third_party/ltp/testcases/kernel/mem/mtest05/ |
D | mmstress.c | 535 int wait_status = 0; in test5() local 556 wait(&wait_status); in test5() 586 int wait_status; in test6() local 613 wait(&wait_status); in test6() 615 if (WEXITSTATUS(wait_status) != 0) in test6()
|
/third_party/cups-filters/utils/ |
D | driverless.c | 369 wait_status, /* Status from child */ in list_printers() local 563 while ((wait_res = waitpid(ippfind_pid, &wait_status, 0)) == -1 && in list_printers() 572 if (WIFEXITED(wait_status)) { in list_printers() 574 exit_status = WEXITSTATUS(wait_status); in list_printers() 582 } else if (WIFSIGNALED(wait_status) && WTERMSIG(wait_status) != SIGTERM) { in list_printers() 584 exit_status = 256 * WTERMSIG(wait_status); in list_printers()
|
/third_party/cups-filters/filter/ |
D | pdftops.c | 330 wait_status, /* Status from child */ in main() local 1526 while ((wait_pid = wait(&wait_status)) < 0 && errno == EINTR) in main() 1548 if (wait_status) in main() 1550 if (WIFEXITED(wait_status)) in main() 1552 exit_status = WEXITSTATUS(wait_status); in main() 1568 else if (WTERMSIG(wait_status) == SIGTERM) in main() 1587 exit_status = WTERMSIG(wait_status); in main()
|
/third_party/python/Modules/ |
D | posixmodule.c | 11063 WAIT_TYPE wait_status; in os_WCOREDUMP_impl() local 11064 WAIT_STATUS_INT(wait_status) = status; in os_WCOREDUMP_impl() 11065 return WCOREDUMP(wait_status); in os_WCOREDUMP_impl() 11086 WAIT_TYPE wait_status; in os_WIFCONTINUED_impl() local 11087 WAIT_STATUS_INT(wait_status) = status; in os_WIFCONTINUED_impl() 11088 return WIFCONTINUED(wait_status); in os_WIFCONTINUED_impl() 11106 WAIT_TYPE wait_status; in os_WIFSTOPPED_impl() local 11107 WAIT_STATUS_INT(wait_status) = status; in os_WIFSTOPPED_impl() 11108 return WIFSTOPPED(wait_status); in os_WIFSTOPPED_impl() 11126 WAIT_TYPE wait_status; in os_WIFSIGNALED_impl() local [all …]
|
/third_party/rust/crates/nix/test/ |
D | test_unistd.rs | 52 let wait_status = waitpid(child, None); in test_fork_and_waitpid() localVariable 53 match wait_status { in test_fork_and_waitpid() 78 let wait_status = wait(); in test_wait() localVariable 81 assert_eq!(wait_status, Ok(WaitStatus::Exited(child, 0))); in test_wait()
|