Home
last modified time | relevance | path

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

/PHP-8.1/main/
H A Dfastcgi.c338 p->val_len = val_len; in fcgi_hash_set()
360 p->val_len = val_len; in fcgi_hash_set()
376 (*p)->val_len = 0; in fcgi_hash_del()
393 *val_len = p->val_len; in fcgi_hash_get()
1025 val_len = *p++;
1028 val_len = ((val_len & 0x7f) << 24);
1030 val_len |= (*p++ << 8);
1031 val_len |= *p++;
1038 p += name_len + val_len;
1677 unsigned int val_len; local
[all …]
H A DSAPI.h150 …_request_header(const char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg);
195 …nsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val_…
260 …unsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val…
293 …) 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.c422 if(new_val_len) *new_val_len = val_len; in SAPI_INPUT_FILTER_FUNC()
504 size_t val_len; in SAPI_TREAT_DATA_FUNC() local
529 val_len = php_raw_url_decode(val, strlen(val)); in SAPI_TREAT_DATA_FUNC()
531 val_len = php_url_decode(val, strlen(val)); in SAPI_TREAT_DATA_FUNC()
535 val_len = 0; in SAPI_TREAT_DATA_FUNC()
538 val = estrndup(val, val_len); in SAPI_TREAT_DATA_FUNC()
542 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.c986 …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
1105 …st_header(const char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) /* {{… in sapi_add_request_header() argument
1149 add_assoc_stringl_ex(return_value, var, var_len, val, val_len); in sapi_add_request_header()
H A Drfc1867.c54 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_ar…
157 static void safe_php_register_variable(char *var, char *strval, size_t val_len, zval *track_vars_ar… in safe_php_register_variable() argument
160 php_register_variable_safe(var, strval, val_len, track_vars_array); in safe_php_register_variable()
/PHP-8.1/ext/mbstring/
H A Dmb_gpc.c183 size_t val_len, new_val_len; in _php_mb_encoding_handler_ex() local
307 val_len = resval.len; in _php_mb_encoding_handler_ex()
310 val_len = len_list[n]; in _php_mb_encoding_handler_ex()
314 val = estrndup(val, val_len); in _php_mb_encoding_handler_ex()
315 if (sapi_module.input_filter(info->data_type, var, &val, val_len, &new_val_len)) { in _php_mb_encoding_handler_ex()
/PHP-8.1/docs/
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-8.1/ext/filter/
H A Dfilter.c78 static unsigned int php_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t *n…
360 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
402 ZVAL_STRINGL(&raw_var, *val, val_len); in php_sapi_filter()
406 if (val_len) { in php_sapi_filter()
409 ZVAL_STRINGL(&new_var, *val, val_len); in php_sapi_filter()
412 ZVAL_STRINGL(&new_var, *val, val_len); in php_sapi_filter()
/PHP-8.1/ext/snmp/
H A Dsnmp.c264 int val_len = vars->val_len; in php_snmp_getvalue() local
274 if (val_len > 512*1024) { in php_snmp_getvalue()
279 val_len *= 2; in php_snmp_getvalue()
285 dbuf = (char *)erealloc(dbuf, val_len + 1); in php_snmp_getvalue()
287 dbuf = (char *)emalloc(val_len + 1); in php_snmp_getvalue()
291 buflen = val_len; in php_snmp_getvalue()
294 if((valueretrieval & SNMP_VALUE_PLAIN) && val_len > buflen){ in php_snmp_getvalue()
295 dbuf = (char *)emalloc(val_len + 1); in php_snmp_getvalue()
297 buflen = val_len; in php_snmp_getvalue()
304 ZVAL_STRINGL(&val, (char *)vars->val.bitstring, vars->val_len); in php_snmp_getvalue()
[all …]
/PHP-8.1/ext/dba/
H A Ddba.c470 size_t val_len; in php_dba_update() local
479 if (zend_parse_parameters(ac, "zsr", &key, &val, &val_len, &id) == FAILURE) { in php_dba_update()
491 if (info->hnd->update(info, key_str, key_len, val, val_len, mode) == SUCCESS) { in php_dba_update()
/PHP-8.1/ext/sodium/
H A Dlibsodium.c435 size_t val_len; in PHP_FUNCTION() local
450 val_len = Z_STRLEN(*val_zv); in PHP_FUNCTION()
451 sodium_increment(val, val_len); in PHP_FUNCTION()
459 size_t val_len; in PHP_FUNCTION() local
475 val_len = Z_STRLEN(*val_zv); in PHP_FUNCTION()
476 if (val_len != addv_len) { in PHP_FUNCTION()
480 sodium_add(val, addv, val_len); in PHP_FUNCTION()
/PHP-8.1/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-8.1/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
/PHP-8.1/sapi/cgi/
H A Dcgi_main.c652 …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 119 milliseconds