Home
last modified time | relevance | path

Searched refs:new_val_len (Results 1 – 13 of 13) sorted by relevance

/PHP-8.1/ext/intl/collator/
H A Dcollator_convert.c42 int32_t new_val_len = 0; in collator_convert_hash_item_from_utf8_to_utf16() local
53 intl_convert_utf8_to_utf16( &new_val, &new_val_len, old_val, old_val_len, status ); in collator_convert_hash_item_from_utf8_to_utf16()
58 ZVAL_STRINGL( &znew_val, (char*)new_val, UBYTES(new_val_len + 1) ); in collator_convert_hash_item_from_utf8_to_utf16()
/PHP-8.1/main/
H A DSAPI.h195 …_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val_len), unsigned int …
260 …ned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val_len);
293 …nsigned int input_filter(int arg, const char *var, char **val, size_t val_len, size_t *new_val_len)
H A Dphp_variables.c422 if(new_val_len) *new_val_len = val_len; in SAPI_INPUT_FILTER_FUNC()
505 size_t new_val_len; in SAPI_TREAT_DATA_FUNC() local
542 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) { in SAPI_TREAT_DATA_FUNC()
543 php_register_variable_safe(var, val, new_val_len, &array); in SAPI_TREAT_DATA_FUNC()
H A Drfc1867.c865 size_t new_val_len; /* Dummy variable */ local
882 …(max_input_vars) && sapi_module.input_filter(PARSE_POST, param, &value, value_len, &new_val_len)) {
885 size_t newlength = new_val_len;
890 event_formdata.length = new_val_len;
897 new_val_len = newlength;
899 safe_php_register_variable(param, value, new_val_len, array_ptr, 0);
H A DSAPI.c986 …_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val_len), unsigned int … in sapi_register_input_filter() argument
/PHP-8.1/ext/mbstring/
H A Dmb_gpc.c183 size_t val_len, new_val_len; in _php_mb_encoding_handler_ex() local
315 if (sapi_module.input_filter(info->data_type, var, &val, val_len, &new_val_len)) { in _php_mb_encoding_handler_ex()
317 php_register_variable_safe(var, val, new_val_len, array_ptr); in _php_mb_encoding_handler_ex()
/PHP-8.1/sapi/apache2handler/
H A Dsapi_apache2.c271 size_t new_val_len; in php_apache_sapi_register_variables() local
277 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len)) { in php_apache_sapi_register_variables()
278 php_register_variable_safe(key, val, new_val_len, track_vars_array); in php_apache_sapi_register_variables()
282 …i_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len)) { in php_apache_sapi_register_variables()
283 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array); in php_apache_sapi_register_variables()
/PHP-8.1/ext/filter/
H A Dfilter.c78 …ned int php_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *new_val_len);
360 …hp_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *new_val_len) /* {{{ */ in php_sapi_filter() argument
423 if (new_val_len) { in php_sapi_filter()
424 *new_val_len = Z_STRLEN(new_var); in php_sapi_filter()
/PHP-8.1/docs/
H A Dinput-filter.md141 *new_val_len = strlen(*val);
/PHP-8.1/sapi/litespeed/
H A Dlsapi_main.c207 size_t new_val_len; in add_variable() local
209 if (sapi_module.input_filter(filter_arg, (char *)pKey, &new_val, valLen, &new_val_len)) { in add_variable()
210 php_register_variable_safe((char *)pKey, new_val, new_val_len, (zval *)arg ); in add_variable()
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_main.c509 size_t new_val_len; in cgi_php_load_env_var() local
511 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var()
512 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
/PHP-8.1/sapi/cgi/
H A Dcgi_main.c656 size_t new_val_len; in cgi_php_load_env_var() local
658 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var()
659 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
/PHP-8.1/sapi/cli/
H A Dphp_cli_server.c615 size_t new_val_len; in sapi_cli_server_register_variable() local
621 if (sapi_module.input_filter(PARSE_SERVER, (char*)key, &new_val, strlen(val), &new_val_len)) { in sapi_cli_server_register_variable()
622 php_register_variable_safe((char *)key, new_val, new_val_len, track_vars_array); in sapi_cli_server_register_variable()

Completed in 78 milliseconds