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

/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4510 size_t var_len; local
4518 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ss", &var, &var_len, &enc, &enc_len) == FAILURE) {
4547 string.len = var_len;
/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/sapi/cgi/
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...]
H A Dfastcgi.h33 #define FCGI_HASH_FUNC(var, var_len) \
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)
111 typedef void (*fcgi_apply_func)(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC);
126 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len);
127 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val);
128 char* fcgi_quick_getenv(fcgi_request *req, const char* var, int var_len, unsigne
[all...]
H A Dcgi_main.c626 static void cgi_php_load_env_var(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC) argument
1533 static void add_request_header(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC) /* {{{ */ argument
1540 if (var_len > 5 &&
1547 var_len -= 5;
1549 var = str = do_alloca(var_len + 1, use_heap);
1565 } else if (var_len == sizeof("CONTENT_TYPE")-1 &&
1568 } else if (var_len == sizeof("CONTENT_LENGTH")-1 &&
1574 add_assoc_stringl_ex(return_value, var, var_len+1, val, val_len);
1595 zend_ulong var_len; local
1602 var_len
[all...]
/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);
H A Dfastcgi.h125 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len);
126 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val);
/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/ext/standard/
H A Dbasic_functions.c5334 #define _CHECK_PATH(var, var_len, ini) php_ini_check_path(var, var_len, ini, sizeof(ini))
H A Dfilters.c1334 #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \
1335 php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent TSRMLS_CC)

Completed in 32 milliseconds