Home
last modified time | relevance | path

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

/PHP-8.3/ext/mbstring/
H A Dmb_gpc.c178 size_t new_val_len; in _php_mb_encoding_handler_ex() local
262 …ut_filter(info->data_type, ZSTR_VAL(converted_var), &val, ZSTR_LEN(converted_val), &new_val_len)) { in _php_mb_encoding_handler_ex()
264 php_register_variable_safe(ZSTR_VAL(converted_var), val, new_val_len, array_ptr); in _php_mb_encoding_handler_ex()
271 if (sapi_module.input_filter(info->data_type, var, &val, len_list[n], &new_val_len)) { in _php_mb_encoding_handler_ex()
272 php_register_variable_safe(var, val, new_val_len, array_ptr); in _php_mb_encoding_handler_ex()
/PHP-8.3/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 Drfc1867.c843 size_t new_val_len; /* Dummy variable */ local
860 …(max_input_vars) && sapi_module.input_filter(PARSE_POST, param, &value, value_len, &new_val_len)) {
863 size_t newlength = new_val_len;
868 event_formdata.length = new_val_len;
875 new_val_len = newlength;
877 safe_php_register_variable(param, value, new_val_len, array_ptr, 0);
H A Dphp_variables.c457 if(new_val_len) *new_val_len = val_len; in SAPI_INPUT_FILTER_FUNC()
540 size_t new_val_len; in SAPI_TREAT_DATA_FUNC() local
577 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) { in SAPI_TREAT_DATA_FUNC()
578 php_register_variable_safe(var, val, new_val_len, &array); in SAPI_TREAT_DATA_FUNC()
H A DSAPI.c991 …_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.3/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.3/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.3/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);
293 …hp_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *new_val_len) /* {{{ */ in php_sapi_filter() argument
356 if (new_val_len) { in php_sapi_filter()
357 *new_val_len = Z_STRLEN(new_var); in php_sapi_filter()
/PHP-8.3/docs/
H A Dinput-filter.md141 *new_val_len = strlen(*val);
/PHP-8.3/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.3/sapi/fpm/fpm/
H A Dfpm_main.c511 size_t new_val_len; in cgi_php_load_env_var() local
513 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var()
514 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
/PHP-8.3/sapi/cgi/
H A Dcgi_main.c657 size_t new_val_len; in cgi_php_load_env_var() local
659 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var()
660 php_register_variable_safe(var, val, new_val_len, array_ptr); in cgi_php_load_env_var()
/PHP-8.3/sapi/cli/
H A Dphp_cli_server.c614 size_t new_val_len; in sapi_cli_server_register_variable() local
620 if (sapi_module.input_filter(PARSE_SERVER, (char*)key, &new_val, strlen(val), &new_val_len)) { in sapi_cli_server_register_variable()
621 php_register_variable_safe((char *)key, new_val, new_val_len, track_vars_array); in sapi_cli_server_register_variable()

Completed in 61 milliseconds