Lines Matching refs:return_value
238 array_init(return_value); in PHP_FUNCTION()
241 add_next_index_long(return_value, gidlist[i]); in PHP_FUNCTION()
351 array_init(return_value); in PHP_FUNCTION()
353 add_assoc_string(return_value, "sysname", u.sysname); in PHP_FUNCTION()
354 add_assoc_string(return_value, "nodename", u.nodename); in PHP_FUNCTION()
355 add_assoc_string(return_value, "release", u.release); in PHP_FUNCTION()
356 add_assoc_string(return_value, "version", u.version); in PHP_FUNCTION()
357 add_assoc_string(return_value, "machine", u.machine); in PHP_FUNCTION()
360 add_assoc_string(return_value, "domainname", u.domainname); in PHP_FUNCTION()
382 array_init(return_value); in PHP_FUNCTION()
384 add_assoc_long(return_value, "ticks", ticks); /* clock ticks */ in PHP_FUNCTION()
385 add_assoc_long(return_value, "utime", t.tms_utime); /* user time */ in PHP_FUNCTION()
386 add_assoc_long(return_value, "stime", t.tms_stime); /* system time */ in PHP_FUNCTION()
387 add_assoc_long(return_value, "cutime", t.tms_cutime); /* user time of children */ in PHP_FUNCTION()
388 add_assoc_long(return_value, "cstime", t.tms_cstime); /* system time of children */ in PHP_FUNCTION()
827 array_init(return_value); in PHP_FUNCTION()
829 if (!php_posix_group_to_array(g, return_value)) { in PHP_FUNCTION()
830 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
889 array_init(return_value); in PHP_FUNCTION()
891 if (!php_posix_group_to_array(g, return_value)) { in PHP_FUNCTION()
892 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
902 int php_posix_passwd_to_array(struct passwd *pw, zval *return_value) /* {{{ */ in php_posix_passwd_to_array() argument
906 if (NULL == return_value || Z_TYPE_P(return_value) != IS_ARRAY) in php_posix_passwd_to_array()
909 add_assoc_string(return_value, "name", pw->pw_name); in php_posix_passwd_to_array()
910 add_assoc_string(return_value, "passwd", pw->pw_passwd); in php_posix_passwd_to_array()
911 add_assoc_long (return_value, "uid", pw->pw_uid); in php_posix_passwd_to_array()
912 add_assoc_long (return_value, "gid", pw->pw_gid); in php_posix_passwd_to_array()
913 add_assoc_string(return_value, "gecos", pw->pw_gecos); in php_posix_passwd_to_array()
914 add_assoc_string(return_value, "dir", pw->pw_dir); in php_posix_passwd_to_array()
915 add_assoc_string(return_value, "shell", pw->pw_shell); in php_posix_passwd_to_array()
967 array_init(return_value); in PHP_FUNCTION()
969 if (!php_posix_passwd_to_array(pw, return_value)) { in PHP_FUNCTION()
970 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
1027 array_init(return_value); in PHP_FUNCTION()
1029 if (!php_posix_passwd_to_array(pw, return_value)) { in PHP_FUNCTION()
1030 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
1046 static zend_result posix_addlimit(int limit, const char *name, zval *return_value) { in posix_addlimit() argument
1062 add_assoc_stringl(return_value, soft, UNLIMITED_STRING, sizeof(UNLIMITED_STRING)-1); in posix_addlimit()
1064 add_assoc_long(return_value, soft, rl.rlim_cur); in posix_addlimit()
1068 add_assoc_stringl(return_value, hard, UNLIMITED_STRING, sizeof(UNLIMITED_STRING)-1); in posix_addlimit()
1070 add_assoc_long(return_value, hard, rl.rlim_max); in posix_addlimit()
1156 array_init(return_value); in PHP_FUNCTION()
1159 if (posix_addlimit(l->limit, l->name, return_value) == FAILURE) { in PHP_FUNCTION()
1160 zend_array_destroy(Z_ARR_P(return_value)); in PHP_FUNCTION()
1172 array_init(return_value); in PHP_FUNCTION()
1174 add_next_index_stringl(return_value, UNLIMITED_STRING, sizeof(UNLIMITED_STRING)-1); in PHP_FUNCTION()
1176 add_next_index_long(return_value, rl.rlim_cur); in PHP_FUNCTION()
1180 add_next_index_stringl(return_value, UNLIMITED_STRING, sizeof(UNLIMITED_STRING)-1); in PHP_FUNCTION()
1182 add_next_index_long(return_value, rl.rlim_max); in PHP_FUNCTION()