Searched refs:var_len (Results 1 – 9 of 9) sorted by relevance
/PHP-7.1/main/ |
H A D | fastcgi.h | 33 #define FCGI_HASH_FUNC(var, var_len) \ argument 34 (UNEXPECTED(var_len < 3) ? (unsigned int)var_len : \ 36 (((unsigned int)var[var_len-2]) << 4) + \ 37 (((unsigned int)var[var_len-1]) << 2) + \ 38 var_len) 82 typedef void (*fcgi_apply_func)(char *var, unsigned int var_len, char *val, unsigned int val_len, v… 113 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len); 114 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val); 115 char* fcgi_quick_getenv(fcgi_request *req, const char* var, int var_len, unsigned int hash_value); 116 char* fcgi_quick_putenv(fcgi_request *req, char* var, int var_len, unsigned int hash_value, char* v…
|
H A D | fastcgi.c | 176 unsigned int var_len; member 339 p->var_len == var_len && in fcgi_hash_set() 362 p->var_len = var_len; in fcgi_hash_set() 376 (*p)->var_len == var_len && in fcgi_hash_del() 395 p->var_len == var_len && in fcgi_hash_get() 1182 if (q->var_len < 0x80) { in fcgi_read_request() 1183 *p++ = q->var_len; in fcgi_read_request() 1188 *p++ = q->var_len & 0xff; in fcgi_read_request() 1199 p += q->var_len; in fcgi_read_request() 1686 return fcgi_hash_get(&req->env, FCGI_HASH_FUNC(var, var_len), (char*)var, var_len, &val_len); [all …]
|
H A D | php_variables.c | 62 size_t var_len, index_len; in php_register_variable_ex() local 89 var_len = strlen(var_name); in php_register_variable_ex() 90 var = var_orig = do_alloca(var_len + 1, use_heap); in php_register_variable_ex() 91 memcpy(var_orig, var_name, var_len + 1); in php_register_variable_ex() 104 var_len = p - var; in php_register_variable_ex() 106 if (var_len==0) { /* empty variable name, or variable name with a space in it */ in php_register_variable_ex() 112 if (var_len == sizeof("this")-1 && EG(current_execute_data)) { in php_register_variable_ex() 134 var_len == sizeof("GLOBALS")-1 && in php_register_variable_ex() 142 index_len = var_len; in php_register_variable_ex() 156 zend_symtable_str_del(ht, var, var_len); in php_register_variable_ex()
|
/PHP-7.1/ |
H A D | README.input_filter | 102 int var_len; 136 var_len = strlen(var); 137 raw_var = emalloc(var_len+5); /* RAW_ and a \0 */ 139 strlcat(raw_var,var,var_len+5); 153 int var_len; 157 if(zend_parse_parameters(2, "ls", &arg, &var, &var_len) == FAILURE) { 177 if(zend_hash_find(HASH_OF(array_ptr), var, var_len+5, (void **)&tmp) == SUCCESS) {
|
/PHP-7.1/sapi/cgi/ |
H A D | cgi_main.c | 1602 if (var_len > 5 && 1609 var_len -= 5; 1611 var = str = do_alloca(var_len + 1, use_heap); 1657 zend_ulong var_len; local 1664 var_len = val - *env; 1665 if (var_len >= alloc_size) { 1666 alloc_size = var_len + 64; 1670 if (var_len > 5 && 1677 var_len -= 5; 1679 if (var_len >= alloc_size) { [all …]
|
/PHP-7.1/ext/standard/ |
H A D | filters.c | 1282 #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \ argument 1283 php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent)
|
H A D | basic_functions.c | 5467 #define _CHECK_PATH(var, var_len, ini) php_ini_check_path(var, (int)var_len, ini, sizeof(ini)) argument
|
/PHP-7.1/sapi/fpm/fpm/ |
H A D | fpm_main.c | 551 static void cgi_php_load_env_var(char *var, unsigned int var_len, char *val, unsigned int val_len, … in cgi_php_load_env_var() argument
|
/PHP-7.1/ext/mbstring/ |
H A D | mbstring.c | 4784 size_t var_len; in PHP_FUNCTION() local 4788 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ss", &var, &var_len, &enc, &enc_len) == FAILURE) { in PHP_FUNCTION() 4794 if (php_mb_check_encoding(var, var_len, enc)) { in PHP_FUNCTION()
|
Completed in 80 milliseconds