Searched defs:var_len (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfastcgi.c1073 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len) argument
1079 return zend_hash_str_find_ptr(req->env, var, var_len);
1082 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val) argument
1086 zend_hash_str_del(req->env, var, var_len);
1089 zend_hash_str_update_ptr(req->env, var, var_len, val);
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c155 unsigned int var_len; member in struct:_fcgi_hash_bucket
257 static char* fcgi_hash_set(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, char *val, unsigned int val_len) argument
264 p->var_len == var_len &&
265 memcmp(p->var, var, var_len) == 0) {
287 p->var_len = var_len;
288 p->var = fcgi_hash_strndup(h, var, var_len);
294 static void fcgi_hash_del(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len) argument
301 (*p)->var_len
313 fcgi_hash_get(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, unsigned int *val_len) argument
1491 fcgi_getenv(fcgi_request *req, const char* var, int var_len) argument
1500 fcgi_quick_getenv(fcgi_request *req, const char* var, int var_len, unsigned int hash_value) argument
1507 fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val) argument
1518 fcgi_quick_putenv(fcgi_request *req, char* var, int var_len, unsigned int hash_value, char* val) argument
[all...]
H A Dcgi_main.c591 static void cgi_php_load_env_var(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) argument
1504 static void add_request_header(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg) /* {{{ */ argument
1511 if (var_len > 5 &&
1518 var_len -= 5;
1520 var = str = do_alloca(var_len + 1, use_heap);
1536 } else if (var_len == sizeof("CONTENT_TYPE")-1 &&
1539 } else if (var_len == sizeof("CONTENT_LENGTH")-1 &&
1545 add_assoc_stringl_ex(return_value, var, var_len+1, val, val_len);
1566 zend_ulong var_len; local
1573 var_len
[all...]
/PHP_TRUNK/main/
H A Dphp_variables.c62 size_t var_len, index_len; local
89 var_len = strlen(var_name);
90 var = var_orig = do_alloca(var_len + 1, use_heap);
91 memcpy(var_orig, var_name, var_len + 1);
104 var_len = p - var;
106 if (var_len==0) { /* empty variable name, or variable name with a space in it */
114 var_len == sizeof("GLOBALS")-1 &&
122 index_len = var_len;
136 zend_symtable_str_del(ht, var, var_len);
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4522 size_t var_len; local
4530 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ss", &var, &var_len, &enc, &enc_len) == FAILURE) {
4559 string.len = var_len;

Completed in 16 milliseconds