Home
last modified time | relevance | path

Searched refs:input_filter (Results 1 – 19 of 19) sorted by relevance

/php-src/main/
H A DSAPI.h217 SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, const char *var, char…
282 …unsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val… member
315 #define SAPI_INPUT_FILTER_FUNC(input_filter) unsigned int input_filter(int arg, const char *var, ch… argument
H A DSAPI.c991 SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, const char *var, char… in sapi_register_input_filter()
996 sapi_module.input_filter = input_filter; in sapi_register_input_filter()
1045 if (sapi_module.input_filter) { in sapi_getenv()
1046 sapi_module.input_filter(PARSE_STRING, name, &value, strlen(value), NULL); in sapi_getenv()
H A Dphp_variables.c383 if (sapi_module.input_filter(PARSE_POST, var->ptr, &val, vlen, &new_vlen)) { in add_post_var()
579 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) { in SAPI_TREAT_DATA_FUNC()
H A Drfc1867.c870 …if (++count <= max_input_vars && sapi_module.input_filter(PARSE_POST, param, &value, value_len, &n…
/php-src/ext/filter/tests/
H A D035.phpt2 GET/POST/REQUEST Test with input_filter
/php-src/Zend/
H A Dzend_language_scanner.h50 zend_encoding_filter input_filter; member
H A Dzend_language_scanner.l243 lex_state->input_filter = SCNG(input_filter); in zend_save_lexical_state()
286 SCNG(input_filter) = lex_state->input_filter; in zend_restore_lexical_state()
495 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
504 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
511 LANG_SCNG(input_filter) = encoding_filter_script_to_internal; in zend_multibyte_set_filter()
514 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
518 LANG_SCNG(input_filter) = encoding_filter_script_to_intermediate; in zend_multibyte_set_filter()
554 if (SCNG(input_filter)) { in open_file_for_scanning()
745 if (SCNG(input_filter)) { in zend_prepare_string_for_scanning()
766 if (SCNG(input_filter)) { in zend_get_scanned_file_offset()
[all …]
H A Dzend_globals.h378 zend_encoding_filter input_filter; member
H A Dzend_compile.c6813 old_input_filter = LANG_SCNG(input_filter); in zend_handle_encoding_declaration()
6818 if (old_input_filter != LANG_SCNG(input_filter) || in zend_handle_encoding_declaration()
/php-src/ext/mbstring/
H A Dmb_gpc.c255 …if (sapi_module.input_filter(info->data_type, ZSTR_VAL(converted_var), &val, ZSTR_LEN(converted_va… in _php_mb_encoding_handler_ex()
264 if (sapi_module.input_filter(info->data_type, var, &val, len_list[n], &new_val_len)) { in _php_mb_encoding_handler_ex()
/php-src/sapi/cli/
H A Dphp_cli.c328 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len)) { in sapi_cli_register_variables()
331 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len)) { in sapi_cli_register_variables()
336 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &script_filename, len, &len)) { in sapi_cli_register_variables()
339 if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &script_filename, len, &len)) { in sapi_cli_register_variables()
344 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) { in sapi_cli_register_variables()
H A Dphp_cli_server.c620 if (sapi_module.input_filter(PARSE_SERVER, (char*)key, &new_val, strlen(val), &new_val_len)) { in sapi_cli_server_register_variable()
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_encoding.h251 const struct mbfl_convert_vtbl *input_filter; member
H A Dmbfl_convert.c293 return from->input_filter; in mbfl_convert_filter_get_vtbl()
/php-src/sapi/phpdbg/
H A Dphpdbg.c824 …if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &PHPDBG_G(exec), PHPDBG_G(exec_len), &len))… in php_sapi_phpdbg_register_vars()
827 …if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &PHPDBG_G(exec), PHPDBG_G(exec_len), &le… in php_sapi_phpdbg_register_vars()
831 …if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &PHPDBG_G(exec), PHPDBG_G(exec_len),… in php_sapi_phpdbg_register_vars()
834 …if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &PHPDBG_G(exec), PHPDBG_G(exec_len),… in php_sapi_phpdbg_register_vars()
841 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) { in php_sapi_phpdbg_register_vars()
/php-src/sapi/apache2handler/
H A Dsapi_apache2.c277 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len)) { in php_apache_sapi_register_variables()
282 …if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val… in php_apache_sapi_register_variables()
/php-src/sapi/fpm/fpm/
H A Dfpm_main.c511 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var()
586 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
593 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
/php-src/sapi/cgi/
H A Dcgi_main.c662 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var()
742 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
751 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
/php-src/sapi/litespeed/
H A Dlsapi_main.c208 if (sapi_module.input_filter(filter_arg, (char *)pKey, &new_val, valLen, &new_val_len)) { in add_variable()

Completed in 108 milliseconds