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

/PHP_TRUNK/ext/intl/collator/
H A Dcollator_convert.c50 int 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 int new_val_len = 0; local
102 intl_convert_utf16_to_utf8( &new_val, &new_val_len,
108 ZVAL_STRINGL( &znew_val, (char*)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 TSRMLS_CC)) {
334 php_register_variable_safe(var, val, new_val_len, array_ptr TSRMLS_CC);
/PHP_TRUNK/main/
H A DSAPI.c987 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 TSRMLS_DC), unsigned int (*input_filter_init)(TSRMLS_D) TSRMLS_DC)
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 TSRMLS_DC), unsigned int (*input_filter_init)(TSRMLS_D) TSRMLS_DC);
269 unsigned int (*input_filter)(int arg, char *var, char **val, size_t val_len, size_t *new_val_len TSRMLS_DC);
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 TSRMLS_DC)
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 TSRMLS_CC)) {
460 php_register_variable_safe(var, val, new_val_len, &array TSRMLS_CC);
465 size_t new_val_len; local
470 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len TSRMLS_CC)) {
471 php_register_variable_safe(var, val, new_val_len, &array TSRMLS_CC);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c601 size_t new_val_len; local
603 if (var && sapi_module.input_filter(filter_arg, var->val, &val, strlen(val), &new_val_len TSRMLS_CC)) {
604 php_register_variable_safe(var->val, val, new_val_len, array_ptr TSRMLS_CC);
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c261 unsigned int new_val_len; local
273 if (sapi_module.input_filter(PARSE_SERVER, elts[i].key, &val, val_len, &new_val_len TSRMLS_CC)) {
274 php_register_variable_safe(elts[i].key, val, new_val_len, track_vars_array TSRMLS_CC);
290 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &((request_rec *) SG(server_context))->uri, strlen(((request_rec *) SG(server_context))->uri), &new_val_len TSRMLS_CC)) {
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c233 unsigned int new_val_len; local
239 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len TSRMLS_CC)) {
240 php_register_variable_safe(key, val, new_val_len, track_vars_array TSRMLS_CC);
245 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len TSRMLS_CC)) {
246 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c273 size_t new_val_len; local
279 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), (size_t *)&new_val_len TSRMLS_CC)) {
280 php_register_variable_safe(key, val, new_val_len, track_vars_array TSRMLS_CC);
284 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), (size_t *)&new_val_len TSRMLS_CC)) {
285 php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c205 unsigned int new_val_len; local
207 if (sapi_module.input_filter(filter_arg, (char *)pKey, &new_val, valLen, &new_val_len TSRMLS_CC)) {
208 php_register_variable_safe((char *)pKey, new_val, new_val_len, (zval *)arg );
/PHP_TRUNK/ext/filter/
H A Dfilter.c80 static unsigned int php_sapi_filter(int arg, char *var, char **val, size_t val_len, size_t *new_val_len TSRMLS_DC);
405 static unsigned int php_sapi_filter(int arg, char *var, char **val, size_t val_len, size_t *new_val_len TSRMLS_DC) /* {{{ */
468 if (new_val_len) {
469 *new_val_len = Z_STRLEN(new_var);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c630 size_t new_val_len; local
632 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len TSRMLS_CC)) {
633 php_register_variable_safe(var, val, new_val_len, array_ptr TSRMLS_CC);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c638 size_t new_val_len; local
639 if (sapi_module.input_filter(PARSE_SERVER, (char*)key, &new_val, strlen(val), &new_val_len TSRMLS_CC)) {
640 php_register_variable_safe((char *)key, new_val, new_val_len, track_vars_array TSRMLS_CC);

Completed in 28 milliseconds