Lines Matching refs:vars

297 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof TSRMLS_DC)  in add_post_vars()  argument
301 vars->ptr = vars->str.c; in add_post_vars()
302 vars->end = vars->str.c + vars->str.len; in add_post_vars()
303 while (add_post_var(arr, vars, eof TSRMLS_CC)) { in add_post_vars()
304 if (++vars->cnt > max_vars) { in add_post_vars()
313 if (!eof && vars->str.c != vars->ptr) { in add_post_vars()
314 memmove(vars->str.c, vars->ptr, vars->str.len = vars->end - vars->ptr); in add_post_vars()
724 zval *vars; in php_auto_globals_create_get() local
728 vars = PG(http_globals)[TRACK_VARS_GET]; in php_auto_globals_create_get()
730 ALLOC_ZVAL(vars); in php_auto_globals_create_get()
731 array_init(vars); in php_auto_globals_create_get()
732 INIT_PZVAL(vars); in php_auto_globals_create_get()
736 PG(http_globals)[TRACK_VARS_GET] = vars; in php_auto_globals_create_get()
739 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); in php_auto_globals_create_get()
740 Z_ADDREF_P(vars); in php_auto_globals_create_get()
747 zval *vars; in php_auto_globals_create_post() local
754 vars = PG(http_globals)[TRACK_VARS_POST]; in php_auto_globals_create_post()
756 ALLOC_ZVAL(vars); in php_auto_globals_create_post()
757 array_init(vars); in php_auto_globals_create_post()
758 INIT_PZVAL(vars); in php_auto_globals_create_post()
762 PG(http_globals)[TRACK_VARS_POST] = vars; in php_auto_globals_create_post()
765 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); in php_auto_globals_create_post()
766 Z_ADDREF_P(vars); in php_auto_globals_create_post()
773 zval *vars; in php_auto_globals_create_cookie() local
777 vars = PG(http_globals)[TRACK_VARS_COOKIE]; in php_auto_globals_create_cookie()
779 ALLOC_ZVAL(vars); in php_auto_globals_create_cookie()
780 array_init(vars); in php_auto_globals_create_cookie()
781 INIT_PZVAL(vars); in php_auto_globals_create_cookie()
785 PG(http_globals)[TRACK_VARS_COOKIE] = vars; in php_auto_globals_create_cookie()
788 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); in php_auto_globals_create_cookie()
789 Z_ADDREF_P(vars); in php_auto_globals_create_cookie()
796 zval *vars; in php_auto_globals_create_files() local
799 vars = PG(http_globals)[TRACK_VARS_FILES]; in php_auto_globals_create_files()
801 ALLOC_ZVAL(vars); in php_auto_globals_create_files()
802 array_init(vars); in php_auto_globals_create_files()
803 INIT_PZVAL(vars); in php_auto_globals_create_files()
804 PG(http_globals)[TRACK_VARS_FILES] = vars; in php_auto_globals_create_files()
807 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); in php_auto_globals_create_files()
808 Z_ADDREF_P(vars); in php_auto_globals_create_files()