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

/PHP_5_5/ext/standard/
H A Dfilters.c1355 #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \
1356 php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent)
H A Dbasic_functions.c5446 #define _CHECK_PATH(var, var_len, ini) php_ini_check_path(var, var_len, ini, sizeof(ini))
/PHP_5_5/ext/filter/
H A Dfilter.c574 int var_len; local
577 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &arg, &var, &var_len) == FAILURE) {
583 if (array_ptr && HASH_OF(array_ptr) && zend_hash_exists(HASH_OF(array_ptr), var, var_len + 1)) {
744 int var_len; local
746 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls|lZ", &fetch_from, &var, &var_len, &filter, &filter_args) == FAILURE) {
756 if (!input || !HASH_OF(input) || zend_hash_find(HASH_OF(input), var, var_len + 1, (void **)&tmp) != SUCCESS) {
/PHP_5_5/ext/mbstring/
H A Dmbstring.c4495 int var_len; local
4503 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ss", &var, &var_len, &enc, &enc_len) == FAILURE) {
4532 string.len = var_len;
/PHP_5_5/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_5_5/sapi/apache_hooks/
H A Dphp_apache.c1811 int var_len, val_len; local
1816 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &var, &var_len, &val, &val_len, &top) == FAILURE) {
1827 ap_table_setn(r->subprocess_env, ap_pstrndup(r->pool, var, var_len), ap_pstrndup(r->pool, val, val_len));
/PHP_5_5/sapi/cgi/
H A Dcgi_main.c616 static void cgi_php_load_env_var(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC) argument
1530 static void add_request_header(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC) /* {{{ */ argument
1537 if (var_len > 5 &&
1544 var_len -= 5;
1546 var = str = do_alloca(var_len + 1, use_heap);
1562 } else if (var_len == sizeof("CONTENT_TYPE")-1 &&
1565 } else if (var_len == sizeof("CONTENT_LENGTH")-1 &&
1571 add_assoc_stringl_ex(return_value, var, var_len+1, val, val_len, 1);
1592 unsigned long var_len; local
1599 var_len
[all...]
H A Dfastcgi.c152 unsigned int var_len; member in struct:_fcgi_hash_bucket
254 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
261 p->var_len == var_len &&
262 memcmp(p->var, var, var_len) == 0) {
284 p->var_len = var_len;
285 p->var = fcgi_hash_strndup(h, var, var_len);
291 static void fcgi_hash_del(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len) argument
298 (*p)->var_len
310 fcgi_hash_get(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, unsigned int *val_len) argument
1457 fcgi_getenv(fcgi_request *req, const char* var, int var_len) argument
1466 fcgi_quick_getenv(fcgi_request *req, const char* var, int var_len, unsigned int hash_value) argument
1473 fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val) argument
1484 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...]
/PHP_5_5/sapi/fpm/fpm/
H A Dfastcgi.c1051 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len) argument
1057 if (zend_hash_find(req->env, (char*)var, var_len+1, (void**)&val) == SUCCESS) {
1063 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val) argument
1067 zend_hash_del(req->env, var, var_len+1);
1072 if (zend_hash_update(req->env, var, var_len+1, &val, sizeof(char*), (void**)&ret) == SUCCESS) {
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);
H A Dfpm_main.c569 uint var_len; local
603 zend_hash_get_current_key_ex(request->env, &var, &var_len, &idx, 0, &pos) == HASH_KEY_IS_STRING &&
/PHP_5_5/main/
H A Dphp_variables.c61 int var_len, index_len; local
88 var_len = strlen(var_name);
89 var = var_orig = do_alloca(var_len + 1, use_heap);
90 memcpy(var_orig, var_name, var_len + 1);
103 var_len = p - var;
105 if (var_len==0) { /* empty variable name, or variable name with a space in it */
113 var_len == sizeof("GLOBALS")-1 &&
121 index_len = var_len;
135 zend_symtable_del(ht, var, var_len + 1);

Completed in 161 milliseconds