Lines Matching refs:return_value

313 	array_init(return_value);  in PHP_FUNCTION()
316 add_next_index_long(return_value, gidlist[i]); in PHP_FUNCTION()
426 array_init(return_value); in PHP_FUNCTION()
428 add_assoc_string(return_value, "sysname", u.sysname); in PHP_FUNCTION()
429 add_assoc_string(return_value, "nodename", u.nodename); in PHP_FUNCTION()
430 add_assoc_string(return_value, "release", u.release); in PHP_FUNCTION()
431 add_assoc_string(return_value, "version", u.version); in PHP_FUNCTION()
432 add_assoc_string(return_value, "machine", u.machine); in PHP_FUNCTION()
435 add_assoc_string(return_value, "domainname", u.domainname); in PHP_FUNCTION()
457 array_init(return_value); in PHP_FUNCTION()
459 add_assoc_long(return_value, "ticks", ticks); /* clock ticks */ in PHP_FUNCTION()
460 add_assoc_long(return_value, "utime", t.tms_utime); /* user time */ in PHP_FUNCTION()
461 add_assoc_long(return_value, "stime", t.tms_stime); /* system time */ in PHP_FUNCTION()
462 add_assoc_long(return_value, "cutime", t.tms_cutime); /* user time of children */ in PHP_FUNCTION()
463 add_assoc_long(return_value, "cstime", t.tms_cstime); /* system time of children */ in PHP_FUNCTION()
826 array_init(return_value); in PHP_FUNCTION()
828 if (!php_posix_group_to_array(g, return_value)) { in PHP_FUNCTION()
829 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
884 array_init(return_value); in PHP_FUNCTION()
886 if (!php_posix_group_to_array(g, return_value)) { in PHP_FUNCTION()
887 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
897 int php_posix_passwd_to_array(struct passwd *pw, zval *return_value) /* {{{ */ in php_posix_passwd_to_array() argument
901 if (NULL == return_value || Z_TYPE_P(return_value) != IS_ARRAY) in php_posix_passwd_to_array()
904 add_assoc_string(return_value, "name", pw->pw_name); in php_posix_passwd_to_array()
905 add_assoc_string(return_value, "passwd", pw->pw_passwd); in php_posix_passwd_to_array()
906 add_assoc_long (return_value, "uid", pw->pw_uid); in php_posix_passwd_to_array()
907 add_assoc_long (return_value, "gid", pw->pw_gid); in php_posix_passwd_to_array()
908 add_assoc_string(return_value, "gecos", pw->pw_gecos); in php_posix_passwd_to_array()
909 add_assoc_string(return_value, "dir", pw->pw_dir); in php_posix_passwd_to_array()
910 add_assoc_string(return_value, "shell", pw->pw_shell); in php_posix_passwd_to_array()
956 array_init(return_value); in PHP_FUNCTION()
958 if (!php_posix_passwd_to_array(pw, return_value)) { in PHP_FUNCTION()
959 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
1012 array_init(return_value); in PHP_FUNCTION()
1014 if (!php_posix_passwd_to_array(pw, return_value)) { in PHP_FUNCTION()
1015 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
1031 static int posix_addlimit(int limit, const char *name, zval *return_value) { in posix_addlimit() argument
1047 add_assoc_stringl(return_value, soft, UNLIMITED_STRING, sizeof(UNLIMITED_STRING)-1); in posix_addlimit()
1049 add_assoc_long(return_value, soft, rl.rlim_cur); in posix_addlimit()
1053 add_assoc_stringl(return_value, hard, UNLIMITED_STRING, sizeof(UNLIMITED_STRING)-1); in posix_addlimit()
1055 add_assoc_long(return_value, hard, rl.rlim_max); in posix_addlimit()
1135 array_init(return_value); in PHP_FUNCTION()
1138 if (posix_addlimit(l->limit, l->name, return_value) == FAILURE) { in PHP_FUNCTION()
1139 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()