Searched refs:val_len (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/main/
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)
H A Dfastcgi.c176 unsigned int val_len; member in struct:_fcgi_hash_bucket
330 static char* fcgi_hash_set(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, char *val, unsigned int val_len) argument
340 p->val_len = val_len;
341 p->val = fcgi_hash_strndup(h, val, val_len);
362 p->val_len = val_len;
363 p->val = fcgi_hash_strndup(h, val, val_len);
378 (*p)->val_len = 0;
386 static char *fcgi_hash_get(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, unsigned int *val_len) argument
1011 unsigned int name_len, val_len; local
1664 unsigned int val_len; local
1673 unsigned int val_len; local
[all...]
H A Dfastcgi.h82 typedef void (*fcgi_apply_func)(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg);
H A Drfc1867.c62 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_array, zend_bool override_protection);
165 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_array, zend_bool override_protection) /* {{{ */ argument
168 php_register_variable_safe(var, strval, val_len, track_vars_array);
H A Dphp_variables.h41 PHPAPI void php_register_variable_safe(char *var, char *val, size_t val_len, zval *track_vars_array);
H A Dphp_variables.c357 if(new_val_len) *new_val_len = val_len;
457 size_t val_len; local
462 val_len = php_url_decode(val, strlen(val));
463 val = estrndup(val, val_len);
464 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
469 size_t val_len; local
473 val_len = 0;
474 val = estrndup("", val_len);
475 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c550 static void cgi_php_load_env_var(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) /* {{{ */ argument
/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
456 ZVAL_STRINGL(&raw_var, *val, val_len);
460 if (val_len) {
463 ZVAL_STRINGL(&new_var, *val, val_len);
466 ZVAL_STRINGL(&new_var, *val, val_len);
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.c200 size_t val_len, new_val_len; local
324 val_len = resval.len;
327 val_len = len_list[n];
331 val = estrndup(val, val_len);
332 if (sapi_module.input_filter(info->data_type, var, &val, val_len, &new_val_len)) {
/PHP_TRUNK/ext/standard/
H A Dftp_fopen_wrapper.c235 #define PHP_FTP_CNTRL_CHK(val, val_len, err_msg) { \
236 unsigned char *s = (unsigned char *) val, *e = (unsigned char *) s + val_len; \
/PHP_TRUNK/ext/dba/
H A Ddba.c564 size_t val_len; local
573 if (zend_parse_parameters(ac, "zsr", &key, &val, &val_len, &id) == FAILURE) {
585 if (info->hnd->update(info, key_str, key_len, val, val_len, mode) == SUCCESS) {
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c603 static void cgi_php_load_env_var(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) argument
1512 static void add_request_header(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) /* {{{ */ argument
1553 add_assoc_stringl_ex(return_value, var, var_len, val, val_len);
/PHP_TRUNK/ext/snmp/
H A Dsnmp.c557 int val_len = vars->val_len; local
567 if (val_len > 512*1024) {
572 val_len *= 2;
578 dbuf = (char *)erealloc(dbuf, val_len + 1);
580 dbuf = (char *)emalloc(val_len + 1);
591 buflen = val_len;
594 if((valueretrieval & SNMP_VALUE_PLAIN) && val_len > buflen){
595 if ((dbuf = (char *)emalloc(val_len + 1))) {
597 buflen = val_len;
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c3129 size_t name_len, val_len = 0; local
3133 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &val, &val_len) == FAILURE) {
3154 add_index_stringl(&zcookie, 0, val, val_len);

Completed in 47 milliseconds