Home
last modified time | relevance | path

Searched refs:var_len (Results 1 – 11 of 11) sorted by relevance

/PHP-7.3/main/
H A Dfastcgi.h31 #define FCGI_HASH_FUNC(var, var_len) \ argument
32 (UNEXPECTED(var_len < 3) ? (unsigned int)var_len : \
34 (((unsigned int)var[var_len-2]) << 4) + \
35 (((unsigned int)var[var_len-1]) << 2) + \
36 var_len)
80 typedef void (*fcgi_apply_func)(char *var, unsigned int var_len, char *val, unsigned int val_len, v…
111 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len);
112 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val);
113 char* fcgi_quick_getenv(fcgi_request *req, const char* var, int var_len, unsigned int hash_value);
114 char* fcgi_quick_putenv(fcgi_request *req, char* var, int var_len, unsigned int hash_value, char* v…
H A Dfastcgi.c174 unsigned int var_len; member
337 p->var_len == var_len && in fcgi_hash_set()
360 p->var_len = var_len; in fcgi_hash_set()
374 (*p)->var_len == var_len && in fcgi_hash_del()
393 p->var_len == var_len && in fcgi_hash_get()
1180 if (q->var_len < 0x80) { in fcgi_read_request()
1181 *p++ = q->var_len; in fcgi_read_request()
1186 *p++ = q->var_len & 0xff; in fcgi_read_request()
1197 p += q->var_len; in fcgi_read_request()
1684 return fcgi_hash_get(&req->env, FCGI_HASH_FUNC(var, var_len), (char*)var, var_len, &val_len);
[all …]
H A Dphp_variables.c74 size_t var_len, index_len; in php_register_variable_ex() local
101 var_len = strlen(var_name); in php_register_variable_ex()
102 var = var_orig = do_alloca(var_len + 1, use_heap); in php_register_variable_ex()
103 memcpy(var_orig, var_name, var_len + 1); in php_register_variable_ex()
116 var_len = p - var; in php_register_variable_ex()
118 if (var_len==0) { /* empty variable name, or variable name with a space in it */ in php_register_variable_ex()
124 if (var_len == sizeof("this")-1 && EG(current_execute_data)) { in php_register_variable_ex()
146 var_len == sizeof("GLOBALS")-1 && in php_register_variable_ex()
154 index_len = var_len; in php_register_variable_ex()
168 zend_symtable_str_del(ht, var, var_len); in php_register_variable_ex()
H A DSAPI.c1110 SAPI_API void sapi_add_request_header(char *var, unsigned int var_len, char *val, unsigned int val_… in sapi_add_request_header() argument
1117 if (var_len > 5 && in sapi_add_request_header()
1126 var_len -= 5; in sapi_add_request_header()
1128 var = str = do_alloca(var_len + 1, use_heap); in sapi_add_request_header()
1144 } else if (var_len == sizeof("CONTENT_TYPE")-1 && in sapi_add_request_header()
1147 } else if (var_len == sizeof("CONTENT_LENGTH")-1 && in sapi_add_request_header()
1153 add_assoc_stringl_ex(return_value, var, var_len, val, val_len); in sapi_add_request_header()
H A DSAPI.h152 SAPI_API void sapi_add_request_header(char *var, unsigned int var_len, char *val, unsigned int val_…
/PHP-7.3/
H A DREADME.input_filter101 int var_len;
135 var_len = strlen(var);
136 raw_var = emalloc(var_len+5); /* RAW_ and a \0 */
138 strlcat(raw_var,var,var_len+5);
152 int var_len;
156 if(zend_parse_parameters(2, "ls", &arg, &var, &var_len) == FAILURE) {
176 if(zend_hash_find(HASH_OF(array_ptr), var, var_len+5, (void **)&tmp) == SUCCESS) {
/PHP-7.3/ext/skeleton/
H A Dskeleton.c33 size_t var_len = sizeof("World") - 1; variable
38 Z_PARAM_STRING(var, var_len)
/PHP-7.3/sapi/cgi/
H A Dcgi_main.c1615 zend_ulong var_len; local
1622 var_len = val - *env;
1623 if (var_len >= alloc_size) {
1624 alloc_size = var_len + 64;
1628 if (var_len > 5 &&
1635 var_len -= 5;
1637 if (var_len >= alloc_size) {
1638 alloc_size = var_len + 64;
1665 } else if (var_len == sizeof("CONTENT_TYPE")-1 &&
1668 } else if (var_len == sizeof("CONTENT_LENGTH")-1 &&
[all …]
/PHP-7.3/ext/standard/
H A Dfilters.c1274 #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \ argument
1275 php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent)
H A Dbasic_functions.c5532 #define _CHECK_PATH(var, var_len, ini) php_ini_check_path(var, var_len, ini, sizeof(ini)) argument
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_main.c516 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

Completed in 64 milliseconds