Lines Matching refs:user_siginfo

973 	zval            *user_set, **user_signo, *user_siginfo = NULL;  in pcntl_sigwaitinfo()  local
982 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|zll", &user_set, &user_siginfo, &tv_sec, &… in pcntl_sigwaitinfo()
986 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|z", &user_set, &user_siginfo) == FAILURE) { in pcntl_sigwaitinfo()
1033 if (signo > 0 && user_siginfo) { in pcntl_sigwaitinfo()
1034 if (Z_TYPE_P(user_siginfo) != IS_ARRAY) { in pcntl_sigwaitinfo()
1035 zval_dtor(user_siginfo); in pcntl_sigwaitinfo()
1036 array_init(user_siginfo); in pcntl_sigwaitinfo()
1038 zend_hash_clean(Z_ARRVAL_P(user_siginfo)); in pcntl_sigwaitinfo()
1040 add_assoc_long_ex(user_siginfo, "signo", sizeof("signo"), siginfo.si_signo); in pcntl_sigwaitinfo()
1041 add_assoc_long_ex(user_siginfo, "errno", sizeof("errno"), siginfo.si_errno); in pcntl_sigwaitinfo()
1042 add_assoc_long_ex(user_siginfo, "code", sizeof("code"), siginfo.si_code); in pcntl_sigwaitinfo()
1046 add_assoc_long_ex(user_siginfo, "status", sizeof("status"), siginfo.si_status); in pcntl_sigwaitinfo()
1048 add_assoc_double_ex(user_siginfo, "utime", sizeof("utime"), siginfo.si_utime); in pcntl_sigwaitinfo()
1051 add_assoc_double_ex(user_siginfo, "stime", sizeof("stime"), siginfo.si_stime); in pcntl_sigwaitinfo()
1053 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid"), siginfo.si_pid); in pcntl_sigwaitinfo()
1054 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid"), siginfo.si_uid); in pcntl_sigwaitinfo()
1061 add_assoc_double_ex(user_siginfo, "addr", sizeof("addr"), (long)siginfo.si_addr); in pcntl_sigwaitinfo()
1065 add_assoc_long_ex(user_siginfo, "band", sizeof("band"), siginfo.si_band); in pcntl_sigwaitinfo()
1067 add_assoc_long_ex(user_siginfo, "fd", sizeof("fd"), siginfo.si_fd); in pcntl_sigwaitinfo()