Home
last modified time | relevance | path

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

/PHP-7.0/main/
H A DSAPI.h200 SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, char *var, char **val…
268 unsigned int (*input_filter)(int arg, char *var, char **val, size_t val_len, size_t *new_val_len); member
302 #define SAPI_INPUT_FILTER_FUNC(input_filter) unsigned int input_filter(int arg, char *var, char **v… argument
H A DSAPI.c989 SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, char *var, char **val… in sapi_register_input_filter()
994 sapi_module.input_filter = input_filter; in sapi_register_input_filter()
1034 if (sapi_module.input_filter) { in sapi_getenv()
1035 sapi_module.input_filter(PARSE_STRING, name, &value, strlen(value), NULL); in sapi_getenv()
H A Dphp_variables.c288 if (sapi_module.input_filter(PARSE_POST, var->ptr, &val, vlen, &new_vlen)) { in add_post_var()
470 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) { in SAPI_TREAT_DATA_FUNC()
481 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) { in SAPI_TREAT_DATA_FUNC()
H A Drfc1867.c879 …if (++count <= PG(max_input_vars) && sapi_module.input_filter(PARSE_POST, param, &value, value_len…
/PHP-7.0/Zend/
H A Dzend_language_scanner.l223 lex_state->input_filter = SCNG(input_filter); in zend_save_lexical_state()
262 SCNG(input_filter) = lex_state->input_filter; in zend_restore_lexical_state()
465 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
474 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
481 LANG_SCNG(input_filter) = encoding_filter_script_to_internal; in zend_multibyte_set_filter()
484 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
488 LANG_SCNG(input_filter) = encoding_filter_script_to_intermediate; in zend_multibyte_set_filter()
532 if (SCNG(input_filter)) { in open_file_for_scanning()
694 if (SCNG(input_filter)) { in zend_prepare_string_for_scanning()
719 if (SCNG(input_filter)) { in zend_get_scanned_file_offset()
[all …]
H A Dzend_language_scanner.h49 zend_encoding_filter input_filter; member
H A Dzend_globals.h281 zend_encoding_filter input_filter; member
H A Dzend_language_scanner.c225 lex_state->input_filter = SCNG(input_filter); in zend_save_lexical_state()
264 SCNG(input_filter) = lex_state->input_filter; in zend_restore_lexical_state()
467 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
476 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
483 LANG_SCNG(input_filter) = encoding_filter_script_to_internal; in zend_multibyte_set_filter()
486 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter()
490 LANG_SCNG(input_filter) = encoding_filter_script_to_intermediate; in zend_multibyte_set_filter()
534 if (SCNG(input_filter)) { in open_file_for_scanning()
696 if (SCNG(input_filter)) { in zend_prepare_string_for_scanning()
721 if (SCNG(input_filter)) { in zend_get_scanned_file_offset()
[all …]
H A Dzend_compile.c4317 old_input_filter = LANG_SCNG(input_filter); in zend_handle_encoding_declaration()
4322 if (old_input_filter != LANG_SCNG(input_filter) || in zend_handle_encoding_declaration()
/PHP-7.0/ext/filter/tests/
H A D035.phpt2 GET/POST/REQUEST Test with input_filter
/PHP-7.0/sapi/cli/
H A Dphp_cli.c357 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len)) { in sapi_cli_register_variables()
360 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len)) { in sapi_cli_register_variables()
365 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &script_filename, len, &len)) { in sapi_cli_register_variables()
368 if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &script_filename, len, &len)) { in sapi_cli_register_variables()
373 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) { in sapi_cli_register_variables()
H A Dphp_cli_server.c593 if (sapi_module.input_filter(PARSE_SERVER, (char*)key, &new_val, strlen(val), &new_val_len)) { in sapi_cli_server_register_variable()
/PHP-7.0/sapi/apache2handler/
H A Dsapi_apache2.c281 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len)) { in php_apache_sapi_register_variables()
286 …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-7.0/ext/mbstring/
H A Dmb_gpc.c332 if (sapi_module.input_filter(info->data_type, var, &val, val_len, &new_val_len)) { in _php_mb_encoding_handler_ex()
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg.c895 …if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &PHPDBG_G(exec), PHPDBG_G(exec_len), &len))… in php_sapi_phpdbg_register_vars()
898 …if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &PHPDBG_G(exec), PHPDBG_G(exec_len), &le… in php_sapi_phpdbg_register_vars()
902 …if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &PHPDBG_G(exec), PHPDBG_G(exec_len),… in php_sapi_phpdbg_register_vars()
905 …if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &PHPDBG_G(exec), PHPDBG_G(exec_len),… in php_sapi_phpdbg_register_vars()
912 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) { in php_sapi_phpdbg_register_vars()
/PHP-7.0/ext/filter/docs/
H A Dfilter.txt21 * Changed "input_filter.paranoid_admin_default_filter" to
44 input_filter.paranoid_admin_default_filter is set to something != 'raw',
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_main.c556 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var()
618 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
625 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
/PHP-7.0/sapi/cgi/
H A Dcgi_main.c608 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var()
691 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
700 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
/PHP-7.0/
H A D.gitattributes18 README.input_filter ident
/PHP-7.0/sapi/litespeed/
H A Dlsapi_main.c230 if (sapi_module.input_filter(filter_arg, (char *)pKey, &new_val, valLen, &new_val_len)) { in add_variable()

Completed in 126 milliseconds