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

/PHP_TRUNK/sapi/apache/
H A Dphp_apache.c438 int var_len, val_len; local
443 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &var, &var_len, &val, &val_len, &top) == FAILURE) {
452 ap_table_setn(r->subprocess_env, ap_pstrndup(r->pool, var, var_len), ap_pstrndup(r->pool, val, val_len));
/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c1809 int var_len, val_len; local
1814 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &var, &var_len, &val, &val_len, &top) == FAILURE) {
1825 ap_table_setn(r->subprocess_env, ap_pstrndup(r->pool, var, var_len), ap_pstrndup(r->pool, val, val_len));
/PHP_TRUNK/main/
H A Dphp_variables.c62 int 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/sapi/fpm/fpm/
H A Dfastcgi.c1041 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len) argument
1047 return zend_hash_str_find_ptr(req->env, var, var_len);
1050 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val) argument
1054 zend_hash_str_del(req->env, var, var_len);
1057 zend_hash_str_update_ptr(req->env, var, var_len, val);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c621 static void cgi_php_load_env_var(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC) argument
1528 static void add_request_header(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC) /* {{{ */ argument
1535 if (var_len > 5 &&
1542 var_len -= 5;
1544 var = str = do_alloca(var_len + 1, use_heap);
1560 } else if (var_len == sizeof("CONTENT_TYPE")-1 &&
1563 } else if (var_len == sizeof("CONTENT_LENGTH")-1 &&
1569 add_assoc_stringl_ex(return_value, var, var_len+1, val, val_len);
1590 zend_ulong var_len; local
1597 var_len
[all...]
H A Dfastcgi.c151 unsigned int var_len; member in struct:_fcgi_hash_bucket
253 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
260 p->var_len == var_len &&
261 memcmp(p->var, var, var_len) == 0) {
283 p->var_len = var_len;
284 p->var = fcgi_hash_strndup(h, var, var_len);
290 static void fcgi_hash_del(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len) argument
297 (*p)->var_len
309 fcgi_hash_get(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, unsigned int *val_len) argument
1456 fcgi_getenv(fcgi_request *req, const char* var, int var_len) argument
1465 fcgi_quick_getenv(fcgi_request *req, const char* var, int var_len, unsigned int hash_value) argument
1472 fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val) argument
1483 fcgi_quick_putenv(fcgi_request *req, char* var, int var_len, unsigned int hash_value, char* val) argument
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4512 size_t var_len; local
4520 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ss", &var, &var_len, &enc, &enc_len) == FAILURE) {
4549 string.len = var_len;

Completed in 27 milliseconds