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

/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) );
91 size_t new_val_len = 0; local
102 intl_convert_utf16_to_utf8( &new_val, &new_val_len,
108 ZVAL_STRINGL( &znew_val, new_val, new_val_len);
/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/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/main/
H A Dphp_variables.c352 if(new_val_len) *new_val_len = val_len;
453 size_t new_val_len; local
459 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
460 php_register_variable_safe(var, val, new_val_len, &array);
465 size_t new_val_len; local
470 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
471 php_register_variable_safe(var, val, new_val_len, &array);
H A DSAPI.c981 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
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)
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c593 size_t new_val_len; local
595 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) {
596 php_register_variable_safe(var, val, new_val_len, array_ptr);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c586 size_t new_val_len; local
592 if (sapi_module.input_filter(PARSE_SERVER, (char*)key, &new_val, strlen(val), &new_val_len)) {
593 php_register_variable_safe((char *)key, new_val, new_val_len, track_vars_array);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c552 size_t new_val_len; local
554 if (var && sapi_module.input_filter(filter_arg, var->val, &val, strlen(val), &new_val_len)) {
555 php_register_variable_safe(var->val, val, new_val_len, array_ptr);
/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/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);
414 static unsigned int php_sapi_filter(int arg, char *var, char **val, size_t val_len, size_t *new_val_len) /* {{{ */ argument
477 if (new_val_len) {
478 *new_val_len = Z_STRLEN(new_var);

Completed in 24 milliseconds