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

/PHP_5_4/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_4/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_4/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
1531 static void add_request_header(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC) /* {{{ */ argument
1538 if (var_len > 5 &&
1545 var_len -= 5;
1547 var = str = do_alloca(var_len + 1, use_heap);
1563 } else if (var_len == sizeof("CONTENT_TYPE")-1 &&
1566 } else if (var_len == sizeof("CONTENT_LENGTH")-1 &&
1572 add_assoc_stringl_ex(return_value, var, var_len+1, val, val_len, 1);
1593 unsigned long var_len; local
1600 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...]
/PHP_5_4/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 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_4/ext/filter/
H A Dfilter.c572 int var_len; local
575 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &arg, &var, &var_len) == FAILURE) {
581 if (array_ptr && HASH_OF(array_ptr) && zend_hash_exists(HASH_OF(array_ptr), var, var_len + 1)) {
742 int var_len; local
744 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls|lZ", &fetch_from, &var, &var_len, &filter, &filter_args) == FAILURE) {
754 if (!input || !HASH_OF(input) || zend_hash_find(HASH_OF(input), var, var_len + 1, (void **)&tmp) != SUCCESS) {
/PHP_5_4/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_4/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_del(ht, var, var_len + 1);

Completed in 26 milliseconds