var 469 core/nginx.c ngx_str_t *var; var 479 core/nginx.c var = ccf->env.elts; var 482 core/nginx.c if (ngx_strcmp(var[i].data, "TZ") == 0 var 483 core/nginx.c || ngx_strncmp(var[i].data, "TZ=", 3) == 0) var 489 core/nginx.c var = ngx_array_push(&ccf->env); var 490 core/nginx.c if (var == NULL) { var 494 core/nginx.c var->len = 2; var 495 core/nginx.c var->data = (u_char *) "TZ"; var 497 core/nginx.c var = ccf->env.elts; var 505 core/nginx.c if (var[i].data[var[i].len] == '=') { var 512 core/nginx.c if (ngx_strncmp(*p, var[i].data, var[i].len) == 0 var 513 core/nginx.c && (*p)[var[i].len] == '=') var 537 core/nginx.c if (var[i].data[var[i].len] == '=') { var 538 core/nginx.c env[n++] = (char *) var[i].data; var 544 core/nginx.c if (ngx_strncmp(*p, var[i].data, var[i].len) == 0 var 545 core/nginx.c && (*p)[var[i].len] == '=') var 567 core/nginx.c char **env, *var; var 587 core/nginx.c var = ngx_alloc(sizeof(NGINX_VAR) var 591 core/nginx.c p = ngx_cpymem(var, NGINX_VAR "=", sizeof(NGINX_VAR)); var 600 core/nginx.c env[n++] = var; var 636 core/nginx.c ngx_free(var); var 653 core/nginx.c ngx_free(var); var 1172 core/nginx.c ngx_str_t *value, *var; var 1175 core/nginx.c var = ngx_array_push(&ccf->env); var 1176 core/nginx.c if (var == NULL) { var 1181 core/nginx.c *var = value[1]; var 1187 core/nginx.c var->len = i; var 401 http/modules/ngx_http_browser_module.c ngx_http_browser_variable_t *var; var 404 http/modules/ngx_http_browser_module.c for (var = ngx_http_browsers; var->name.len; var++) { var 406 http/modules/ngx_http_browser_module.c v = ngx_http_add_variable(cf, &var->name, NGX_HTTP_VAR_CHANGEABLE); var 411 http/modules/ngx_http_browser_module.c v->get_handler = var->handler; var 412 http/modules/ngx_http_browser_module.c v->data = var->data; var 1397 http/modules/ngx_http_charset_filter_module.c ngx_str_t *value, var; var 1417 http/modules/ngx_http_charset_filter_module.c var.len = value[1].len - 1; var 1418 http/modules/ngx_http_charset_filter_module.c var.data = value[1].data + 1; var 1420 http/modules/ngx_http_charset_filter_module.c *cp = ngx_http_get_variable_index(cf, &var); var 1925 http/modules/ngx_http_fastcgi_module.c ngx_http_variable_t *var, *v; var 1928 http/modules/ngx_http_fastcgi_module.c var = ngx_http_add_variable(cf, &v->name, v->flags); var 1929 http/modules/ngx_http_fastcgi_module.c if (var == NULL) { var 1933 http/modules/ngx_http_fastcgi_module.c var->get_handler = v->get_handler; var 1934 http/modules/ngx_http_fastcgi_module.c var->data = v->data; var 300 http/modules/ngx_http_geo_module.c ngx_http_variable_t *var; var 330 http/modules/ngx_http_geo_module.c var = ngx_http_add_variable(cf, &name, NGX_HTTP_VAR_CHANGEABLE); var 331 http/modules/ngx_http_geo_module.c if (var == NULL) { var 400 http/modules/ngx_http_geo_module.c var->get_handler = ngx_http_geo_range_variable; var 401 http/modules/ngx_http_geo_module.c var->data = (uintptr_t) geo; var 420 http/modules/ngx_http_geo_module.c var->get_handler = ngx_http_geo_cidr_variable; var 421 http/modules/ngx_http_geo_module.c var->data = (uintptr_t) geo; var 388 http/modules/ngx_http_geoip_module.c ngx_http_variable_t *var, *v; var 391 http/modules/ngx_http_geoip_module.c var = ngx_http_add_variable(cf, &v->name, v->flags); var 392 http/modules/ngx_http_geoip_module.c if (var == NULL) { var 396 http/modules/ngx_http_geoip_module.c var->get_handler = v->get_handler; var 397 http/modules/ngx_http_geoip_module.c var->data = v->data; var 1027 http/modules/ngx_http_gzip_filter_module.c ngx_http_variable_t *var; var 1029 http/modules/ngx_http_gzip_filter_module.c var = ngx_http_add_variable(cf, &ngx_http_gzip_ratio, NGX_HTTP_VAR_NOHASH); var 1030 http/modules/ngx_http_gzip_filter_module.c if (var == NULL) { var 1034 http/modules/ngx_http_gzip_filter_module.c var->get_handler = ngx_http_gzip_ratio_variable; var 37 http/modules/ngx_http_limit_req_module.c ngx_str_t var; var 177 http/modules/ngx_http_limit_req_module.c &ctx->var, vv); var 493 http/modules/ngx_http_limit_req_module.c if (ngx_strcmp(ctx->var.data, octx->var.data) != 0) { var 497 http/modules/ngx_http_limit_req_module.c &shm_zone->shm.name, &ctx->var, &octx->var); var 672 http/modules/ngx_http_limit_req_module.c ctx->var = value[i]; var 709 http/modules/ngx_http_limit_req_module.c &value[1], &ctx->var); var 29 http/modules/ngx_http_limit_zone_module.c ngx_str_t var; var 162 http/modules/ngx_http_limit_zone_module.c &ctx->var, vv); var 344 http/modules/ngx_http_limit_zone_module.c if (ngx_strcmp(ctx->var.data, octx->var.data) != 0) { var 348 http/modules/ngx_http_limit_zone_module.c &shm_zone->shm.name, &ctx->var, &octx->var); var 462 http/modules/ngx_http_limit_zone_module.c ctx->var = value[2]; var 490 http/modules/ngx_http_limit_zone_module.c &value[1], &ctx->var); var 1048 http/modules/ngx_http_log_module.c ngx_str_t *value, var; var 1101 http/modules/ngx_http_log_module.c var.data = &value[s].data[i]; var 1105 http/modules/ngx_http_log_module.c var.data = &value[s].data[i]; var 1108 http/modules/ngx_http_log_module.c for (var.len = 0; i < value[s].len; i++, var.len++) { var 1131 http/modules/ngx_http_log_module.c "variable is missing", &var); var 1135 http/modules/ngx_http_log_module.c if (var.len == 0) { var 1139 http/modules/ngx_http_log_module.c if (ngx_strncmp(var.data, "apache_bytes_sent", 17) == 0) { var 1147 http/modules/ngx_http_log_module.c if (v->name.len == var.len var 1148 http/modules/ngx_http_log_module.c && ngx_strncmp(v->name.data, var.data, var.len) == 0) var 1159 http/modules/ngx_http_log_module.c if (ngx_http_log_variable_compile(cf, op, &var) != NGX_OK) { var 183 http/modules/ngx_http_map_module.c ngx_http_variable_t *var; var 220 http/modules/ngx_http_map_module.c var = ngx_http_add_variable(cf, &name, NGX_HTTP_VAR_CHANGEABLE); var 221 http/modules/ngx_http_map_module.c if (var == NULL) { var 225 http/modules/ngx_http_map_module.c var->get_handler = ngx_http_map_variable; var 226 http/modules/ngx_http_map_module.c var->data = (uintptr_t) map; var 378 http/modules/ngx_http_map_module.c ngx_http_variable_value_t *var, **vp; var 418 http/modules/ngx_http_map_module.c var = ctx->var_values.elts; var 421 http/modules/ngx_http_map_module.c if (index == (ngx_int_t) var[i].data) { var 426 http/modules/ngx_http_map_module.c var = ngx_palloc(ctx->keys.pool, sizeof(ngx_http_variable_value_t)); var 427 http/modules/ngx_http_map_module.c if (var == NULL) { var 431 http/modules/ngx_http_map_module.c var->valid = 0; var 432 http/modules/ngx_http_map_module.c var->no_cacheable = 0; var 433 http/modules/ngx_http_map_module.c var->not_found = 0; var 434 http/modules/ngx_http_map_module.c var->len = 0; var 435 http/modules/ngx_http_map_module.c var->data = (u_char *) index; var 442 http/modules/ngx_http_map_module.c *vp = var; var 464 http/modules/ngx_http_map_module.c var = vp[i]; var 478 http/modules/ngx_http_map_module.c var = ngx_palloc(ctx->keys.pool, sizeof(ngx_http_variable_value_t)); var 479 http/modules/ngx_http_map_module.c if (var == NULL) { var 483 http/modules/ngx_http_map_module.c var->len = value[1].len; var 484 http/modules/ngx_http_map_module.c var->data = ngx_pstrdup(ctx->keys.pool, &value[1]); var 485 http/modules/ngx_http_map_module.c if (var->data == NULL) { var 489 http/modules/ngx_http_map_module.c var->valid = 1; var 490 http/modules/ngx_http_map_module.c var->no_cacheable = 0; var 491 http/modules/ngx_http_map_module.c var->not_found = 0; var 498 http/modules/ngx_http_map_module.c *vp = var; var 510 http/modules/ngx_http_map_module.c ctx->default_value = var; var 541 http/modules/ngx_http_map_module.c regex->value = var; var 553 http/modules/ngx_http_map_module.c rc = ngx_hash_add_key(&ctx->keys, &value[0], var, var 1614 http/modules/ngx_http_proxy_module.c ngx_http_variable_t *var, *v; var 1617 http/modules/ngx_http_proxy_module.c var = ngx_http_add_variable(cf, &v->name, v->flags); var 1618 http/modules/ngx_http_proxy_module.c if (var == NULL) { var 1622 http/modules/ngx_http_proxy_module.c var->get_handler = v->get_handler; var 1623 http/modules/ngx_http_proxy_module.c var->data = v->data; var 362 http/modules/ngx_http_referer_module.c ngx_http_variable_t *var; var 368 http/modules/ngx_http_referer_module.c var = ngx_http_add_variable(cf, &name, var 370 http/modules/ngx_http_referer_module.c if (var == NULL) { var 374 http/modules/ngx_http_referer_module.c var->get_handler = ngx_http_referer_variable; var 186 http/modules/ngx_http_rewrite_module.c ngx_http_variable_t *var; var 199 http/modules/ngx_http_rewrite_module.c var = cmcf->variables.elts; var 208 http/modules/ngx_http_rewrite_module.c "using uninitialized \"%V\" variable", &var[data].name); var 337 http/modules/ngx_http_secure_link_module.c ngx_http_variable_t *var; var 339 http/modules/ngx_http_secure_link_module.c var = ngx_http_add_variable(cf, &ngx_http_secure_link_name, 0); var 340 http/modules/ngx_http_secure_link_module.c if (var == NULL) { var 344 http/modules/ngx_http_secure_link_module.c var->get_handler = ngx_http_secure_link_variable; var 346 http/modules/ngx_http_secure_link_module.c var = ngx_http_add_variable(cf, &ngx_http_secure_link_expires_name, 0); var 347 http/modules/ngx_http_secure_link_module.c if (var == NULL) { var 351 http/modules/ngx_http_secure_link_module.c var->get_handler = ngx_http_secure_link_expires_variable; var 116 http/modules/ngx_http_split_clients_module.c ngx_http_variable_t *var; var 142 http/modules/ngx_http_split_clients_module.c var = ngx_http_add_variable(cf, &name, NGX_HTTP_VAR_CHANGEABLE); var 143 http/modules/ngx_http_split_clients_module.c if (var == NULL) { var 147 http/modules/ngx_http_split_clients_module.c var->get_handler = ngx_http_split_clients_variable; var 148 http/modules/ngx_http_split_clients_module.c var->data = (uintptr_t) ctx; var 1529 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_var_t *var; var 1539 http/modules/ngx_http_ssi_filter_module.c var = part->elts; var 1549 http/modules/ngx_http_ssi_filter_module.c var = part->elts; var 1553 http/modules/ngx_http_ssi_filter_module.c if (name->len != var[i].name.len) { var 1557 http/modules/ngx_http_ssi_filter_module.c if (key != var[i].key) { var 1561 http/modules/ngx_http_ssi_filter_module.c if (ngx_strncmp(name->data, var[i].name.data, name->len) == 0) { var 1562 http/modules/ngx_http_ssi_filter_module.c return &var[i].value; var 1576 http/modules/ngx_http_ssi_filter_module.c ngx_str_t var, *val; var 1653 http/modules/ngx_http_ssi_filter_module.c var.len = 0; var 1666 http/modules/ngx_http_ssi_filter_module.c var.data = &text->data[i]; var 1670 http/modules/ngx_http_ssi_filter_module.c var.data = &text->data[i]; var 1673 http/modules/ngx_http_ssi_filter_module.c for ( /* void */ ; i < text->len; i++, var.len++) { var 1696 http/modules/ngx_http_ssi_filter_module.c "variable is missing", &var); var 1700 http/modules/ngx_http_ssi_filter_module.c if (var.len == 0) { var 1704 http/modules/ngx_http_ssi_filter_module.c key = ngx_hash_strlow(var.data, var.data, var.len); var 1706 http/modules/ngx_http_ssi_filter_module.c val = ngx_http_ssi_get_variable(r, &var, key); var 1709 http/modules/ngx_http_ssi_filter_module.c vv = ngx_http_get_variable(r, &var, key); var 1834 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_var_t *var; var 2016 http/modules/ngx_http_ssi_filter_module.c var = ngx_list_push(mctx->variables); var 2017 http/modules/ngx_http_ssi_filter_module.c if (var == NULL) { var 2021 http/modules/ngx_http_ssi_filter_module.c var->name = *set; var 2022 http/modules/ngx_http_ssi_filter_module.c var->key = key; var 2023 http/modules/ngx_http_ssi_filter_module.c var->value = ngx_http_ssi_null_string; var 2024 http/modules/ngx_http_ssi_filter_module.c psr->data = &var->value; var 2102 http/modules/ngx_http_ssi_filter_module.c ngx_str_t *var, *value, *enc, text; var 2106 http/modules/ngx_http_ssi_filter_module.c var = params[NGX_HTTP_SSI_ECHO_VAR]; var 2109 http/modules/ngx_http_ssi_filter_module.c "ssi echo \"%V\"", var); var 2111 http/modules/ngx_http_ssi_filter_module.c key = ngx_hash_strlow(var->data, var->data, var->len); var 2113 http/modules/ngx_http_ssi_filter_module.c value = ngx_http_ssi_get_variable(r, var, key); var 2116 http/modules/ngx_http_ssi_filter_module.c vv = ngx_http_get_variable(r, var, key); var 2264 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_var_t *var; var 2298 http/modules/ngx_http_ssi_filter_module.c var = ngx_list_push(mctx->variables); var 2299 http/modules/ngx_http_ssi_filter_module.c if (var == NULL) { var 2303 http/modules/ngx_http_ssi_filter_module.c var->name = *name; var 2304 http/modules/ngx_http_ssi_filter_module.c var->key = key; var 2305 http/modules/ngx_http_ssi_filter_module.c var->value = *value; var 2652 http/modules/ngx_http_ssi_filter_module.c ngx_http_variable_t *var, *v; var 2657 http/modules/ngx_http_ssi_filter_module.c var = ngx_http_add_variable(cf, &v->name, v->flags); var 2658 http/modules/ngx_http_ssi_filter_module.c if (var == NULL) { var 2662 http/modules/ngx_http_ssi_filter_module.c var->get_handler = v->get_handler; var 2663 http/modules/ngx_http_ssi_filter_module.c var->data = v->data; var 282 http/modules/ngx_http_ssl_module.c ngx_http_variable_t *var, *v; var 285 http/modules/ngx_http_ssl_module.c var = ngx_http_add_variable(cf, &v->name, v->flags); var 286 http/modules/ngx_http_ssl_module.c if (var == NULL) { var 290 http/modules/ngx_http_ssl_module.c var->get_handler = v->get_handler; var 291 http/modules/ngx_http_ssl_module.c var->data = v->data; var 571 http/modules/ngx_http_userid_filter_module.c ngx_http_variable_t *var; var 573 http/modules/ngx_http_userid_filter_module.c var = ngx_http_add_variable(cf, &ngx_http_userid_got, 0); var 574 http/modules/ngx_http_userid_filter_module.c if (var == NULL) { var 578 http/modules/ngx_http_userid_filter_module.c var->get_handler = ngx_http_userid_got_variable; var 580 http/modules/ngx_http_userid_filter_module.c var = ngx_http_add_variable(cf, &ngx_http_userid_set, 0); var 581 http/modules/ngx_http_userid_filter_module.c if (var == NULL) { var 585 http/modules/ngx_http_userid_filter_module.c var->get_handler = ngx_http_userid_set_variable; var 3620 http/ngx_http_upstream.c ngx_http_variable_t *var, *v; var 3623 http/ngx_http_upstream.c var = ngx_http_add_variable(cf, &v->name, v->flags); var 3624 http/ngx_http_upstream.c if (var == NULL) { var 3628 http/ngx_http_upstream.c var->get_handler = v->get_handler; var 3629 http/ngx_http_upstream.c var->data = v->data; var 720 http/ngx_http_variables.c ngx_http_variable_unknown_header(ngx_http_variable_value_t *v, ngx_str_t *var, var 741 http/ngx_http_variables.c for (n = 0; n + prefix < var->len && n < header[i].key.len; n++) { var 751 http/ngx_http_variables.c if (var->data[n + prefix] != ch) { var 756 http/ngx_http_variables.c if (n + prefix == var->len && n == header[i].key.len) { var 56 http/ngx_http_variables.h ngx_str_t *var, ngx_list_part_t *part, size_t prefix);