Lines Matching refs:return_value

578 	array_init(return_value);  in PHP_FUNCTION()
581 add_next_index_long(return_value, gidlist[i]); in PHP_FUNCTION()
697 array_init(return_value); in PHP_FUNCTION()
699 add_assoc_string(return_value, "sysname", u.sysname); in PHP_FUNCTION()
700 add_assoc_string(return_value, "nodename", u.nodename); in PHP_FUNCTION()
701 add_assoc_string(return_value, "release", u.release); in PHP_FUNCTION()
702 add_assoc_string(return_value, "version", u.version); in PHP_FUNCTION()
703 add_assoc_string(return_value, "machine", u.machine); in PHP_FUNCTION()
706 add_assoc_string(return_value, "domainname", u.domainname); in PHP_FUNCTION()
729 array_init(return_value); in PHP_FUNCTION()
731 add_assoc_long(return_value, "ticks", ticks); /* clock ticks */ in PHP_FUNCTION()
732 add_assoc_long(return_value, "utime", t.tms_utime); /* user time */ in PHP_FUNCTION()
733 add_assoc_long(return_value, "stime", t.tms_stime); /* system time */ in PHP_FUNCTION()
734 add_assoc_long(return_value, "cutime", t.tms_cutime); /* user time of children */ in PHP_FUNCTION()
735 add_assoc_long(return_value, "cstime", t.tms_cstime); /* system time of children */ in PHP_FUNCTION()
1107 array_init(return_value); in PHP_FUNCTION()
1109 if (!php_posix_group_to_array(g, return_value)) { in PHP_FUNCTION()
1110 zval_dtor(return_value); in PHP_FUNCTION()
1160 array_init(return_value); in PHP_FUNCTION()
1162 if (!php_posix_group_to_array(g, return_value)) { in PHP_FUNCTION()
1163 zval_dtor(return_value); in PHP_FUNCTION()
1173 int php_posix_passwd_to_array(struct passwd *pw, zval *return_value) /* {{{ */ in php_posix_passwd_to_array() argument
1177 if (NULL == return_value || Z_TYPE_P(return_value) != IS_ARRAY) in php_posix_passwd_to_array()
1180 add_assoc_string(return_value, "name", pw->pw_name); in php_posix_passwd_to_array()
1181 add_assoc_string(return_value, "passwd", pw->pw_passwd); in php_posix_passwd_to_array()
1182 add_assoc_long (return_value, "uid", pw->pw_uid); in php_posix_passwd_to_array()
1183 add_assoc_long (return_value, "gid", pw->pw_gid); in php_posix_passwd_to_array()
1184 add_assoc_string(return_value, "gecos", pw->pw_gecos); in php_posix_passwd_to_array()
1185 add_assoc_string(return_value, "dir", pw->pw_dir); in php_posix_passwd_to_array()
1186 add_assoc_string(return_value, "shell", pw->pw_shell); in php_posix_passwd_to_array()
1227 array_init(return_value); in PHP_FUNCTION()
1229 if (!php_posix_passwd_to_array(pw, return_value)) { in PHP_FUNCTION()
1230 zval_dtor(return_value); in PHP_FUNCTION()
1278 array_init(return_value); in PHP_FUNCTION()
1280 if (!php_posix_passwd_to_array(pw, return_value)) { in PHP_FUNCTION()
1281 zval_dtor(return_value); in PHP_FUNCTION()
1298 static int posix_addlimit(int limit, char *name, zval *return_value) { in posix_addlimit() argument
1314 add_assoc_stringl(return_value, soft, UNLIMITED_STRING, sizeof(UNLIMITED_STRING)-1); in posix_addlimit()
1316 add_assoc_long(return_value, soft, rl.rlim_cur); in posix_addlimit()
1320 add_assoc_stringl(return_value, hard, UNLIMITED_STRING, sizeof(UNLIMITED_STRING)-1); in posix_addlimit()
1322 add_assoc_long(return_value, hard, rl.rlim_max); in posix_addlimit()
1396 array_init(return_value); in PHP_FUNCTION()
1399 if (posix_addlimit(l->limit, l->name, return_value) == FAILURE) { in PHP_FUNCTION()
1400 zval_dtor(return_value); in PHP_FUNCTION()