Lines Matching refs:user_siginfo

1104 	zval            *user_set, *user_signo, *user_siginfo = NULL;  in pcntl_sigwaitinfo()  local
1112 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|zll", &user_set, &user_siginfo, &tv_sec, &tv_nsec) =… in pcntl_sigwaitinfo()
1116 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|z", &user_set, &user_siginfo) == FAILURE) { in pcntl_sigwaitinfo()
1155 pcntl_siginfo_to_zval(signo, &siginfo, user_siginfo); in pcntl_sigwaitinfo()
1175 static void pcntl_siginfo_to_zval(int signo, siginfo_t *siginfo, zval *user_siginfo) /* {{{ */ in pcntl_siginfo_to_zval() argument
1177 if (signo > 0 && user_siginfo) { in pcntl_siginfo_to_zval()
1178 user_siginfo = zend_try_array_init(user_siginfo); in pcntl_siginfo_to_zval()
1179 if (!user_siginfo) { in pcntl_siginfo_to_zval()
1183 add_assoc_long_ex(user_siginfo, "signo", sizeof("signo")-1, siginfo->si_signo); in pcntl_siginfo_to_zval()
1184 add_assoc_long_ex(user_siginfo, "errno", sizeof("errno")-1, siginfo->si_errno); in pcntl_siginfo_to_zval()
1185 add_assoc_long_ex(user_siginfo, "code", sizeof("code")-1, siginfo->si_code); in pcntl_siginfo_to_zval()
1189 add_assoc_long_ex(user_siginfo, "status", sizeof("status")-1, siginfo->si_status); in pcntl_siginfo_to_zval()
1191 add_assoc_double_ex(user_siginfo, "utime", sizeof("utime")-1, siginfo->si_utime); in pcntl_siginfo_to_zval()
1194 add_assoc_double_ex(user_siginfo, "stime", sizeof("stime")-1, siginfo->si_stime); in pcntl_siginfo_to_zval()
1196 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
1197 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()
1201 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
1202 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()
1209 add_assoc_double_ex(user_siginfo, "addr", sizeof("addr")-1, (zend_long)siginfo->si_addr); in pcntl_siginfo_to_zval()
1213 add_assoc_long_ex(user_siginfo, "band", sizeof("band")-1, siginfo->si_band); in pcntl_siginfo_to_zval()
1215 add_assoc_long_ex(user_siginfo, "fd", sizeof("fd")-1, siginfo->si_fd); in pcntl_siginfo_to_zval()
1222 add_assoc_long_ex(user_siginfo, "pid", sizeof("pid")-1, siginfo->si_pid); in pcntl_siginfo_to_zval()
1223 add_assoc_long_ex(user_siginfo, "uid", sizeof("uid")-1, siginfo->si_uid); in pcntl_siginfo_to_zval()