Searched refs:new_val_len (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/main/
H A DSAPI.h201 SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, char *var, char **val, size_t val_len, size_t *new_val_len), unsigned int (*input_filter_init)(void));
269 unsigned int (*input_filter)(int arg, char *var, char **val, size_t val_len, size_t *new_val_len);
303 #define SAPI_INPUT_FILTER_FUNC(input_filter) unsigned int input_filter(int arg, char *var, char **val, size_t val_len, size_t *new_val_len)
H A Dphp_variables.c357 if(new_val_len) *new_val_len = val_len;
458 size_t new_val_len; local
464 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
465 php_register_variable_safe(var, val, new_val_len, &array);
470 size_t new_val_len; local
475 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
476 php_register_variable_safe(var, val, new_val_len, &array);
H A DSAPI.c980 SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, char *var, char **val, size_t val_len, size_t *new_val_len), unsigned int (*input_filter_init)(void)) argument
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.c200 size_t val_len, new_val_len; local
332 if (sapi_module.input_filter(info->data_type, var, &val, val_len, &new_val_len)) {
334 php_register_variable_safe(var, val, new_val_len, array_ptr);
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_convert.c50 int32_t new_val_len = 0; local
61 intl_convert_utf8_to_utf16( &new_val, &new_val_len, old_val, old_val_len, status );
66 ZVAL_STRINGL( &znew_val, (char*)new_val, UBYTES(new_val_len + 1) );
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c275 size_t new_val_len; local
281 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len)) {
282 php_register_variable_safe(key, val, new_val_len, track_vars_array);
286 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len)) {
287 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c607 size_t new_val_len; local
609 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) {
610 php_register_variable_safe(var, val, new_val_len, array_ptr);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c554 size_t new_val_len; local
556 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) {
557 php_register_variable_safe(var, val, new_val_len, array_ptr);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c210 size_t new_val_len; local
212 if (sapi_module.input_filter(filter_arg, (char *)pKey, &new_val, valLen, &new_val_len)) {
213 php_register_variable_safe((char *)pKey, new_val, new_val_len, (zval *)arg );
/PHP_TRUNK/ext/filter/
H A Dfilter.c81 static unsigned int php_sapi_filter(int arg, char *var, char **val, size_t val_len, size_t *new_val_len);
419 static unsigned int php_sapi_filter(int arg, char *var, char **val, size_t val_len, size_t *new_val_len) /* {{{ */ argument
482 if (new_val_len) {
483 *new_val_len = Z_STRLEN(new_var);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c582 size_t new_val_len; local
588 if (sapi_module.input_filter(PARSE_SERVER, (char*)key, &new_val, strlen(val), &new_val_len)) {
589 php_register_variable_safe((char *)key, new_val, new_val_len, track_vars_array);

Completed in 47 milliseconds