index 327 core/nginx.c ngx_modules[i]->index = ngx_max_module++; index 380 core/ngx_conf_file.c conf = ((void **) cf->ctx)[ngx_modules[i]->index]; index 383 core/ngx_conf_file.c conf = &(((void **) cf->ctx)[ngx_modules[i]->index]); index 112 core/ngx_conf_file.h ngx_uint_t index; index 225 core/ngx_conf_file.h #define ngx_get_conf(conf_ctx, module) conf_ctx[module.index] index 766 core/ngx_connection.c rev->index = NGX_INVALID_INDEX; index 767 core/ngx_connection.c wev->index = NGX_INVALID_INDEX; index 227 core/ngx_cycle.c cycle->conf_ctx[ngx_modules[i]->index] = rv; index 286 core/ngx_cycle.c if (module->init_conf(cycle, cycle->conf_ctx[ngx_modules[i]->index]) index 317 event/modules/ngx_devpoll_module.c ev->index = nchanges; index 295 event/modules/ngx_kqueue_module.c if (ev->index < nchanges index 296 event/modules/ngx_kqueue_module.c && ((uintptr_t) change_list[ev->index].udata & (uintptr_t) ~1) index 299 event/modules/ngx_kqueue_module.c if (change_list[ev->index].flags == EV_DISABLE) { index 310 event/modules/ngx_kqueue_module.c if (ev->index < --nchanges) { index 313 event/modules/ngx_kqueue_module.c change_list[ev->index] = change_list[nchanges]; index 314 event/modules/ngx_kqueue_module.c e->index = ev->index; index 353 event/modules/ngx_kqueue_module.c if (ev->index < nchanges index 354 event/modules/ngx_kqueue_module.c && ((uintptr_t) change_list[ev->index].udata & (uintptr_t) ~1) index 365 event/modules/ngx_kqueue_module.c if (ev->index < nchanges) { index 368 event/modules/ngx_kqueue_module.c change_list[ev->index] = change_list[nchanges]; index 369 event/modules/ngx_kqueue_module.c e->index = ev->index; index 466 event/modules/ngx_kqueue_module.c ev->index = nchanges; index 122 event/modules/ngx_poll_module.c if (ev->index != NGX_INVALID_INDEX) { index 144 event/modules/ngx_poll_module.c if (e == NULL || e->index == NGX_INVALID_INDEX) { index 149 event/modules/ngx_poll_module.c ev->index = nevents; index 154 event/modules/ngx_poll_module.c "poll add index: %i", e->index); index 156 event/modules/ngx_poll_module.c event_list[e->index].events |= (short) event; index 157 event/modules/ngx_poll_module.c ev->index = e->index; index 174 event/modules/ngx_poll_module.c if (ev->index == NGX_INVALID_INDEX) { index 197 event/modules/ngx_poll_module.c if (e == NULL || e->index == NGX_INVALID_INDEX) { index 200 event/modules/ngx_poll_module.c if (ev->index < (ngx_uint_t) nevents) { index 203 event/modules/ngx_poll_module.c "index: copy event %ui to %i", nevents, ev->index); index 205 event/modules/ngx_poll_module.c event_list[ev->index] = event_list[nevents]; index 214 event/modules/ngx_poll_module.c if (c->read->index == (ngx_uint_t) nevents) { index 215 event/modules/ngx_poll_module.c c->read->index = ev->index; index 218 event/modules/ngx_poll_module.c if (c->write->index == (ngx_uint_t) nevents) { index 219 event/modules/ngx_poll_module.c c->write->index = ev->index; index 226 event/modules/ngx_poll_module.c "poll del index: %i", e->index); index 228 event/modules/ngx_poll_module.c event_list[e->index].events &= (short) ~event; index 231 event/modules/ngx_poll_module.c ev->index = NGX_INVALID_INDEX; index 76 event/modules/ngx_select_module.c ngx_event_t **index; index 88 event/modules/ngx_select_module.c index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, index 90 event/modules/ngx_select_module.c if (index == NULL) { index 95 event/modules/ngx_select_module.c ngx_memcpy(index, event_index, sizeof(ngx_event_t *) * nevents); index 99 event/modules/ngx_select_module.c event_index = index; index 133 event/modules/ngx_select_module.c if (ev->index != NGX_INVALID_INDEX) { index 162 event/modules/ngx_select_module.c ev->index = nevents; index 179 event/modules/ngx_select_module.c if (ev->index == NGX_INVALID_INDEX) { index 197 event/modules/ngx_select_module.c if (ev->index < --nevents) { index 199 event/modules/ngx_select_module.c event_index[ev->index] = e; index 200 event/modules/ngx_select_module.c e->index = ev->index; index 203 event/modules/ngx_select_module.c ev->index = NGX_INVALID_INDEX; index 77 event/modules/ngx_win32_select_module.c ngx_event_t **index; index 89 event/modules/ngx_win32_select_module.c index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, index 91 event/modules/ngx_win32_select_module.c if (index == NULL) { index 96 event/modules/ngx_win32_select_module.c ngx_memcpy(index, event_index, sizeof(ngx_event_t *) * nevents); index 100 event/modules/ngx_win32_select_module.c event_index = index; index 135 event/modules/ngx_win32_select_module.c if (ev->index != NGX_INVALID_INDEX) { index 171 event/modules/ngx_win32_select_module.c ev->index = nevents; index 188 event/modules/ngx_win32_select_module.c if (ev->index == NGX_INVALID_INDEX) { index 204 event/modules/ngx_win32_select_module.c if (ev->index < --nevents) { index 206 event/modules/ngx_win32_select_module.c event_index[ev->index] = e; index 207 event/modules/ngx_win32_select_module.c e->index = ev->index; index 210 event/modules/ngx_win32_select_module.c ev->index = NGX_INVALID_INDEX; index 129 event/ngx_event.h ngx_uint_t index; index 15 http/modules/ngx_http_fastcgi_module.c ngx_str_t index; index 202 http/modules/ngx_http_fastcgi_module.c offsetof(ngx_http_fastcgi_loc_conf_t, index), index 2248 http/modules/ngx_http_fastcgi_module.c ngx_conf_merge_str_value(conf->index, prev->index, ""); index 2494 http/modules/ngx_http_fastcgi_module.c v->len = f->script_name.len + flcf->index.len; index 2502 http/modules/ngx_http_fastcgi_module.c ngx_memcpy(p, flcf->index.data, flcf->index.len); index 64 http/modules/ngx_http_geo_module.c ngx_int_t index; index 261 http/modules/ngx_http_geo_module.c if (ctx->index == -1) { index 273 http/modules/ngx_http_geo_module.c v = ngx_http_get_flushed_variable(r, ctx->index); index 317 http/modules/ngx_http_geo_module.c geo->index = ngx_http_get_variable_index(cf, &name); index 318 http/modules/ngx_http_geo_module.c if (geo->index == NGX_ERROR) { index 327 http/modules/ngx_http_geo_module.c geo->index = -1; index 103 http/modules/ngx_http_index_module.c ngx_http_index_t *index; index 129 http/modules/ngx_http_index_module.c index = ilcf->indices->elts; index 132 http/modules/ngx_http_index_module.c if (index[i].lengths == NULL) { index 134 http/modules/ngx_http_index_module.c if (index[i].name.data[0] == '/') { index 135 http/modules/ngx_http_index_module.c return ngx_http_internal_redirect(r, &index[i].name, &r->args); index 139 http/modules/ngx_http_index_module.c len = index[i].name.len; index 144 http/modules/ngx_http_index_module.c e.ip = index[i].lengths->elts; index 171 http/modules/ngx_http_index_module.c if (index[i].values == NULL) { index 175 http/modules/ngx_http_index_module.c ngx_memcpy(name, index[i].name.data, index[i].name.len); index 177 http/modules/ngx_http_index_module.c path.len = (name + index[i].name.len - 1) - path.data; index 180 http/modules/ngx_http_index_module.c e.ip = index[i].values->elts; index 385 http/modules/ngx_http_index_module.c ngx_http_index_t *index; index 398 http/modules/ngx_http_index_module.c index = ngx_array_push(conf->indices); index 399 http/modules/ngx_http_index_module.c if (index == NULL) { index 403 http/modules/ngx_http_index_module.c index->name.len = sizeof(NGX_HTTP_DEFAULT_INDEX); index 404 http/modules/ngx_http_index_module.c index->name.data = (u_char *) NGX_HTTP_DEFAULT_INDEX; index 405 http/modules/ngx_http_index_module.c index->lengths = NULL; index 406 http/modules/ngx_http_index_module.c index->values = NULL; index 445 http/modules/ngx_http_index_module.c ngx_http_index_t *index; index 472 http/modules/ngx_http_index_module.c index = ngx_array_push(ilcf->indices); index 473 http/modules/ngx_http_index_module.c if (index == NULL) { index 477 http/modules/ngx_http_index_module.c index->name.len = value[i].len; index 478 http/modules/ngx_http_index_module.c index->name.data = value[i].data; index 479 http/modules/ngx_http_index_module.c index->lengths = NULL; index 480 http/modules/ngx_http_index_module.c index->values = NULL; index 485 http/modules/ngx_http_index_module.c if (ilcf->max_index_len < index->name.len) { index 486 http/modules/ngx_http_index_module.c ilcf->max_index_len = index->name.len; index 489 http/modules/ngx_http_index_module.c if (index->name.data[0] == '/') { index 494 http/modules/ngx_http_index_module.c index->name.len++; index 503 http/modules/ngx_http_index_module.c sc.lengths = &index->lengths; index 504 http/modules/ngx_http_index_module.c sc.values = &index->values; index 36 http/modules/ngx_http_limit_req_module.c ngx_int_t index; index 161 http/modules/ngx_http_limit_req_module.c vv = ngx_http_get_indexed_variable(r, ctx->index); index 667 http/modules/ngx_http_limit_req_module.c ctx->index = ngx_http_get_variable_index(cf, &value[i]); index 668 http/modules/ngx_http_limit_req_module.c if (ctx->index == NGX_ERROR) { index 28 http/modules/ngx_http_limit_zone_module.c ngx_int_t index; index 146 http/modules/ngx_http_limit_zone_module.c vv = ngx_http_get_indexed_variable(r, ctx->index); index 457 http/modules/ngx_http_limit_zone_module.c ctx->index = ngx_http_get_variable_index(cf, &value[2]); index 458 http/modules/ngx_http_limit_zone_module.c if (ctx->index == NGX_ERROR) { index 620 http/modules/ngx_http_log_module.c ngx_int_t index; index 622 http/modules/ngx_http_log_module.c index = ngx_http_get_variable_index(cf, value); index 623 http/modules/ngx_http_log_module.c if (index == NGX_ERROR) { index 630 http/modules/ngx_http_log_module.c op->data = index; index 374 http/modules/ngx_http_map_module.c ngx_int_t rc, index; index 413 http/modules/ngx_http_map_module.c index = ngx_http_get_variable_index(ctx->cf, &name); index 414 http/modules/ngx_http_map_module.c if (index == NGX_ERROR) { index 421 http/modules/ngx_http_map_module.c if (index == (ngx_int_t) var[i].data) { index 435 http/modules/ngx_http_map_module.c var->data = (u_char *) index; index 14 http/modules/ngx_http_memcached_module.c ngx_int_t index; index 221 http/modules/ngx_http_memcached_module.c vv = ngx_http_get_indexed_variable(r, mlcf->index); index 535 http/modules/ngx_http_memcached_module.c conf->index = NGX_CONF_UNSET; index 575 http/modules/ngx_http_memcached_module.c if (conf->index == NGX_CONF_UNSET) { index 576 http/modules/ngx_http_memcached_module.c conf->index = prev->index; index 616 http/modules/ngx_http_memcached_module.c mlcf->index = ngx_http_get_variable_index(cf, &ngx_http_memcached_key); index 618 http/modules/ngx_http_memcached_module.c if (mlcf->index == NGX_ERROR) { index 854 http/modules/ngx_http_rewrite_module.c ngx_int_t index; index 860 http/modules/ngx_http_rewrite_module.c index = ngx_http_get_variable_index(cf, value); index 862 http/modules/ngx_http_rewrite_module.c if (index == NGX_ERROR) { index 873 http/modules/ngx_http_rewrite_module.c var_code->index = index; index 884 http/modules/ngx_http_rewrite_module.c ngx_int_t index; index 906 http/modules/ngx_http_rewrite_module.c index = ngx_http_get_variable_index(cf, &value[1]); index 907 http/modules/ngx_http_rewrite_module.c if (index == NGX_ERROR) { index 917 http/modules/ngx_http_rewrite_module.c v->data = index; index 945 http/modules/ngx_http_rewrite_module.c vcode->index = (uintptr_t) index; index 373 http/modules/ngx_http_ssi_filter_module.c ngx_uint_t i, index; index 736 http/modules/ngx_http_ssi_filter_module.c if (params[prm->index]) { index 746 http/modules/ngx_http_ssi_filter_module.c params[prm->index] = ¶m[i].value; index 751 http/modules/ngx_http_ssi_filter_module.c for (index = prm->index; params[index]; index++) { index 755 http/modules/ngx_http_ssi_filter_module.c params[index] = ¶m[i].value; index 771 http/modules/ngx_http_ssi_filter_module.c if (prm->mandatory && params[prm->index] == 0) { index 86 http/modules/ngx_http_ssi_filter_module.h ngx_uint_t index; index 962 http/modules/perl/ngx_http_perl_module.c ngx_int_t index; index 989 http/modules/perl/ngx_http_perl_module.c index = ngx_http_get_variable_index(cf, &value[1]); index 990 http/modules/perl/ngx_http_perl_module.c if (index == NGX_ERROR) { index 68 http/ngx_http_config.h (cycle->conf_ctx[ngx_http_module.index] ? \ index 69 http/ngx_http_config.h ((ngx_http_conf_ctx_t *) cycle->conf_ctx[ngx_http_module.index]) \ index 38 http/ngx_http_script.c ngx_uint_t *index; index 40 http/ngx_http_script.c index = val->flushes; index 42 http/ngx_http_script.c if (index) { index 43 http/ngx_http_script.c while (*index != (ngx_uint_t) -1) { index 45 http/ngx_http_script.c if (r->variables[*index].no_cacheable) { index 46 http/ngx_http_script.c r->variables[*index].valid = 0; index 47 http/ngx_http_script.c r->variables[*index].not_found = 0; index 50 http/ngx_http_script.c index++; index 541 http/ngx_http_script.c ngx_uint_t n, *index; index 544 http/ngx_http_script.c index = indices->elts; index 546 http/ngx_http_script.c if (r->variables[index[n]].no_cacheable) { index 547 http/ngx_http_script.c r->variables[index[n]].valid = 0; index 548 http/ngx_http_script.c r->variables[index[n]].not_found = 0; index 764 http/ngx_http_script.c ngx_int_t index, *p; index 767 http/ngx_http_script.c index = ngx_http_get_variable_index(sc->cf, name); index 769 http/ngx_http_script.c if (index == NGX_ERROR) { index 779 http/ngx_http_script.c *p = index; index 789 http/ngx_http_script.c code->index = (uintptr_t) index; index 799 http/ngx_http_script.c code->index = (uintptr_t) index; index 816 http/ngx_http_script.c value = ngx_http_get_indexed_variable(e->request, code->index); index 819 http/ngx_http_script.c value = ngx_http_get_flushed_variable(e->request, code->index); index 844 http/ngx_http_script.c value = ngx_http_get_indexed_variable(e->request, code->index); index 847 http/ngx_http_script.c value = ngx_http_get_flushed_variable(e->request, code->index); index 1675 http/ngx_http_script.c r->variables[code->index].len = e->sp->len; index 1676 http/ngx_http_script.c r->variables[code->index].valid = 1; index 1677 http/ngx_http_script.c r->variables[code->index].no_cacheable = 0; index 1678 http/ngx_http_script.c r->variables[code->index].not_found = 0; index 1679 http/ngx_http_script.c r->variables[code->index].data = e->sp->data; index 1691 http/ngx_http_script.c "http script set $%V", &v[code->index].name); index 1728 http/ngx_http_script.c value = ngx_http_get_flushed_variable(e->request, code->index); index 96 http/ngx_http_script.h uintptr_t index; index 314 http/ngx_http_variables.c v->index = 0; index 380 http/ngx_http_variables.c v->index = cmcf->variables.nelts - 1; index 387 http/ngx_http_variables.c ngx_http_get_indexed_variable(ngx_http_request_t *r, ngx_uint_t index) index 394 http/ngx_http_variables.c if (cmcf->variables.nelts <= index) { index 396 http/ngx_http_variables.c "unknown variable index: %d", index); index 400 http/ngx_http_variables.c if (r->variables[index].not_found || r->variables[index].valid) { index 401 http/ngx_http_variables.c return &r->variables[index]; index 406 http/ngx_http_variables.c if (v[index].get_handler(r, &r->variables[index], v[index].data) index 409 http/ngx_http_variables.c if (v[index].flags & NGX_HTTP_VAR_NOCACHEABLE) { index 410 http/ngx_http_variables.c r->variables[index].no_cacheable = 1; index 413 http/ngx_http_variables.c return &r->variables[index]; index 416 http/ngx_http_variables.c r->variables[index].valid = 0; index 417 http/ngx_http_variables.c r->variables[index].not_found = 1; index 424 http/ngx_http_variables.c ngx_http_get_flushed_variable(ngx_http_request_t *r, ngx_uint_t index) index 428 http/ngx_http_variables.c v = &r->variables[index]; index 439 http/ngx_http_variables.c return ngx_http_get_indexed_variable(r, index); index 456 http/ngx_http_variables.c return ngx_http_get_flushed_variable(r, v->index); index 1777 http/ngx_http_variables.c rv[i].index = ngx_http_get_variable_index(cf, &name); index 1778 http/ngx_http_variables.c if (rv[i].index == NGX_ERROR) { index 1794 http/ngx_http_variables.c ngx_int_t rc, index; index 1831 http/ngx_http_variables.c index = re->variables[i].index; index 1832 http/ngx_http_variables.c vv = &r->variables[index]; index 1848 http/ngx_http_variables.c &v[index].name, vv->len, vv->data); index 1939 http/ngx_http_variables.c av->index = i; index 40 http/ngx_http_variables.h ngx_uint_t index; index 48 http/ngx_http_variables.h ngx_uint_t index); index 50 http/ngx_http_variables.h ngx_uint_t index); index 59 http/ngx_http_variables.h #define ngx_http_clear_variable(r, index) r->variables0[index].text.data = NULL; index 66 http/ngx_http_variables.h ngx_int_t index;