Home
last modified time | relevance | path

Searched refs:val_len (Results 1 – 14 of 14) sorted by relevance

/php-src/main/
H A Dfastcgi.c336 p->val_len = val_len; in fcgi_hash_set()
358 p->val_len = val_len; in fcgi_hash_set()
374 (*p)->val_len = 0; in fcgi_hash_del()
391 *val_len = p->val_len; in fcgi_hash_get()
1018 val_len = *p++; in fcgi_get_params()
1021 val_len = ((val_len & 0x7f) << 24); in fcgi_get_params()
1023 val_len |= (*p++ << 8); in fcgi_get_params()
1024 val_len |= *p++; in fcgi_get_params()
1031 p += name_len + val_len; in fcgi_get_params()
1675 unsigned int val_len; local
[all …]
H A DSAPI.h171 …_request_header(const char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg);
217 …nsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val_…
282 …unsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val…
315 …) unsigned int input_filter(int arg, const char *var, char **val, size_t val_len, size_t *new_val_…
H A Dphp_variables.h37 PHPAPI void php_register_variable_safe(const char *var, const char *val, size_t val_len, zval *trac…
H A Dphp_variables.c458 if(new_val_len) *new_val_len = val_len; in SAPI_INPUT_FILTER_FUNC()
540 size_t val_len; in SAPI_TREAT_DATA_FUNC() local
566 val_len = php_raw_url_decode(val, strlen(val)); in SAPI_TREAT_DATA_FUNC()
568 val_len = php_url_decode(val, strlen(val)); in SAPI_TREAT_DATA_FUNC()
572 val_len = 0; in SAPI_TREAT_DATA_FUNC()
575 val = estrndup(val, val_len); in SAPI_TREAT_DATA_FUNC()
579 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) { in SAPI_TREAT_DATA_FUNC()
H A Dfastcgi.h78 …cgi_apply_func)(const char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg);
H A DSAPI.c991 …nsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val_… in sapi_register_input_filter() argument
1110 …st_header(const char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) /* {{… in sapi_add_request_header() argument
1154 add_assoc_stringl_ex(return_value, var, var_len, val, val_len); in sapi_add_request_header()
H A Drfc1867.c55 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_ar…
135 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_ar… in safe_php_register_variable() argument
138 php_register_variable_safe(var, strval, val_len, track_vars_array); in safe_php_register_variable()
/php-src/docs-old/
H A Dinput-filter.md128 Z_STRLEN(new_var) = val_len;
129 Z_STRVAL(new_var) = estrndup(*val, val_len);
139 php_strip_tags(*val, val_len, NULL, NULL, 0);
/php-src/ext/filter/
H A Dfilter.c76 static unsigned int php_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *n…
289 static unsigned int php_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *n… in php_sapi_filter() argument
331 ZVAL_STRINGL(&raw_var, *val, val_len); in php_sapi_filter()
335 if (val_len) { in php_sapi_filter()
338 ZVAL_STRINGL(&new_var, *val, val_len); in php_sapi_filter()
341 ZVAL_STRINGL(&new_var, *val, val_len); in php_sapi_filter()
/php-src/ext/snmp/
H A Dsnmp.c247 int val_len = vars->val_len; in php_snmp_getvalue() local
257 if (val_len > 512*1024) { in php_snmp_getvalue()
262 val_len *= 2; in php_snmp_getvalue()
268 dbuf = (char *)erealloc(dbuf, val_len + 1); in php_snmp_getvalue()
270 dbuf = (char *)emalloc(val_len + 1); in php_snmp_getvalue()
274 buflen = val_len; in php_snmp_getvalue()
277 if((valueretrieval & SNMP_VALUE_PLAIN) && val_len > buflen){ in php_snmp_getvalue()
278 dbuf = (char *)emalloc(val_len + 1); in php_snmp_getvalue()
280 buflen = val_len; in php_snmp_getvalue()
287 ZVAL_STRINGL(&val, (char *)vars->val.bitstring, vars->val_len); in php_snmp_getvalue()
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_main.c505 …d_env_var(const char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) /* {{… in cgi_php_load_env_var() argument
517 …nv_var_unfilterd(const char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) in cgi_php_load_env_var_unfilterd() argument
520 php_register_variable_safe(var, val, val_len, array_ptr); in cgi_php_load_env_var_unfilterd()
/php-src/ext/sodium/
H A Dlibsodium.c220 size_t val_len; in PHP_FUNCTION() local
235 val_len = Z_STRLEN(*val_zv); in PHP_FUNCTION()
236 sodium_increment(val, val_len); in PHP_FUNCTION()
244 size_t val_len; in PHP_FUNCTION() local
260 val_len = Z_STRLEN(*val_zv); in PHP_FUNCTION()
261 if (val_len != addv_len) { in PHP_FUNCTION()
265 sodium_add(val, addv, val_len); in PHP_FUNCTION()
/php-src/ext/standard/
H A Dftp_fopen_wrapper.c228 #define PHP_FTP_CNTRL_CHK(val, val_len, err_msg) { \ in php_ftp_fopen_connect() argument
229 unsigned char *s = (unsigned char *) val, *e = (unsigned char *) s + val_len; \ in php_ftp_fopen_connect()
/php-src/sapi/cgi/
H A Dcgi_main.c656 …php_load_env_var(const char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) in cgi_php_load_env_var() argument

Completed in 89 milliseconds