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

/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/main/
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 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 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.c358 if(new_val_len) *new_val_len = val_len;
458 size_t val_len; local
463 val_len = php_url_decode(val, strlen(val));
464 val = estrndup(val, val_len);
465 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
470 size_t val_len; local
474 val_len = 0;
475 val = estrndup("", val_len);
476 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.h111 typedef void (*fcgi_apply_func)(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg);
H A Dfastcgi.c157 unsigned int val_len; member in struct:_fcgi_hash_bucket
257 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
267 p->val_len = val_len;
268 p->val = fcgi_hash_strndup(h, val, val_len);
289 p->val_len = val_len;
290 p->val = fcgi_hash_strndup(h, val, val_len);
305 (*p)->val_len = 0;
313 static char *fcgi_hash_get(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, unsigned int *val_len) argument
875 unsigned int name_len, val_len; local
1493 unsigned int val_len; local
1502 unsigned int val_len; local
[all...]
H A Dcgi_main.c589 static void cgi_php_load_env_var(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) argument
1502 static void add_request_header(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) /* {{{ */ argument
1543 add_assoc_stringl_ex(return_value, var, var_len+1, val, 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/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/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/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/soap/
H A Dsoap.c3143 size_t name_len, val_len = 0; local
3147 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &val, &val_len) == FAILURE) {
3168 add_index_stringl(&zcookie, 0, val, val_len);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfastcgi.c159 unsigned int val_len; member in struct:_fcgi_hash_bucket
259 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
269 p->val_len = val_len;
270 p->val = fcgi_hash_strndup(h, val, val_len);
291 p->val_len = val_len;
292 p->val = fcgi_hash_strndup(h, val, val_len);
307 (*p)->val_len = 0;
315 static char *fcgi_hash_get(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, unsigned int *val_len) argument
629 int val_len = 0; local
1258 unsigned int val_len; local
1267 unsigned int val_len; local
[all...]
H A Dfastcgi.h111 typedef void (*fcgi_apply_func)(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg);
H A Dfpm_main.c522 static void cgi_php_load_env_var(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) argument

Completed in 83 milliseconds