Searched refs:var_len (Results 1 – 9 of 9) sorted by relevance
/PHP-7.0/main/ |
H A D | fastcgi.h | 33 #define FCGI_HASH_FUNC(var, var_len) \ argument 34 (UNEXPECTED(var_len < 3) ? 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() 1179 if (q->var_len < 0x80) { in fcgi_read_request() 1180 *p++ = q->var_len; in fcgi_read_request() 1185 *p++ = q->var_len & 0xff; in fcgi_read_request() 1196 p += q->var_len; in fcgi_read_request() 1683 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() 114 var_len == sizeof("GLOBALS")-1 && in php_register_variable_ex() 122 index_len = var_len; in php_register_variable_ex() 136 zend_symtable_str_del(ht, var, var_len); in php_register_variable_ex()
|
/PHP-7.0/ |
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.0/sapi/cgi/ |
H A D | cgi_main.c | 1518 if (var_len > 5 && 1525 var_len -= 5; 1527 var = str = do_alloca(var_len + 1, use_heap); 1573 zend_ulong var_len; local 1580 var_len = val - *env; 1581 if (var_len >= alloc_size) { 1582 alloc_size = var_len + 64; 1586 if (var_len > 5 && 1593 var_len -= 5; 1595 if (var_len >= alloc_size) { [all …]
|
/PHP-7.0/ext/standard/ |
H A D | filters.c | 1279 #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \ argument 1280 php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent)
|
H A D | basic_functions.c | 5369 #define _CHECK_PATH(var, var_len, ini) php_ini_check_path(var, (int)var_len, ini, sizeof(ini)) argument
|
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_main.c | 550 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.0/ext/mbstring/ |
H A D | mbstring.c | 4705 size_t var_len; in PHP_FUNCTION() local 4713 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ss", &var, &var_len, &enc, &enc_len) == FAILURE) { in PHP_FUNCTION() 4742 string.len = var_len; in PHP_FUNCTION()
|
Completed in 58 milliseconds