Home
last modified time | relevance | path

Searched refs:array_ptr (Results 1 – 14 of 14) sorted by relevance

/php-src/docs-old/
H A Dinput-filter.md96 zval *array_ptr = NULL;
105 ALLOC_ZVAL(array_ptr);
106 array_init(array_ptr);
107 INIT_PZVAL(array_ptr);
113 ALLOC_ZVAL(array_ptr);
114 array_init(array_ptr);
115 INIT_PZVAL(array_ptr);
121 ALLOC_ZVAL(array_ptr);
122 array_init(array_ptr);
151 zval *array_ptr = NULL;
[all …]
/php-src/Zend/
H A Dzend_iterators.c98 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr) in zend_iterator_unwrap() argument
100 ZEND_ASSERT(Z_TYPE_P(array_ptr) == IS_OBJECT); in zend_iterator_unwrap()
101 if (Z_OBJ_HT_P(array_ptr) == &iterator_object_handlers) { in zend_iterator_unwrap()
102 return (zend_object_iterator *)Z_OBJ_P(array_ptr); in zend_iterator_unwrap()
H A Dzend_iterators.h89 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr);
H A Dzend_vm_def.h6815 zval *array_ptr, *result; variable
6822 ZVAL_COPY_VALUE(result, array_ptr);
6824 Z_ADDREF_P(array_ptr);
6856 Z_ADDREF_P(array_ptr);
6892 zval *array_ptr, *array_ref; variable
6899 array_ptr = Z_REFVAL_P(array_ref);
6907 if (array_ptr == array_ref) {
6919 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr)));
6921 SEPARATE_ARRAY(array_ptr);
6940 if (array_ptr == array_ref) {
[all …]
H A Dzend_vm_execute.h5408 zval *array_ptr, *result; in ZEND_FE_RESET_R_SPEC_CONST_HANDLER() local
5417 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CONST_HANDLER()
5448 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CONST_HANDLER()
5510 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_CONST_HANDLER()
5545 Z_OBJ_P(array_ptr)->properties = zend_array_dup(Z_OBJ_P(array_ptr)->properties); in ZEND_FE_RESET_RW_SPEC_CONST_HANDLER()
20140 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_TMP_HANDLER()
20234 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_TMP_HANDLER()
22808 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_VAR_HANDLER()
22903 ZVAL_ARR(array_ptr, zend_array_dup(Z_ARRVAL_P(array_ptr))); in ZEND_FE_RESET_RW_SPEC_VAR_HANDLER()
41124 Z_ADDREF_P(array_ptr); in ZEND_FE_RESET_R_SPEC_CV_HANDLER()
[all …]
H A Dzend_execute.c5194 static zend_never_inline bool ZEND_FASTCALL zend_fe_reset_iterator(zval *array_ptr, int by_ref OPLI… in zend_fe_reset_iterator() argument
5196 zend_class_entry *ce = Z_OBJCE_P(array_ptr); in zend_fe_reset_iterator()
5197 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, by_ref); in zend_fe_reset_iterator()
/php-src/ext/filter/
H A Dfilter.c302 array_ptr = &IF_G(a); \ in php_sapi_filter()
329 if (array_ptr) { in php_sapi_filter()
397 zval *array_ptr = NULL; in php_filter_get_storage() local
401 array_ptr = &IF_G(get_array); in php_filter_get_storage()
404 array_ptr = &IF_G(post_array); in php_filter_get_storage()
407 array_ptr = &IF_G(cookie_array); in php_filter_get_storage()
413 array_ptr = &IF_G(server_array); in php_filter_get_storage()
426 if (array_ptr && Z_TYPE_P(array_ptr) != IS_ARRAY) { in php_filter_get_storage()
431 return array_ptr; in php_filter_get_storage()
440 zval *array_ptr = NULL; in PHP_FUNCTION() local
[all …]
/php-src/main/
H A Dphp_variables.h33 extern PHPAPI void (*php_import_environment_variables)(zval *array_ptr);
34 extern PHPAPI void (*php_load_environment_variables)(zval *array_ptr);
H A Dphp_variables.c31 static void _php_import_environment_variables(zval *array_ptr);
32 static void _php_load_environment_variables(zval *array_ptr);
33 PHPAPI void (*php_import_environment_variables)(zval *array_ptr) = _php_import_environment_variable…
34 PHPAPI void (*php_load_environment_variables)(zval *array_ptr) = _php_load_environment_variables;
629 static void _php_import_environment_variables(zval *array_ptr) in _php_import_environment_variables() argument
635 import_environment_variable(Z_ARRVAL_P(array_ptr), *env); in _php_import_environment_variables()
642 import_environment_variable(Z_ARRVAL_P(array_ptr), env); in _php_import_environment_variables()
652 static void _php_load_environment_variables(zval *array_ptr) in _php_load_environment_variables() argument
654 php_import_environment_variables(array_ptr); in _php_load_environment_variables()
H A Drfc1867.c662 zval *array_ptr = (zval *) arg; local
887 safe_php_register_variable(param, value, new_val_len, array_ptr, 0);
/php-src/sapi/fpm/fpm/
H A Dfpm_main.c507 zval *array_ptr = (zval *) arg; in cgi_php_load_env_var() local
512 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
519 zval *array_ptr = (zval *) arg; in cgi_php_load_env_var_unfilterd() local
520 php_register_variable_safe(var, val, val_len, array_ptr); in cgi_php_load_env_var_unfilterd()
523 static void cgi_php_load_environment_variables(zval *array_ptr) in cgi_php_load_environment_variables() argument
525 php_php_import_environment_variables(array_ptr); in cgi_php_load_environment_variables()
531 static void cgi_php_import_environment_variables(zval *array_ptr) in cgi_php_import_environment_variables() argument
539 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
546 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
552 php_php_import_environment_variables(array_ptr); in cgi_php_import_environment_variables()
[all …]
/php-src/ext/mbstring/
H A Dmb_gpc.c165 …_php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *array_ptr, char *res) in _php_mb_encoding_handler_ex() argument
257 php_register_variable_safe(ZSTR_VAL(converted_var), val, new_val_len, array_ptr); in _php_mb_encoding_handler_ex()
265 php_register_variable_safe(var, val, new_val_len, array_ptr); in _php_mb_encoding_handler_ex()
/php-src/sapi/litespeed/
H A Dlsapi_main.c214 static void litespeed_php_import_environment_variables(zval *array_ptr) in litespeed_php_import_environment_variables() argument
222 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV]) && in litespeed_php_import_environment_variables()
225 zval_ptr_dtor_nogc(array_ptr); in litespeed_php_import_environment_variables()
226 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_ENV]); in litespeed_php_import_environment_variables()
229 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) && in litespeed_php_import_environment_variables()
232 zval_ptr_dtor_nogc(array_ptr); in litespeed_php_import_environment_variables()
233 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_SERVER]); in litespeed_php_import_environment_variables()
250 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr); in litespeed_php_import_environment_variables()
/php-src/sapi/cgi/
H A Dcgi_main.c106 static void (*php_php_import_environment_variables)(zval *array_ptr);
658 zval *array_ptr = (zval *) arg; in cgi_php_load_env_var() local
659 …int filter_arg = (Z_ARR_P(array_ptr) == Z_ARR(PG(http_globals)[TRACK_VARS_ENV])) ? PARSE_ENV : PAR… in cgi_php_load_env_var()
663 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
667 static void cgi_php_import_environment_variables(zval *array_ptr) in cgi_php_import_environment_variables() argument
675 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV])) { in cgi_php_import_environment_variables()
676 zend_array_destroy(Z_ARR_P(array_ptr)); in cgi_php_import_environment_variables()
677 Z_ARR_P(array_ptr) = zend_array_dup(Z_ARR(PG(http_globals)[TRACK_VARS_ENV])); in cgi_php_import_environment_variables()
683 php_php_import_environment_variables(array_ptr); in cgi_php_import_environment_variables()
687 fcgi_loadenv(request, cgi_php_load_env_var, array_ptr); in cgi_php_import_environment_variables()

Completed in 209 milliseconds