Home
last modified time | relevance | path

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

/PHP-5.3/ext/intl/collator/
H A Dcollator_convert.c50 int new_val_len = 0; in collator_convert_hash_item_from_utf8_to_utf16() local
65 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()
71 ZVAL_STRINGL( znew_val, (char*)new_val, UBYTES(new_val_len), FALSE ); in collator_convert_hash_item_from_utf8_to_utf16()
94 int new_val_len = 0; in collator_convert_hash_item_from_utf16_to_utf8() local
109 intl_convert_utf16_to_utf8( &new_val, &new_val_len, in collator_convert_hash_item_from_utf16_to_utf8()
116 ZVAL_STRINGL( znew_val, (char*)new_val, new_val_len, FALSE ); in collator_convert_hash_item_from_utf16_to_utf8()
/PHP-5.3/main/
H A Dphp_variables.c272 unsigned int val_len, new_val_len; in SAPI_POST_HANDLER_FUNC() local
284 if (sapi_module.input_filter(PARSE_POST, var, &val, val_len, &new_val_len TSRMLS_CC)) { in SAPI_POST_HANDLER_FUNC()
285 php_register_variable_safe(var, val, new_val_len, array_ptr TSRMLS_CC); in SAPI_POST_HANDLER_FUNC()
300 if(new_val_len) *new_val_len = val_len; in SAPI_INPUT_FILTER_FUNC()
408 unsigned int new_val_len; in SAPI_TREAT_DATA_FUNC() local
414 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len TSRMLS_CC)) { in SAPI_TREAT_DATA_FUNC()
415 php_register_variable_safe(var, val, new_val_len, array_ptr TSRMLS_CC); in SAPI_TREAT_DATA_FUNC()
420 unsigned int new_val_len; in SAPI_TREAT_DATA_FUNC() local
425 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len TSRMLS_CC)) { in SAPI_TREAT_DATA_FUNC()
426 php_register_variable_safe(var, val, new_val_len, array_ptr TSRMLS_CC); in SAPI_TREAT_DATA_FUNC()
H A DSAPI.h194 …r)(int arg, char *var, char **val, unsigned int val_len, unsigned int *new_val_len TSRMLS_DC), uns…
261 …filter)(int arg, char *var, char **val, unsigned int val_len, unsigned int *new_val_len TSRMLS_DC);
295 …t_filter(int arg, char *var, char **val, unsigned int val_len, unsigned int *new_val_len TSRMLS_DC)
H A Drfc1867.c916 unsigned int new_val_len; /* Dummy variable */ local
922 …_vars) && sapi_module.input_filter(PARSE_POST, param, &value, value_len, &new_val_len TSRMLS_CC)) {
925 size_t newlength = new_val_len;
930 event_formdata.length = new_val_len;
937 new_val_len = newlength;
944 safe_php_register_variable(param, value, new_val_len, array_ptr, 0 TSRMLS_CC);
947 safe_php_register_variable(param, value, new_val_len, array_ptr, 0 TSRMLS_CC);
H A DSAPI.c941 …r)(int arg, char *var, char **val, unsigned int val_len, unsigned int *new_val_len TSRMLS_DC), uns… in sapi_register_input_filter()
/PHP-5.3/ext/mbstring/
H A Dmb_gpc.c202 unsigned int val_len, new_val_len; in _php_mb_encoding_handler_ex() local
342 if (sapi_module.input_filter(info->data_type, var, &val, val_len, &new_val_len TSRMLS_CC)) { in _php_mb_encoding_handler_ex()
344 php_register_variable_safe(var, val, new_val_len, array_ptr TSRMLS_CC); in _php_mb_encoding_handler_ex()
/PHP-5.3/sapi/apache2handler/
H A Dsapi_apache2.c273 int new_val_len; in php_apache_sapi_register_variables() local
279 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len TSRMLS_CC)) { in php_apache_sapi_register_variables()
280 php_register_variable_safe(key, val, new_val_len, track_vars_array TSRMLS_CC); in php_apache_sapi_register_variables()
284 …nput_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len TSRMLS_CC)) { in php_apache_sapi_register_variables()
285 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC); in php_apache_sapi_register_variables()
/PHP-5.3/sapi/apache2filter/
H A Dsapi_apache2.c230 unsigned int new_val_len; in php_apache_sapi_register_variables() local
236 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len TSRMLS_CC)) { in php_apache_sapi_register_variables()
237 php_register_variable_safe(key, val, new_val_len, track_vars_array TSRMLS_CC); in php_apache_sapi_register_variables()
242 …nput_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len TSRMLS_CC)) { in php_apache_sapi_register_variables()
243 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC); in php_apache_sapi_register_variables()
/PHP-5.3/sapi/apache/
H A Dmod_php5.c261 unsigned int new_val_len; in sapi_apache_register_server_variables() local
273 if (sapi_module.input_filter(PARSE_SERVER, elts[i].key, &val, val_len, &new_val_len TSRMLS_CC)) { in sapi_apache_register_server_variables()
274 php_register_variable_safe(elts[i].key, val, new_val_len, track_vars_array TSRMLS_CC); in sapi_apache_register_server_variables()
293 …erver_context))->uri, strlen(((request_rec *) SG(server_context))->uri), &new_val_len TSRMLS_CC)) { in sapi_apache_register_server_variables()
/PHP-5.3/ext/filter/
H A Dfilter.c79 …_filter(int arg, char *var, char **val, unsigned int val_len, unsigned int *new_val_len TSRMLS_DC);
405 …er(int arg, char *var, char **val, unsigned int val_len, unsigned int *new_val_len TSRMLS_DC) /* {… in php_sapi_filter()
493 if (new_val_len) { in php_sapi_filter()
494 *new_val_len = Z_STRLEN(new_var); in php_sapi_filter()
/PHP-5.3/
H A DREADME.input_filter147 *new_val_len = strlen(*val);
/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_main.c609 unsigned int new_val_len; in cgi_php_import_environment_variables() local
611 if (sapi_module.input_filter(filter_arg, var, val, strlen(*val), &new_val_len TSRMLS_CC)) { in cgi_php_import_environment_variables()
612 php_register_variable_safe(var, *val, new_val_len, array_ptr TSRMLS_CC); in cgi_php_import_environment_variables()
/PHP-5.3/sapi/cgi/
H A Dcgi_main.c636 unsigned int new_val_len; in cgi_php_import_environment_variables() local
638 if (sapi_module.input_filter(filter_arg, var, val, strlen(*val), &new_val_len TSRMLS_CC)) { in cgi_php_import_environment_variables()
639 php_register_variable_safe(var, *val, new_val_len, array_ptr TSRMLS_CC); in cgi_php_import_environment_variables()

Completed in 62 milliseconds