ctx               571 core/nginx.c       ngx_exec_ctx_t     ctx;
ctx               575 core/nginx.c       ngx_memzero(&ctx, sizeof(ngx_exec_ctx_t));
ctx               577 core/nginx.c       ctx.path = argv[0];
ctx               578 core/nginx.c       ctx.name = "new binary process";
ctx               579 core/nginx.c       ctx.argv = argv;
ctx               625 core/nginx.c       ctx.envp = (char *const *) env;
ctx               641 core/nginx.c       pid = ngx_execute(cycle, &ctx);
ctx                72 core/ngx_buf.h typedef ngx_int_t (*ngx_output_chain_filter_pt)(void *ctx, ngx_chain_t *in);
ctx                75 core/ngx_buf.h typedef void (*ngx_output_chain_aio_pt)(ngx_output_chain_ctx_t *ctx,
ctx               151 core/ngx_buf.h ngx_int_t ngx_output_chain(ngx_output_chain_ctx_t *ctx, ngx_chain_t *in);
ctx               152 core/ngx_buf.h ngx_int_t ngx_chain_writer(void *ctx, ngx_chain_t *in);
ctx               380 core/ngx_conf_file.c                 conf = ((void **) cf->ctx)[ngx_modules[i]->index];
ctx               383 core/ngx_conf_file.c                 conf = &(((void **) cf->ctx)[ngx_modules[i]->index]);
ctx               385 core/ngx_conf_file.c             } else if (cf->ctx) {
ctx               386 core/ngx_conf_file.c                 confp = *(void **) ((char *) cf->ctx + cmd->conf);
ctx               121 core/ngx_conf_file.h     void                 *ctx;
ctx               175 core/ngx_conf_file.h     void                 *ctx;
ctx               219 core/ngx_cycle.c         module = ngx_modules[i]->ctx;
ctx               250 core/ngx_cycle.c     conf.ctx = cycle->conf_ctx;
ctx               283 core/ngx_cycle.c         module = ngx_modules[i]->ctx;
ctx               818 core/ngx_file.c ngx_walk_tree(ngx_tree_ctx_t *ctx, ngx_str_t *tree)
ctx               830 core/ngx_file.c     ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->log, 0,
ctx               834 core/ngx_file.c         ngx_log_error(NGX_LOG_CRIT, ctx->log, ngx_errno,
ctx               839 core/ngx_file.c     prev = ctx->data;
ctx               841 core/ngx_file.c     if (ctx->alloc) {
ctx               842 core/ngx_file.c         data = ngx_alloc(ctx->alloc, ctx->log);
ctx               847 core/ngx_file.c         if (ctx->init_handler(data, prev) == NGX_ABORT) {
ctx               851 core/ngx_file.c         ctx->data = data;
ctx               868 core/ngx_file.c                 ngx_log_error(NGX_LOG_CRIT, ctx->log, err,
ctx               879 core/ngx_file.c         ngx_log_debug2(NGX_LOG_DEBUG_CORE, ctx->log, 0,
ctx               900 core/ngx_file.c             buf.data = ngx_alloc(buf.len + 1, ctx->log);
ctx               912 core/ngx_file.c         ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->log, 0,
ctx               917 core/ngx_file.c                 ngx_log_error(NGX_LOG_CRIT, ctx->log, ngx_errno,
ctx               925 core/ngx_file.c             ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->log, 0,
ctx               928 core/ngx_file.c             ctx->size = ngx_de_size(&dir);
ctx               929 core/ngx_file.c             ctx->access = ngx_de_access(&dir);
ctx               930 core/ngx_file.c             ctx->mtime = ngx_de_mtime(&dir);
ctx               932 core/ngx_file.c             if (ctx->file_handler(ctx, &file) == NGX_ABORT) {
ctx               938 core/ngx_file.c             ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->log, 0,
ctx               941 core/ngx_file.c             ctx->access = ngx_de_access(&dir);
ctx               942 core/ngx_file.c             ctx->mtime = ngx_de_mtime(&dir);
ctx               944 core/ngx_file.c             if (ctx->pre_tree_handler(ctx, &file) == NGX_ABORT) {
ctx               948 core/ngx_file.c             if (ngx_walk_tree(ctx, &file) == NGX_ABORT) {
ctx               952 core/ngx_file.c             ctx->access = ngx_de_access(&dir);
ctx               953 core/ngx_file.c             ctx->mtime = ngx_de_mtime(&dir);
ctx               955 core/ngx_file.c             if (ctx->post_tree_handler(ctx, &file) == NGX_ABORT) {
ctx               961 core/ngx_file.c             ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->log, 0,
ctx               964 core/ngx_file.c             if (ctx->spec_handler(ctx, &file) == NGX_ABORT) {
ctx               982 core/ngx_file.c         ctx->data = prev;
ctx               986 core/ngx_file.c         ngx_log_error(NGX_LOG_CRIT, ctx->log, ngx_errno,
ctx               102 core/ngx_file.h typedef ngx_int_t (*ngx_tree_init_handler_pt) (void *ctx, void *prev);
ctx               103 core/ngx_file.h typedef ngx_int_t (*ngx_tree_handler_pt) (ngx_tree_ctx_t *ctx, ngx_str_t *name);
ctx               135 core/ngx_file.h ngx_int_t ngx_walk_tree(ngx_tree_ctx_t *ctx, ngx_str_t *tree);
ctx                30 core/ngx_output_chain.c     ngx_output_chain_as_is(ngx_output_chain_ctx_t *ctx, ngx_buf_t *buf);
ctx                33 core/ngx_output_chain.c static ngx_int_t ngx_output_chain_align_file_buf(ngx_output_chain_ctx_t *ctx,
ctx                35 core/ngx_output_chain.c static ngx_int_t ngx_output_chain_get_buf(ngx_output_chain_ctx_t *ctx,
ctx                37 core/ngx_output_chain.c static ngx_int_t ngx_output_chain_copy_buf(ngx_output_chain_ctx_t *ctx);
ctx                41 core/ngx_output_chain.c ngx_output_chain(ngx_output_chain_ctx_t *ctx, ngx_chain_t *in)
ctx                47 core/ngx_output_chain.c     if (ctx->in == NULL && ctx->busy == NULL) {
ctx                56 core/ngx_output_chain.c             return ctx->output_filter(ctx->filter_ctx, in);
ctx                63 core/ngx_output_chain.c             && ngx_output_chain_as_is(ctx, in->buf))
ctx                65 core/ngx_output_chain.c             return ctx->output_filter(ctx->filter_ctx, in);
ctx                72 core/ngx_output_chain.c         if (ngx_output_chain_add_copy(ctx->pool, &ctx->in, in) == NGX_ERROR) {
ctx                84 core/ngx_output_chain.c         if (ctx->aio) {
ctx                89 core/ngx_output_chain.c         while (ctx->in) {
ctx                96 core/ngx_output_chain.c             bsize = ngx_buf_size(ctx->in->buf);
ctx                98 core/ngx_output_chain.c             if (bsize == 0 && !ngx_buf_special(ctx->in->buf)) {
ctx               100 core/ngx_output_chain.c                 ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0,
ctx               103 core/ngx_output_chain.c                               ctx->in->buf->temporary,
ctx               104 core/ngx_output_chain.c                               ctx->in->buf->recycled,
ctx               105 core/ngx_output_chain.c                               ctx->in->buf->in_file,
ctx               106 core/ngx_output_chain.c                               ctx->in->buf->start,
ctx               107 core/ngx_output_chain.c                               ctx->in->buf->pos,
ctx               108 core/ngx_output_chain.c                               ctx->in->buf->last,
ctx               109 core/ngx_output_chain.c                               ctx->in->buf->file,
ctx               110 core/ngx_output_chain.c                               ctx->in->buf->file_pos,
ctx               111 core/ngx_output_chain.c                               ctx->in->buf->file_last);
ctx               115 core/ngx_output_chain.c                 ctx->in = ctx->in->next;
ctx               120 core/ngx_output_chain.c             if (ngx_output_chain_as_is(ctx, ctx->in->buf)) {
ctx               124 core/ngx_output_chain.c                 cl = ctx->in;
ctx               125 core/ngx_output_chain.c                 ctx->in = cl->next;
ctx               134 core/ngx_output_chain.c             if (ctx->buf == NULL) {
ctx               136 core/ngx_output_chain.c                 rc = ngx_output_chain_align_file_buf(ctx, bsize);
ctx               144 core/ngx_output_chain.c                     if (ctx->free) {
ctx               148 core/ngx_output_chain.c                         cl = ctx->free;
ctx               149 core/ngx_output_chain.c                         ctx->buf = cl->buf;
ctx               150 core/ngx_output_chain.c                         ctx->free = cl->next;
ctx               152 core/ngx_output_chain.c                         ngx_free_chain(ctx->pool, cl);
ctx               154 core/ngx_output_chain.c                     } else if (out || ctx->allocated == ctx->bufs.num) {
ctx               158 core/ngx_output_chain.c                     } else if (ngx_output_chain_get_buf(ctx, bsize) != NGX_OK) {
ctx               164 core/ngx_output_chain.c             rc = ngx_output_chain_copy_buf(ctx);
ctx               180 core/ngx_output_chain.c             if (ngx_buf_size(ctx->in->buf) == 0) {
ctx               181 core/ngx_output_chain.c                 ctx->in = ctx->in->next;
ctx               184 core/ngx_output_chain.c             cl = ngx_alloc_chain_link(ctx->pool);
ctx               189 core/ngx_output_chain.c             cl->buf = ctx->buf;
ctx               193 core/ngx_output_chain.c             ctx->buf = NULL;
ctx               198 core/ngx_output_chain.c             if (ctx->in) {
ctx               205 core/ngx_output_chain.c         last = ctx->output_filter(ctx->filter_ctx, out);
ctx               211 core/ngx_output_chain.c         ngx_chain_update_chains(&ctx->free, &ctx->busy, &out, ctx->tag);
ctx               218 core/ngx_output_chain.c ngx_output_chain_as_is(ngx_output_chain_ctx_t *ctx, ngx_buf_t *buf)
ctx               230 core/ngx_output_chain.c     sendfile = ctx->sendfile;
ctx               249 core/ngx_output_chain.c     if (ctx->need_in_memory && !ngx_buf_in_memory(buf)) {
ctx               253 core/ngx_output_chain.c     if (ctx->need_in_temp && (buf->memory || buf->mmap)) {
ctx               331 core/ngx_output_chain.c ngx_output_chain_align_file_buf(ngx_output_chain_ctx_t *ctx, off_t bsize)
ctx               336 core/ngx_output_chain.c     in = ctx->in->buf;
ctx               342 core/ngx_output_chain.c     ctx->directio = 1;
ctx               344 core/ngx_output_chain.c     size = (size_t) (in->file_pos - (in->file_pos & ~(ctx->alignment - 1)));
ctx               348 core/ngx_output_chain.c         if (bsize >= (off_t) ctx->bufs.size) {
ctx               355 core/ngx_output_chain.c         size = (size_t) ctx->alignment - size;
ctx               362 core/ngx_output_chain.c     ctx->buf = ngx_create_temp_buf(ctx->pool, size);
ctx               363 core/ngx_output_chain.c     if (ctx->buf == NULL) {
ctx               373 core/ngx_output_chain.c     ctx->unaligned = 1;
ctx               381 core/ngx_output_chain.c ngx_output_chain_get_buf(ngx_output_chain_ctx_t *ctx, off_t bsize)
ctx               387 core/ngx_output_chain.c     in = ctx->in->buf;
ctx               388 core/ngx_output_chain.c     size = ctx->bufs.size;
ctx               403 core/ngx_output_chain.c         } else if (!ctx->directio
ctx               404 core/ngx_output_chain.c                    && ctx->bufs.num == 1
ctx               418 core/ngx_output_chain.c     b = ngx_calloc_buf(ctx->pool);
ctx               423 core/ngx_output_chain.c     if (ctx->directio) {
ctx               430 core/ngx_output_chain.c         b->start = ngx_pmemalign(ctx->pool, size, (size_t) ctx->alignment);
ctx               436 core/ngx_output_chain.c         b->start = ngx_palloc(ctx->pool, size);
ctx               446 core/ngx_output_chain.c     b->tag = ctx->tag;
ctx               449 core/ngx_output_chain.c     ctx->buf = b;
ctx               450 core/ngx_output_chain.c     ctx->allocated++;
ctx               457 core/ngx_output_chain.c ngx_output_chain_copy_buf(ngx_output_chain_ctx_t *ctx)
ctx               464 core/ngx_output_chain.c     src = ctx->in->buf;
ctx               465 core/ngx_output_chain.c     dst = ctx->buf;
ctx               470 core/ngx_output_chain.c     sendfile = ctx->sendfile & !ctx->directio;
ctx               513 core/ngx_output_chain.c         if (ctx->unaligned) {
ctx               515 core/ngx_output_chain.c                 ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, ngx_errno,
ctx               525 core/ngx_output_chain.c         if (ctx->aio_handler) {
ctx               527 core/ngx_output_chain.c                                   src->file_pos, ctx->pool);
ctx               529 core/ngx_output_chain.c                 ctx->aio_handler(ctx, src->file);
ctx               545 core/ngx_output_chain.c         if (ctx->unaligned) {
ctx               551 core/ngx_output_chain.c                 ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, ngx_errno,
ctx               558 core/ngx_output_chain.c             ctx->unaligned = 0;
ctx               568 core/ngx_output_chain.c             ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0,
ctx               602 core/ngx_output_chain.c     ngx_chain_writer_ctx_t *ctx = data;
ctx               608 core/ngx_output_chain.c     c = ctx->connection;
ctx               624 core/ngx_output_chain.c         cl = ngx_alloc_chain_link(ctx->pool);
ctx               631 core/ngx_output_chain.c         *ctx->last = cl;
ctx               632 core/ngx_output_chain.c         ctx->last = &cl->next;
ctx               636 core/ngx_output_chain.c                    "chain writer in: %p", ctx->out);
ctx               638 core/ngx_output_chain.c     for (cl = ctx->out; cl; cl = cl->next) {
ctx               654 core/ngx_output_chain.c     ctx->out = c->send_chain(c, ctx->out, ctx->limit);
ctx               657 core/ngx_output_chain.c                    "chain writer out: %p", ctx->out);
ctx               659 core/ngx_output_chain.c     if (ctx->out == NGX_CHAIN_ERROR) {
ctx               663 core/ngx_output_chain.c     if (ctx->out == NULL) {
ctx               664 core/ngx_output_chain.c         ctx->last = &ctx->out;
ctx                56 core/ngx_resolver.c     ngx_resolver_ctx_t *ctx);
ctx                62 core/ngx_resolver.c     ngx_resolver_ctx_t *ctx);
ctx                64 core/ngx_resolver.c     ngx_resolver_ctx_t *ctx);
ctx               198 core/ngx_resolver.c     ngx_resolver_ctx_t   *ctx, *next;
ctx               207 core/ngx_resolver.c         for (ctx = rn->waiting; ctx; ctx = next) {
ctx               208 core/ngx_resolver.c             next = ctx->next;
ctx               210 core/ngx_resolver.c             if (ctx->event) {
ctx               211 core/ngx_resolver.c                 ngx_resolver_free(r, ctx->event);
ctx               214 core/ngx_resolver.c             ngx_resolver_free(r, ctx);
ctx               228 core/ngx_resolver.c     ngx_resolver_ctx_t  *ctx;
ctx               249 core/ngx_resolver.c     ctx = ngx_resolver_calloc(r, sizeof(ngx_resolver_ctx_t));
ctx               251 core/ngx_resolver.c     if (ctx) {
ctx               252 core/ngx_resolver.c         ctx->resolver = r;
ctx               255 core/ngx_resolver.c     return ctx;
ctx               260 core/ngx_resolver.c ngx_resolve_name(ngx_resolver_ctx_t *ctx)
ctx               265 core/ngx_resolver.c     r = ctx->resolver;
ctx               268 core/ngx_resolver.c                    "resolve: \"%V\"", &ctx->name);
ctx               270 core/ngx_resolver.c     if (ctx->quick) {
ctx               271 core/ngx_resolver.c         ctx->handler(ctx);
ctx               277 core/ngx_resolver.c     rc = ngx_resolve_name_locked(r, ctx);
ctx               291 core/ngx_resolver.c     if (ctx->event) {
ctx               292 core/ngx_resolver.c         ngx_resolver_free(r, ctx->event);
ctx               295 core/ngx_resolver.c     ngx_resolver_free(r, ctx);
ctx               302 core/ngx_resolver.c ngx_resolve_name_done(ngx_resolver_ctx_t *ctx)
ctx               309 core/ngx_resolver.c     r = ctx->resolver;
ctx               312 core/ngx_resolver.c                    "resolve name done: %i", ctx->state);
ctx               314 core/ngx_resolver.c     if (ctx->quick) {
ctx               318 core/ngx_resolver.c     if (ctx->event && ctx->event->timer_set) {
ctx               319 core/ngx_resolver.c         ngx_del_timer(ctx->event);
ctx               324 core/ngx_resolver.c     if (ctx->state == NGX_AGAIN || ctx->state == NGX_RESOLVE_TIMEDOUT) {
ctx               326 core/ngx_resolver.c         hash = ngx_crc32_short(ctx->name.data, ctx->name.len);
ctx               328 core/ngx_resolver.c         rn = ngx_resolver_lookup_name(r, &ctx->name, hash);
ctx               335 core/ngx_resolver.c                 if (w == ctx) {
ctx               347 core/ngx_resolver.c                       "could not cancel %V resolving", &ctx->name);
ctx               358 core/ngx_resolver.c     if (ctx->event) {
ctx               359 core/ngx_resolver.c         ngx_resolver_free_locked(r, ctx->event);
ctx               362 core/ngx_resolver.c     ngx_resolver_free_locked(r, ctx);
ctx               371 core/ngx_resolver.c ngx_resolve_name_locked(ngx_resolver_t *r, ngx_resolver_ctx_t *ctx)
ctx               380 core/ngx_resolver.c     hash = ngx_crc32_short(ctx->name.data, ctx->name.len);
ctx               382 core/ngx_resolver.c     rn = ngx_resolver_lookup_name(r, &ctx->name, hash);
ctx               415 core/ngx_resolver.c                 ctx->next = rn->waiting;
ctx               421 core/ngx_resolver.c                     ctx->state = NGX_OK;
ctx               422 core/ngx_resolver.c                     ctx->naddrs = naddrs;
ctx               423 core/ngx_resolver.c                     ctx->addrs = (naddrs == 1) ? &ctx->addr : addrs;
ctx               424 core/ngx_resolver.c                     ctx->addr = addr;
ctx               425 core/ngx_resolver.c                     next = ctx->next;
ctx               427 core/ngx_resolver.c                     ctx->handler(ctx);
ctx               429 core/ngx_resolver.c                     ctx = next;
ctx               430 core/ngx_resolver.c                 } while (ctx);
ctx               441 core/ngx_resolver.c             if (ctx->recursion++ < NGX_RESOLVER_MAX_RECURSION) {
ctx               443 core/ngx_resolver.c                 ctx->name.len = rn->cnlen;
ctx               444 core/ngx_resolver.c                 ctx->name.data = rn->u.cname;
ctx               446 core/ngx_resolver.c                 return ngx_resolve_name_locked(r, ctx);
ctx               449 core/ngx_resolver.c             ctx->next = rn->waiting;
ctx               455 core/ngx_resolver.c                 ctx->state = NGX_RESOLVE_NXDOMAIN;
ctx               456 core/ngx_resolver.c                 next = ctx->next;
ctx               458 core/ngx_resolver.c                 ctx->handler(ctx);
ctx               460 core/ngx_resolver.c                 ctx = next;
ctx               461 core/ngx_resolver.c             } while (ctx);
ctx               468 core/ngx_resolver.c             ctx->next = rn->waiting;
ctx               469 core/ngx_resolver.c             rn->waiting = ctx;
ctx               470 core/ngx_resolver.c             ctx->state = NGX_AGAIN;
ctx               499 core/ngx_resolver.c         rn->name = ngx_resolver_dup(r, ctx->name.data, ctx->name.len);
ctx               506 core/ngx_resolver.c         rn->nlen = (u_short) ctx->name.len;
ctx               512 core/ngx_resolver.c     rc = ngx_resolver_create_name_query(rn, ctx);
ctx               525 core/ngx_resolver.c         ctx->state = NGX_RESOLVE_NXDOMAIN;
ctx               526 core/ngx_resolver.c         ctx->handler(ctx);
ctx               535 core/ngx_resolver.c     if (ctx->event == NULL) {
ctx               536 core/ngx_resolver.c         ctx->event = ngx_resolver_calloc(r, sizeof(ngx_event_t));
ctx               537 core/ngx_resolver.c         if (ctx->event == NULL) {
ctx               541 core/ngx_resolver.c         ctx->event->handler = ngx_resolver_timeout_handler;
ctx               542 core/ngx_resolver.c         ctx->event->data = ctx;
ctx               543 core/ngx_resolver.c         ctx->event->log = r->log;
ctx               544 core/ngx_resolver.c         ctx->ident = -1;
ctx               546 core/ngx_resolver.c         ngx_add_timer(ctx->event, ctx->timeout);
ctx               560 core/ngx_resolver.c     rn->waiting = ctx;
ctx               562 core/ngx_resolver.c     ctx->state = NGX_AGAIN;
ctx               583 core/ngx_resolver.c ngx_resolve_addr(ngx_resolver_ctx_t *ctx)
ctx               589 core/ngx_resolver.c     r = ctx->resolver;
ctx               591 core/ngx_resolver.c     ctx->addr = ntohl(ctx->addr);
ctx               595 core/ngx_resolver.c     rn = ngx_resolver_lookup_addr(r, ctx->addr);
ctx               614 core/ngx_resolver.c             ctx->name.len = rn->nlen;
ctx               615 core/ngx_resolver.c             ctx->name.data = name;
ctx               619 core/ngx_resolver.c             ctx->state = NGX_OK;
ctx               621 core/ngx_resolver.c             ctx->handler(ctx);
ctx               630 core/ngx_resolver.c             ctx->next = rn->waiting;
ctx               631 core/ngx_resolver.c             rn->waiting = ctx;
ctx               632 core/ngx_resolver.c             ctx->state = NGX_AGAIN;
ctx               650 core/ngx_resolver.c         rn->node.key = ctx->addr;
ctx               656 core/ngx_resolver.c     if (ngx_resolver_create_addr_query(rn, ctx) != NGX_OK) {
ctx               664 core/ngx_resolver.c     ctx->event = ngx_resolver_calloc(r, sizeof(ngx_event_t));
ctx               665 core/ngx_resolver.c     if (ctx->event == NULL) {
ctx               669 core/ngx_resolver.c     ctx->event->handler = ngx_resolver_timeout_handler;
ctx               670 core/ngx_resolver.c     ctx->event->data = ctx;
ctx               671 core/ngx_resolver.c     ctx->event->log = r->log;
ctx               672 core/ngx_resolver.c     ctx->ident = -1;
ctx               674 core/ngx_resolver.c     ngx_add_timer(ctx->event, ctx->timeout);
ctx               689 core/ngx_resolver.c     rn->waiting = ctx;
ctx               693 core/ngx_resolver.c     ctx->state = NGX_AGAIN;
ctx               711 core/ngx_resolver.c     if (ctx->event) {
ctx               712 core/ngx_resolver.c         ngx_resolver_free(r, ctx->event);
ctx               715 core/ngx_resolver.c     ngx_resolver_free(r, ctx);
ctx               722 core/ngx_resolver.c ngx_resolve_addr_done(ngx_resolver_ctx_t *ctx)
ctx               729 core/ngx_resolver.c     r = ctx->resolver;
ctx               732 core/ngx_resolver.c                    "resolve addr done: %i", ctx->state);
ctx               734 core/ngx_resolver.c     if (ctx->event && ctx->event->timer_set) {
ctx               735 core/ngx_resolver.c         ngx_del_timer(ctx->event);
ctx               740 core/ngx_resolver.c     if (ctx->state == NGX_AGAIN || ctx->state == NGX_RESOLVE_TIMEDOUT) {
ctx               742 core/ngx_resolver.c         rn = ngx_resolver_lookup_addr(r, ctx->addr);
ctx               749 core/ngx_resolver.c                 if (w == ctx) {
ctx               760 core/ngx_resolver.c         addr = ntohl(ctx->addr);
ctx               776 core/ngx_resolver.c     if (ctx->event) {
ctx               777 core/ngx_resolver.c         ngx_resolver_free_locked(r, ctx->event);
ctx               780 core/ngx_resolver.c     ngx_resolver_free_locked(r, ctx);
ctx              1127 core/ngx_resolver.c     ngx_resolver_ctx_t   *ctx, *next;
ctx              1176 core/ngx_resolver.c              ctx = next;
ctx              1177 core/ngx_resolver.c              ctx->state = code;
ctx              1178 core/ngx_resolver.c              next = ctx->next;
ctx              1180 core/ngx_resolver.c              ctx->handler(ctx);
ctx              1341 core/ngx_resolver.c              ctx = next;
ctx              1342 core/ngx_resolver.c              ctx->state = NGX_OK;
ctx              1343 core/ngx_resolver.c              ctx->naddrs = naddrs;
ctx              1344 core/ngx_resolver.c              ctx->addrs = (naddrs == 1) ? &ctx->addr : addrs;
ctx              1345 core/ngx_resolver.c              ctx->addr = addr;
ctx              1346 core/ngx_resolver.c              next = ctx->next;
ctx              1348 core/ngx_resolver.c              ctx->handler(ctx);
ctx              1377 core/ngx_resolver.c         ctx = rn->waiting;
ctx              1380 core/ngx_resolver.c         if (ctx) {
ctx              1381 core/ngx_resolver.c             ctx->name = name;
ctx              1383 core/ngx_resolver.c             (void) ngx_resolve_name_locked(r, ctx);
ctx              1427 core/ngx_resolver.c     ngx_resolver_ctx_t   *ctx, *next;
ctx              1492 core/ngx_resolver.c              ctx = next;
ctx              1493 core/ngx_resolver.c              ctx->state = code;
ctx              1494 core/ngx_resolver.c              next = ctx->next;
ctx              1496 core/ngx_resolver.c              ctx->handler(ctx);
ctx              1565 core/ngx_resolver.c          ctx = next;
ctx              1566 core/ngx_resolver.c          ctx->state = NGX_OK;
ctx              1567 core/ngx_resolver.c          ctx->name = name;
ctx              1568 core/ngx_resolver.c          next = ctx->next;
ctx              1570 core/ngx_resolver.c          ctx->handler(ctx);
ctx              1722 core/ngx_resolver.c ngx_resolver_create_name_query(ngx_resolver_node_t *rn, ngx_resolver_ctx_t *ctx)
ctx              1730 core/ngx_resolver.c     nlen = ctx->name.len ? (1 + ctx->name.len + 1) : 1;
ctx              1734 core/ngx_resolver.c     p = ngx_resolver_alloc(ctx->resolver, len);
ctx              1746 core/ngx_resolver.c     ngx_log_debug2(NGX_LOG_DEBUG_CORE, ctx->resolver->log, 0,
ctx              1747 core/ngx_resolver.c                    "resolve: \"%V\" %i", &ctx->name, ident & 0xffff);
ctx              1766 core/ngx_resolver.c     qs->type_hi = 0; qs->type_lo = (u_char) ctx->type;
ctx              1777 core/ngx_resolver.c     for (s = ctx->name.data + ctx->name.len - 1; s >= ctx->name.data; s--) {
ctx              1803 core/ngx_resolver.c ngx_resolver_create_addr_query(ngx_resolver_node_t *rn, ngx_resolver_ctx_t *ctx)
ctx              1815 core/ngx_resolver.c     p = ngx_resolver_alloc(ctx->resolver, len);
ctx              1840 core/ngx_resolver.c         d = ngx_sprintf(&p[1], "%ud", (ctx->addr >> n) & 0xff);
ctx              1954 core/ngx_resolver.c     ngx_resolver_ctx_t  *ctx;
ctx              1956 core/ngx_resolver.c     ctx = ev->data;
ctx              1958 core/ngx_resolver.c     ctx->state = NGX_RESOLVE_TIMEDOUT;
ctx              1960 core/ngx_resolver.c     ctx->handler(ctx);
ctx                46 core/ngx_resolver.h typedef void (*ngx_resolver_handler_pt)(ngx_resolver_ctx_t *ctx);
ctx               141 core/ngx_resolver.h ngx_int_t ngx_resolve_name(ngx_resolver_ctx_t *ctx);
ctx               142 core/ngx_resolver.h void ngx_resolve_name_done(ngx_resolver_ctx_t *ctx);
ctx               143 core/ngx_resolver.h ngx_int_t ngx_resolve_addr(ngx_resolver_ctx_t *ctx);
ctx               144 core/ngx_resolver.h void ngx_resolve_addr_done(ngx_resolver_ctx_t *ctx);
ctx               188 event/modules/ngx_epoll_module.c io_setup(u_int nr_reqs, aio_context_t *ctx)
ctx               190 event/modules/ngx_epoll_module.c     return syscall(SYS_io_setup, nr_reqs, ctx);
ctx               195 event/modules/ngx_epoll_module.c io_destroy(aio_context_t ctx)
ctx               197 event/modules/ngx_epoll_module.c     return syscall(SYS_io_destroy, ctx);
ctx               202 event/modules/ngx_epoll_module.c io_getevents(aio_context_t ctx, long min_nr, long nr, struct io_event *events,
ctx               205 event/modules/ngx_epoll_module.c     return syscall(SYS_io_getevents, ctx, min_nr, nr, events, tmo);
ctx               616 event/ngx_event.c         module = ngx_modules[m]->ctx;
ctx               880 event/ngx_event.c     void               ***ctx;
ctx               896 event/ngx_event.c     ctx = ngx_pcalloc(cf->pool, sizeof(void *));
ctx               897 event/ngx_event.c     if (ctx == NULL) {
ctx               901 event/ngx_event.c     *ctx = ngx_pcalloc(cf->pool, ngx_event_max_module * sizeof(void *));
ctx               902 event/ngx_event.c     if (*ctx == NULL) {
ctx               906 event/ngx_event.c     *(void **) conf = ctx;
ctx               913 event/ngx_event.c         m = ngx_modules[i]->ctx;
ctx               916 event/ngx_event.c             (*ctx)[ngx_modules[i]->ctx_index] = m->create_conf(cf->cycle);
ctx               917 event/ngx_event.c             if ((*ctx)[ngx_modules[i]->ctx_index] == NULL) {
ctx               924 event/ngx_event.c     cf->ctx = ctx;
ctx               940 event/ngx_event.c         m = ngx_modules[i]->ctx;
ctx               943 event/ngx_event.c             rv = m->init_conf(cf->cycle, (*ctx)[ngx_modules[i]->ctx_index]);
ctx              1015 event/ngx_event.c         module = ngx_modules[m]->ctx;
ctx              1217 event/ngx_event.c             event_module = ngx_modules[i]->ctx;
ctx              1239 event/ngx_event.c     event_module = module->ctx;
ctx                13 event/ngx_event_busy_lock.c     ngx_event_busy_lock_ctx_t *ctx);
ctx                26 event/ngx_event_busy_lock.c ngx_event_busy_lock(ngx_event_busy_lock_t *bl, ngx_event_busy_lock_ctx_t *ctx)
ctx                32 event/ngx_event_busy_lock.c     ngx_log_debug2(NGX_LOG_DEBUG_EVENT, ctx->event->log, 0,
ctx                41 event/ngx_event_busy_lock.c     } else if (ctx->timer && bl->waiting < bl->max_waiting) {
ctx                43 event/ngx_event_busy_lock.c         ngx_add_timer(ctx->event, ctx->timer);
ctx                44 event/ngx_event_busy_lock.c         ctx->event->handler = ngx_event_busy_lock_handler;
ctx                47 event/ngx_event_busy_lock.c             bl->last->next = ctx;
ctx                50 event/ngx_event_busy_lock.c             bl->events = ctx;
ctx                53 event/ngx_event_busy_lock.c         bl->last = ctx;
ctx                69 event/ngx_event_busy_lock.c     ngx_event_busy_lock_ctx_t *ctx)
ctx                75 event/ngx_event_busy_lock.c     rc = ngx_event_busy_lock_look_cacheable(bl, ctx);
ctx                77 event/ngx_event_busy_lock.c     ngx_log_debug3(NGX_LOG_DEBUG_EVENT, ctx->event->log, 0,
ctx                89 event/ngx_event_busy_lock.c         if (ctx->timer && bl->waiting < bl->max_waiting) {
ctx                91 event/ngx_event_busy_lock.c             ngx_add_timer(ctx->event, ctx->timer);
ctx                92 event/ngx_event_busy_lock.c             ctx->event->handler = ngx_event_busy_lock_handler;
ctx                95 event/ngx_event_busy_lock.c                 bl->events = ctx;
ctx                97 event/ngx_event_busy_lock.c                 bl->last->next = ctx;
ctx                99 event/ngx_event_busy_lock.c             bl->last = ctx;
ctx               114 event/ngx_event_busy_lock.c     ngx_event_busy_lock_ctx_t *ctx)
ctx               140 event/ngx_event_busy_lock.c     if (ctx->md5) {
ctx               142 event/ngx_event_busy_lock.c             if (wakeup->md5 == NULL || wakeup->slot != ctx->slot) {
ctx               177 event/ngx_event_busy_lock.c     ngx_event_busy_lock_ctx_t *ctx)
ctx               185 event/ngx_event_busy_lock.c     if (ctx == bl->events) {
ctx               186 event/ngx_event_busy_lock.c         bl->events = ctx->next;
ctx               191 event/ngx_event_busy_lock.c             if (c == ctx) {
ctx               192 event/ngx_event_busy_lock.c                 p->next = ctx->next;
ctx               205 event/ngx_event_busy_lock.c     ngx_event_busy_lock_ctx_t *ctx)
ctx               225 event/ngx_event_busy_lock.c             if (ngx_memcmp(&bl->md5[i * 16], ctx->md5, 16) == 0) {
ctx               226 event/ngx_event_busy_lock.c                 ctx->waiting = 1;
ctx               227 event/ngx_event_busy_lock.c                 ctx->slot = i;
ctx               258 event/ngx_event_busy_lock.c     ngx_memcpy(&bl->md5[free * 16], ctx->md5, 16);
ctx               260 event/ngx_event_busy_lock.c     ctx->slot = free;
ctx               281 event/ngx_event_busy_lock.c     ngx_event_busy_lock_ctx_t  *ctx;
ctx               283 event/ngx_event_busy_lock.c     ctx = ev->data;
ctx               284 event/ngx_event_busy_lock.c     ctx->handler(ev);
ctx                55 event/ngx_event_busy_lock.h     ngx_event_busy_lock_ctx_t *ctx);
ctx                57 event/ngx_event_busy_lock.h     ngx_event_busy_lock_ctx_t *ctx);
ctx                59 event/ngx_event_busy_lock.h     ngx_event_busy_lock_ctx_t *ctx);
ctx                61 event/ngx_event_busy_lock.h     ngx_event_busy_lock_ctx_t *ctx);
ctx               141 event/ngx_event_openssl.c     ssl->ctx = SSL_CTX_new(SSLv23_method());
ctx               143 event/ngx_event_openssl.c     if (ssl->ctx == NULL) {
ctx               148 event/ngx_event_openssl.c     if (SSL_CTX_set_ex_data(ssl->ctx, ngx_ssl_server_conf_index, data) == 0) {
ctx               156 event/ngx_event_openssl.c     SSL_CTX_set_options(ssl->ctx, SSL_OP_MICROSOFT_SESS_ID_BUG);
ctx               157 event/ngx_event_openssl.c     SSL_CTX_set_options(ssl->ctx, SSL_OP_NETSCAPE_CHALLENGE_BUG);
ctx               161 event/ngx_event_openssl.c     SSL_CTX_set_options(ssl->ctx, SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG);
ctx               162 event/ngx_event_openssl.c     SSL_CTX_set_options(ssl->ctx, SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER);
ctx               165 event/ngx_event_openssl.c     SSL_CTX_set_options(ssl->ctx, SSL_OP_MSIE_SSLV2_RSA_PADDING);
ctx               167 event/ngx_event_openssl.c     SSL_CTX_set_options(ssl->ctx, SSL_OP_SSLEAY_080_CLIENT_DH_BUG);
ctx               168 event/ngx_event_openssl.c     SSL_CTX_set_options(ssl->ctx, SSL_OP_TLS_D5_BUG);
ctx               169 event/ngx_event_openssl.c     SSL_CTX_set_options(ssl->ctx, SSL_OP_TLS_BLOCK_PADDING_BUG);
ctx               171 event/ngx_event_openssl.c     SSL_CTX_set_options(ssl->ctx, SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS);
ctx               173 event/ngx_event_openssl.c     SSL_CTX_set_options(ssl->ctx, SSL_OP_SINGLE_DH_USE);
ctx               176 event/ngx_event_openssl.c         SSL_CTX_set_options(ssl->ctx, ngx_ssl_protocols[protocols >> 1]);
ctx               179 event/ngx_event_openssl.c     SSL_CTX_set_read_ahead(ssl->ctx, 1);
ctx               181 event/ngx_event_openssl.c     SSL_CTX_set_info_callback(ssl->ctx, ngx_ssl_info_callback);
ctx               195 event/ngx_event_openssl.c     if (SSL_CTX_use_certificate_chain_file(ssl->ctx, (char *) cert->data)
ctx               208 event/ngx_event_openssl.c     if (SSL_CTX_use_PrivateKey_file(ssl->ctx, (char *) key->data,
ctx               227 event/ngx_event_openssl.c     SSL_CTX_set_verify(ssl->ctx, SSL_VERIFY_PEER, ngx_http_ssl_verify_callback);
ctx               229 event/ngx_event_openssl.c     SSL_CTX_set_verify_depth(ssl->ctx, depth);
ctx               239 event/ngx_event_openssl.c     if (SSL_CTX_load_verify_locations(ssl->ctx, (char *) cert->data, NULL)
ctx               263 event/ngx_event_openssl.c     SSL_CTX_set_client_CA_list(ssl->ctx, list);
ctx               283 event/ngx_event_openssl.c     store = SSL_CTX_get_cert_store(ssl->ctx);
ctx               379 event/ngx_event_openssl.c     if (SSL_CTX_need_tmp_RSA(ssl->ctx) == 0) {
ctx               386 event/ngx_event_openssl.c         SSL_CTX_set_tmp_rsa(ssl->ctx, key);
ctx               447 event/ngx_event_openssl.c         SSL_CTX_set_tmp_dh(ssl->ctx, dh);
ctx               473 event/ngx_event_openssl.c     SSL_CTX_set_tmp_dh(ssl->ctx, dh);
ctx               494 event/ngx_event_openssl.c     sc->connection = SSL_new(ssl->ctx);
ctx              1432 event/ngx_event_openssl.c         SSL_CTX_set_session_cache_mode(ssl->ctx, SSL_SESS_CACHE_OFF);
ctx              1436 event/ngx_event_openssl.c     SSL_CTX_set_session_id_context(ssl->ctx, sess_ctx->data, sess_ctx->len);
ctx              1451 event/ngx_event_openssl.c         SSL_CTX_set_session_cache_mode(ssl->ctx,
ctx              1456 event/ngx_event_openssl.c         SSL_CTX_sess_set_cache_size(ssl->ctx, 1);
ctx              1467 event/ngx_event_openssl.c     SSL_CTX_set_session_cache_mode(ssl->ctx, cache_mode);
ctx              1472 event/ngx_event_openssl.c             SSL_CTX_sess_set_cache_size(ssl->ctx, builtin_session_cache);
ctx              1476 event/ngx_event_openssl.c     SSL_CTX_set_timeout(ssl->ctx, (long) timeout);
ctx              1481 event/ngx_event_openssl.c         SSL_CTX_sess_set_new_cb(ssl->ctx, ngx_ssl_new_session);
ctx              1482 event/ngx_event_openssl.c         SSL_CTX_sess_set_get_cb(ssl->ctx, ngx_ssl_get_cached_session);
ctx              1483 event/ngx_event_openssl.c         SSL_CTX_sess_set_remove_cb(ssl->ctx, ngx_ssl_remove_session);
ctx              1485 event/ngx_event_openssl.c         if (SSL_CTX_set_ex_data(ssl->ctx, ngx_ssl_session_cache_index, shm_zone)
ctx              1960 event/ngx_event_openssl.c     SSL_CTX_free(ssl->ctx);
ctx                28 event/ngx_event_openssl.h     SSL_CTX                    *ctx;
ctx                97 http/modules/ngx_http_addition_filter_module.c     ngx_http_addition_ctx_t   *ctx;
ctx               114 http/modules/ngx_http_addition_filter_module.c     ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_addition_ctx_t));
ctx               115 http/modules/ngx_http_addition_filter_module.c     if (ctx == NULL) {
ctx               119 http/modules/ngx_http_addition_filter_module.c     ngx_http_set_ctx(r, ctx, ngx_http_addition_filter_module);
ctx               135 http/modules/ngx_http_addition_filter_module.c     ngx_http_addition_ctx_t   *ctx;
ctx               142 http/modules/ngx_http_addition_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_addition_filter_module);
ctx               144 http/modules/ngx_http_addition_filter_module.c     if (ctx == NULL) {
ctx               150 http/modules/ngx_http_addition_filter_module.c     if (!ctx->before_body_sent) {
ctx               151 http/modules/ngx_http_addition_filter_module.c         ctx->before_body_sent = 1;
ctx                28 http/modules/ngx_http_auth_basic_module.c     ngx_http_auth_basic_ctx_t *ctx, ngx_str_t *passwd, ngx_str_t *realm);
ctx               107 http/modules/ngx_http_auth_basic_module.c     ngx_http_auth_basic_ctx_t       *ctx;
ctx               122 http/modules/ngx_http_auth_basic_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_auth_basic_module);
ctx               124 http/modules/ngx_http_auth_basic_module.c     if (ctx) {
ctx               125 http/modules/ngx_http_auth_basic_module.c         return ngx_http_auth_basic_crypt_handler(r, ctx, &ctx->passwd,
ctx               285 http/modules/ngx_http_auth_basic_module.c     ngx_http_auth_basic_ctx_t *ctx, ngx_str_t *passwd, ngx_str_t *realm)
ctx               318 http/modules/ngx_http_auth_basic_module.c     if (ctx == NULL) {
ctx               319 http/modules/ngx_http_auth_basic_module.c         ctx = ngx_palloc(r->pool, sizeof(ngx_http_auth_basic_ctx_t));
ctx               320 http/modules/ngx_http_auth_basic_module.c         if (ctx == NULL) {
ctx               324 http/modules/ngx_http_auth_basic_module.c         ngx_http_set_ctx(r, ctx, ngx_http_auth_basic_module);
ctx               326 http/modules/ngx_http_auth_basic_module.c         ctx->passwd.len = passwd->len;
ctx               329 http/modules/ngx_http_auth_basic_module.c         ctx->passwd.data = ngx_pstrdup(r->pool, passwd);
ctx               330 http/modules/ngx_http_auth_basic_module.c         if (ctx->passwd.data == NULL) {
ctx               576 http/modules/ngx_http_autoindex_module.c ngx_http_autoindex_alloc(ngx_http_autoindex_ctx_t *ctx, size_t size)
ctx               580 http/modules/ngx_http_autoindex_module.c     if (ctx->buf) {
ctx               582 http/modules/ngx_http_autoindex_module.c         if ((size_t) (ctx->buf->end - ctx->buf->last) >= size) {
ctx               583 http/modules/ngx_http_autoindex_module.c             return ctx->buf;
ctx               586 http/modules/ngx_http_autoindex_module.c         ctx->size += ctx->buf->last - ctx->buf->pos;
ctx               589 http/modules/ngx_http_autoindex_module.c     ctx->buf = ngx_create_temp_buf(ctx->pool, ctx->alloc_size);
ctx               590 http/modules/ngx_http_autoindex_module.c     if (ctx->buf == NULL) {
ctx               594 http/modules/ngx_http_autoindex_module.c     cl = ngx_alloc_chain_link(ctx->pool);
ctx               599 http/modules/ngx_http_autoindex_module.c     cl->buf = ctx->buf;
ctx               602 http/modules/ngx_http_autoindex_module.c     *ctx->last_out = cl;
ctx               603 http/modules/ngx_http_autoindex_module.c     ctx->last_out = &cl->next;
ctx               605 http/modules/ngx_http_autoindex_module.c     return ctx->buf;
ctx               100 http/modules/ngx_http_charset_filter_module.c     ngx_buf_t *buf, ngx_http_charset_ctx_t *ctx);
ctx               102 http/modules/ngx_http_charset_filter_module.c     ngx_buf_t *buf, ngx_http_charset_ctx_t *ctx);
ctx               105 http/modules/ngx_http_charset_filter_module.c     ngx_http_charset_ctx_t *ctx);
ctx               107 http/modules/ngx_http_charset_filter_module.c     ngx_http_charset_ctx_t *ctx, size_t size);
ctx               384 http/modules/ngx_http_charset_filter_module.c     ngx_http_charset_ctx_t  *ctx;
ctx               386 http/modules/ngx_http_charset_filter_module.c     ctx = ngx_http_get_module_ctx(r->main, ngx_http_charset_filter_module);
ctx               388 http/modules/ngx_http_charset_filter_module.c     if (ctx) {
ctx               389 http/modules/ngx_http_charset_filter_module.c         *src = ctx->charset_name;
ctx               390 http/modules/ngx_http_charset_filter_module.c         return ctx->charset;
ctx               399 http/modules/ngx_http_charset_filter_module.c     ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_charset_ctx_t));
ctx               400 http/modules/ngx_http_charset_filter_module.c     if (ctx == NULL) {
ctx               404 http/modules/ngx_http_charset_filter_module.c     ngx_http_set_ctx(r->main, ctx, ngx_http_charset_filter_module);
ctx               408 http/modules/ngx_http_charset_filter_module.c     ctx->charset = charset;
ctx               409 http/modules/ngx_http_charset_filter_module.c     ctx->charset_name = *main_charset;
ctx               512 http/modules/ngx_http_charset_filter_module.c     ngx_http_charset_ctx_t  *ctx;
ctx               514 http/modules/ngx_http_charset_filter_module.c     ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_charset_ctx_t));
ctx               515 http/modules/ngx_http_charset_filter_module.c     if (ctx == NULL) {
ctx               519 http/modules/ngx_http_charset_filter_module.c     ngx_http_set_ctx(r, ctx, ngx_http_charset_filter_module);
ctx               521 http/modules/ngx_http_charset_filter_module.c     ctx->table = charsets[source_charset].tables[charset];
ctx               522 http/modules/ngx_http_charset_filter_module.c     ctx->charset = charset;
ctx               523 http/modules/ngx_http_charset_filter_module.c     ctx->charset_name = charsets[charset].name;
ctx               524 http/modules/ngx_http_charset_filter_module.c     ctx->length = charsets[charset].length;
ctx               525 http/modules/ngx_http_charset_filter_module.c     ctx->from_utf8 = charsets[source_charset].utf8;
ctx               526 http/modules/ngx_http_charset_filter_module.c     ctx->to_utf8 = charsets[charset].utf8;
ctx               530 http/modules/ngx_http_charset_filter_module.c     if ((ctx->to_utf8 || ctx->from_utf8) && r == r->main) {
ctx               547 http/modules/ngx_http_charset_filter_module.c     ngx_http_charset_ctx_t  *ctx;
ctx               549 http/modules/ngx_http_charset_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_charset_filter_module);
ctx               551 http/modules/ngx_http_charset_filter_module.c     if (ctx == NULL || ctx->table == NULL) {
ctx               555 http/modules/ngx_http_charset_filter_module.c     if ((ctx->to_utf8 || ctx->from_utf8) || ctx->busy) {
ctx               578 http/modules/ngx_http_charset_filter_module.c             if (ctx->to_utf8) {
ctx               579 http/modules/ngx_http_charset_filter_module.c                 *ll = ngx_http_charset_recode_to_utf8(r->pool, b, ctx);
ctx               582 http/modules/ngx_http_charset_filter_module.c                 *ll = ngx_http_charset_recode_from_utf8(r->pool, b, ctx);
ctx               597 http/modules/ngx_http_charset_filter_module.c             if (ctx->busy == NULL) {
ctx               598 http/modules/ngx_http_charset_filter_module.c                 ctx->busy = out;
ctx               601 http/modules/ngx_http_charset_filter_module.c                 for (cl = ctx->busy; cl->next; cl = cl->next) { /* void */ }
ctx               606 http/modules/ngx_http_charset_filter_module.c         while (ctx->busy) {
ctx               608 http/modules/ngx_http_charset_filter_module.c             cl = ctx->busy;
ctx               615 http/modules/ngx_http_charset_filter_module.c             ctx->busy = cl->next;
ctx               626 http/modules/ngx_http_charset_filter_module.c                 cl->next = ctx->free_buffers;
ctx               627 http/modules/ngx_http_charset_filter_module.c                 ctx->free_buffers = cl;
ctx               631 http/modules/ngx_http_charset_filter_module.c             cl->next = ctx->free_bufs;
ctx               632 http/modules/ngx_http_charset_filter_module.c             ctx->free_bufs = cl;
ctx               639 http/modules/ngx_http_charset_filter_module.c         (void) ngx_http_charset_recode(cl->buf, ctx->table);
ctx               681 http/modules/ngx_http_charset_filter_module.c     ngx_http_charset_ctx_t *ctx)
ctx               692 http/modules/ngx_http_charset_filter_module.c     if (ctx->saved_len == 0) {
ctx               703 http/modules/ngx_http_charset_filter_module.c                 out = ngx_http_charset_get_buf(pool, ctx);
ctx               729 http/modules/ngx_http_charset_filter_module.c                     ngx_memcpy(ctx->saved, src, size);
ctx               730 http/modules/ngx_http_charset_filter_module.c                     ctx->saved_len = size;
ctx               747 http/modules/ngx_http_charset_filter_module.c             cl = ngx_http_charset_get_buffer(pool, ctx, size);
ctx               779 http/modules/ngx_http_charset_filter_module.c                    "http charset utf saved: %z", ctx->saved_len);
ctx               783 http/modules/ngx_http_charset_filter_module.c     for (i = ctx->saved_len; i < NGX_UTF_LEN; i++) {
ctx               784 http/modules/ngx_http_charset_filter_module.c         ctx->saved[i] = *p++;
ctx               791 http/modules/ngx_http_charset_filter_module.c     saved = ctx->saved;
ctx               797 http/modules/ngx_http_charset_filter_module.c         table = (u_char **) ctx->table;
ctx               809 http/modules/ngx_http_charset_filter_module.c             out = ngx_http_charset_get_buf(pool, ctx);
ctx               821 http/modules/ngx_http_charset_filter_module.c             ngx_memcpy(&ctx->saved[ctx->saved_len], src, i);
ctx               822 http/modules/ngx_http_charset_filter_module.c             ctx->saved_len += i;
ctx               834 http/modules/ngx_http_charset_filter_module.c     cl = ngx_http_charset_get_buffer(pool, ctx, size);
ctx               853 http/modules/ngx_http_charset_filter_module.c         saved = &ctx->saved[NGX_UTF_LEN];
ctx               865 http/modules/ngx_http_charset_filter_module.c     src += (saved - ctx->saved) - ctx->saved_len;
ctx               866 http/modules/ngx_http_charset_filter_module.c     ctx->saved_len = 0;
ctx               872 http/modules/ngx_http_charset_filter_module.c     table = (u_char **) ctx->table;
ctx               881 http/modules/ngx_http_charset_filter_module.c             cl = ngx_http_charset_get_buffer(pool, ctx, size);
ctx               923 http/modules/ngx_http_charset_filter_module.c             ngx_memcpy(ctx->saved, src, len);
ctx               924 http/modules/ngx_http_charset_filter_module.c             ctx->saved_len = len;
ctx               962 http/modules/ngx_http_charset_filter_module.c     ngx_http_charset_ctx_t *ctx)
ctx               969 http/modules/ngx_http_charset_filter_module.c     table = ctx->table;
ctx               999 http/modules/ngx_http_charset_filter_module.c         out = ngx_http_charset_get_buf(pool, ctx);
ctx              1018 http/modules/ngx_http_charset_filter_module.c         size = size / 2 + size / 2 * ctx->length;
ctx              1024 http/modules/ngx_http_charset_filter_module.c         size = len + size / 2 + size / 2 * ctx->length;
ctx              1029 http/modules/ngx_http_charset_filter_module.c     cl = ngx_http_charset_get_buffer(pool, ctx, size);
ctx              1055 http/modules/ngx_http_charset_filter_module.c             size = len + size / 2 + size / 2 * ctx->length;
ctx              1057 http/modules/ngx_http_charset_filter_module.c             cl = ngx_http_charset_get_buffer(pool, ctx, size);
ctx              1088 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_get_buf(ngx_pool_t *pool, ngx_http_charset_ctx_t *ctx)
ctx              1092 http/modules/ngx_http_charset_filter_module.c     cl = ctx->free_bufs;
ctx              1095 http/modules/ngx_http_charset_filter_module.c         ctx->free_bufs = cl->next;
ctx              1122 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_get_buffer(ngx_pool_t *pool, ngx_http_charset_ctx_t *ctx,
ctx              1128 http/modules/ngx_http_charset_filter_module.c     for (ll = &ctx->free_buffers, cl = ctx->free_buffers;
ctx              1178 http/modules/ngx_http_charset_filter_module.c     ngx_http_charset_conf_ctx_t   ctx;
ctx              1275 http/modules/ngx_http_charset_filter_module.c     ctx.table = table;
ctx              1276 http/modules/ngx_http_charset_filter_module.c     ctx.charset = &charset[dst];
ctx              1277 http/modules/ngx_http_charset_filter_module.c     ctx.characters = 0;
ctx              1280 http/modules/ngx_http_charset_filter_module.c     cf->ctx = &ctx;
ctx              1288 http/modules/ngx_http_charset_filter_module.c     if (ctx.characters) {
ctx              1289 http/modules/ngx_http_charset_filter_module.c         n = ctx.charset->length;
ctx              1290 http/modules/ngx_http_charset_filter_module.c         ctx.charset->length /= ctx.characters;
ctx              1292 http/modules/ngx_http_charset_filter_module.c         if (((n * 10) / ctx.characters) % 10 > 4) {
ctx              1293 http/modules/ngx_http_charset_filter_module.c             ctx.charset->length++;
ctx              1310 http/modules/ngx_http_charset_filter_module.c     ngx_http_charset_conf_ctx_t  *ctx;
ctx              1326 http/modules/ngx_http_charset_filter_module.c     ctx = cf->ctx;
ctx              1327 http/modules/ngx_http_charset_filter_module.c     table = ctx->table;
ctx              1329 http/modules/ngx_http_charset_filter_module.c     if (ctx->charset->utf8) {
ctx              1347 http/modules/ngx_http_charset_filter_module.c         ctx->charset->length += i;
ctx              1348 http/modules/ngx_http_charset_filter_module.c         ctx->characters++;
ctx                43 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_delete_dir(ngx_tree_ctx_t *ctx, ngx_str_t *path);
ctx                44 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_delete_file(ngx_tree_ctx_t *ctx, ngx_str_t *path);
ctx                45 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_noop(ngx_tree_ctx_t *ctx, ngx_str_t *path);
ctx                51 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_copy_dir(ngx_tree_ctx_t *ctx, ngx_str_t *path);
ctx                52 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_copy_dir_time(ngx_tree_ctx_t *ctx,
ctx                54 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_copy_tree_file(ngx_tree_ctx_t *ctx,
ctx               425 http/modules/ngx_http_dav_module.c ngx_http_dav_delete_dir(ngx_tree_ctx_t *ctx, ngx_str_t *path)
ctx               427 http/modules/ngx_http_dav_module.c     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
ctx               434 http/modules/ngx_http_dav_module.c         (void) ngx_http_dav_error(ctx->log, ngx_errno, 0, ngx_delete_dir_n,
ctx               443 http/modules/ngx_http_dav_module.c ngx_http_dav_delete_file(ngx_tree_ctx_t *ctx, ngx_str_t *path)
ctx               445 http/modules/ngx_http_dav_module.c     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
ctx               452 http/modules/ngx_http_dav_module.c         (void) ngx_http_dav_error(ctx->log, ngx_errno, 0, ngx_delete_file_n,
ctx               461 http/modules/ngx_http_dav_module.c ngx_http_dav_noop(ngx_tree_ctx_t *ctx, ngx_str_t *path)
ctx               831 http/modules/ngx_http_dav_module.c ngx_http_dav_copy_dir(ngx_tree_ctx_t *ctx, ngx_str_t *path)
ctx               837 http/modules/ngx_http_dav_module.c     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
ctx               840 http/modules/ngx_http_dav_module.c     copy = ctx->data;
ctx               844 http/modules/ngx_http_dav_module.c     dir = ngx_alloc(len + 1, ctx->log);
ctx               852 http/modules/ngx_http_dav_module.c     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
ctx               855 http/modules/ngx_http_dav_module.c     if (ngx_create_dir(dir, ngx_dir_access(ctx->access)) == NGX_FILE_ERROR) {
ctx               856 http/modules/ngx_http_dav_module.c         (void) ngx_http_dav_error(ctx->log, ngx_errno, 0, ngx_create_dir_n,
ctx               867 http/modules/ngx_http_dav_module.c ngx_http_dav_copy_dir_time(ngx_tree_ctx_t *ctx, ngx_str_t *path)
ctx               873 http/modules/ngx_http_dav_module.c     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
ctx               876 http/modules/ngx_http_dav_module.c     copy = ctx->data;
ctx               880 http/modules/ngx_http_dav_module.c     dir = ngx_alloc(len + 1, ctx->log);
ctx               888 http/modules/ngx_http_dav_module.c     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
ctx               898 http/modules/ngx_http_dav_module.c         (void) ngx_http_dav_error(ctx->log, ngx_errno, 0, ngx_open_file_n, dir);
ctx               902 http/modules/ngx_http_dav_module.c     if (ngx_set_file_time(NULL, fd, ctx->mtime) != NGX_OK) {
ctx               903 http/modules/ngx_http_dav_module.c         ngx_log_error(NGX_LOG_ALERT, ctx->log, ngx_errno,
ctx               908 http/modules/ngx_http_dav_module.c         ngx_log_error(NGX_LOG_ALERT, ctx->log, ngx_errno,
ctx               917 http/modules/ngx_http_dav_module.c     if (ngx_set_file_time(dir, 0, ctx->mtime) != NGX_OK) {
ctx               918 http/modules/ngx_http_dav_module.c         ngx_log_error(NGX_LOG_ALERT, ctx->log, ngx_errno,
ctx               931 http/modules/ngx_http_dav_module.c ngx_http_dav_copy_tree_file(ngx_tree_ctx_t *ctx, ngx_str_t *path)
ctx               938 http/modules/ngx_http_dav_module.c     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
ctx               941 http/modules/ngx_http_dav_module.c     copy = ctx->data;
ctx               945 http/modules/ngx_http_dav_module.c     file = ngx_alloc(len + 1, ctx->log);
ctx               953 http/modules/ngx_http_dav_module.c     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
ctx               956 http/modules/ngx_http_dav_module.c     cf.size = ctx->size;
ctx               958 http/modules/ngx_http_dav_module.c     cf.access = ctx->access;
ctx               959 http/modules/ngx_http_dav_module.c     cf.time = ctx->mtime;
ctx               960 http/modules/ngx_http_dav_module.c     cf.log = ctx->log;
ctx                69 http/modules/ngx_http_geo_module.c     ngx_http_geo_ctx_t *ctx);
ctx                71 http/modules/ngx_http_geo_module.c     ngx_http_geo_ctx_t *ctx);
ctx                74 http/modules/ngx_http_geo_module.c static char *ngx_http_geo_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx                77 http/modules/ngx_http_geo_module.c     ngx_http_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end);
ctx                79 http/modules/ngx_http_geo_module.c     ngx_http_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end);
ctx                80 http/modules/ngx_http_geo_module.c static char *ngx_http_geo_cidr(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx                83 http/modules/ngx_http_geo_module.c     ngx_http_geo_conf_ctx_t *ctx, ngx_str_t *value);
ctx                85 http/modules/ngx_http_geo_module.c     ngx_http_geo_conf_ctx_t *ctx, ngx_cidr_t *cidr);
ctx                88 http/modules/ngx_http_geo_module.c static char *ngx_http_geo_include(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx                91 http/modules/ngx_http_geo_module.c     ngx_http_geo_conf_ctx_t *ctx, ngx_str_t *name);
ctx                92 http/modules/ngx_http_geo_module.c static void ngx_http_geo_create_binary_base(ngx_http_geo_conf_ctx_t *ctx);
ctx               161 http/modules/ngx_http_geo_module.c     ngx_http_geo_ctx_t *ctx = (ngx_http_geo_ctx_t *) data;
ctx               166 http/modules/ngx_http_geo_module.c               ngx_radix32tree_find(ctx->u.tree, ngx_http_geo_addr(r, ctx));
ctx               181 http/modules/ngx_http_geo_module.c     ngx_http_geo_ctx_t *ctx = (ngx_http_geo_ctx_t *) data;
ctx               187 http/modules/ngx_http_geo_module.c     *v = *ctx->u.high.default_value;
ctx               189 http/modules/ngx_http_geo_module.c     addr = ngx_http_geo_addr(r, ctx);
ctx               191 http/modules/ngx_http_geo_module.c     range = ctx->u.high.low[addr >> 16];
ctx               212 http/modules/ngx_http_geo_module.c ngx_http_geo_addr(ngx_http_request_t *r, ngx_http_geo_ctx_t *ctx)
ctx               221 http/modules/ngx_http_geo_module.c     addr = ngx_http_geo_real_addr(r, ctx);
ctx               225 http/modules/ngx_http_geo_module.c     if (xfwd == NULL || ctx->proxies == NULL) {
ctx               229 http/modules/ngx_http_geo_module.c     proxies = ctx->proxies->elts;
ctx               230 http/modules/ngx_http_geo_module.c     n = ctx->proxies->nelts;
ctx               256 http/modules/ngx_http_geo_module.c ngx_http_geo_real_addr(ngx_http_request_t *r, ngx_http_geo_ctx_t *ctx)
ctx               261 http/modules/ngx_http_geo_module.c     if (ctx->index == -1) {
ctx               273 http/modules/ngx_http_geo_module.c     v = ngx_http_get_flushed_variable(r, ctx->index);
ctx               302 http/modules/ngx_http_geo_module.c     ngx_http_geo_conf_ctx_t   ctx;
ctx               340 http/modules/ngx_http_geo_module.c     ngx_memzero(&ctx, sizeof(ngx_http_geo_conf_ctx_t));
ctx               342 http/modules/ngx_http_geo_module.c     ctx.temp_pool = ngx_create_pool(16384, cf->log);
ctx               343 http/modules/ngx_http_geo_module.c     if (ctx.temp_pool == NULL) {
ctx               347 http/modules/ngx_http_geo_module.c     ngx_rbtree_init(&ctx.rbtree, &ctx.sentinel, ngx_str_rbtree_insert_value);
ctx               349 http/modules/ngx_http_geo_module.c     ctx.pool = cf->pool;
ctx               350 http/modules/ngx_http_geo_module.c     ctx.data_size = sizeof(ngx_http_geo_header_t)
ctx               353 http/modules/ngx_http_geo_module.c     ctx.allow_binary_include = 1;
ctx               357 http/modules/ngx_http_geo_module.c     cf->ctx = &ctx;
ctx               365 http/modules/ngx_http_geo_module.c     geo->proxies = ctx.proxies;
ctx               367 http/modules/ngx_http_geo_module.c     if (ctx.high.low) {
ctx               369 http/modules/ngx_http_geo_module.c         if (!ctx.binary_include) {
ctx               371 http/modules/ngx_http_geo_module.c                 a = (ngx_array_t *) ctx.high.low[i];
ctx               379 http/modules/ngx_http_geo_module.c                 ctx.high.low[i] = ngx_palloc(cf->pool, len + sizeof(void *));
ctx               380 http/modules/ngx_http_geo_module.c                 if (ctx.high.low[i] == NULL) {
ctx               384 http/modules/ngx_http_geo_module.c                 p = (void **) ngx_cpymem(ctx.high.low[i], a->elts, len);
ctx               386 http/modules/ngx_http_geo_module.c                 ctx.data_size += len + sizeof(void *);
ctx               389 http/modules/ngx_http_geo_module.c             if (ctx.allow_binary_include
ctx               390 http/modules/ngx_http_geo_module.c                 && !ctx.outside_entries
ctx               391 http/modules/ngx_http_geo_module.c                 && ctx.entries > 100000
ctx               392 http/modules/ngx_http_geo_module.c                 && ctx.includes == 1)
ctx               394 http/modules/ngx_http_geo_module.c                 ngx_http_geo_create_binary_base(&ctx);
ctx               398 http/modules/ngx_http_geo_module.c         geo->u.high = ctx.high;
ctx               403 http/modules/ngx_http_geo_module.c         if (ctx.high.default_value == NULL) {
ctx               404 http/modules/ngx_http_geo_module.c             ctx.high.default_value = &ngx_http_variable_null_value;
ctx               407 http/modules/ngx_http_geo_module.c         ngx_destroy_pool(ctx.temp_pool);
ctx               411 http/modules/ngx_http_geo_module.c         if (ctx.tree == NULL) {
ctx               412 http/modules/ngx_http_geo_module.c             ctx.tree = ngx_radix_tree_create(cf->pool, -1);
ctx               413 http/modules/ngx_http_geo_module.c             if (ctx.tree == NULL) {
ctx               418 http/modules/ngx_http_geo_module.c         geo->u.tree = ctx.tree;
ctx               423 http/modules/ngx_http_geo_module.c         ngx_destroy_pool(ctx.temp_pool);
ctx               426 http/modules/ngx_http_geo_module.c         if (ngx_radix32tree_find(ctx.tree, 0) != NGX_RADIX_NO_VALUE) {
ctx               430 http/modules/ngx_http_geo_module.c         if (ngx_radix32tree_insert(ctx.tree, 0, 0,
ctx               448 http/modules/ngx_http_geo_module.c     ngx_http_geo_conf_ctx_t  *ctx;
ctx               450 http/modules/ngx_http_geo_module.c     ctx = cf->ctx;
ctx               458 http/modules/ngx_http_geo_module.c             if (ctx->tree) {
ctx               465 http/modules/ngx_http_geo_module.c             ctx->ranges = 1;
ctx               481 http/modules/ngx_http_geo_module.c         rv = ngx_http_geo_include(cf, ctx, &value[1]);
ctx               491 http/modules/ngx_http_geo_module.c         rv = ngx_http_geo_add_proxy(cf, ctx, &cidr);
ctx               496 http/modules/ngx_http_geo_module.c     if (ctx->ranges) {
ctx               497 http/modules/ngx_http_geo_module.c         rv = ngx_http_geo_range(cf, ctx, value);
ctx               500 http/modules/ngx_http_geo_module.c         rv = ngx_http_geo_cidr(cf, ctx, value);
ctx               518 http/modules/ngx_http_geo_module.c ngx_http_geo_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx               528 http/modules/ngx_http_geo_module.c         if (ctx->high.default_value) {
ctx               531 http/modules/ngx_http_geo_module.c                 &value[1], ctx->high.default_value);
ctx               534 http/modules/ngx_http_geo_module.c         ctx->high.default_value = ngx_http_geo_value(cf, ctx, &value[1]);
ctx               535 http/modules/ngx_http_geo_module.c         if (ctx->high.default_value == NULL) {
ctx               542 http/modules/ngx_http_geo_module.c     if (ctx->binary_include) {
ctx               545 http/modules/ngx_http_geo_module.c             ctx->include_name.data);
ctx               549 http/modules/ngx_http_geo_module.c     if (ctx->high.low == NULL) {
ctx               550 http/modules/ngx_http_geo_module.c         ctx->high.low = ngx_pcalloc(ctx->pool,
ctx               552 http/modules/ngx_http_geo_module.c         if (ctx->high.low == NULL) {
ctx               557 http/modules/ngx_http_geo_module.c     ctx->entries++;
ctx               558 http/modules/ngx_http_geo_module.c     ctx->outside_entries = 1;
ctx               600 http/modules/ngx_http_geo_module.c         if (ngx_http_geo_delete_range(cf, ctx, start, end)) {
ctx               608 http/modules/ngx_http_geo_module.c     ctx->value = ngx_http_geo_value(cf, ctx, &value[1]);
ctx               610 http/modules/ngx_http_geo_module.c     if (ctx->value == NULL) {
ctx               614 http/modules/ngx_http_geo_module.c     ctx->net = net;
ctx               616 http/modules/ngx_http_geo_module.c     return ngx_http_geo_add_range(cf, ctx, start, end);
ctx               629 http/modules/ngx_http_geo_module.c ngx_http_geo_add_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx               654 http/modules/ngx_http_geo_module.c         a = (ngx_array_t *) ctx->high.low[h];
ctx               657 http/modules/ngx_http_geo_module.c             a = ngx_array_create(ctx->temp_pool, 64,
ctx               663 http/modules/ngx_http_geo_module.c             ctx->high.low[h] = (ngx_http_geo_range_t *) a;
ctx               693 http/modules/ngx_http_geo_module.c                 range[i + 1].value = ctx->value;
ctx               703 http/modules/ngx_http_geo_module.c                     ctx->net, ctx->value, range[i].value);
ctx               705 http/modules/ngx_http_geo_module.c                 range[i].value = ctx->value;
ctx               736 http/modules/ngx_http_geo_module.c                 range[i + 1].value = ctx->value;
ctx               762 http/modules/ngx_http_geo_module.c                 range[i].value = ctx->value;
ctx               784 http/modules/ngx_http_geo_module.c                 range[i + 1].value = ctx->value;
ctx               796 http/modules/ngx_http_geo_module.c                          ctx->net,
ctx               812 http/modules/ngx_http_geo_module.c         range->value = ctx->value;
ctx               824 http/modules/ngx_http_geo_module.c ngx_http_geo_delete_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx               851 http/modules/ngx_http_geo_module.c         a = (ngx_array_t *) ctx->high.low[h];
ctx               887 http/modules/ngx_http_geo_module.c ngx_http_geo_cidr(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx               896 http/modules/ngx_http_geo_module.c     if (ctx->tree == NULL) {
ctx               897 http/modules/ngx_http_geo_module.c         ctx->tree = ngx_radix_tree_create(ctx->pool, -1);
ctx               898 http/modules/ngx_http_geo_module.c         if (ctx->tree == NULL) {
ctx               923 http/modules/ngx_http_geo_module.c             if (ngx_radix32tree_delete(ctx->tree, cidr.u.in.addr,
ctx               935 http/modules/ngx_http_geo_module.c     val = ngx_http_geo_value(cf, ctx, &value[1]);
ctx               942 http/modules/ngx_http_geo_module.c         rc = ngx_radix32tree_insert(ctx->tree, cidr.u.in.addr, cidr.u.in.mask,
ctx               955 http/modules/ngx_http_geo_module.c               ngx_radix32tree_find(ctx->tree, cidr.u.in.addr & cidr.u.in.mask);
ctx               961 http/modules/ngx_http_geo_module.c         rc = ngx_radix32tree_delete(ctx->tree, cidr.u.in.addr, cidr.u.in.mask);
ctx               974 http/modules/ngx_http_geo_module.c ngx_http_geo_value(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx               984 http/modules/ngx_http_geo_module.c                ngx_str_rbtree_lookup(&ctx->rbtree, value, hash);
ctx               990 http/modules/ngx_http_geo_module.c     val = ngx_palloc(ctx->pool, sizeof(ngx_http_variable_value_t));
ctx               996 http/modules/ngx_http_geo_module.c     val->data = ngx_pstrdup(ctx->pool, value);
ctx              1005 http/modules/ngx_http_geo_module.c     gvvn = ngx_palloc(ctx->temp_pool,
ctx              1017 http/modules/ngx_http_geo_module.c     ngx_rbtree_insert(&ctx->rbtree, &gvvn->sn.node);
ctx              1019 http/modules/ngx_http_geo_module.c     ctx->data_size += ngx_align(sizeof(ngx_http_variable_value_t) + value->len,
ctx              1027 http/modules/ngx_http_geo_module.c ngx_http_geo_add_proxy(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx              1032 http/modules/ngx_http_geo_module.c     if (ctx->proxies == NULL) {
ctx              1033 http/modules/ngx_http_geo_module.c         ctx->proxies = ngx_array_create(ctx->pool, 4, sizeof(ngx_in_cidr_t));
ctx              1034 http/modules/ngx_http_geo_module.c         if (ctx->proxies == NULL) {
ctx              1039 http/modules/ngx_http_geo_module.c     c = ngx_array_push(ctx->proxies);
ctx              1088 http/modules/ngx_http_geo_module.c ngx_http_geo_include(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx              1095 http/modules/ngx_http_geo_module.c     file.data = ngx_pnalloc(ctx->temp_pool, name->len + 5);
ctx              1106 http/modules/ngx_http_geo_module.c     if (ctx->ranges) {
ctx              1109 http/modules/ngx_http_geo_module.c         switch (ngx_http_geo_include_binary_base(cf, ctx, &file)) {
ctx              1122 http/modules/ngx_http_geo_module.c     ctx->include_name = file;
ctx              1124 http/modules/ngx_http_geo_module.c     if (ctx->outside_entries) {
ctx              1125 http/modules/ngx_http_geo_module.c         ctx->allow_binary_include = 0;
ctx              1132 http/modules/ngx_http_geo_module.c     ctx->includes++;
ctx              1133 http/modules/ngx_http_geo_module.c     ctx->outside_entries = 0;
ctx              1140 http/modules/ngx_http_geo_module.c ngx_http_geo_include_binary_base(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
ctx              1171 http/modules/ngx_http_geo_module.c     if (ctx->outside_entries) {
ctx              1179 http/modules/ngx_http_geo_module.c     if (ctx->binary_include) {
ctx              1182 http/modules/ngx_http_geo_module.c             name->data, ctx->include_name.data);
ctx              1213 http/modules/ngx_http_geo_module.c     base = ngx_palloc(ctx->pool, size);
ctx              1290 http/modules/ngx_http_geo_module.c     ctx->include_name = *name;
ctx              1291 http/modules/ngx_http_geo_module.c     ctx->binary_include = 1;
ctx              1292 http/modules/ngx_http_geo_module.c     ctx->high.low = ranges;
ctx              1313 http/modules/ngx_http_geo_module.c ngx_http_geo_create_binary_base(ngx_http_geo_conf_ctx_t *ctx)
ctx              1324 http/modules/ngx_http_geo_module.c     fm.name = ngx_pnalloc(ctx->temp_pool, ctx->include_name.len + 5);
ctx              1329 http/modules/ngx_http_geo_module.c     ngx_sprintf(fm.name, "%V.bin%Z", &ctx->include_name);
ctx              1331 http/modules/ngx_http_geo_module.c     fm.size = ctx->data_size;
ctx              1332 http/modules/ngx_http_geo_module.c     fm.log = ctx->pool->log;
ctx              1344 http/modules/ngx_http_geo_module.c     p = ngx_http_geo_copy_values(fm.addr, p, ctx->rbtree.root,
ctx              1345 http/modules/ngx_http_geo_module.c                                  ctx->rbtree.sentinel);
ctx              1354 http/modules/ngx_http_geo_module.c         r = ctx->high.low[i];
ctx              1367 http/modules/ngx_http_geo_module.c                         ngx_str_rbtree_lookup(&ctx->rbtree, &s, hash);
ctx                87 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx);
ctx                88 http/modules/ngx_http_gzip_filter_module.c static ngx_int_t ngx_http_gzip_filter_buffer(ngx_http_gzip_ctx_t *ctx,
ctx                91 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx);
ctx                93 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx);
ctx                95 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx);
ctx                97 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx);
ctx                99 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx);
ctx               101 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx);
ctx               107 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx);
ctx               240 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t   *ctx;
ctx               282 http/modules/ngx_http_gzip_filter_module.c     ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_gzip_ctx_t));
ctx               283 http/modules/ngx_http_gzip_filter_module.c     if (ctx == NULL) {
ctx               287 http/modules/ngx_http_gzip_filter_module.c     ngx_http_set_ctx(r, ctx, ngx_http_gzip_filter_module);
ctx               289 http/modules/ngx_http_gzip_filter_module.c     ctx->request = r;
ctx               290 http/modules/ngx_http_gzip_filter_module.c     ctx->buffering = (conf->postpone_gzipping != 0);
ctx               292 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_filter_memory(r, ctx);
ctx               318 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t  *ctx;
ctx               320 http/modules/ngx_http_gzip_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_gzip_filter_module);
ctx               322 http/modules/ngx_http_gzip_filter_module.c     if (ctx == NULL || ctx->done) {
ctx               329 http/modules/ngx_http_gzip_filter_module.c     if (ctx->buffering) {
ctx               341 http/modules/ngx_http_gzip_filter_module.c             switch (ngx_http_gzip_filter_buffer(ctx, in)) {
ctx               355 http/modules/ngx_http_gzip_filter_module.c             ctx->buffering = 0;
ctx               359 http/modules/ngx_http_gzip_filter_module.c     if (ctx->preallocated == NULL) {
ctx               360 http/modules/ngx_http_gzip_filter_module.c         if (ngx_http_gzip_filter_deflate_start(r, ctx) != NGX_OK) {
ctx               366 http/modules/ngx_http_gzip_filter_module.c         if (ngx_chain_add_copy(r->pool, &ctx->in, in) != NGX_OK) {
ctx               371 http/modules/ngx_http_gzip_filter_module.c     if (ctx->nomem) {
ctx               381 http/modules/ngx_http_gzip_filter_module.c         ngx_chain_update_chains(&ctx->free, &ctx->busy, &cl,
ctx               383 http/modules/ngx_http_gzip_filter_module.c         ctx->nomem = 0;
ctx               394 http/modules/ngx_http_gzip_filter_module.c             rc = ngx_http_gzip_filter_add_data(r, ctx);
ctx               407 http/modules/ngx_http_gzip_filter_module.c             rc = ngx_http_gzip_filter_get_buf(r, ctx);
ctx               418 http/modules/ngx_http_gzip_filter_module.c             rc = ngx_http_gzip_filter_deflate(r, ctx);
ctx               431 http/modules/ngx_http_gzip_filter_module.c         if (ctx->out == NULL) {
ctx               432 http/modules/ngx_http_gzip_filter_module.c             ngx_http_gzip_filter_free_copy_buf(r, ctx);
ctx               434 http/modules/ngx_http_gzip_filter_module.c             return ctx->busy ? NGX_AGAIN : NGX_OK;
ctx               437 http/modules/ngx_http_gzip_filter_module.c         if (!ctx->gzheader) {
ctx               438 http/modules/ngx_http_gzip_filter_module.c             if (ngx_http_gzip_filter_gzheader(r, ctx) != NGX_OK) {
ctx               443 http/modules/ngx_http_gzip_filter_module.c         rc = ngx_http_next_body_filter(r, ctx->out);
ctx               449 http/modules/ngx_http_gzip_filter_module.c         ngx_http_gzip_filter_free_copy_buf(r, ctx);
ctx               451 http/modules/ngx_http_gzip_filter_module.c         ngx_chain_update_chains(&ctx->free, &ctx->busy, &ctx->out,
ctx               453 http/modules/ngx_http_gzip_filter_module.c         ctx->last_out = &ctx->out;
ctx               455 http/modules/ngx_http_gzip_filter_module.c         ctx->nomem = 0;
ctx               457 http/modules/ngx_http_gzip_filter_module.c         if (ctx->done) {
ctx               466 http/modules/ngx_http_gzip_filter_module.c     ctx->done = 1;
ctx               468 http/modules/ngx_http_gzip_filter_module.c     if (ctx->preallocated) {
ctx               469 http/modules/ngx_http_gzip_filter_module.c         deflateEnd(&ctx->zstream);
ctx               471 http/modules/ngx_http_gzip_filter_module.c         ngx_pfree(r->pool, ctx->preallocated);
ctx               474 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_filter_free_copy_buf(r, ctx);
ctx               481 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_filter_memory(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx)
ctx               501 http/modules/ngx_http_gzip_filter_module.c     ctx->wbits = wbits;
ctx               502 http/modules/ngx_http_gzip_filter_module.c     ctx->memlevel = memlevel;
ctx               516 http/modules/ngx_http_gzip_filter_module.c     ctx->allocated = 8192 + (1 << (wbits + 2)) + (1 << (memlevel + 9));
ctx               521 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_filter_buffer(ngx_http_gzip_ctx_t *ctx, ngx_chain_t *in)
ctx               529 http/modules/ngx_http_gzip_filter_module.c     r = ctx->request;
ctx               534 http/modules/ngx_http_gzip_filter_module.c     ll = &ctx->in;
ctx               536 http/modules/ngx_http_gzip_filter_module.c     for (cl = ctx->in; cl; cl = cl->next) {
ctx               555 http/modules/ngx_http_gzip_filter_module.c             ctx->buffering = 0;
ctx               558 http/modules/ngx_http_gzip_filter_module.c         if (ctx->buffering && size) {
ctx               584 http/modules/ngx_http_gzip_filter_module.c     return ctx->buffering ? NGX_OK : NGX_DONE;
ctx               590 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx)
ctx               597 http/modules/ngx_http_gzip_filter_module.c     ctx->preallocated = ngx_palloc(r->pool, ctx->allocated);
ctx               598 http/modules/ngx_http_gzip_filter_module.c     if (ctx->preallocated == NULL) {
ctx               602 http/modules/ngx_http_gzip_filter_module.c     ctx->free_mem = ctx->preallocated;
ctx               604 http/modules/ngx_http_gzip_filter_module.c     ctx->zstream.zalloc = ngx_http_gzip_filter_alloc;
ctx               605 http/modules/ngx_http_gzip_filter_module.c     ctx->zstream.zfree = ngx_http_gzip_filter_free;
ctx               606 http/modules/ngx_http_gzip_filter_module.c     ctx->zstream.opaque = ctx;
ctx               608 http/modules/ngx_http_gzip_filter_module.c     rc = deflateInit2(&ctx->zstream, (int) conf->level, Z_DEFLATED,
ctx               609 http/modules/ngx_http_gzip_filter_module.c                       - ctx->wbits, ctx->memlevel, Z_DEFAULT_STRATEGY);
ctx               617 http/modules/ngx_http_gzip_filter_module.c     ctx->last_out = &ctx->out;
ctx               618 http/modules/ngx_http_gzip_filter_module.c     ctx->crc32 = crc32(0L, Z_NULL, 0);
ctx               619 http/modules/ngx_http_gzip_filter_module.c     ctx->flush = Z_NO_FLUSH;
ctx               626 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_filter_gzheader(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx)
ctx               648 http/modules/ngx_http_gzip_filter_module.c     cl->next = ctx->out;
ctx               649 http/modules/ngx_http_gzip_filter_module.c     ctx->out = cl;
ctx               651 http/modules/ngx_http_gzip_filter_module.c     ctx->gzheader = 1;
ctx               658 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_filter_add_data(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx)
ctx               660 http/modules/ngx_http_gzip_filter_module.c     if (ctx->zstream.avail_in || ctx->flush != Z_NO_FLUSH || ctx->redo) {
ctx               665 http/modules/ngx_http_gzip_filter_module.c                    "gzip in: %p", ctx->in);
ctx               667 http/modules/ngx_http_gzip_filter_module.c     if (ctx->in == NULL) {
ctx               671 http/modules/ngx_http_gzip_filter_module.c     if (ctx->copy_buf) {
ctx               678 http/modules/ngx_http_gzip_filter_module.c         ctx->copy_buf->next = ctx->copied;
ctx               679 http/modules/ngx_http_gzip_filter_module.c         ctx->copied = ctx->copy_buf;
ctx               680 http/modules/ngx_http_gzip_filter_module.c         ctx->copy_buf = NULL;
ctx               683 http/modules/ngx_http_gzip_filter_module.c     ctx->in_buf = ctx->in->buf;
ctx               685 http/modules/ngx_http_gzip_filter_module.c     if (ctx->in_buf->tag == (ngx_buf_tag_t) &ngx_http_gzip_filter_module) {
ctx               686 http/modules/ngx_http_gzip_filter_module.c         ctx->copy_buf = ctx->in;
ctx               689 http/modules/ngx_http_gzip_filter_module.c     ctx->in = ctx->in->next;
ctx               691 http/modules/ngx_http_gzip_filter_module.c     ctx->zstream.next_in = ctx->in_buf->pos;
ctx               692 http/modules/ngx_http_gzip_filter_module.c     ctx->zstream.avail_in = ctx->in_buf->last - ctx->in_buf->pos;
ctx               696 http/modules/ngx_http_gzip_filter_module.c                    ctx->in_buf,
ctx               697 http/modules/ngx_http_gzip_filter_module.c                    ctx->zstream.next_in, ctx->zstream.avail_in);
ctx               699 http/modules/ngx_http_gzip_filter_module.c     if (ctx->in_buf->last_buf) {
ctx               700 http/modules/ngx_http_gzip_filter_module.c         ctx->flush = Z_FINISH;
ctx               702 http/modules/ngx_http_gzip_filter_module.c     } else if (ctx->in_buf->flush) {
ctx               703 http/modules/ngx_http_gzip_filter_module.c         ctx->flush = Z_SYNC_FLUSH;
ctx               706 http/modules/ngx_http_gzip_filter_module.c     if (ctx->zstream.avail_in) {
ctx               708 http/modules/ngx_http_gzip_filter_module.c         ctx->crc32 = crc32(ctx->crc32, ctx->zstream.next_in,
ctx               709 http/modules/ngx_http_gzip_filter_module.c                            ctx->zstream.avail_in);
ctx               711 http/modules/ngx_http_gzip_filter_module.c     } else if (ctx->flush == Z_NO_FLUSH) {
ctx               720 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_filter_get_buf(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx)
ctx               724 http/modules/ngx_http_gzip_filter_module.c     if (ctx->zstream.avail_out) {
ctx               730 http/modules/ngx_http_gzip_filter_module.c     if (ctx->free) {
ctx               731 http/modules/ngx_http_gzip_filter_module.c         ctx->out_buf = ctx->free->buf;
ctx               732 http/modules/ngx_http_gzip_filter_module.c         ctx->free = ctx->free->next;
ctx               734 http/modules/ngx_http_gzip_filter_module.c     } else if (ctx->bufs < conf->bufs.num) {
ctx               736 http/modules/ngx_http_gzip_filter_module.c         ctx->out_buf = ngx_create_temp_buf(r->pool, conf->bufs.size);
ctx               737 http/modules/ngx_http_gzip_filter_module.c         if (ctx->out_buf == NULL) {
ctx               741 http/modules/ngx_http_gzip_filter_module.c         ctx->out_buf->tag = (ngx_buf_tag_t) &ngx_http_gzip_filter_module;
ctx               742 http/modules/ngx_http_gzip_filter_module.c         ctx->out_buf->recycled = 1;
ctx               743 http/modules/ngx_http_gzip_filter_module.c         ctx->bufs++;
ctx               746 http/modules/ngx_http_gzip_filter_module.c         ctx->nomem = 1;
ctx               750 http/modules/ngx_http_gzip_filter_module.c     ctx->zstream.next_out = ctx->out_buf->pos;
ctx               751 http/modules/ngx_http_gzip_filter_module.c     ctx->zstream.avail_out = conf->bufs.size;
ctx               758 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_filter_deflate(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx)
ctx               766 http/modules/ngx_http_gzip_filter_module.c                  ctx->zstream.next_in, ctx->zstream.next_out,
ctx               767 http/modules/ngx_http_gzip_filter_module.c                  ctx->zstream.avail_in, ctx->zstream.avail_out,
ctx               768 http/modules/ngx_http_gzip_filter_module.c                  ctx->flush, ctx->redo);
ctx               770 http/modules/ngx_http_gzip_filter_module.c     rc = deflate(&ctx->zstream, ctx->flush);
ctx               774 http/modules/ngx_http_gzip_filter_module.c                       "deflate() failed: %d, %d", ctx->flush, rc);
ctx               780 http/modules/ngx_http_gzip_filter_module.c                    ctx->zstream.next_in, ctx->zstream.next_out,
ctx               781 http/modules/ngx_http_gzip_filter_module.c                    ctx->zstream.avail_in, ctx->zstream.avail_out,
ctx               786 http/modules/ngx_http_gzip_filter_module.c                    ctx->in_buf, ctx->in_buf->pos);
ctx               788 http/modules/ngx_http_gzip_filter_module.c     if (ctx->zstream.next_in) {
ctx               789 http/modules/ngx_http_gzip_filter_module.c         ctx->in_buf->pos = ctx->zstream.next_in;
ctx               791 http/modules/ngx_http_gzip_filter_module.c         if (ctx->zstream.avail_in == 0) {
ctx               792 http/modules/ngx_http_gzip_filter_module.c             ctx->zstream.next_in = NULL;
ctx               796 http/modules/ngx_http_gzip_filter_module.c     ctx->out_buf->last = ctx->zstream.next_out;
ctx               798 http/modules/ngx_http_gzip_filter_module.c     if (ctx->zstream.avail_out == 0) {
ctx               807 http/modules/ngx_http_gzip_filter_module.c         cl->buf = ctx->out_buf;
ctx               809 http/modules/ngx_http_gzip_filter_module.c         *ctx->last_out = cl;
ctx               810 http/modules/ngx_http_gzip_filter_module.c         ctx->last_out = &cl->next;
ctx               812 http/modules/ngx_http_gzip_filter_module.c         ctx->redo = 1;
ctx               817 http/modules/ngx_http_gzip_filter_module.c     ctx->redo = 0;
ctx               819 http/modules/ngx_http_gzip_filter_module.c     if (ctx->flush == Z_SYNC_FLUSH) {
ctx               821 http/modules/ngx_http_gzip_filter_module.c         ctx->zstream.avail_out = 0;
ctx               822 http/modules/ngx_http_gzip_filter_module.c         ctx->out_buf->flush = 1;
ctx               823 http/modules/ngx_http_gzip_filter_module.c         ctx->flush = Z_NO_FLUSH;
ctx               830 http/modules/ngx_http_gzip_filter_module.c         cl->buf = ctx->out_buf;
ctx               832 http/modules/ngx_http_gzip_filter_module.c         *ctx->last_out = cl;
ctx               833 http/modules/ngx_http_gzip_filter_module.c         ctx->last_out = &cl->next;
ctx               840 http/modules/ngx_http_gzip_filter_module.c         if (ngx_http_gzip_filter_deflate_end(r, ctx) != NGX_OK) {
ctx               849 http/modules/ngx_http_gzip_filter_module.c     if (conf->no_buffer && ctx->in == NULL) {
ctx               856 http/modules/ngx_http_gzip_filter_module.c         cl->buf = ctx->out_buf;
ctx               858 http/modules/ngx_http_gzip_filter_module.c         *ctx->last_out = cl;
ctx               859 http/modules/ngx_http_gzip_filter_module.c         ctx->last_out = &cl->next;
ctx               870 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx)
ctx               877 http/modules/ngx_http_gzip_filter_module.c     ctx->zin = ctx->zstream.total_in;
ctx               878 http/modules/ngx_http_gzip_filter_module.c     ctx->zout = 10 + ctx->zstream.total_out + 8;
ctx               880 http/modules/ngx_http_gzip_filter_module.c     rc = deflateEnd(&ctx->zstream);
ctx               888 http/modules/ngx_http_gzip_filter_module.c     ngx_pfree(r->pool, ctx->preallocated);
ctx               895 http/modules/ngx_http_gzip_filter_module.c     cl->buf = ctx->out_buf;
ctx               897 http/modules/ngx_http_gzip_filter_module.c     *ctx->last_out = cl;
ctx               898 http/modules/ngx_http_gzip_filter_module.c     ctx->last_out = &cl->next;
ctx               900 http/modules/ngx_http_gzip_filter_module.c     if (ctx->zstream.avail_out >= 8) {
ctx               901 http/modules/ngx_http_gzip_filter_module.c         trailer = (struct gztrailer *) ctx->out_buf->last;
ctx               902 http/modules/ngx_http_gzip_filter_module.c         ctx->out_buf->last += 8;
ctx               903 http/modules/ngx_http_gzip_filter_module.c         ctx->out_buf->last_buf = 1;
ctx               920 http/modules/ngx_http_gzip_filter_module.c         *ctx->last_out = cl;
ctx               921 http/modules/ngx_http_gzip_filter_module.c         ctx->last_out = &cl->next;
ctx               928 http/modules/ngx_http_gzip_filter_module.c     trailer->crc32 = ctx->crc32;
ctx               929 http/modules/ngx_http_gzip_filter_module.c     trailer->zlen = ctx->zin;
ctx               933 http/modules/ngx_http_gzip_filter_module.c     trailer->crc32[0] = (u_char) (ctx->crc32 & 0xff);
ctx               934 http/modules/ngx_http_gzip_filter_module.c     trailer->crc32[1] = (u_char) ((ctx->crc32 >> 8) & 0xff);
ctx               935 http/modules/ngx_http_gzip_filter_module.c     trailer->crc32[2] = (u_char) ((ctx->crc32 >> 16) & 0xff);
ctx               936 http/modules/ngx_http_gzip_filter_module.c     trailer->crc32[3] = (u_char) ((ctx->crc32 >> 24) & 0xff);
ctx               938 http/modules/ngx_http_gzip_filter_module.c     trailer->zlen[0] = (u_char) (ctx->zin & 0xff);
ctx               939 http/modules/ngx_http_gzip_filter_module.c     trailer->zlen[1] = (u_char) ((ctx->zin >> 8) & 0xff);
ctx               940 http/modules/ngx_http_gzip_filter_module.c     trailer->zlen[2] = (u_char) ((ctx->zin >> 16) & 0xff);
ctx               941 http/modules/ngx_http_gzip_filter_module.c     trailer->zlen[3] = (u_char) ((ctx->zin >> 24) & 0xff);
ctx               945 http/modules/ngx_http_gzip_filter_module.c     ctx->zstream.avail_in = 0;
ctx               946 http/modules/ngx_http_gzip_filter_module.c     ctx->zstream.avail_out = 0;
ctx               948 http/modules/ngx_http_gzip_filter_module.c     ctx->done = 1;
ctx               959 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx = opaque;
ctx               976 http/modules/ngx_http_gzip_filter_module.c     if (alloc <= ctx->allocated) {
ctx               977 http/modules/ngx_http_gzip_filter_module.c         p = ctx->free_mem;
ctx               978 http/modules/ngx_http_gzip_filter_module.c         ctx->free_mem += alloc;
ctx               979 http/modules/ngx_http_gzip_filter_module.c         ctx->allocated -= alloc;
ctx               981 http/modules/ngx_http_gzip_filter_module.c         ngx_log_debug4(NGX_LOG_DEBUG_HTTP, ctx->request->connection->log, 0,
ctx               988 http/modules/ngx_http_gzip_filter_module.c     ngx_log_error(NGX_LOG_ALERT, ctx->request->connection->log, 0,
ctx               990 http/modules/ngx_http_gzip_filter_module.c                   items * size, ctx->allocated);
ctx               992 http/modules/ngx_http_gzip_filter_module.c     p = ngx_palloc(ctx->request->pool, items * size);
ctx              1002 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx = opaque;
ctx              1004 http/modules/ngx_http_gzip_filter_module.c     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ctx->request->connection->log, 0,
ctx              1012 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t *ctx)
ctx              1016 http/modules/ngx_http_gzip_filter_module.c     for (cl = ctx->copied; cl; cl = cl->next) {
ctx              1020 http/modules/ngx_http_gzip_filter_module.c     ctx->copied = NULL;
ctx              1045 http/modules/ngx_http_gzip_filter_module.c     ngx_http_gzip_ctx_t  *ctx;
ctx              1051 http/modules/ngx_http_gzip_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_gzip_filter_module);
ctx              1053 http/modules/ngx_http_gzip_filter_module.c     if (ctx == NULL || ctx->zout == 0) {
ctx              1063 http/modules/ngx_http_gzip_filter_module.c     zint = (ngx_uint_t) (ctx->zin / ctx->zout);
ctx              1064 http/modules/ngx_http_gzip_filter_module.c     zfrac = (ngx_uint_t) ((ctx->zin * 100 / ctx->zout) % 100);
ctx              1066 http/modules/ngx_http_gzip_filter_module.c     if ((ctx->zin * 1000 / ctx->zout) % 10 > 4) {
ctx                75 http/modules/ngx_http_image_filter_module.c     ngx_http_image_filter_ctx_t *ctx, ngx_chain_t *in);
ctx                80 http/modules/ngx_http_image_filter_module.c     ngx_http_image_filter_ctx_t *ctx);
ctx                82 http/modules/ngx_http_image_filter_module.c     ngx_http_image_filter_ctx_t *ctx);
ctx                85 http/modules/ngx_http_image_filter_module.c     ngx_http_image_filter_ctx_t *ctx);
ctx                88 http/modules/ngx_http_image_filter_module.c     ngx_http_image_filter_ctx_t *ctx);
ctx                90 http/modules/ngx_http_image_filter_module.c     ngx_http_image_filter_ctx_t *ctx);
ctx               191 http/modules/ngx_http_image_filter_module.c     ngx_http_image_filter_ctx_t   *ctx;
ctx               198 http/modules/ngx_http_image_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_image_filter_module);
ctx               200 http/modules/ngx_http_image_filter_module.c     if (ctx) {
ctx               224 http/modules/ngx_http_image_filter_module.c     ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_image_filter_ctx_t));
ctx               225 http/modules/ngx_http_image_filter_module.c     if (ctx == NULL) {
ctx               229 http/modules/ngx_http_image_filter_module.c     ngx_http_set_ctx(r, ctx, ngx_http_image_filter_module);
ctx               241 http/modules/ngx_http_image_filter_module.c         ctx->length = conf->buffer_size;
ctx               244 http/modules/ngx_http_image_filter_module.c         ctx->length = (size_t) len;
ctx               264 http/modules/ngx_http_image_filter_module.c     ngx_http_image_filter_ctx_t   *ctx;
ctx               273 http/modules/ngx_http_image_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_image_filter_module);
ctx               275 http/modules/ngx_http_image_filter_module.c     if (ctx == NULL) {
ctx               279 http/modules/ngx_http_image_filter_module.c     switch (ctx->phase) {
ctx               283 http/modules/ngx_http_image_filter_module.c         ctx->type = ngx_http_image_test(r, in);
ctx               287 http/modules/ngx_http_image_filter_module.c         if (ctx->type == NGX_HTTP_IMAGE_NONE) {
ctx               294 http/modules/ngx_http_image_filter_module.c                     ctx->phase = NGX_HTTP_IMAGE_DONE;
ctx               296 http/modules/ngx_http_image_filter_module.c                     return ngx_http_image_send(r, ctx, &out);
ctx               307 http/modules/ngx_http_image_filter_module.c         ct = &ngx_http_image_types[ctx->type - 1];
ctx               313 http/modules/ngx_http_image_filter_module.c             ctx->phase = NGX_HTTP_IMAGE_PASS;
ctx               315 http/modules/ngx_http_image_filter_module.c             return ngx_http_image_send(r, ctx, in);
ctx               318 http/modules/ngx_http_image_filter_module.c         ctx->phase = NGX_HTTP_IMAGE_READ;
ctx               349 http/modules/ngx_http_image_filter_module.c         ctx->phase = NGX_HTTP_IMAGE_PASS;
ctx               351 http/modules/ngx_http_image_filter_module.c         return ngx_http_image_send(r, ctx, &out);
ctx               368 http/modules/ngx_http_image_filter_module.c ngx_http_image_send(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx,
ctx               381 http/modules/ngx_http_image_filter_module.c     if (ctx->phase == NGX_HTTP_IMAGE_DONE) {
ctx               437 http/modules/ngx_http_image_filter_module.c     ngx_http_image_filter_ctx_t  *ctx;
ctx               439 http/modules/ngx_http_image_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_image_filter_module);
ctx               441 http/modules/ngx_http_image_filter_module.c     if (ctx->image == NULL) {
ctx               442 http/modules/ngx_http_image_filter_module.c         ctx->image = ngx_palloc(r->pool, ctx->length);
ctx               443 http/modules/ngx_http_image_filter_module.c         if (ctx->image == NULL) {
ctx               447 http/modules/ngx_http_image_filter_module.c         ctx->last = ctx->image;
ctx               450 http/modules/ngx_http_image_filter_module.c     p = ctx->last;
ctx               460 http/modules/ngx_http_image_filter_module.c         rest = ctx->image + ctx->length - p;
ctx               467 http/modules/ngx_http_image_filter_module.c             ctx->last = p;
ctx               472 http/modules/ngx_http_image_filter_module.c     ctx->last = p;
ctx               483 http/modules/ngx_http_image_filter_module.c     ngx_http_image_filter_ctx_t   *ctx;
ctx               488 http/modules/ngx_http_image_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_image_filter_module);
ctx               490 http/modules/ngx_http_image_filter_module.c     rc = ngx_http_image_size(r, ctx);
ctx               495 http/modules/ngx_http_image_filter_module.c         return ngx_http_image_json(r, rc == NGX_OK ? ctx : NULL);
ctx               498 http/modules/ngx_http_image_filter_module.c     ctx->angle = ngx_http_image_filter_get_value(r, conf->acv, conf->angle);
ctx               502 http/modules/ngx_http_image_filter_module.c         if (ctx->angle != 90 && ctx->angle != 180 && ctx->angle != 270) {
ctx               506 http/modules/ngx_http_image_filter_module.c         return ngx_http_image_resize(r, ctx);
ctx               509 http/modules/ngx_http_image_filter_module.c     ctx->max_width = ngx_http_image_filter_get_value(r, conf->wcv, conf->width);
ctx               510 http/modules/ngx_http_image_filter_module.c     if (ctx->max_width == 0) {
ctx               514 http/modules/ngx_http_image_filter_module.c     ctx->max_height = ngx_http_image_filter_get_value(r, conf->hcv,
ctx               516 http/modules/ngx_http_image_filter_module.c     if (ctx->max_height == 0) {
ctx               521 http/modules/ngx_http_image_filter_module.c         && ctx->width <= ctx->max_width
ctx               522 http/modules/ngx_http_image_filter_module.c         && ctx->height <= ctx->max_height
ctx               523 http/modules/ngx_http_image_filter_module.c         && ctx->angle == 0
ctx               524 http/modules/ngx_http_image_filter_module.c         && !ctx->force)
ctx               526 http/modules/ngx_http_image_filter_module.c         return ngx_http_image_asis(r, ctx);
ctx               529 http/modules/ngx_http_image_filter_module.c     return ngx_http_image_resize(r, ctx);
ctx               534 http/modules/ngx_http_image_filter_module.c ngx_http_image_json(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx)
ctx               553 http/modules/ngx_http_image_filter_module.c     if (ctx == NULL) {
ctx               576 http/modules/ngx_http_image_filter_module.c                           ctx->width, ctx->height,
ctx               577 http/modules/ngx_http_image_filter_module.c                           ngx_http_image_types[ctx->type - 1].data + 6);
ctx               586 http/modules/ngx_http_image_filter_module.c ngx_http_image_asis(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx)
ctx               595 http/modules/ngx_http_image_filter_module.c     b->pos = ctx->image;
ctx               596 http/modules/ngx_http_image_filter_module.c     b->last = ctx->last;
ctx               620 http/modules/ngx_http_image_filter_module.c ngx_http_image_size(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx)
ctx               626 http/modules/ngx_http_image_filter_module.c     p = ctx->image;
ctx               628 http/modules/ngx_http_image_filter_module.c     switch (ctx->type) {
ctx               633 http/modules/ngx_http_image_filter_module.c         last = ctx->image + ctx->length - 10;
ctx               677 http/modules/ngx_http_image_filter_module.c         if (ctx->length / 20 < app) {
ctx               679 http/modules/ngx_http_image_filter_module.c             ctx->force = 1;
ctx               688 http/modules/ngx_http_image_filter_module.c         if (ctx->length < 10) {
ctx               699 http/modules/ngx_http_image_filter_module.c         if (ctx->length < 24) {
ctx               716 http/modules/ngx_http_image_filter_module.c     ctx->width = width;
ctx               717 http/modules/ngx_http_image_filter_module.c     ctx->height = height;
ctx               724 http/modules/ngx_http_image_filter_module.c ngx_http_image_resize(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx)
ctx               736 http/modules/ngx_http_image_filter_module.c     src = ngx_http_image_source(r, ctx);
ctx               747 http/modules/ngx_http_image_filter_module.c     if (!ctx->force
ctx               748 http/modules/ngx_http_image_filter_module.c         && ctx->angle == 0
ctx               749 http/modules/ngx_http_image_filter_module.c         && (ngx_uint_t) sx <= ctx->max_width
ctx               750 http/modules/ngx_http_image_filter_module.c         && (ngx_uint_t) sy <= ctx->max_height)
ctx               753 http/modules/ngx_http_image_filter_module.c         return ngx_http_image_asis(r, ctx);
ctx               786 http/modules/ngx_http_image_filter_module.c         if ((ngx_uint_t) dx > ctx->max_width) {
ctx               787 http/modules/ngx_http_image_filter_module.c             dy = dy * ctx->max_width / dx;
ctx               789 http/modules/ngx_http_image_filter_module.c             dx = ctx->max_width;
ctx               792 http/modules/ngx_http_image_filter_module.c         if ((ngx_uint_t) dy > ctx->max_height) {
ctx               793 http/modules/ngx_http_image_filter_module.c             dx = dx * ctx->max_height / dy;
ctx               795 http/modules/ngx_http_image_filter_module.c             dy = ctx->max_height;
ctx               809 http/modules/ngx_http_image_filter_module.c             < ctx->max_width * 100 / ctx->max_height)
ctx               811 http/modules/ngx_http_image_filter_module.c             if ((ngx_uint_t) dx > ctx->max_width) {
ctx               812 http/modules/ngx_http_image_filter_module.c                 dy = dy * ctx->max_width / dx;
ctx               814 http/modules/ngx_http_image_filter_module.c                 dx = ctx->max_width;
ctx               819 http/modules/ngx_http_image_filter_module.c             if ((ngx_uint_t) dy > ctx->max_height) {
ctx               820 http/modules/ngx_http_image_filter_module.c                 dx = dx * ctx->max_height / dy;
ctx               822 http/modules/ngx_http_image_filter_module.c                 dy = ctx->max_height;
ctx               852 http/modules/ngx_http_image_filter_module.c     if (ctx->angle) {
ctx               855 http/modules/ngx_http_image_filter_module.c         switch (ctx->angle) {
ctx               864 http/modules/ngx_http_image_filter_module.c             gdImageCopyRotated(dst, src, dy/2, dx/2, 0, 0, dx, dy, ctx->angle);
ctx               878 http/modules/ngx_http_image_filter_module.c             gdImageCopyRotated(dst, src, dx/2, dy/2, 0, 0, dx, dy, ctx->angle);
ctx               888 http/modules/ngx_http_image_filter_module.c         if ((ngx_uint_t) dx > ctx->max_width) {
ctx               889 http/modules/ngx_http_image_filter_module.c             ox = dx - ctx->max_width;
ctx               895 http/modules/ngx_http_image_filter_module.c         if ((ngx_uint_t) dy > ctx->max_height) {
ctx               896 http/modules/ngx_http_image_filter_module.c             oy = dy - ctx->max_height;
ctx               937 http/modules/ngx_http_image_filter_module.c     out = ngx_http_image_out(r, ctx->type, dst, &size);
ctx               943 http/modules/ngx_http_image_filter_module.c     ngx_pfree(r->pool, ctx->image);
ctx               976 http/modules/ngx_http_image_filter_module.c ngx_http_image_source(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx)
ctx               983 http/modules/ngx_http_image_filter_module.c     switch (ctx->type) {
ctx               986 http/modules/ngx_http_image_filter_module.c         img = gdImageCreateFromJpegPtr(ctx->length, ctx->image);
ctx               991 http/modules/ngx_http_image_filter_module.c         img = gdImageCreateFromGifPtr(ctx->length, ctx->image);
ctx               996 http/modules/ngx_http_image_filter_module.c         img = gdImageCreateFromPngPtr(ctx->length, ctx->image);
ctx                55 http/modules/ngx_http_limit_req_module.c static void ngx_http_limit_req_expire(ngx_http_limit_req_ctx_t *ctx,
ctx               145 http/modules/ngx_http_limit_req_module.c     ngx_http_limit_req_ctx_t   *ctx;
ctx               159 http/modules/ngx_http_limit_req_module.c     ctx = lrcf->shm_zone->data;
ctx               161 http/modules/ngx_http_limit_req_module.c     vv = ngx_http_get_indexed_variable(r, ctx->index);
ctx               177 http/modules/ngx_http_limit_req_module.c                       &ctx->var, vv);
ctx               185 http/modules/ngx_http_limit_req_module.c     ngx_shmtx_lock(&ctx->shpool->mutex);
ctx               187 http/modules/ngx_http_limit_req_module.c     ngx_http_limit_req_expire(ctx, 1);
ctx               200 http/modules/ngx_http_limit_req_module.c         node = ngx_slab_alloc_locked(ctx->shpool, n);
ctx               203 http/modules/ngx_http_limit_req_module.c             ngx_http_limit_req_expire(ctx, 0);
ctx               205 http/modules/ngx_http_limit_req_module.c             node = ngx_slab_alloc_locked(ctx->shpool, n);
ctx               207 http/modules/ngx_http_limit_req_module.c                 ngx_shmtx_unlock(&ctx->shpool->mutex);
ctx               223 http/modules/ngx_http_limit_req_module.c         ngx_rbtree_insert(&ctx->sh->rbtree, node);
ctx               225 http/modules/ngx_http_limit_req_module.c         ngx_queue_insert_head(&ctx->sh->queue, &lr->queue);
ctx               227 http/modules/ngx_http_limit_req_module.c         ngx_shmtx_unlock(&ctx->shpool->mutex);
ctx               232 http/modules/ngx_http_limit_req_module.c     ngx_shmtx_unlock(&ctx->shpool->mutex);
ctx               263 http/modules/ngx_http_limit_req_module.c                   (ngx_msec_t) excess * 1000 / ctx->rate);
ctx               352 http/modules/ngx_http_limit_req_module.c     ngx_http_limit_req_ctx_t   *ctx;
ctx               355 http/modules/ngx_http_limit_req_module.c     ctx = lrcf->shm_zone->data;
ctx               357 http/modules/ngx_http_limit_req_module.c     node = ctx->sh->rbtree.root;
ctx               358 http/modules/ngx_http_limit_req_module.c     sentinel = ctx->sh->rbtree.sentinel;
ctx               381 http/modules/ngx_http_limit_req_module.c                 ngx_queue_insert_head(&ctx->sh->queue, &lr->queue);
ctx               388 http/modules/ngx_http_limit_req_module.c                 excess = lr->excess - ctx->rate * ngx_abs(ms) / 1000 + 1000;
ctx               424 http/modules/ngx_http_limit_req_module.c ngx_http_limit_req_expire(ngx_http_limit_req_ctx_t *ctx, ngx_uint_t n)
ctx               446 http/modules/ngx_http_limit_req_module.c         if (ngx_queue_empty(&ctx->sh->queue)) {
ctx               450 http/modules/ngx_http_limit_req_module.c         q = ngx_queue_last(&ctx->sh->queue);
ctx               463 http/modules/ngx_http_limit_req_module.c             excess = lr->excess - ctx->rate * ms / 1000;
ctx               475 http/modules/ngx_http_limit_req_module.c         ngx_rbtree_delete(&ctx->sh->rbtree, node);
ctx               477 http/modules/ngx_http_limit_req_module.c         ngx_slab_free_locked(ctx->shpool, node);
ctx               488 http/modules/ngx_http_limit_req_module.c     ngx_http_limit_req_ctx_t  *ctx;
ctx               490 http/modules/ngx_http_limit_req_module.c     ctx = shm_zone->data;
ctx               493 http/modules/ngx_http_limit_req_module.c         if (ngx_strcmp(ctx->var.data, octx->var.data) != 0) {
ctx               497 http/modules/ngx_http_limit_req_module.c                           &shm_zone->shm.name, &ctx->var, &octx->var);
ctx               501 http/modules/ngx_http_limit_req_module.c         ctx->sh = octx->sh;
ctx               502 http/modules/ngx_http_limit_req_module.c         ctx->shpool = octx->shpool;
ctx               507 http/modules/ngx_http_limit_req_module.c     ctx->shpool = (ngx_slab_pool_t *) shm_zone->shm.addr;
ctx               510 http/modules/ngx_http_limit_req_module.c         ctx->sh = ctx->shpool->data;
ctx               515 http/modules/ngx_http_limit_req_module.c     ctx->sh = ngx_slab_alloc(ctx->shpool, sizeof(ngx_http_limit_req_shctx_t));
ctx               516 http/modules/ngx_http_limit_req_module.c     if (ctx->sh == NULL) {
ctx               520 http/modules/ngx_http_limit_req_module.c     ctx->shpool->data = ctx->sh;
ctx               522 http/modules/ngx_http_limit_req_module.c     ngx_rbtree_init(&ctx->sh->rbtree, &ctx->sh->sentinel,
ctx               525 http/modules/ngx_http_limit_req_module.c     ngx_queue_init(&ctx->sh->queue);
ctx               529 http/modules/ngx_http_limit_req_module.c     ctx->shpool->log_ctx = ngx_slab_alloc(ctx->shpool, len);
ctx               530 http/modules/ngx_http_limit_req_module.c     if (ctx->shpool->log_ctx == NULL) {
ctx               534 http/modules/ngx_http_limit_req_module.c     ngx_sprintf(ctx->shpool->log_ctx, " in limit_req zone \"%V\"%Z",
ctx               594 http/modules/ngx_http_limit_req_module.c     ngx_http_limit_req_ctx_t  *ctx;
ctx               598 http/modules/ngx_http_limit_req_module.c     ctx = NULL;
ctx               662 http/modules/ngx_http_limit_req_module.c             ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_req_ctx_t));
ctx               663 http/modules/ngx_http_limit_req_module.c             if (ctx == NULL) {
ctx               667 http/modules/ngx_http_limit_req_module.c             ctx->index = ngx_http_get_variable_index(cf, &value[i]);
ctx               668 http/modules/ngx_http_limit_req_module.c             if (ctx->index == NGX_ERROR) {
ctx               672 http/modules/ngx_http_limit_req_module.c             ctx->var = value[i];
ctx               689 http/modules/ngx_http_limit_req_module.c     if (ctx == NULL) {
ctx               696 http/modules/ngx_http_limit_req_module.c     ctx->rate = rate * 1000 / scale;
ctx               705 http/modules/ngx_http_limit_req_module.c         ctx = shm_zone->data;
ctx               709 http/modules/ngx_http_limit_req_module.c                    &value[1], &ctx->var);
ctx               714 http/modules/ngx_http_limit_req_module.c     shm_zone->data = ctx;
ctx               129 http/modules/ngx_http_limit_zone_module.c     ngx_http_limit_zone_ctx_t      *ctx;
ctx               144 http/modules/ngx_http_limit_zone_module.c     ctx = lzcf->shm_zone->data;
ctx               146 http/modules/ngx_http_limit_zone_module.c     vv = ngx_http_get_indexed_variable(r, ctx->index);
ctx               162 http/modules/ngx_http_limit_zone_module.c                       &ctx->var, vv);
ctx               179 http/modules/ngx_http_limit_zone_module.c     node = ctx->rbtree->root;
ctx               180 http/modules/ngx_http_limit_zone_module.c     sentinel = ctx->rbtree->sentinel;
ctx               240 http/modules/ngx_http_limit_zone_module.c     ngx_rbtree_insert(ctx->rbtree, node);
ctx               307 http/modules/ngx_http_limit_zone_module.c     ngx_http_limit_zone_ctx_t   *ctx;
ctx               310 http/modules/ngx_http_limit_zone_module.c     ctx = lzcln->shm_zone->data;
ctx               323 http/modules/ngx_http_limit_zone_module.c         ngx_rbtree_delete(ctx->rbtree, node);
ctx               339 http/modules/ngx_http_limit_zone_module.c     ngx_http_limit_zone_ctx_t  *ctx;
ctx               341 http/modules/ngx_http_limit_zone_module.c     ctx = shm_zone->data;
ctx               344 http/modules/ngx_http_limit_zone_module.c         if (ngx_strcmp(ctx->var.data, octx->var.data) != 0) {
ctx               348 http/modules/ngx_http_limit_zone_module.c                           &shm_zone->shm.name, &ctx->var, &octx->var);
ctx               352 http/modules/ngx_http_limit_zone_module.c         ctx->rbtree = octx->rbtree;
ctx               360 http/modules/ngx_http_limit_zone_module.c         ctx->rbtree = shpool->data;
ctx               365 http/modules/ngx_http_limit_zone_module.c     ctx->rbtree = ngx_slab_alloc(shpool, sizeof(ngx_rbtree_t));
ctx               366 http/modules/ngx_http_limit_zone_module.c     if (ctx->rbtree == NULL) {
ctx               370 http/modules/ngx_http_limit_zone_module.c     shpool->data = ctx->rbtree;
ctx               377 http/modules/ngx_http_limit_zone_module.c     ngx_rbtree_init(ctx->rbtree, sentinel,
ctx               439 http/modules/ngx_http_limit_zone_module.c     ngx_http_limit_zone_ctx_t  *ctx;
ctx               452 http/modules/ngx_http_limit_zone_module.c     ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_zone_ctx_t));
ctx               453 http/modules/ngx_http_limit_zone_module.c     if (ctx == NULL) {
ctx               457 http/modules/ngx_http_limit_zone_module.c     ctx->index = ngx_http_get_variable_index(cf, &value[2]);
ctx               458 http/modules/ngx_http_limit_zone_module.c     if (ctx->index == NGX_ERROR) {
ctx               462 http/modules/ngx_http_limit_zone_module.c     ctx->var = value[2];
ctx               486 http/modules/ngx_http_limit_zone_module.c         ctx = shm_zone->data;
ctx               490 http/modules/ngx_http_limit_zone_module.c                         &value[1], &ctx->var);
ctx               495 http/modules/ngx_http_limit_zone_module.c     shm_zone->data = ctx;
ctx               184 http/modules/ngx_http_map_module.c     ngx_http_map_conf_ctx_t            ctx;
ctx               233 http/modules/ngx_http_map_module.c     ctx.keys.pool = cf->pool;
ctx               234 http/modules/ngx_http_map_module.c     ctx.keys.temp_pool = pool;
ctx               236 http/modules/ngx_http_map_module.c     if (ngx_hash_keys_array_init(&ctx.keys, NGX_HASH_LARGE) != NGX_OK) {
ctx               241 http/modules/ngx_http_map_module.c     ctx.values_hash = ngx_pcalloc(pool, sizeof(ngx_array_t) * ctx.keys.hsize);
ctx               242 http/modules/ngx_http_map_module.c     if (ctx.values_hash == NULL) {
ctx               247 http/modules/ngx_http_map_module.c     if (ngx_array_init(&ctx.var_values, cf->pool, 2,
ctx               256 http/modules/ngx_http_map_module.c     if (ngx_array_init(&ctx.regexes, cf->pool, 2, sizeof(ngx_http_map_regex_t))
ctx               264 http/modules/ngx_http_map_module.c     ctx.default_value = NULL;
ctx               265 http/modules/ngx_http_map_module.c     ctx.cf = &save;
ctx               266 http/modules/ngx_http_map_module.c     ctx.hostnames = 0;
ctx               270 http/modules/ngx_http_map_module.c     cf->ctx = &ctx;
ctx               283 http/modules/ngx_http_map_module.c     map->default_value = ctx.default_value ? ctx.default_value:
ctx               292 http/modules/ngx_http_map_module.c     if (ctx.keys.keys.nelts) {
ctx               296 http/modules/ngx_http_map_module.c         if (ngx_hash_init(&hash, ctx.keys.keys.elts, ctx.keys.keys.nelts)
ctx               304 http/modules/ngx_http_map_module.c     if (ctx.keys.dns_wc_head.nelts) {
ctx               306 http/modules/ngx_http_map_module.c         ngx_qsort(ctx.keys.dns_wc_head.elts,
ctx               307 http/modules/ngx_http_map_module.c                   (size_t) ctx.keys.dns_wc_head.nelts,
ctx               313 http/modules/ngx_http_map_module.c         if (ngx_hash_wildcard_init(&hash, ctx.keys.dns_wc_head.elts,
ctx               314 http/modules/ngx_http_map_module.c                                    ctx.keys.dns_wc_head.nelts)
ctx               324 http/modules/ngx_http_map_module.c     if (ctx.keys.dns_wc_tail.nelts) {
ctx               326 http/modules/ngx_http_map_module.c         ngx_qsort(ctx.keys.dns_wc_tail.elts,
ctx               327 http/modules/ngx_http_map_module.c                   (size_t) ctx.keys.dns_wc_tail.nelts,
ctx               333 http/modules/ngx_http_map_module.c         if (ngx_hash_wildcard_init(&hash, ctx.keys.dns_wc_tail.elts,
ctx               334 http/modules/ngx_http_map_module.c                                    ctx.keys.dns_wc_tail.nelts)
ctx               346 http/modules/ngx_http_map_module.c     if (ctx.regexes.nelts) {
ctx               347 http/modules/ngx_http_map_module.c         map->map.regex = ctx.regexes.elts;
ctx               348 http/modules/ngx_http_map_module.c         map->map.nregex = ctx.regexes.nelts;
ctx               377 http/modules/ngx_http_map_module.c     ngx_http_map_conf_ctx_t    *ctx;
ctx               380 http/modules/ngx_http_map_module.c     ctx = cf->ctx;
ctx               387 http/modules/ngx_http_map_module.c         ctx->hostnames = 1;
ctx               413 http/modules/ngx_http_map_module.c         index = ngx_http_get_variable_index(ctx->cf, &name);
ctx               418 http/modules/ngx_http_map_module.c         var = ctx->var_values.elts;
ctx               420 http/modules/ngx_http_map_module.c         for (i = 0; i < ctx->var_values.nelts; i++) {
ctx               426 http/modules/ngx_http_map_module.c         var = ngx_palloc(ctx->keys.pool, sizeof(ngx_http_variable_value_t));
ctx               437 http/modules/ngx_http_map_module.c         vp = ngx_array_push(&ctx->var_values);
ctx               453 http/modules/ngx_http_map_module.c     key %= ctx->keys.hsize;
ctx               455 http/modules/ngx_http_map_module.c     vp = ctx->values_hash[key].elts;
ctx               458 http/modules/ngx_http_map_module.c         for (i = 0; i < ctx->values_hash[key].nelts; i++) {
ctx               470 http/modules/ngx_http_map_module.c         if (ngx_array_init(&ctx->values_hash[key], cf->pool, 4,
ctx               478 http/modules/ngx_http_map_module.c     var = ngx_palloc(ctx->keys.pool, sizeof(ngx_http_variable_value_t));
ctx               484 http/modules/ngx_http_map_module.c     var->data = ngx_pstrdup(ctx->keys.pool, &value[1]);
ctx               493 http/modules/ngx_http_map_module.c     vp = ngx_array_push(&ctx->values_hash[key]);
ctx               504 http/modules/ngx_http_map_module.c         if (ctx->default_value) {
ctx               510 http/modules/ngx_http_map_module.c         ctx->default_value = var;
ctx               522 http/modules/ngx_http_map_module.c         regex = ngx_array_push(&ctx->regexes);
ctx               536 http/modules/ngx_http_map_module.c         regex->regex = ngx_http_regex_compile(ctx->cf, &rc);
ctx               553 http/modules/ngx_http_map_module.c     rc = ngx_hash_add_key(&ctx->keys, &value[0], var,
ctx               554 http/modules/ngx_http_map_module.c                           (ctx->hostnames) ? NGX_HASH_WILDCARD_KEY : 0);
ctx               150 http/modules/ngx_http_memcached_module.c     ngx_http_memcached_ctx_t       *ctx;
ctx               186 http/modules/ngx_http_memcached_module.c     ctx = ngx_palloc(r->pool, sizeof(ngx_http_memcached_ctx_t));
ctx               187 http/modules/ngx_http_memcached_module.c     if (ctx == NULL) {
ctx               191 http/modules/ngx_http_memcached_module.c     ctx->rest = NGX_HTTP_MEMCACHED_END;
ctx               192 http/modules/ngx_http_memcached_module.c     ctx->request = r;
ctx               194 http/modules/ngx_http_memcached_module.c     ngx_http_set_ctx(r, ctx, ngx_http_memcached_module);
ctx               198 http/modules/ngx_http_memcached_module.c     u->input_filter_ctx = ctx;
ctx               215 http/modules/ngx_http_memcached_module.c     ngx_http_memcached_ctx_t       *ctx;
ctx               250 http/modules/ngx_http_memcached_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_memcached_module);
ctx               252 http/modules/ngx_http_memcached_module.c     ctx->key.data = b->last;
ctx               262 http/modules/ngx_http_memcached_module.c     ctx->key.len = b->last - ctx->key.data;
ctx               265 http/modules/ngx_http_memcached_module.c                    "http memcached request: \"%V\"", &ctx->key);
ctx               286 http/modules/ngx_http_memcached_module.c     ngx_http_memcached_ctx_t  *ctx;
ctx               310 http/modules/ngx_http_memcached_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_memcached_module);
ctx               316 http/modules/ngx_http_memcached_module.c         if (ngx_strncmp(p, ctx->key.data, ctx->key.len) != 0) {
ctx               320 http/modules/ngx_http_memcached_module.c                           &line, &ctx->key);
ctx               325 http/modules/ngx_http_memcached_module.c         p += ctx->key.len;
ctx               352 http/modules/ngx_http_memcached_module.c                           &line, &ctx->key);
ctx               365 http/modules/ngx_http_memcached_module.c                       "key: \"%V\" was not found by memcached", &ctx->key);
ctx               385 http/modules/ngx_http_memcached_module.c     ngx_http_memcached_ctx_t  *ctx = data;
ctx               389 http/modules/ngx_http_memcached_module.c     u = ctx->request->upstream;
ctx               400 http/modules/ngx_http_memcached_module.c     ngx_http_memcached_ctx_t  *ctx = data;
ctx               407 http/modules/ngx_http_memcached_module.c     u = ctx->request->upstream;
ctx               410 http/modules/ngx_http_memcached_module.c     if (u->length == ctx->rest) {
ctx               413 http/modules/ngx_http_memcached_module.c                    ngx_http_memcached_end + NGX_HTTP_MEMCACHED_END - ctx->rest,
ctx               417 http/modules/ngx_http_memcached_module.c             ngx_log_error(NGX_LOG_ERR, ctx->request->connection->log, 0,
ctx               421 http/modules/ngx_http_memcached_module.c             ctx->rest = 0;
ctx               427 http/modules/ngx_http_memcached_module.c         ctx->rest -= bytes;
ctx               436 http/modules/ngx_http_memcached_module.c     cl = ngx_chain_get_free_buf(ctx->request->pool, &u->free_bufs);
ctx               452 http/modules/ngx_http_memcached_module.c     ngx_log_debug4(NGX_LOG_DEBUG_HTTP, ctx->request->connection->log, 0,
ctx               454 http/modules/ngx_http_memcached_module.c                    bytes, b->last - b->pos, u->length, ctx->rest);
ctx               464 http/modules/ngx_http_memcached_module.c         ngx_log_error(NGX_LOG_ERR, ctx->request->connection->log, 0,
ctx               468 http/modules/ngx_http_memcached_module.c     ctx->rest -= b->last - last;
ctx               471 http/modules/ngx_http_memcached_module.c     u->length = ctx->rest;
ctx                87 http/modules/ngx_http_proxy_module.c     ngx_http_proxy_ctx_t *ctx, ngx_http_proxy_loc_conf_t *plcf);
ctx               557 http/modules/ngx_http_proxy_module.c     ngx_http_proxy_ctx_t       *ctx;
ctx               564 http/modules/ngx_http_proxy_module.c     ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_proxy_ctx_t));
ctx               565 http/modules/ngx_http_proxy_module.c     if (ctx == NULL) {
ctx               569 http/modules/ngx_http_proxy_module.c     ngx_http_set_ctx(r, ctx, ngx_http_proxy_module);
ctx               576 http/modules/ngx_http_proxy_module.c         ctx->vars = plcf->vars;
ctx               583 http/modules/ngx_http_proxy_module.c         if (ngx_http_proxy_eval(r, ctx, plcf) != NGX_OK) {
ctx               628 http/modules/ngx_http_proxy_module.c ngx_http_proxy_eval(ngx_http_request_t *r, ngx_http_proxy_ctx_t *ctx,
ctx               706 http/modules/ngx_http_proxy_module.c     ctx->vars.key_start = u->schema;
ctx               708 http/modules/ngx_http_proxy_module.c     ngx_http_proxy_set_vars(&url, &ctx->vars);
ctx               741 http/modules/ngx_http_proxy_module.c     ngx_http_proxy_ctx_t       *ctx;
ctx               748 http/modules/ngx_http_proxy_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_proxy_module);
ctx               764 http/modules/ngx_http_proxy_module.c     *key = ctx->vars.key_start;
ctx               773 http/modules/ngx_http_proxy_module.c         *key = ctx->vars.uri;
ctx               774 http/modules/ngx_http_proxy_module.c         u->uri = ctx->vars.uri;
ctx               778 http/modules/ngx_http_proxy_module.c     } else if (ctx->vars.uri.len == 0 && r->valid_unparsed_uri && r == r->main)
ctx               786 http/modules/ngx_http_proxy_module.c     loc_len = (r->valid_location && ctx->vars.uri.len) ? plcf->location.len : 0;
ctx               795 http/modules/ngx_http_proxy_module.c     len = ctx->vars.uri.len + r->uri.len - loc_len + escape
ctx               806 http/modules/ngx_http_proxy_module.c         p = ngx_copy(p, ctx->vars.uri.data, ctx->vars.uri.len);
ctx               844 http/modules/ngx_http_proxy_module.c     ngx_http_proxy_ctx_t         *ctx;
ctx               873 http/modules/ngx_http_proxy_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_proxy_module);
ctx               876 http/modules/ngx_http_proxy_module.c         uri_len = ctx->vars.uri.len;
ctx               878 http/modules/ngx_http_proxy_module.c     } else if (ctx->vars.uri.len == 0 && r->valid_unparsed_uri && r == r->main)
ctx               884 http/modules/ngx_http_proxy_module.c         loc_len = (r->valid_location && ctx->vars.uri.len) ?
ctx               892 http/modules/ngx_http_proxy_module.c         uri_len = ctx->vars.uri.len + r->uri.len - loc_len + escape
ctx               917 http/modules/ngx_http_proxy_module.c         ctx->internal_body_length = body_len;
ctx               982 http/modules/ngx_http_proxy_module.c         b->last = ngx_copy(b->last, ctx->vars.uri.data, ctx->vars.uri.len);
ctx               989 http/modules/ngx_http_proxy_module.c             b->last = ngx_copy(b->last, ctx->vars.uri.data, ctx->vars.uri.len);
ctx              1148 http/modules/ngx_http_proxy_module.c     ngx_http_proxy_ctx_t  *ctx;
ctx              1150 http/modules/ngx_http_proxy_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_proxy_module);
ctx              1152 http/modules/ngx_http_proxy_module.c     if (ctx == NULL) {
ctx              1156 http/modules/ngx_http_proxy_module.c     ctx->status.code = 0;
ctx              1157 http/modules/ngx_http_proxy_module.c     ctx->status.count = 0;
ctx              1158 http/modules/ngx_http_proxy_module.c     ctx->status.start = NULL;
ctx              1159 http/modules/ngx_http_proxy_module.c     ctx->status.end = NULL;
ctx              1174 http/modules/ngx_http_proxy_module.c     ngx_http_proxy_ctx_t  *ctx;
ctx              1176 http/modules/ngx_http_proxy_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_proxy_module);
ctx              1178 http/modules/ngx_http_proxy_module.c     if (ctx == NULL) {
ctx              1184 http/modules/ngx_http_proxy_module.c     rc = ngx_http_parse_status_line(r, &u->buffer, &ctx->status);
ctx              1217 http/modules/ngx_http_proxy_module.c         u->state->status = ctx->status.code;
ctx              1220 http/modules/ngx_http_proxy_module.c     u->headers_in.status_n = ctx->status.code;
ctx              1222 http/modules/ngx_http_proxy_module.c     len = ctx->status.end - ctx->status.start;
ctx              1230 http/modules/ngx_http_proxy_module.c     ngx_memcpy(u->headers_in.status_line.data, ctx->status.start, len);
ctx              1383 http/modules/ngx_http_proxy_module.c     ngx_http_proxy_ctx_t  *ctx;
ctx              1385 http/modules/ngx_http_proxy_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_proxy_module);
ctx              1387 http/modules/ngx_http_proxy_module.c     if (ctx == NULL) {
ctx              1392 http/modules/ngx_http_proxy_module.c     v->len = ctx->vars.host_header.len;
ctx              1396 http/modules/ngx_http_proxy_module.c     v->data = ctx->vars.host_header.data;
ctx              1406 http/modules/ngx_http_proxy_module.c     ngx_http_proxy_ctx_t  *ctx;
ctx              1408 http/modules/ngx_http_proxy_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_proxy_module);
ctx              1410 http/modules/ngx_http_proxy_module.c     if (ctx == NULL) {
ctx              1415 http/modules/ngx_http_proxy_module.c     v->len = ctx->vars.port.len;
ctx              1419 http/modules/ngx_http_proxy_module.c     v->data = ctx->vars.port.data;
ctx              1466 http/modules/ngx_http_proxy_module.c     ngx_http_proxy_ctx_t  *ctx;
ctx              1468 http/modules/ngx_http_proxy_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_proxy_module);
ctx              1470 http/modules/ngx_http_proxy_module.c     if (ctx == NULL) {
ctx              1485 http/modules/ngx_http_proxy_module.c     v->len = ngx_sprintf(v->data, "%uz", ctx->internal_body_length) - v->data;
ctx                62 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx);
ctx                64 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx);
ctx                66 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx);
ctx                69 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx, ngx_chain_t *in);
ctx                71 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx, ngx_chain_t *in);
ctx                73 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx, ngx_chain_t *in);
ctx               150 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t  *ctx;
ctx               184 http/modules/ngx_http_range_filter_module.c     ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_range_filter_ctx_t));
ctx               185 http/modules/ngx_http_range_filter_module.c     if (ctx == NULL) {
ctx               189 http/modules/ngx_http_range_filter_module.c     if (ngx_array_init(&ctx->ranges, r->pool, 1, sizeof(ngx_http_range_t))
ctx               195 http/modules/ngx_http_range_filter_module.c     rc = ngx_http_range_parse(r, ctx);
ctx               199 http/modules/ngx_http_range_filter_module.c         ngx_http_set_ctx(r, ctx, ngx_http_range_body_filter_module);
ctx               204 http/modules/ngx_http_range_filter_module.c         if (ctx->ranges.nelts == 1) {
ctx               205 http/modules/ngx_http_range_filter_module.c             return ngx_http_range_singlepart_header(r, ctx);
ctx               208 http/modules/ngx_http_range_filter_module.c         return ngx_http_range_multipart_header(r, ctx);
ctx               235 http/modules/ngx_http_range_filter_module.c ngx_http_range_parse(ngx_http_request_t *r, ngx_http_range_filter_ctx_t *ctx)
ctx               273 http/modules/ngx_http_range_filter_module.c                 range = ngx_array_push(&ctx->ranges);
ctx               316 http/modules/ngx_http_range_filter_module.c         range = ngx_array_push(&ctx->ranges);
ctx               343 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx)
ctx               366 http/modules/ngx_http_range_filter_module.c     range = ctx->ranges.elts;
ctx               387 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx)
ctx               403 http/modules/ngx_http_range_filter_module.c     ctx->boundary_header.data = ngx_pnalloc(r->pool, len);
ctx               404 http/modules/ngx_http_range_filter_module.c     if (ctx->boundary_header.data == NULL) {
ctx               419 http/modules/ngx_http_range_filter_module.c         ctx->boundary_header.len = ngx_sprintf(ctx->boundary_header.data,
ctx               426 http/modules/ngx_http_range_filter_module.c                                    - ctx->boundary_header.data;
ctx               431 http/modules/ngx_http_range_filter_module.c         ctx->boundary_header.len = ngx_sprintf(ctx->boundary_header.data,
ctx               437 http/modules/ngx_http_range_filter_module.c                                    - ctx->boundary_header.data;
ctx               440 http/modules/ngx_http_range_filter_module.c         ctx->boundary_header.len = ngx_sprintf(ctx->boundary_header.data,
ctx               444 http/modules/ngx_http_range_filter_module.c                                    - ctx->boundary_header.data;
ctx               472 http/modules/ngx_http_range_filter_module.c     range = ctx->ranges.elts;
ctx               473 http/modules/ngx_http_range_filter_module.c     for (i = 0; i < ctx->ranges.nelts; i++) {
ctx               490 http/modules/ngx_http_range_filter_module.c         len += ctx->boundary_header.len + range[i].content_range.len
ctx               542 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t  *ctx;
ctx               548 http/modules/ngx_http_range_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_range_body_filter_module);
ctx               550 http/modules/ngx_http_range_filter_module.c     if (ctx == NULL) {
ctx               554 http/modules/ngx_http_range_filter_module.c     if (ctx->ranges.nelts == 1) {
ctx               555 http/modules/ngx_http_range_filter_module.c         return ngx_http_range_singlepart_body(r, ctx, in);
ctx               566 http/modules/ngx_http_range_filter_module.c     if (ngx_http_range_test_overlapped(r, ctx, in) != NGX_OK) {
ctx               570 http/modules/ngx_http_range_filter_module.c     return ngx_http_range_multipart_body(r, ctx, in);
ctx               576 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx, ngx_chain_t *in)
ctx               583 http/modules/ngx_http_range_filter_module.c     if (ctx->offset) {
ctx               592 http/modules/ngx_http_range_filter_module.c             start = buf->file_pos + ctx->offset;
ctx               593 http/modules/ngx_http_range_filter_module.c             last = buf->file_last + ctx->offset;
ctx               596 http/modules/ngx_http_range_filter_module.c             start = buf->pos - buf->start + ctx->offset;
ctx               597 http/modules/ngx_http_range_filter_module.c             last = buf->last - buf->start + ctx->offset;
ctx               600 http/modules/ngx_http_range_filter_module.c         range = ctx->ranges.elts;
ctx               601 http/modules/ngx_http_range_filter_module.c         for (i = 0; i < ctx->ranges.nelts; i++) {
ctx               608 http/modules/ngx_http_range_filter_module.c     ctx->offset = ngx_buf_size(buf);
ctx               623 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx, ngx_chain_t *in)
ctx               632 http/modules/ngx_http_range_filter_module.c     range = ctx->ranges.elts;
ctx               638 http/modules/ngx_http_range_filter_module.c         start = ctx->offset;
ctx               639 http/modules/ngx_http_range_filter_module.c         last = ctx->offset + ngx_buf_size(buf);
ctx               641 http/modules/ngx_http_range_filter_module.c         ctx->offset = last;
ctx               709 http/modules/ngx_http_range_filter_module.c     ngx_http_range_filter_ctx_t *ctx, ngx_chain_t *in)
ctx               719 http/modules/ngx_http_range_filter_module.c     range = ctx->ranges.elts;
ctx               727 http/modules/ngx_http_range_filter_module.c     for (i = 0; i < ctx->ranges.nelts; i++) {
ctx               743 http/modules/ngx_http_range_filter_module.c         b->pos = ctx->boundary_header.data;
ctx               744 http/modules/ngx_http_range_filter_module.c         b->last = ctx->boundary_header.data + ctx->boundary_header.len;
ctx               825 http/modules/ngx_http_range_filter_module.c     b->last = ngx_cpymem(b->pos, ctx->boundary_header.data,
ctx               117 http/modules/ngx_http_realip_module.c     ngx_http_realip_ctx_t       *ctx;
ctx               121 http/modules/ngx_http_realip_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_realip_module);
ctx               123 http/modules/ngx_http_realip_module.c     if (ctx) {
ctx               250 http/modules/ngx_http_realip_module.c     ngx_http_realip_ctx_t  *ctx;
ctx               257 http/modules/ngx_http_realip_module.c     ctx = cln->data;
ctx               258 http/modules/ngx_http_realip_module.c     ngx_http_set_ctx(r, ctx, ngx_http_realip_module);
ctx               282 http/modules/ngx_http_realip_module.c     ctx->connection = c;
ctx               283 http/modules/ngx_http_realip_module.c     ctx->sockaddr = c->sockaddr;
ctx               284 http/modules/ngx_http_realip_module.c     ctx->socklen = c->socklen;
ctx               285 http/modules/ngx_http_realip_module.c     ctx->addr_text = c->addr_text;
ctx               299 http/modules/ngx_http_realip_module.c     ngx_http_realip_ctx_t *ctx = data;
ctx               303 http/modules/ngx_http_realip_module.c     c = ctx->connection;
ctx               305 http/modules/ngx_http_realip_module.c     c->sockaddr = ctx->sockaddr;
ctx               306 http/modules/ngx_http_realip_module.c     c->socklen = ctx->socklen;
ctx               307 http/modules/ngx_http_realip_module.c     c->addr_text = ctx->addr_text;
ctx               525 http/modules/ngx_http_rewrite_module.c     ngx_http_conf_ctx_t          *ctx, *pctx;
ctx               530 http/modules/ngx_http_rewrite_module.c     ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t));
ctx               531 http/modules/ngx_http_rewrite_module.c     if (ctx == NULL) {
ctx               535 http/modules/ngx_http_rewrite_module.c     pctx = cf->ctx;
ctx               536 http/modules/ngx_http_rewrite_module.c     ctx->main_conf = pctx->main_conf;
ctx               537 http/modules/ngx_http_rewrite_module.c     ctx->srv_conf = pctx->srv_conf;
ctx               539 http/modules/ngx_http_rewrite_module.c     ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module);
ctx               540 http/modules/ngx_http_rewrite_module.c     if (ctx->loc_conf == NULL) {
ctx               549 http/modules/ngx_http_rewrite_module.c         module = ngx_modules[i]->ctx;
ctx               558 http/modules/ngx_http_rewrite_module.c             ctx->loc_conf[ngx_modules[i]->ctx_index] = mconf;
ctx               564 http/modules/ngx_http_rewrite_module.c     clcf = ctx->loc_conf[ngx_http_core_module.ctx_index];
ctx               565 http/modules/ngx_http_rewrite_module.c     clcf->loc_conf = ctx->loc_conf;
ctx               589 http/modules/ngx_http_rewrite_module.c     nlcf = ctx->loc_conf[ngx_http_rewrite_module.ctx_index];
ctx               594 http/modules/ngx_http_rewrite_module.c     cf->ctx = ctx;
ctx               601 http/modules/ngx_http_rewrite_module.c         if_code->loc_conf = ctx->loc_conf;
ctx               107 http/modules/ngx_http_secure_link_module.c     ngx_http_secure_link_ctx_t   *ctx;
ctx               141 http/modules/ngx_http_secure_link_module.c         ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_secure_link_ctx_t));
ctx               142 http/modules/ngx_http_secure_link_module.c         if (ctx == NULL) {
ctx               146 http/modules/ngx_http_secure_link_module.c         ngx_http_set_ctx(r, ctx, ngx_http_secure_link_module);
ctx               148 http/modules/ngx_http_secure_link_module.c         ctx->expires.len = last - p;
ctx               149 http/modules/ngx_http_secure_link_module.c         ctx->expires.data = p;
ctx               273 http/modules/ngx_http_secure_link_module.c     ngx_http_secure_link_ctx_t  *ctx;
ctx               275 http/modules/ngx_http_secure_link_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_secure_link_module);
ctx               277 http/modules/ngx_http_secure_link_module.c     if (ctx) {
ctx               278 http/modules/ngx_http_secure_link_module.c         v->len = ctx->expires.len;
ctx               282 http/modules/ngx_http_secure_link_module.c         v->data = ctx->expires.data;
ctx                77 http/modules/ngx_http_split_clients_module.c     ngx_http_split_clients_ctx_t *ctx = (ngx_http_split_clients_ctx_t *) data;
ctx                86 http/modules/ngx_http_split_clients_module.c     if (ngx_http_complex_value(r, &ctx->value, &val) != NGX_OK) {
ctx                92 http/modules/ngx_http_split_clients_module.c     part = ctx->parts.elts;
ctx                94 http/modules/ngx_http_split_clients_module.c     for (i = 0; i < ctx->parts.nelts; i++) {
ctx               117 http/modules/ngx_http_split_clients_module.c     ngx_http_split_clients_ctx_t        *ctx;
ctx               121 http/modules/ngx_http_split_clients_module.c     ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_split_clients_ctx_t));
ctx               122 http/modules/ngx_http_split_clients_module.c     if (ctx == NULL) {
ctx               132 http/modules/ngx_http_split_clients_module.c     ccv.complex_value = &ctx->value;
ctx               148 http/modules/ngx_http_split_clients_module.c     var->data = (uintptr_t) ctx;
ctx               150 http/modules/ngx_http_split_clients_module.c     if (ngx_array_init(&ctx->parts, cf->pool, 2,
ctx               158 http/modules/ngx_http_split_clients_module.c     cf->ctx = ctx;
ctx               172 http/modules/ngx_http_split_clients_module.c     part = ctx->parts.elts;
ctx               174 http/modules/ngx_http_split_clients_module.c     for (i = 0; i < ctx->parts.nelts; i++) {
ctx               201 http/modules/ngx_http_split_clients_module.c     ngx_http_split_clients_ctx_t   *ctx;
ctx               204 http/modules/ngx_http_split_clients_module.c     ctx = cf->ctx;
ctx               207 http/modules/ngx_http_split_clients_module.c     part = ngx_array_push(&ctx->parts);
ctx                72 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx);
ctx                74 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx);
ctx                76 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx);
ctx                80 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx, ngx_str_t *text, ngx_uint_t flags);
ctx                83 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
ctx                89 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
ctx                91 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
ctx                93 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
ctx                95 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
ctx                97 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
ctx                99 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
ctx               101 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
ctx               103 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
ctx               320 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t       *ctx;
ctx               332 http/modules/ngx_http_ssi_filter_module.c     ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_ssi_ctx_t));
ctx               333 http/modules/ngx_http_ssi_filter_module.c     if (ctx == NULL) {
ctx               337 http/modules/ngx_http_ssi_filter_module.c     ngx_http_set_ctx(r, ctx, ngx_http_ssi_filter_module);
ctx               340 http/modules/ngx_http_ssi_filter_module.c     ctx->value_len = slcf->value_len;
ctx               341 http/modules/ngx_http_ssi_filter_module.c     ctx->last_out = &ctx->out;
ctx               343 http/modules/ngx_http_ssi_filter_module.c     ctx->encoding = NGX_HTTP_SSI_ENTITY_ENCODING;
ctx               344 http/modules/ngx_http_ssi_filter_module.c     ctx->output = 1;
ctx               346 http/modules/ngx_http_ssi_filter_module.c     ctx->params.elts = ctx->params_array;
ctx               347 http/modules/ngx_http_ssi_filter_module.c     ctx->params.size = sizeof(ngx_table_elt_t);
ctx               348 http/modules/ngx_http_ssi_filter_module.c     ctx->params.nalloc = NGX_HTTP_SSI_PARAMS_N;
ctx               349 http/modules/ngx_http_ssi_filter_module.c     ctx->params.pool = r->pool;
ctx               351 http/modules/ngx_http_ssi_filter_module.c     ngx_str_set(&ctx->timefmt, "%A, %d-%b-%Y %H:%M:%S %Z");
ctx               352 http/modules/ngx_http_ssi_filter_module.c     ngx_str_set(&ctx->errmsg,
ctx               376 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t        *ctx, *mctx;
ctx               384 http/modules/ngx_http_ssi_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_ssi_filter_module);
ctx               386 http/modules/ngx_http_ssi_filter_module.c     if (ctx == NULL
ctx               388 http/modules/ngx_http_ssi_filter_module.c             && ctx->buf == NULL
ctx               389 http/modules/ngx_http_ssi_filter_module.c             && ctx->in == NULL
ctx               390 http/modules/ngx_http_ssi_filter_module.c             && ctx->busy == NULL))
ctx               398 http/modules/ngx_http_ssi_filter_module.c         if (ngx_chain_add_copy(r->pool, &ctx->in, in) != NGX_OK) {
ctx               406 http/modules/ngx_http_ssi_filter_module.c     if (ctx->wait) {
ctx               411 http/modules/ngx_http_ssi_filter_module.c                            &ctx->wait->uri, &ctx->wait->args);
ctx               416 http/modules/ngx_http_ssi_filter_module.c         if (ctx->wait->done) {
ctx               419 http/modules/ngx_http_ssi_filter_module.c                            &ctx->wait->uri, &ctx->wait->args);
ctx               421 http/modules/ngx_http_ssi_filter_module.c             ctx->wait = NULL;
ctx               426 http/modules/ngx_http_ssi_filter_module.c                            &ctx->wait->uri, &ctx->wait->args);
ctx               434 http/modules/ngx_http_ssi_filter_module.c     while (ctx->in || ctx->buf) {
ctx               436 http/modules/ngx_http_ssi_filter_module.c         if (ctx->buf == NULL) {
ctx               437 http/modules/ngx_http_ssi_filter_module.c             ctx->buf = ctx->in->buf;
ctx               438 http/modules/ngx_http_ssi_filter_module.c             ctx->in = ctx->in->next;
ctx               439 http/modules/ngx_http_ssi_filter_module.c             ctx->pos = ctx->buf->pos;
ctx               442 http/modules/ngx_http_ssi_filter_module.c         if (ctx->state == ssi_start_state) {
ctx               443 http/modules/ngx_http_ssi_filter_module.c             ctx->copy_start = ctx->pos;
ctx               444 http/modules/ngx_http_ssi_filter_module.c             ctx->copy_end = ctx->pos;
ctx               449 http/modules/ngx_http_ssi_filter_module.c         while (ctx->pos < ctx->buf->last) {
ctx               452 http/modules/ngx_http_ssi_filter_module.c                            "saved: %d state: %d", ctx->saved, ctx->state);
ctx               454 http/modules/ngx_http_ssi_filter_module.c             rc = ngx_http_ssi_parse(r, ctx);
ctx               458 http/modules/ngx_http_ssi_filter_module.c                            rc, ctx->looked, ctx->copy_start, ctx->copy_end);
ctx               464 http/modules/ngx_http_ssi_filter_module.c             if (ctx->copy_start != ctx->copy_end) {
ctx               466 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->output) {
ctx               469 http/modules/ngx_http_ssi_filter_module.c                                    "saved: %d", ctx->saved);
ctx               471 http/modules/ngx_http_ssi_filter_module.c                     if (ctx->saved) {
ctx               473 http/modules/ngx_http_ssi_filter_module.c                         if (ctx->free) {
ctx               474 http/modules/ngx_http_ssi_filter_module.c                             cl = ctx->free;
ctx               475 http/modules/ngx_http_ssi_filter_module.c                             ctx->free = ctx->free->next;
ctx               495 http/modules/ngx_http_ssi_filter_module.c                         b->last = ngx_http_ssi_string + ctx->saved;
ctx               497 http/modules/ngx_http_ssi_filter_module.c                         *ctx->last_out = cl;
ctx               498 http/modules/ngx_http_ssi_filter_module.c                         ctx->last_out = &cl->next;
ctx               500 http/modules/ngx_http_ssi_filter_module.c                         ctx->saved = 0;
ctx               503 http/modules/ngx_http_ssi_filter_module.c                     if (ctx->free) {
ctx               504 http/modules/ngx_http_ssi_filter_module.c                         cl = ctx->free;
ctx               505 http/modules/ngx_http_ssi_filter_module.c                         ctx->free = ctx->free->next;
ctx               522 http/modules/ngx_http_ssi_filter_module.c                     ngx_memcpy(b, ctx->buf, sizeof(ngx_buf_t));
ctx               524 http/modules/ngx_http_ssi_filter_module.c                     b->pos = ctx->copy_start;
ctx               525 http/modules/ngx_http_ssi_filter_module.c                     b->last = ctx->copy_end;
ctx               534 http/modules/ngx_http_ssi_filter_module.c                                                    + (b->last - ctx->buf->pos);
ctx               535 http/modules/ngx_http_ssi_filter_module.c                             b->file_pos += b->pos - ctx->buf->pos;
ctx               543 http/modules/ngx_http_ssi_filter_module.c                     *ctx->last_out = cl;
ctx               544 http/modules/ngx_http_ssi_filter_module.c                     ctx->last_out = &cl->next;
ctx               547 http/modules/ngx_http_ssi_filter_module.c                     if (ctx->block
ctx               548 http/modules/ngx_http_ssi_filter_module.c                         && ctx->saved + (ctx->copy_end - ctx->copy_start))
ctx               551 http/modules/ngx_http_ssi_filter_module.c                                ctx->saved + (ctx->copy_end - ctx->copy_start));
ctx               557 http/modules/ngx_http_ssi_filter_module.c                         if (ctx->saved) {
ctx               559 http/modules/ngx_http_ssi_filter_module.c                                                  ctx->saved);
ctx               562 http/modules/ngx_http_ssi_filter_module.c                         b->last = ngx_cpymem(b->last, ctx->copy_start,
ctx               563 http/modules/ngx_http_ssi_filter_module.c                                              ctx->copy_end - ctx->copy_start);
ctx               588 http/modules/ngx_http_ssi_filter_module.c                     ctx->saved = 0;
ctx               592 http/modules/ngx_http_ssi_filter_module.c             if (ctx->state == ssi_start_state) {
ctx               593 http/modules/ngx_http_ssi_filter_module.c                 ctx->copy_start = ctx->pos;
ctx               594 http/modules/ngx_http_ssi_filter_module.c                 ctx->copy_end = ctx->pos;
ctx               597 http/modules/ngx_http_ssi_filter_module.c                 ctx->copy_start = NULL;
ctx               598 http/modules/ngx_http_ssi_filter_module.c                 ctx->copy_end = NULL;
ctx               613 http/modules/ngx_http_ssi_filter_module.c                 cmd = ngx_hash_find(&smcf->hash, ctx->key, ctx->command.data,
ctx               614 http/modules/ngx_http_ssi_filter_module.c                                     ctx->command.len);
ctx               617 http/modules/ngx_http_ssi_filter_module.c                     if (ctx->output) {
ctx               620 http/modules/ngx_http_ssi_filter_module.c                                       &ctx->command);
ctx               628 http/modules/ngx_http_ssi_filter_module.c                     && (ctx->conditional == 0
ctx               629 http/modules/ngx_http_ssi_filter_module.c                         || ctx->conditional > cmd->conditional))
ctx               633 http/modules/ngx_http_ssi_filter_module.c                                   &ctx->command);
ctx               637 http/modules/ngx_http_ssi_filter_module.c                 if (!ctx->output && !cmd->block) {
ctx               639 http/modules/ngx_http_ssi_filter_module.c                     if (ctx->block) {
ctx               643 http/modules/ngx_http_ssi_filter_module.c                         len = 5 + ctx->command.len + 4;
ctx               645 http/modules/ngx_http_ssi_filter_module.c                         param = ctx->params.elts;
ctx               646 http/modules/ngx_http_ssi_filter_module.c                         for (i = 0; i < ctx->params.nelts; i++) {
ctx               671 http/modules/ngx_http_ssi_filter_module.c                         b->last = ngx_cpymem(b->last, ctx->command.data,
ctx               672 http/modules/ngx_http_ssi_filter_module.c                                              ctx->command.len);
ctx               674 http/modules/ngx_http_ssi_filter_module.c                         for (i = 0; i < ctx->params.nelts; i++) {
ctx               712 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->params.nelts > NGX_HTTP_SSI_MAX_PARAMS) {
ctx               715 http/modules/ngx_http_ssi_filter_module.c                                   &ctx->command);
ctx               722 http/modules/ngx_http_ssi_filter_module.c                 param = ctx->params.elts;
ctx               724 http/modules/ngx_http_ssi_filter_module.c                 for (i = 0; i < ctx->params.nelts; i++) {
ctx               741 http/modules/ngx_http_ssi_filter_module.c                                               &param[i].key, &ctx->command);
ctx               764 http/modules/ngx_http_ssi_filter_module.c                                       &param[i].key, &ctx->command);
ctx               775 http/modules/ngx_http_ssi_filter_module.c                                       &prm->name, &ctx->command);
ctx               781 http/modules/ngx_http_ssi_filter_module.c                 if (cmd->flush && ctx->out) {
ctx               786 http/modules/ngx_http_ssi_filter_module.c                     if (ngx_http_ssi_output(r, ctx) == NGX_ERROR) {
ctx               791 http/modules/ngx_http_ssi_filter_module.c                 rc = cmd->handler(r, ctx, params);
ctx               798 http/modules/ngx_http_ssi_filter_module.c                     ngx_http_ssi_buffered(r, ctx);
ctx               812 http/modules/ngx_http_ssi_filter_module.c             if (ctx->free) {
ctx               813 http/modules/ngx_http_ssi_filter_module.c                 cl = ctx->free;
ctx               814 http/modules/ngx_http_ssi_filter_module.c                 ctx->free = ctx->free->next;
ctx               833 http/modules/ngx_http_ssi_filter_module.c             b->pos = ctx->errmsg.data;
ctx               834 http/modules/ngx_http_ssi_filter_module.c             b->last = ctx->errmsg.data + ctx->errmsg.len;
ctx               837 http/modules/ngx_http_ssi_filter_module.c             *ctx->last_out = cl;
ctx               838 http/modules/ngx_http_ssi_filter_module.c             ctx->last_out = &cl->next;
ctx               843 http/modules/ngx_http_ssi_filter_module.c         if (ctx->buf->last_buf || ngx_buf_in_memory(ctx->buf)) {
ctx               845 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->free) {
ctx               846 http/modules/ngx_http_ssi_filter_module.c                     cl = ctx->free;
ctx               847 http/modules/ngx_http_ssi_filter_module.c                     ctx->free = ctx->free->next;
ctx               868 http/modules/ngx_http_ssi_filter_module.c                 *ctx->last_out = cl;
ctx               869 http/modules/ngx_http_ssi_filter_module.c                 ctx->last_out = &cl->next;
ctx               872 http/modules/ngx_http_ssi_filter_module.c             b->last_buf = ctx->buf->last_buf;
ctx               873 http/modules/ngx_http_ssi_filter_module.c             b->shadow = ctx->buf;
ctx               876 http/modules/ngx_http_ssi_filter_module.c                 b->recycled = ctx->buf->recycled;
ctx               880 http/modules/ngx_http_ssi_filter_module.c         ctx->buf = NULL;
ctx               882 http/modules/ngx_http_ssi_filter_module.c         ctx->saved = ctx->looked;
ctx               885 http/modules/ngx_http_ssi_filter_module.c     if (ctx->out == NULL && ctx->busy == NULL) {
ctx               889 http/modules/ngx_http_ssi_filter_module.c     return ngx_http_ssi_output(r, ctx);
ctx               894 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_output(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx)
ctx               902 http/modules/ngx_http_ssi_filter_module.c     for (cl = ctx->out; cl; cl = cl->next) {
ctx               915 http/modules/ngx_http_ssi_filter_module.c     rc = ngx_http_next_body_filter(r, ctx->out);
ctx               917 http/modules/ngx_http_ssi_filter_module.c     if (ctx->busy == NULL) {
ctx               918 http/modules/ngx_http_ssi_filter_module.c         ctx->busy = ctx->out;
ctx               921 http/modules/ngx_http_ssi_filter_module.c         for (cl = ctx->busy; cl->next; cl = cl->next) { /* void */ }
ctx               922 http/modules/ngx_http_ssi_filter_module.c         cl->next = ctx->out;
ctx               925 http/modules/ngx_http_ssi_filter_module.c     ctx->out = NULL;
ctx               926 http/modules/ngx_http_ssi_filter_module.c     ctx->last_out = &ctx->out;
ctx               928 http/modules/ngx_http_ssi_filter_module.c     while (ctx->busy) {
ctx               930 http/modules/ngx_http_ssi_filter_module.c         cl = ctx->busy;
ctx               941 http/modules/ngx_http_ssi_filter_module.c         ctx->busy = cl->next;
ctx               946 http/modules/ngx_http_ssi_filter_module.c             cl->next = ctx->free;
ctx               947 http/modules/ngx_http_ssi_filter_module.c             ctx->free = cl;
ctx               951 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_buffered(r, ctx);
ctx               958 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_buffered(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx)
ctx               960 http/modules/ngx_http_ssi_filter_module.c     if (ctx->in || ctx->buf) {
ctx               970 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_parse(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx)
ctx               976 http/modules/ngx_http_ssi_filter_module.c     state = ctx->state;
ctx               977 http/modules/ngx_http_ssi_filter_module.c     looked = ctx->looked;
ctx               978 http/modules/ngx_http_ssi_filter_module.c     last = ctx->buf->last;
ctx               979 http/modules/ngx_http_ssi_filter_module.c     copy_end = ctx->copy_end;
ctx               981 http/modules/ngx_http_ssi_filter_module.c     for (p = ctx->pos; p < last; p++) {
ctx              1005 http/modules/ngx_http_ssi_filter_module.c             ctx->state = state;
ctx              1006 http/modules/ngx_http_ssi_filter_module.c             ctx->pos = p;
ctx              1007 http/modules/ngx_http_ssi_filter_module.c             ctx->looked = looked;
ctx              1008 http/modules/ngx_http_ssi_filter_module.c             ctx->copy_end = p;
ctx              1010 http/modules/ngx_http_ssi_filter_module.c             if (ctx->copy_start == NULL) {
ctx              1011 http/modules/ngx_http_ssi_filter_module.c                 ctx->copy_start = ctx->buf->pos;
ctx              1093 http/modules/ngx_http_ssi_filter_module.c                 if (p - ctx->pos < 4) {
ctx              1094 http/modules/ngx_http_ssi_filter_module.c                     ctx->saved = 0;
ctx              1124 http/modules/ngx_http_ssi_filter_module.c                 ctx->command.len = 1;
ctx              1125 http/modules/ngx_http_ssi_filter_module.c                 ctx->command.data = ngx_pnalloc(r->pool,
ctx              1127 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->command.data == NULL) {
ctx              1131 http/modules/ngx_http_ssi_filter_module.c                 ctx->command.data[0] = ch;
ctx              1133 http/modules/ngx_http_ssi_filter_module.c                 ctx->key = 0;
ctx              1134 http/modules/ngx_http_ssi_filter_module.c                 ctx->key = ngx_hash(ctx->key, ch);
ctx              1136 http/modules/ngx_http_ssi_filter_module.c                 ctx->params.nelts = 0;
ctx              1158 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->command.len == NGX_HTTP_SSI_COMMAND_LEN) {
ctx              1161 http/modules/ngx_http_ssi_filter_module.c                                   &ctx->command, ch);
ctx              1167 http/modules/ngx_http_ssi_filter_module.c                 ctx->command.data[ctx->command.len++] = ch;
ctx              1168 http/modules/ngx_http_ssi_filter_module.c                 ctx->key = ngx_hash(ctx->key, ch);
ctx              1186 http/modules/ngx_http_ssi_filter_module.c                 ctx->param = ngx_array_push(&ctx->params);
ctx              1187 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->param == NULL) {
ctx              1191 http/modules/ngx_http_ssi_filter_module.c                 ctx->param->key.len = 1;
ctx              1192 http/modules/ngx_http_ssi_filter_module.c                 ctx->param->key.data = ngx_pnalloc(r->pool,
ctx              1194 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->param->key.data == NULL) {
ctx              1198 http/modules/ngx_http_ssi_filter_module.c                 ctx->param->key.data[0] = ch;
ctx              1200 http/modules/ngx_http_ssi_filter_module.c                 ctx->param->value.len = 0;
ctx              1202 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->value_buf == NULL) {
ctx              1203 http/modules/ngx_http_ssi_filter_module.c                     ctx->param->value.data = ngx_pnalloc(r->pool,
ctx              1204 http/modules/ngx_http_ssi_filter_module.c                                                          ctx->value_len);
ctx              1205 http/modules/ngx_http_ssi_filter_module.c                     if (ctx->param->value.data == NULL) {
ctx              1210 http/modules/ngx_http_ssi_filter_module.c                     ctx->param->value.data = ctx->value_buf;
ctx              1235 http/modules/ngx_http_ssi_filter_module.c                 ctx->param->key.data[ctx->param->key.len++] = ch;
ctx              1238 http/modules/ngx_http_ssi_filter_module.c                               &ctx->param->key, &ctx->command);
ctx              1242 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->param->key.len == NGX_HTTP_SSI_PARAM_LEN) {
ctx              1247 http/modules/ngx_http_ssi_filter_module.c                                   &ctx->param->key, ch, &ctx->command);
ctx              1251 http/modules/ngx_http_ssi_filter_module.c                 ctx->param->key.data[ctx->param->key.len++] = ch;
ctx              1278 http/modules/ngx_http_ssi_filter_module.c                               ch, &ctx->param->key, &ctx->command);
ctx              1310 http/modules/ngx_http_ssi_filter_module.c                               ch, &ctx->param->key, &ctx->command);
ctx              1323 http/modules/ngx_http_ssi_filter_module.c                 ctx->saved_state = ssi_double_quoted_value_state;
ctx              1329 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->param->value.len == ctx->value_len) {
ctx              1333 http/modules/ngx_http_ssi_filter_module.c                                   &ctx->param->value, ch, &ctx->param->key,
ctx              1334 http/modules/ngx_http_ssi_filter_module.c                                   &ctx->command);
ctx              1339 http/modules/ngx_http_ssi_filter_module.c                 ctx->param->value.data[ctx->param->value.len++] = ch;
ctx              1351 http/modules/ngx_http_ssi_filter_module.c                 ctx->saved_state = ssi_quoted_value_state;
ctx              1357 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->param->value.len == ctx->value_len) {
ctx              1361 http/modules/ngx_http_ssi_filter_module.c                                   &ctx->param->value, ch, &ctx->param->key,
ctx              1362 http/modules/ngx_http_ssi_filter_module.c                                   &ctx->command);
ctx              1367 http/modules/ngx_http_ssi_filter_module.c                 ctx->param->value.data[ctx->param->value.len++] = ch;
ctx              1373 http/modules/ngx_http_ssi_filter_module.c             state = ctx->saved_state;
ctx              1375 http/modules/ngx_http_ssi_filter_module.c             ctx->param->value.data[ctx->param->value.len++] = ch;
ctx              1381 http/modules/ngx_http_ssi_filter_module.c             if (ctx->param->value.len + 1 < ctx->value_len / 2) {
ctx              1382 http/modules/ngx_http_ssi_filter_module.c                 value = ngx_pnalloc(r->pool, ctx->param->value.len + 1);
ctx              1387 http/modules/ngx_http_ssi_filter_module.c                 ngx_memcpy(value, ctx->param->value.data,
ctx              1388 http/modules/ngx_http_ssi_filter_module.c                            ctx->param->value.len);
ctx              1390 http/modules/ngx_http_ssi_filter_module.c                 ctx->value_buf = ctx->param->value.data;
ctx              1391 http/modules/ngx_http_ssi_filter_module.c                 ctx->param->value.data = value;
ctx              1394 http/modules/ngx_http_ssi_filter_module.c                 ctx->value_buf = NULL;
ctx              1413 http/modules/ngx_http_ssi_filter_module.c                               ch, &ctx->param->value, &ctx->param->key,
ctx              1414 http/modules/ngx_http_ssi_filter_module.c                               &ctx->command);
ctx              1430 http/modules/ngx_http_ssi_filter_module.c                               ch, &ctx->command);
ctx              1440 http/modules/ngx_http_ssi_filter_module.c                 ctx->state = ssi_start_state;
ctx              1441 http/modules/ngx_http_ssi_filter_module.c                 ctx->pos = p + 1;
ctx              1442 http/modules/ngx_http_ssi_filter_module.c                 ctx->looked = looked;
ctx              1443 http/modules/ngx_http_ssi_filter_module.c                 ctx->copy_end = copy_end;
ctx              1445 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->copy_start == NULL && copy_end) {
ctx              1446 http/modules/ngx_http_ssi_filter_module.c                     ctx->copy_start = ctx->buf->pos;
ctx              1454 http/modules/ngx_http_ssi_filter_module.c                               ch, &ctx->command);
ctx              1489 http/modules/ngx_http_ssi_filter_module.c                 ctx->state = ssi_start_state;
ctx              1490 http/modules/ngx_http_ssi_filter_module.c                 ctx->pos = p + 1;
ctx              1491 http/modules/ngx_http_ssi_filter_module.c                 ctx->looked = looked;
ctx              1492 http/modules/ngx_http_ssi_filter_module.c                 ctx->copy_end = copy_end;
ctx              1494 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->copy_start == NULL && copy_end) {
ctx              1495 http/modules/ngx_http_ssi_filter_module.c                     ctx->copy_start = ctx->buf->pos;
ctx              1509 http/modules/ngx_http_ssi_filter_module.c     ctx->state = state;
ctx              1510 http/modules/ngx_http_ssi_filter_module.c     ctx->pos = p;
ctx              1511 http/modules/ngx_http_ssi_filter_module.c     ctx->looked = looked;
ctx              1513 http/modules/ngx_http_ssi_filter_module.c     ctx->copy_end = (state == ssi_start_state) ? p : copy_end;
ctx              1515 http/modules/ngx_http_ssi_filter_module.c     if (ctx->copy_start == NULL && ctx->copy_end) {
ctx              1516 http/modules/ngx_http_ssi_filter_module.c         ctx->copy_start = ctx->buf->pos;
ctx              1530 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t  *ctx;
ctx              1532 http/modules/ngx_http_ssi_filter_module.c     ctx = ngx_http_get_module_ctx(r->main, ngx_http_ssi_filter_module);
ctx              1534 http/modules/ngx_http_ssi_filter_module.c     if (ctx->variables == NULL) {
ctx              1538 http/modules/ngx_http_ssi_filter_module.c     part = &ctx->variables->part;
ctx              1571 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_evaluate_string(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ctx              1823 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_include(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ctx              1892 http/modules/ngx_http_ssi_filter_module.c     rc = ngx_http_ssi_evaluate_string(r, ctx, uri, NGX_HTTP_SSI_ADD_PREFIX);
ctx              1956 http/modules/ngx_http_ssi_filter_module.c                 if (ctx->free) {
ctx              1957 http/modules/ngx_http_ssi_filter_module.c                     cl = ctx->free;
ctx              1958 http/modules/ngx_http_ssi_filter_module.c                     ctx->free = ctx->free->next;
ctx              2038 http/modules/ngx_http_ssi_filter_module.c     if (ctx->wait == NULL) {
ctx              2039 http/modules/ngx_http_ssi_filter_module.c         ctx->wait = sr;
ctx              2095 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_echo(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ctx              2150 http/modules/ngx_http_ssi_filter_module.c             ctx->encoding = NGX_HTTP_SSI_NO_ENCODING;
ctx              2154 http/modules/ngx_http_ssi_filter_module.c             ctx->encoding = NGX_HTTP_SSI_URL_ENCODING;
ctx              2158 http/modules/ngx_http_ssi_filter_module.c             ctx->encoding = NGX_HTTP_SSI_ENTITY_ENCODING;
ctx              2169 http/modules/ngx_http_ssi_filter_module.c     switch (ctx->encoding) {
ctx              2223 http/modules/ngx_http_ssi_filter_module.c     *ctx->last_out = cl;
ctx              2224 http/modules/ngx_http_ssi_filter_module.c     ctx->last_out = &cl->next;
ctx              2231 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_config(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ctx              2239 http/modules/ngx_http_ssi_filter_module.c         ctx->timefmt.len = value->len;
ctx              2240 http/modules/ngx_http_ssi_filter_module.c         ctx->timefmt.data = ngx_pnalloc(r->pool, value->len + 1);
ctx              2241 http/modules/ngx_http_ssi_filter_module.c         if (ctx->timefmt.data == NULL) {
ctx              2245 http/modules/ngx_http_ssi_filter_module.c         ngx_cpystrn(ctx->timefmt.data, value->data, value->len + 1);
ctx              2251 http/modules/ngx_http_ssi_filter_module.c         ctx->errmsg = *value;
ctx              2259 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_set(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ctx              2283 http/modules/ngx_http_ssi_filter_module.c     rc = ngx_http_ssi_evaluate_string(r, ctx, value, 0);
ctx              2315 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_if(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ctx              2323 http/modules/ngx_http_ssi_filter_module.c     if (ctx->command.len == 2) {
ctx              2324 http/modules/ngx_http_ssi_filter_module.c         if (ctx->conditional) {
ctx              2331 http/modules/ngx_http_ssi_filter_module.c     if (ctx->output_chosen) {
ctx              2332 http/modules/ngx_http_ssi_filter_module.c         ctx->output = 0;
ctx              2372 http/modules/ngx_http_ssi_filter_module.c     rc = ngx_http_ssi_evaluate_string(r, ctx, &left, flags);
ctx              2383 http/modules/ngx_http_ssi_filter_module.c             ctx->output = 1;
ctx              2384 http/modules/ngx_http_ssi_filter_module.c             ctx->output_chosen = 1;
ctx              2387 http/modules/ngx_http_ssi_filter_module.c             ctx->output = 0;
ctx              2390 http/modules/ngx_http_ssi_filter_module.c         ctx->conditional = NGX_HTTP_SSI_COND_IF;
ctx              2436 http/modules/ngx_http_ssi_filter_module.c     rc = ngx_http_ssi_evaluate_string(r, ctx, &right, flags);
ctx              2490 http/modules/ngx_http_ssi_filter_module.c         ctx->output = 1;
ctx              2491 http/modules/ngx_http_ssi_filter_module.c         ctx->output_chosen = 1;
ctx              2494 http/modules/ngx_http_ssi_filter_module.c         ctx->output = 0;
ctx              2497 http/modules/ngx_http_ssi_filter_module.c     ctx->conditional = NGX_HTTP_SSI_COND_IF;
ctx              2511 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_else(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ctx              2517 http/modules/ngx_http_ssi_filter_module.c     if (ctx->output_chosen) {
ctx              2518 http/modules/ngx_http_ssi_filter_module.c         ctx->output = 0;
ctx              2520 http/modules/ngx_http_ssi_filter_module.c         ctx->output = 1;
ctx              2523 http/modules/ngx_http_ssi_filter_module.c     ctx->conditional = NGX_HTTP_SSI_COND_ELSE;
ctx              2530 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_endif(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ctx              2536 http/modules/ngx_http_ssi_filter_module.c     ctx->output = 1;
ctx              2537 http/modules/ngx_http_ssi_filter_module.c     ctx->output_chosen = 0;
ctx              2538 http/modules/ngx_http_ssi_filter_module.c     ctx->conditional = 0;
ctx              2545 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_block(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ctx              2573 http/modules/ngx_http_ssi_filter_module.c     ctx->output = 0;
ctx              2574 http/modules/ngx_http_ssi_filter_module.c     ctx->block = 1;
ctx              2581 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_endblock(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
ctx              2587 http/modules/ngx_http_ssi_filter_module.c     ctx->output = 1;
ctx              2588 http/modules/ngx_http_ssi_filter_module.c     ctx->block = 0;
ctx              2598 http/modules/ngx_http_ssi_filter_module.c     ngx_http_ssi_ctx_t  *ctx;
ctx              2609 http/modules/ngx_http_ssi_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_ssi_filter_module);
ctx              2611 http/modules/ngx_http_ssi_filter_module.c     if (ctx == NULL
ctx              2612 http/modules/ngx_http_ssi_filter_module.c         || (ctx->timefmt.len == sizeof("%s") - 1
ctx              2613 http/modules/ngx_http_ssi_filter_module.c             && ctx->timefmt.data[0] == '%' && ctx->timefmt.data[1] == 's'))
ctx              2632 http/modules/ngx_http_ssi_filter_module.c                       (char *) ctx->timefmt.data, &tm);
ctx                81 http/modules/ngx_http_ssi_filter_module.h     ngx_http_ssi_ctx_t *ctx, ngx_str_t **);
ctx               406 http/modules/ngx_http_ssl_module.c     if (SSL_CTX_set_tlsext_servername_callback(conf->ssl.ctx,
ctx               433 http/modules/ngx_http_ssl_module.c     if (SSL_CTX_set_cipher_list(conf->ssl.ctx,
ctx               464 http/modules/ngx_http_ssl_module.c         SSL_CTX_set_options(conf->ssl.ctx, SSL_OP_CIPHER_SERVER_PREFERENCE);
ctx                56 http/modules/ngx_http_sub_filter_module.c     ngx_http_sub_ctx_t *ctx);
ctx                58 http/modules/ngx_http_sub_filter_module.c     ngx_http_sub_ctx_t *ctx);
ctx               133 http/modules/ngx_http_sub_filter_module.c     ngx_http_sub_ctx_t        *ctx;
ctx               145 http/modules/ngx_http_sub_filter_module.c     ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_sub_ctx_t));
ctx               146 http/modules/ngx_http_sub_filter_module.c     if (ctx == NULL) {
ctx               150 http/modules/ngx_http_sub_filter_module.c     ctx->saved.data = ngx_pnalloc(r->pool, slcf->match.len);
ctx               151 http/modules/ngx_http_sub_filter_module.c     if (ctx->saved.data == NULL) {
ctx               155 http/modules/ngx_http_sub_filter_module.c     ctx->looked.data = ngx_pnalloc(r->pool, slcf->match.len);
ctx               156 http/modules/ngx_http_sub_filter_module.c     if (ctx->looked.data == NULL) {
ctx               160 http/modules/ngx_http_sub_filter_module.c     ngx_http_set_ctx(r, ctx, ngx_http_sub_filter_module);
ctx               162 http/modules/ngx_http_sub_filter_module.c     ctx->match = slcf->match;
ctx               163 http/modules/ngx_http_sub_filter_module.c     ctx->last_out = &ctx->out;
ctx               182 http/modules/ngx_http_sub_filter_module.c     ngx_http_sub_ctx_t        *ctx;
ctx               185 http/modules/ngx_http_sub_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_sub_filter_module);
ctx               187 http/modules/ngx_http_sub_filter_module.c     if (ctx == NULL) {
ctx               192 http/modules/ngx_http_sub_filter_module.c          && ctx->buf == NULL
ctx               193 http/modules/ngx_http_sub_filter_module.c          && ctx->in == NULL
ctx               194 http/modules/ngx_http_sub_filter_module.c          && ctx->busy == NULL))
ctx               199 http/modules/ngx_http_sub_filter_module.c     if (ctx->once && (ctx->buf == NULL || ctx->in == NULL)) {
ctx               201 http/modules/ngx_http_sub_filter_module.c         if (ctx->busy) {
ctx               202 http/modules/ngx_http_sub_filter_module.c             if (ngx_http_sub_output(r, ctx) == NGX_ERROR) {
ctx               213 http/modules/ngx_http_sub_filter_module.c         if (ngx_chain_add_copy(r->pool, &ctx->in, in) != NGX_OK) {
ctx               221 http/modules/ngx_http_sub_filter_module.c     while (ctx->in || ctx->buf) {
ctx               223 http/modules/ngx_http_sub_filter_module.c         if (ctx->buf == NULL) {
ctx               224 http/modules/ngx_http_sub_filter_module.c             ctx->buf = ctx->in->buf;
ctx               225 http/modules/ngx_http_sub_filter_module.c             ctx->in = ctx->in->next;
ctx               226 http/modules/ngx_http_sub_filter_module.c             ctx->pos = ctx->buf->pos;
ctx               229 http/modules/ngx_http_sub_filter_module.c         if (ctx->state == sub_start_state) {
ctx               230 http/modules/ngx_http_sub_filter_module.c             ctx->copy_start = ctx->pos;
ctx               231 http/modules/ngx_http_sub_filter_module.c             ctx->copy_end = ctx->pos;
ctx               236 http/modules/ngx_http_sub_filter_module.c         while (ctx->pos < ctx->buf->last) {
ctx               239 http/modules/ngx_http_sub_filter_module.c                            "saved: \"%V\" state: %d", &ctx->saved, ctx->state);
ctx               241 http/modules/ngx_http_sub_filter_module.c             rc = ngx_http_sub_parse(r, ctx);
ctx               245 http/modules/ngx_http_sub_filter_module.c                            rc, &ctx->looked, ctx->copy_start, ctx->copy_end);
ctx               251 http/modules/ngx_http_sub_filter_module.c             if (ctx->copy_start != ctx->copy_end) {
ctx               254 http/modules/ngx_http_sub_filter_module.c                                "saved: \"%V\"", &ctx->saved);
ctx               256 http/modules/ngx_http_sub_filter_module.c                 if (ctx->saved.len) {
ctx               258 http/modules/ngx_http_sub_filter_module.c                     if (ctx->free) {
ctx               259 http/modules/ngx_http_sub_filter_module.c                         cl = ctx->free;
ctx               260 http/modules/ngx_http_sub_filter_module.c                         ctx->free = ctx->free->next;
ctx               278 http/modules/ngx_http_sub_filter_module.c                     b->pos = ngx_pnalloc(r->pool, ctx->saved.len);
ctx               283 http/modules/ngx_http_sub_filter_module.c                     ngx_memcpy(b->pos, ctx->saved.data, ctx->saved.len);
ctx               284 http/modules/ngx_http_sub_filter_module.c                     b->last = b->pos + ctx->saved.len;
ctx               287 http/modules/ngx_http_sub_filter_module.c                     *ctx->last_out = cl;
ctx               288 http/modules/ngx_http_sub_filter_module.c                     ctx->last_out = &cl->next;
ctx               290 http/modules/ngx_http_sub_filter_module.c                     ctx->saved.len = 0;
ctx               293 http/modules/ngx_http_sub_filter_module.c                 if (ctx->free) {
ctx               294 http/modules/ngx_http_sub_filter_module.c                     cl = ctx->free;
ctx               295 http/modules/ngx_http_sub_filter_module.c                     ctx->free = ctx->free->next;
ctx               312 http/modules/ngx_http_sub_filter_module.c                 ngx_memcpy(b, ctx->buf, sizeof(ngx_buf_t));
ctx               314 http/modules/ngx_http_sub_filter_module.c                 b->pos = ctx->copy_start;
ctx               315 http/modules/ngx_http_sub_filter_module.c                 b->last = ctx->copy_end;
ctx               321 http/modules/ngx_http_sub_filter_module.c                     b->file_last = b->file_pos + (b->last - ctx->buf->pos);
ctx               322 http/modules/ngx_http_sub_filter_module.c                     b->file_pos += b->pos - ctx->buf->pos;
ctx               326 http/modules/ngx_http_sub_filter_module.c                 *ctx->last_out = cl;
ctx               327 http/modules/ngx_http_sub_filter_module.c                 ctx->last_out = &cl->next;
ctx               330 http/modules/ngx_http_sub_filter_module.c             if (ctx->state == sub_start_state) {
ctx               331 http/modules/ngx_http_sub_filter_module.c                 ctx->copy_start = ctx->pos;
ctx               332 http/modules/ngx_http_sub_filter_module.c                 ctx->copy_end = ctx->pos;
ctx               335 http/modules/ngx_http_sub_filter_module.c                 ctx->copy_start = NULL;
ctx               336 http/modules/ngx_http_sub_filter_module.c                 ctx->copy_end = NULL;
ctx               358 http/modules/ngx_http_sub_filter_module.c             if (ctx->sub.data == NULL) {
ctx               360 http/modules/ngx_http_sub_filter_module.c                 if (ngx_http_complex_value(r, &slcf->value, &ctx->sub)
ctx               367 http/modules/ngx_http_sub_filter_module.c             if (ctx->sub.len) {
ctx               369 http/modules/ngx_http_sub_filter_module.c                 b->pos = ctx->sub.data;
ctx               370 http/modules/ngx_http_sub_filter_module.c                 b->last = ctx->sub.data + ctx->sub.len;
ctx               378 http/modules/ngx_http_sub_filter_module.c             *ctx->last_out = cl;
ctx               379 http/modules/ngx_http_sub_filter_module.c             ctx->last_out = &cl->next;
ctx               381 http/modules/ngx_http_sub_filter_module.c             ctx->once = slcf->once;
ctx               386 http/modules/ngx_http_sub_filter_module.c         if (ctx->buf->last_buf || ngx_buf_in_memory(ctx->buf)) {
ctx               388 http/modules/ngx_http_sub_filter_module.c                 if (ctx->free) {
ctx               389 http/modules/ngx_http_sub_filter_module.c                     cl = ctx->free;
ctx               390 http/modules/ngx_http_sub_filter_module.c                     ctx->free = ctx->free->next;
ctx               411 http/modules/ngx_http_sub_filter_module.c                 *ctx->last_out = cl;
ctx               412 http/modules/ngx_http_sub_filter_module.c                 ctx->last_out = &cl->next;
ctx               415 http/modules/ngx_http_sub_filter_module.c             b->last_buf = ctx->buf->last_buf;
ctx               416 http/modules/ngx_http_sub_filter_module.c             b->shadow = ctx->buf;
ctx               418 http/modules/ngx_http_sub_filter_module.c             b->recycled = ctx->buf->recycled;
ctx               421 http/modules/ngx_http_sub_filter_module.c         ctx->buf = NULL;
ctx               423 http/modules/ngx_http_sub_filter_module.c         ctx->saved.len = ctx->looked.len;
ctx               424 http/modules/ngx_http_sub_filter_module.c         ngx_memcpy(ctx->saved.data, ctx->looked.data, ctx->looked.len);
ctx               427 http/modules/ngx_http_sub_filter_module.c     if (ctx->out == NULL && ctx->busy == NULL) {
ctx               431 http/modules/ngx_http_sub_filter_module.c     return ngx_http_sub_output(r, ctx);
ctx               436 http/modules/ngx_http_sub_filter_module.c ngx_http_sub_output(ngx_http_request_t *r, ngx_http_sub_ctx_t *ctx)
ctx               444 http/modules/ngx_http_sub_filter_module.c     for (cl = ctx->out; cl; cl = cl->next) {
ctx               457 http/modules/ngx_http_sub_filter_module.c     rc = ngx_http_next_body_filter(r, ctx->out);
ctx               459 http/modules/ngx_http_sub_filter_module.c     if (ctx->busy == NULL) {
ctx               460 http/modules/ngx_http_sub_filter_module.c         ctx->busy = ctx->out;
ctx               463 http/modules/ngx_http_sub_filter_module.c         for (cl = ctx->busy; cl->next; cl = cl->next) { /* void */ }
ctx               464 http/modules/ngx_http_sub_filter_module.c         cl->next = ctx->out;
ctx               467 http/modules/ngx_http_sub_filter_module.c     ctx->out = NULL;
ctx               468 http/modules/ngx_http_sub_filter_module.c     ctx->last_out = &ctx->out;
ctx               470 http/modules/ngx_http_sub_filter_module.c     while (ctx->busy) {
ctx               472 http/modules/ngx_http_sub_filter_module.c         cl = ctx->busy;
ctx               483 http/modules/ngx_http_sub_filter_module.c         ctx->busy = cl->next;
ctx               488 http/modules/ngx_http_sub_filter_module.c             cl->next = ctx->free;
ctx               489 http/modules/ngx_http_sub_filter_module.c             ctx->free = cl;
ctx               493 http/modules/ngx_http_sub_filter_module.c     if (ctx->in || ctx->buf) {
ctx               505 http/modules/ngx_http_sub_filter_module.c ngx_http_sub_parse(ngx_http_request_t *r, ngx_http_sub_ctx_t *ctx)
ctx               511 http/modules/ngx_http_sub_filter_module.c     if (ctx->once) {
ctx               512 http/modules/ngx_http_sub_filter_module.c         ctx->copy_start = ctx->pos;
ctx               513 http/modules/ngx_http_sub_filter_module.c         ctx->copy_end = ctx->buf->last;
ctx               514 http/modules/ngx_http_sub_filter_module.c         ctx->pos = ctx->buf->last;
ctx               515 http/modules/ngx_http_sub_filter_module.c         ctx->looked.len = 0;
ctx               522 http/modules/ngx_http_sub_filter_module.c     state = ctx->state;
ctx               523 http/modules/ngx_http_sub_filter_module.c     looked = ctx->looked.len;
ctx               524 http/modules/ngx_http_sub_filter_module.c     last = ctx->buf->last;
ctx               525 http/modules/ngx_http_sub_filter_module.c     copy_end = ctx->copy_end;
ctx               527 http/modules/ngx_http_sub_filter_module.c     for (p = ctx->pos; p < last; p++) {
ctx               536 http/modules/ngx_http_sub_filter_module.c             match = ctx->match.data[0];
ctx               541 http/modules/ngx_http_sub_filter_module.c                     ctx->looked.data[0] = *p;
ctx               556 http/modules/ngx_http_sub_filter_module.c             ctx->state = state;
ctx               557 http/modules/ngx_http_sub_filter_module.c             ctx->pos = p;
ctx               558 http/modules/ngx_http_sub_filter_module.c             ctx->looked.len = looked;
ctx               559 http/modules/ngx_http_sub_filter_module.c             ctx->copy_end = p;
ctx               561 http/modules/ngx_http_sub_filter_module.c             if (ctx->copy_start == NULL) {
ctx               562 http/modules/ngx_http_sub_filter_module.c                 ctx->copy_start = ctx->buf->pos;
ctx               574 http/modules/ngx_http_sub_filter_module.c         if (ch == ctx->match.data[looked]) {
ctx               575 http/modules/ngx_http_sub_filter_module.c             ctx->looked.data[looked] = *p;
ctx               578 http/modules/ngx_http_sub_filter_module.c             if (looked == ctx->match.len) {
ctx               579 http/modules/ngx_http_sub_filter_module.c                 if ((size_t) (p - ctx->pos) < looked) {
ctx               580 http/modules/ngx_http_sub_filter_module.c                     ctx->saved.len = 0;
ctx               583 http/modules/ngx_http_sub_filter_module.c                 ctx->state = sub_start_state;
ctx               584 http/modules/ngx_http_sub_filter_module.c                 ctx->pos = p + 1;
ctx               585 http/modules/ngx_http_sub_filter_module.c                 ctx->looked.len = 0;
ctx               586 http/modules/ngx_http_sub_filter_module.c                 ctx->copy_end = copy_end;
ctx               588 http/modules/ngx_http_sub_filter_module.c                 if (ctx->copy_start == NULL && copy_end) {
ctx               589 http/modules/ngx_http_sub_filter_module.c                     ctx->copy_start = ctx->buf->pos;
ctx               595 http/modules/ngx_http_sub_filter_module.c         } else if (ch == ctx->match.data[0]) {
ctx               597 http/modules/ngx_http_sub_filter_module.c             ctx->looked.data[0] = *p;
ctx               607 http/modules/ngx_http_sub_filter_module.c     ctx->state = state;
ctx               608 http/modules/ngx_http_sub_filter_module.c     ctx->pos = p;
ctx               609 http/modules/ngx_http_sub_filter_module.c     ctx->looked.len = looked;
ctx               611 http/modules/ngx_http_sub_filter_module.c     ctx->copy_end = (state == sub_start_state) ? p : copy_end;
ctx               613 http/modules/ngx_http_sub_filter_module.c     if (ctx->copy_start == NULL && ctx->copy_end) {
ctx               614 http/modules/ngx_http_sub_filter_module.c         ctx->copy_start = ctx->buf->pos;
ctx                49 http/modules/ngx_http_userid_filter_module.c     ngx_http_userid_ctx_t *ctx, ngx_http_userid_conf_t *conf);
ctx                51 http/modules/ngx_http_userid_filter_module.c     ngx_http_userid_ctx_t *ctx, ngx_http_userid_conf_t *conf);
ctx               195 http/modules/ngx_http_userid_filter_module.c     ngx_http_userid_ctx_t   *ctx;
ctx               208 http/modules/ngx_http_userid_filter_module.c     ctx = ngx_http_userid_get_uid(r, conf);
ctx               210 http/modules/ngx_http_userid_filter_module.c     if (ctx == NULL) {
ctx               214 http/modules/ngx_http_userid_filter_module.c     if (ngx_http_userid_set_uid(r, ctx, conf) == NGX_OK) {
ctx               226 http/modules/ngx_http_userid_filter_module.c     ngx_http_userid_ctx_t   *ctx;
ctx               236 http/modules/ngx_http_userid_filter_module.c     ctx = ngx_http_userid_get_uid(r->main, conf);
ctx               238 http/modules/ngx_http_userid_filter_module.c     if (ctx == NULL) {
ctx               242 http/modules/ngx_http_userid_filter_module.c     if (ctx->uid_got[3] != 0) {
ctx               243 http/modules/ngx_http_userid_filter_module.c         return ngx_http_userid_variable(r->main, v, &conf->name, ctx->uid_got);
ctx               256 http/modules/ngx_http_userid_filter_module.c     ngx_http_userid_ctx_t   *ctx;
ctx               266 http/modules/ngx_http_userid_filter_module.c     ctx = ngx_http_userid_get_uid(r->main, conf);
ctx               268 http/modules/ngx_http_userid_filter_module.c     if (ctx == NULL) {
ctx               272 http/modules/ngx_http_userid_filter_module.c     if (ngx_http_userid_create_uid(r->main, ctx, conf) != NGX_OK) {
ctx               276 http/modules/ngx_http_userid_filter_module.c     if (ctx->uid_set[3] == 0) {
ctx               281 http/modules/ngx_http_userid_filter_module.c     return ngx_http_userid_variable(r->main, v, &conf->name, ctx->uid_set);
ctx               291 http/modules/ngx_http_userid_filter_module.c     ngx_http_userid_ctx_t   *ctx;
ctx               293 http/modules/ngx_http_userid_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_userid_filter_module);
ctx               295 http/modules/ngx_http_userid_filter_module.c     if (ctx) {
ctx               296 http/modules/ngx_http_userid_filter_module.c         return ctx;
ctx               299 http/modules/ngx_http_userid_filter_module.c     if (ctx == NULL) {
ctx               300 http/modules/ngx_http_userid_filter_module.c         ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_userid_ctx_t));
ctx               301 http/modules/ngx_http_userid_filter_module.c         if (ctx == NULL) {
ctx               305 http/modules/ngx_http_userid_filter_module.c         ngx_http_set_ctx(r, ctx, ngx_http_userid_filter_module);
ctx               309 http/modules/ngx_http_userid_filter_module.c                                           &ctx->cookie);
ctx               311 http/modules/ngx_http_userid_filter_module.c         return ctx;
ctx               315 http/modules/ngx_http_userid_filter_module.c                    "uid cookie: \"%V\"", &ctx->cookie);
ctx               317 http/modules/ngx_http_userid_filter_module.c     if (ctx->cookie.len < 22) {
ctx               322 http/modules/ngx_http_userid_filter_module.c         return ctx;
ctx               325 http/modules/ngx_http_userid_filter_module.c     src = ctx->cookie;
ctx               336 http/modules/ngx_http_userid_filter_module.c     dst.data = (u_char *) ctx->uid_got;
ctx               343 http/modules/ngx_http_userid_filter_module.c         return ctx;
ctx               348 http/modules/ngx_http_userid_filter_module.c                    ctx->uid_got[0], ctx->uid_got[1],
ctx               349 http/modules/ngx_http_userid_filter_module.c                    ctx->uid_got[2], ctx->uid_got[3]);
ctx               351 http/modules/ngx_http_userid_filter_module.c     return ctx;
ctx               356 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_set_uid(ngx_http_request_t *r, ngx_http_userid_ctx_t *ctx,
ctx               364 http/modules/ngx_http_userid_filter_module.c     if (ngx_http_userid_create_uid(r, ctx, conf) != NGX_OK) {
ctx               368 http/modules/ngx_http_userid_filter_module.c     if (ctx->uid_set[3] == 0) {
ctx               390 http/modules/ngx_http_userid_filter_module.c     if (ctx->uid_got[3] == 0) {
ctx               392 http/modules/ngx_http_userid_filter_module.c         src.data = (u_char *) ctx->uid_set;
ctx               404 http/modules/ngx_http_userid_filter_module.c         p = ngx_cpymem(p, ctx->cookie.data, 22);
ctx               452 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_create_uid(ngx_http_request_t *r, ngx_http_userid_ctx_t *ctx,
ctx               462 http/modules/ngx_http_userid_filter_module.c     if (ctx->uid_set[3] != 0) {
ctx               466 http/modules/ngx_http_userid_filter_module.c     if (ctx->uid_got[3] != 0) {
ctx               469 http/modules/ngx_http_userid_filter_module.c             || (ctx->cookie.len > 23
ctx               470 http/modules/ngx_http_userid_filter_module.c                 && ctx->cookie.data[22] == conf->mark
ctx               471 http/modules/ngx_http_userid_filter_module.c                 && ctx->cookie.data[23] == '='))
ctx               476 http/modules/ngx_http_userid_filter_module.c         ctx->uid_set[0] = ctx->uid_got[0];
ctx               477 http/modules/ngx_http_userid_filter_module.c         ctx->uid_set[1] = ctx->uid_got[1];
ctx               478 http/modules/ngx_http_userid_filter_module.c         ctx->uid_set[2] = ctx->uid_got[2];
ctx               479 http/modules/ngx_http_userid_filter_module.c         ctx->uid_set[3] = ctx->uid_got[3];
ctx               491 http/modules/ngx_http_userid_filter_module.c             ctx->uid_set[0] = 0;
ctx               493 http/modules/ngx_http_userid_filter_module.c             ctx->uid_set[0] = conf->service;
ctx               495 http/modules/ngx_http_userid_filter_module.c         ctx->uid_set[1] = (uint32_t) ngx_time();
ctx               496 http/modules/ngx_http_userid_filter_module.c         ctx->uid_set[2] = start_value;
ctx               497 http/modules/ngx_http_userid_filter_module.c         ctx->uid_set[3] = sequencer_v1;
ctx               515 http/modules/ngx_http_userid_filter_module.c                 p = (u_char *) &ctx->uid_set[0];
ctx               526 http/modules/ngx_http_userid_filter_module.c                 ctx->uid_set[0] = sin->sin_addr.s_addr;
ctx               531 http/modules/ngx_http_userid_filter_module.c             ctx->uid_set[0] = htonl(conf->service);
ctx               534 http/modules/ngx_http_userid_filter_module.c         ctx->uid_set[1] = htonl((uint32_t) ngx_time());
ctx               535 http/modules/ngx_http_userid_filter_module.c         ctx->uid_set[2] = htonl(start_value);
ctx               536 http/modules/ngx_http_userid_filter_module.c         ctx->uid_set[3] = htonl(sequencer_v2);
ctx                65 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t *ctx, ngx_buf_t *b);
ctx                67 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t *ctx, ngx_buf_t *b);
ctx                76 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t *ctx);
ctx                78 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t *ctx, ngx_array_t *params);
ctx               168 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t       *ctx;
ctx               186 http/modules/ngx_http_xslt_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_xslt_filter_module);
ctx               188 http/modules/ngx_http_xslt_filter_module.c     if (ctx) {
ctx               192 http/modules/ngx_http_xslt_filter_module.c     ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_xslt_filter_ctx_t));
ctx               193 http/modules/ngx_http_xslt_filter_module.c     if (ctx == NULL) {
ctx               197 http/modules/ngx_http_xslt_filter_module.c     ngx_http_set_ctx(r, ctx, ngx_http_xslt_filter_module);
ctx               210 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t  *ctx;
ctx               219 http/modules/ngx_http_xslt_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_xslt_filter_module);
ctx               221 http/modules/ngx_http_xslt_filter_module.c     if (ctx == NULL || ctx->done) {
ctx               227 http/modules/ngx_http_xslt_filter_module.c         if (ngx_http_xslt_add_chunk(r, ctx, cl->buf) != NGX_OK) {
ctx               229 http/modules/ngx_http_xslt_filter_module.c             if (ctx->ctxt->myDoc) {
ctx               232 http/modules/ngx_http_xslt_filter_module.c                 ctx->ctxt->myDoc->extSubset = NULL;
ctx               234 http/modules/ngx_http_xslt_filter_module.c                 xmlFreeDoc(ctx->ctxt->myDoc);
ctx               237 http/modules/ngx_http_xslt_filter_module.c             xmlFreeParserCtxt(ctx->ctxt);
ctx               239 http/modules/ngx_http_xslt_filter_module.c             return ngx_http_xslt_send(r, ctx, NULL);
ctx               244 http/modules/ngx_http_xslt_filter_module.c             ctx->doc = ctx->ctxt->myDoc;
ctx               247 http/modules/ngx_http_xslt_filter_module.c             ctx->doc->extSubset = NULL;
ctx               250 http/modules/ngx_http_xslt_filter_module.c             wellFormed = ctx->ctxt->wellFormed;
ctx               252 http/modules/ngx_http_xslt_filter_module.c             xmlFreeParserCtxt(ctx->ctxt);
ctx               255 http/modules/ngx_http_xslt_filter_module.c                 return ngx_http_xslt_send(r, ctx,
ctx               256 http/modules/ngx_http_xslt_filter_module.c                                        ngx_http_xslt_apply_stylesheet(r, ctx));
ctx               259 http/modules/ngx_http_xslt_filter_module.c             xmlFreeDoc(ctx->doc);
ctx               264 http/modules/ngx_http_xslt_filter_module.c             return ngx_http_xslt_send(r, ctx, NULL);
ctx               273 http/modules/ngx_http_xslt_filter_module.c ngx_http_xslt_send(ngx_http_request_t *r, ngx_http_xslt_filter_ctx_t *ctx,
ctx               280 http/modules/ngx_http_xslt_filter_module.c     ctx->done = 1;
ctx               324 http/modules/ngx_http_xslt_filter_module.c ngx_http_xslt_add_chunk(ngx_http_request_t *r, ngx_http_xslt_filter_ctx_t *ctx,
ctx               330 http/modules/ngx_http_xslt_filter_module.c     if (ctx->ctxt == NULL) {
ctx               344 http/modules/ngx_http_xslt_filter_module.c         ctxt->sax->_private = ctx;
ctx               348 http/modules/ngx_http_xslt_filter_module.c         ctx->ctxt = ctxt;
ctx               349 http/modules/ngx_http_xslt_filter_module.c         ctx->request = r;
ctx               352 http/modules/ngx_http_xslt_filter_module.c     err = xmlParseChunk(ctx->ctxt, (char *) b->pos, (int) (b->last - b->pos),
ctx               376 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t       *ctx;
ctx               379 http/modules/ngx_http_xslt_filter_module.c     ctx = ctxt->sax->_private;
ctx               380 http/modules/ngx_http_xslt_filter_module.c     r = ctx->request;
ctx               425 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t  *ctx;
ctx               428 http/modules/ngx_http_xslt_filter_module.c     ctx = ctxt->sax->_private;
ctx               438 http/modules/ngx_http_xslt_filter_module.c     ngx_log_error(NGX_LOG_ERR, ctx->request->connection->log, 0,
ctx               445 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t *ctx)
ctx               458 http/modules/ngx_http_xslt_filter_module.c     doc = ctx->doc;
ctx               462 http/modules/ngx_http_xslt_filter_module.c     if (ngx_array_init(&ctx->params, r->pool, 4 * 2 + 1, sizeof(char *))
ctx               471 http/modules/ngx_http_xslt_filter_module.c         if (ngx_http_xslt_params(r, ctx, &sheet[i].params) != NGX_OK) {
ctx               476 http/modules/ngx_http_xslt_filter_module.c         res = xsltApplyStylesheet(sheet[i].stylesheet, doc, ctx->params.elts);
ctx               489 http/modules/ngx_http_xslt_filter_module.c         ctx->params.nelts = 0;
ctx               566 http/modules/ngx_http_xslt_filter_module.c ngx_http_xslt_params(ngx_http_request_t *r, ngx_http_xslt_filter_ctx_t *ctx,
ctx               603 http/modules/ngx_http_xslt_filter_module.c             s = ngx_array_push(&ctx->params);
ctx               634 http/modules/ngx_http_xslt_filter_module.c             s = ngx_array_push(&ctx->params);
ctx               643 http/modules/ngx_http_xslt_filter_module.c     s = ngx_array_push(&ctx->params);
ctx               185 http/modules/perl/ngx_http_perl_module.c     ngx_http_perl_ctx_t        *ctx;
ctx               191 http/modules/perl/ngx_http_perl_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module);
ctx               193 http/modules/perl/ngx_http_perl_module.c     if (ctx == NULL) {
ctx               194 http/modules/perl/ngx_http_perl_module.c         ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_perl_ctx_t));
ctx               195 http/modules/perl/ngx_http_perl_module.c         if (ctx == NULL) {
ctx               200 http/modules/perl/ngx_http_perl_module.c         ngx_http_set_ctx(r, ctx, ngx_http_perl_module);
ctx               210 http/modules/perl/ngx_http_perl_module.c     if (ctx->next == NULL) {
ctx               216 http/modules/perl/ngx_http_perl_module.c         sub = ctx->next;
ctx               218 http/modules/perl/ngx_http_perl_module.c         ctx->next = NULL;
ctx               238 http/modules/perl/ngx_http_perl_module.c     if (ctx->redirect_uri.len) {
ctx               239 http/modules/perl/ngx_http_perl_module.c         uri = ctx->redirect_uri;
ctx               240 http/modules/perl/ngx_http_perl_module.c         args = ctx->redirect_args;
ctx               246 http/modules/perl/ngx_http_perl_module.c     ctx->filename.data = NULL;
ctx               247 http/modules/perl/ngx_http_perl_module.c     ctx->redirect_uri.len = 0;
ctx               249 http/modules/perl/ngx_http_perl_module.c     if (ctx->done || ctx->next) {
ctx               262 http/modules/perl/ngx_http_perl_module.c         ctx->done = 1;
ctx               299 http/modules/perl/ngx_http_perl_module.c     ngx_http_perl_ctx_t        *ctx;
ctx               305 http/modules/perl/ngx_http_perl_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module);
ctx               307 http/modules/perl/ngx_http_perl_module.c     if (ctx == NULL) {
ctx               308 http/modules/perl/ngx_http_perl_module.c         ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_perl_ctx_t));
ctx               309 http/modules/perl/ngx_http_perl_module.c         if (ctx == NULL) {
ctx               313 http/modules/perl/ngx_http_perl_module.c         ngx_http_set_ctx(r, ctx, ngx_http_perl_module);
ctx               341 http/modules/perl/ngx_http_perl_module.c     ctx->filename.data = NULL;
ctx               342 http/modules/perl/ngx_http_perl_module.c     ctx->redirect_uri.len = 0;
ctx               361 http/modules/perl/ngx_http_perl_module.c     ngx_http_perl_ctx_t        *ctx;
ctx               367 http/modules/perl/ngx_http_perl_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module);
ctx               369 http/modules/perl/ngx_http_perl_module.c     if (ctx == NULL) {
ctx               370 http/modules/perl/ngx_http_perl_module.c         ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_perl_ctx_t));
ctx               371 http/modules/perl/ngx_http_perl_module.c         if (ctx == NULL) {
ctx               375 http/modules/perl/ngx_http_perl_module.c         ngx_http_set_ctx(r, ctx, ngx_http_perl_module);
ctx               380 http/modules/perl/ngx_http_perl_module.c     ctx->ssi = ssi_ctx;
ctx               440 http/modules/perl/ngx_http_perl_module.c     ctx->filename.data = NULL;
ctx               441 http/modules/perl/ngx_http_perl_module.c     ctx->redirect_uri.len = 0;
ctx               442 http/modules/perl/ngx_http_perl_module.c     ctx->ssi = NULL;
ctx               124 http/ngx_http.c     ngx_http_conf_ctx_t         *ctx;
ctx               131 http/ngx_http.c     ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t));
ctx               132 http/ngx_http.c     if (ctx == NULL) {
ctx               136 http/ngx_http.c     *(ngx_http_conf_ctx_t **) conf = ctx;
ctx               153 http/ngx_http.c     ctx->main_conf = ngx_pcalloc(cf->pool,
ctx               155 http/ngx_http.c     if (ctx->main_conf == NULL) {
ctx               165 http/ngx_http.c     ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module);
ctx               166 http/ngx_http.c     if (ctx->srv_conf == NULL) {
ctx               176 http/ngx_http.c     ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module);
ctx               177 http/ngx_http.c     if (ctx->loc_conf == NULL) {
ctx               192 http/ngx_http.c         module = ngx_modules[m]->ctx;
ctx               196 http/ngx_http.c             ctx->main_conf[mi] = module->create_main_conf(cf);
ctx               197 http/ngx_http.c             if (ctx->main_conf[mi] == NULL) {
ctx               203 http/ngx_http.c             ctx->srv_conf[mi] = module->create_srv_conf(cf);
ctx               204 http/ngx_http.c             if (ctx->srv_conf[mi] == NULL) {
ctx               210 http/ngx_http.c             ctx->loc_conf[mi] = module->create_loc_conf(cf);
ctx               211 http/ngx_http.c             if (ctx->loc_conf[mi] == NULL) {
ctx               218 http/ngx_http.c     cf->ctx = ctx;
ctx               225 http/ngx_http.c         module = ngx_modules[m]->ctx;
ctx               249 http/ngx_http.c     cmcf = ctx->main_conf[ngx_http_core_module.ctx_index];
ctx               257 http/ngx_http.c         module = ngx_modules[m]->ctx;
ctx               263 http/ngx_http.c             rv = module->init_main_conf(cf, ctx->main_conf[mi]);
ctx               280 http/ngx_http.c         clcf = cscfp[s]->ctx->loc_conf[ngx_http_core_module.ctx_index];
ctx               306 http/ngx_http.c         module = ngx_modules[m]->ctx;
ctx               567 http/ngx_http.c     ngx_http_conf_ctx_t         *ctx, saved;
ctx               572 http/ngx_http.c     ctx = (ngx_http_conf_ctx_t *) cf->ctx;
ctx               573 http/ngx_http.c     saved = *ctx;
ctx               580 http/ngx_http.c         ctx->srv_conf = cscfp[s]->ctx->srv_conf;
ctx               584 http/ngx_http.c                                         cscfp[s]->ctx->srv_conf[ctx_index]);
ctx               594 http/ngx_http.c             ctx->loc_conf = cscfp[s]->ctx->loc_conf;
ctx               597 http/ngx_http.c                                         cscfp[s]->ctx->loc_conf[ctx_index]);
ctx               604 http/ngx_http.c             clcf = cscfp[s]->ctx->loc_conf[ngx_http_core_module.ctx_index];
ctx               607 http/ngx_http.c                                           cscfp[s]->ctx->loc_conf,
ctx               617 http/ngx_http.c     *ctx = saved;
ctx               629 http/ngx_http.c     ngx_http_conf_ctx_t        *ctx, saved;
ctx               637 http/ngx_http.c     ctx = (ngx_http_conf_ctx_t *) cf->ctx;
ctx               638 http/ngx_http.c     saved = *ctx;
ctx               647 http/ngx_http.c         ctx->loc_conf = clcf->loc_conf;
ctx               662 http/ngx_http.c     *ctx = saved;
ctx              1742 http/ngx_http.c     clcf = cscf->ctx->loc_conf[ngx_http_core_module.ctx_index];
ctx                62 http/ngx_http.h #define ngx_http_get_module_ctx(r, module)  (r)->ctx[module.ctx_index]
ctx                63 http/ngx_http.h #define ngx_http_set_ctx(r, c, module)      r->ctx[module.ctx_index] = c;
ctx                61 http/ngx_http_config.h     ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index]
ctx                63 http/ngx_http_config.h     ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
ctx                65 http/ngx_http_config.h     ((ngx_http_conf_ctx_t *) cf->ctx)->loc_conf[module.ctx_index]
ctx                18 http/ngx_http_copy_filter_module.c static void ngx_http_copy_aio_handler(ngx_output_chain_ctx_t *ctx,
ctx                84 http/ngx_http_copy_filter_module.c     ngx_output_chain_ctx_t       *ctx;
ctx                93 http/ngx_http_copy_filter_module.c     ctx = ngx_http_get_module_ctx(r, ngx_http_copy_filter_module);
ctx                95 http/ngx_http_copy_filter_module.c     if (ctx == NULL) {
ctx                96 http/ngx_http_copy_filter_module.c         ctx = ngx_pcalloc(r->pool, sizeof(ngx_output_chain_ctx_t));
ctx                97 http/ngx_http_copy_filter_module.c         if (ctx == NULL) {
ctx               101 http/ngx_http_copy_filter_module.c         ngx_http_set_ctx(r, ctx, ngx_http_copy_filter_module);
ctx               106 http/ngx_http_copy_filter_module.c         ctx->sendfile = c->sendfile;
ctx               107 http/ngx_http_copy_filter_module.c         ctx->need_in_memory = r->main_filter_need_in_memory
ctx               109 http/ngx_http_copy_filter_module.c         ctx->need_in_temp = r->filter_need_temporary;
ctx               111 http/ngx_http_copy_filter_module.c         ctx->alignment = clcf->directio_alignment;
ctx               113 http/ngx_http_copy_filter_module.c         ctx->pool = r->pool;
ctx               114 http/ngx_http_copy_filter_module.c         ctx->bufs = conf->bufs;
ctx               115 http/ngx_http_copy_filter_module.c         ctx->tag = (ngx_buf_tag_t) &ngx_http_copy_filter_module;
ctx               117 http/ngx_http_copy_filter_module.c         ctx->output_filter = (ngx_output_chain_filter_pt) ngx_http_next_filter;
ctx               118 http/ngx_http_copy_filter_module.c         ctx->filter_ctx = r;
ctx               123 http/ngx_http_copy_filter_module.c                 ctx->aio_handler = ngx_http_copy_aio_handler;
ctx               137 http/ngx_http_copy_filter_module.c     ctx->aio = r->aio;
ctx               141 http/ngx_http_copy_filter_module.c         rc = ngx_output_chain(ctx, in);
ctx               143 http/ngx_http_copy_filter_module.c         if (ctx->in == NULL) {
ctx               205 http/ngx_http_copy_filter_module.c ngx_http_copy_aio_handler(ngx_output_chain_ctx_t *ctx, ngx_file_t *file)
ctx               209 http/ngx_http_copy_filter_module.c     r = ctx->filter_ctx;
ctx               216 http/ngx_http_copy_filter_module.c     ctx->aio = 1;
ctx              1040 http/ngx_http_core_module.c     r->loc_conf = cscf->ctx->loc_conf;
ctx              2195 http/ngx_http_core_module.c     sr->ctx = ngx_pcalloc(r->pool, sizeof(void *) * ngx_http_max_module);
ctx              2196 http/ngx_http_core_module.c     if (sr->ctx == NULL) {
ctx              2208 http/ngx_http_core_module.c     sr->main_conf = cscf->ctx->main_conf;
ctx              2209 http/ngx_http_core_module.c     sr->srv_conf = cscf->ctx->srv_conf;
ctx              2210 http/ngx_http_core_module.c     sr->loc_conf = cscf->ctx->loc_conf;
ctx              2329 http/ngx_http_core_module.c     ngx_memzero(r->ctx, sizeof(void *) * ngx_http_max_module);
ctx              2332 http/ngx_http_core_module.c     r->loc_conf = cscf->ctx->loc_conf;
ctx              2446 http/ngx_http_core_module.c     ngx_http_conf_ctx_t         *ctx, *http_ctx;
ctx              2451 http/ngx_http_core_module.c     ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t));
ctx              2452 http/ngx_http_core_module.c     if (ctx == NULL) {
ctx              2456 http/ngx_http_core_module.c     http_ctx = cf->ctx;
ctx              2457 http/ngx_http_core_module.c     ctx->main_conf = http_ctx->main_conf;
ctx              2461 http/ngx_http_core_module.c     ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module);
ctx              2462 http/ngx_http_core_module.c     if (ctx->srv_conf == NULL) {
ctx              2468 http/ngx_http_core_module.c     ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module);
ctx              2469 http/ngx_http_core_module.c     if (ctx->loc_conf == NULL) {
ctx              2478 http/ngx_http_core_module.c         module = ngx_modules[i]->ctx;
ctx              2486 http/ngx_http_core_module.c             ctx->srv_conf[ngx_modules[i]->ctx_index] = mconf;
ctx              2495 http/ngx_http_core_module.c             ctx->loc_conf[ngx_modules[i]->ctx_index] = mconf;
ctx              2502 http/ngx_http_core_module.c     cscf = ctx->srv_conf[ngx_http_core_module.ctx_index];
ctx              2503 http/ngx_http_core_module.c     cscf->ctx = ctx;
ctx              2506 http/ngx_http_core_module.c     cmcf = ctx->main_conf[ngx_http_core_module.ctx_index];
ctx              2519 http/ngx_http_core_module.c     cf->ctx = ctx;
ctx              2571 http/ngx_http_core_module.c     ngx_http_conf_ctx_t       *ctx, *pctx;
ctx              2574 http/ngx_http_core_module.c     ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t));
ctx              2575 http/ngx_http_core_module.c     if (ctx == NULL) {
ctx              2579 http/ngx_http_core_module.c     pctx = cf->ctx;
ctx              2580 http/ngx_http_core_module.c     ctx->main_conf = pctx->main_conf;
ctx              2581 http/ngx_http_core_module.c     ctx->srv_conf = pctx->srv_conf;
ctx              2583 http/ngx_http_core_module.c     ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module);
ctx              2584 http/ngx_http_core_module.c     if (ctx->loc_conf == NULL) {
ctx              2593 http/ngx_http_core_module.c         module = ngx_modules[i]->ctx;
ctx              2596 http/ngx_http_core_module.c             ctx->loc_conf[ngx_modules[i]->ctx_index] =
ctx              2598 http/ngx_http_core_module.c             if (ctx->loc_conf[ngx_modules[i]->ctx_index] == NULL) {
ctx              2604 http/ngx_http_core_module.c     clcf = ctx->loc_conf[ngx_http_core_module.ctx_index];
ctx              2605 http/ngx_http_core_module.c     clcf->loc_conf = ctx->loc_conf;
ctx              2744 http/ngx_http_core_module.c     cf->ctx = ctx;
ctx              3882 http/ngx_http_core_module.c     ngx_http_conf_ctx_t       *ctx, *pctx;
ctx              3915 http/ngx_http_core_module.c     ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t));
ctx              3916 http/ngx_http_core_module.c     if (ctx == NULL) {
ctx              3920 http/ngx_http_core_module.c     pctx = cf->ctx;
ctx              3921 http/ngx_http_core_module.c     ctx->main_conf = pctx->main_conf;
ctx              3922 http/ngx_http_core_module.c     ctx->srv_conf = pctx->srv_conf;
ctx              3924 http/ngx_http_core_module.c     ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module);
ctx              3925 http/ngx_http_core_module.c     if (ctx->loc_conf == NULL) {
ctx              3934 http/ngx_http_core_module.c         module = ngx_modules[i]->ctx;
ctx              3943 http/ngx_http_core_module.c             ctx->loc_conf[ngx_modules[i]->ctx_index] = mconf;
ctx              3948 http/ngx_http_core_module.c     clcf = ctx->loc_conf[ngx_http_core_module.ctx_index];
ctx              3949 http/ngx_http_core_module.c     pclcf->limit_except_loc_conf = ctx->loc_conf;
ctx              3950 http/ngx_http_core_module.c     clcf->loc_conf = ctx->loc_conf;
ctx              3960 http/ngx_http_core_module.c     cf->ctx = ctx;
ctx               171 http/ngx_http_core_module.h     ngx_http_conf_ctx_t        *ctx;
ctx                35 http/ngx_http_file_cache.c static ngx_int_t ngx_http_file_cache_noop(ngx_tree_ctx_t *ctx,
ctx                37 http/ngx_http_file_cache.c static ngx_int_t ngx_http_file_cache_manage_file(ngx_tree_ctx_t *ctx,
ctx                39 http/ngx_http_file_cache.c static ngx_int_t ngx_http_file_cache_add_file(ngx_tree_ctx_t *ctx,
ctx                43 http/ngx_http_file_cache.c static ngx_int_t ngx_http_file_cache_delete_file(ngx_tree_ctx_t *ctx,
ctx              1311 http/ngx_http_file_cache.c ngx_http_file_cache_noop(ngx_tree_ctx_t *ctx, ngx_str_t *path)
ctx              1318 http/ngx_http_file_cache.c ngx_http_file_cache_manage_file(ngx_tree_ctx_t *ctx, ngx_str_t *path)
ctx              1322 http/ngx_http_file_cache.c     cache = ctx->data;
ctx              1324 http/ngx_http_file_cache.c     if (ngx_http_file_cache_add_file(ctx, path) != NGX_OK) {
ctx              1325 http/ngx_http_file_cache.c         (void) ngx_http_file_cache_delete_file(ctx, path);
ctx              1333 http/ngx_http_file_cache.c ngx_http_file_cache_add_file(ngx_tree_ctx_t *ctx, ngx_str_t *name)
ctx              1353 http/ngx_http_file_cache.c         ngx_log_error(NGX_LOG_CRIT, ctx->log, ngx_errno,
ctx              1360 http/ngx_http_file_cache.c     c.file.log = ctx->log;
ctx              1369 http/ngx_http_file_cache.c         ngx_log_error(NGX_LOG_CRIT, ctx->log, 0,
ctx              1375 http/ngx_http_file_cache.c         ngx_log_error(NGX_LOG_CRIT, ctx->log, ngx_errno,
ctx              1387 http/ngx_http_file_cache.c         ngx_log_error(NGX_LOG_ALERT, ctx->log, ngx_errno,
ctx              1409 http/ngx_http_file_cache.c     cache = ctx->data;
ctx              1469 http/ngx_http_file_cache.c ngx_http_file_cache_delete_file(ngx_tree_ctx_t *ctx, ngx_str_t *path)
ctx              1471 http/ngx_http_file_cache.c     ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
ctx              1475 http/ngx_http_file_cache.c         ngx_log_error(NGX_LOG_CRIT, ctx->log, ngx_errno,
ctx               185 http/ngx_http_request.c     ngx_http_log_ctx_t  *ctx;
ctx               187 http/ngx_http_request.c     ctx = ngx_palloc(c->pool, sizeof(ngx_http_log_ctx_t));
ctx               188 http/ngx_http_request.c     if (ctx == NULL) {
ctx               193 http/ngx_http_request.c     ctx->connection = c;
ctx               194 http/ngx_http_request.c     ctx->request = NULL;
ctx               195 http/ngx_http_request.c     ctx->current_request = NULL;
ctx               199 http/ngx_http_request.c     c->log->data = ctx;
ctx               246 http/ngx_http_request.c     ngx_http_log_ctx_t         *ctx;
ctx               390 http/ngx_http_request.c     r->main_conf = cscf->ctx->main_conf;
ctx               391 http/ngx_http_request.c     r->srv_conf = cscf->ctx->srv_conf;
ctx               392 http/ngx_http_request.c     r->loc_conf = cscf->ctx->loc_conf;
ctx               409 http/ngx_http_request.c             if (addr_conf->ssl && sscf->ssl.ctx == NULL) {
ctx               468 http/ngx_http_request.c     r->ctx = ngx_pcalloc(r->pool, sizeof(void *) * ngx_http_max_module);
ctx               469 http/ngx_http_request.c     if (r->ctx == NULL) {
ctx               507 http/ngx_http_request.c     ctx = c->log->data;
ctx               508 http/ngx_http_request.c     ctx->request = r;
ctx               509 http/ngx_http_request.c     ctx->current_request = r;
ctx               674 http/ngx_http_request.c     SSL_set_SSL_CTX(ssl_conn, sscf->ssl.ctx);
ctx              1607 http/ngx_http_request.c                 ngx_ssl_remove_cached_session(sscf->ssl.ctx,
ctx              1621 http/ngx_http_request.c                     ngx_ssl_remove_cached_session(sscf->ssl.ctx,
ctx              1766 http/ngx_http_request.c     r->srv_conf = cscf->ctx->srv_conf;
ctx              1767 http/ngx_http_request.c     r->loc_conf = cscf->ctx->loc_conf;
ctx              1785 http/ngx_http_request.c     ngx_http_log_ctx_t  *ctx;
ctx              1790 http/ngx_http_request.c     ctx = c->log->data;
ctx              1791 http/ngx_http_request.c     ctx->current_request = r;
ctx              1811 http/ngx_http_request.c     ngx_http_log_ctx_t         *ctx;
ctx              1831 http/ngx_http_request.c         ctx = c->log->data;
ctx              1832 http/ngx_http_request.c         ctx->current_request = r;
ctx              2932 http/ngx_http_request.c     ngx_http_log_ctx_t        *ctx;
ctx              2989 http/ngx_http_request.c     ctx = log->data;
ctx              2990 http/ngx_http_request.c     ctx->request = NULL;
ctx              3056 http/ngx_http_request.c     ngx_http_log_ctx_t  *ctx;
ctx              3064 http/ngx_http_request.c     ctx = log->data;
ctx              3066 http/ngx_http_request.c     p = ngx_snprintf(buf, len, ", client: %V", &ctx->connection->addr_text);
ctx              3069 http/ngx_http_request.c     r = ctx->request;
ctx              3072 http/ngx_http_request.c         return r->log_handler(r, ctx->current_request, p, len);
ctx              3076 http/ngx_http_request.c                          &ctx->connection->listening->addr_text);
ctx               351 http/ngx_http_request.h     void                            **ctx;
ctx               472 http/ngx_http_special_response.c     void       *ctx;
ctx               477 http/ngx_http_special_response.c     ctx = NULL;
ctx               480 http/ngx_http_special_response.c         ctx = r->ctx[m->ctx_index];
ctx               484 http/ngx_http_special_response.c     ngx_memzero(r->ctx, sizeof(void *) * ngx_http_max_module);
ctx               487 http/ngx_http_special_response.c         r->ctx[m->ctx_index] = ctx;
ctx                22 http/ngx_http_upstream.c static void ngx_http_upstream_resolve_handler(ngx_resolver_ctx_t *ctx);
ctx               438 http/ngx_http_upstream.c     ngx_resolver_ctx_t             *ctx, temp;
ctx               587 http/ngx_http_upstream.c         ctx = ngx_resolve_start(clcf->resolver, &temp);
ctx               588 http/ngx_http_upstream.c         if (ctx == NULL) {
ctx               594 http/ngx_http_upstream.c         if (ctx == NGX_NO_RESOLVER) {
ctx               602 http/ngx_http_upstream.c         ctx->name = *host;
ctx               603 http/ngx_http_upstream.c         ctx->type = NGX_RESOLVE_A;
ctx               604 http/ngx_http_upstream.c         ctx->handler = ngx_http_upstream_resolve_handler;
ctx               605 http/ngx_http_upstream.c         ctx->data = r;
ctx               606 http/ngx_http_upstream.c         ctx->timeout = clcf->resolver_timeout;
ctx               608 http/ngx_http_upstream.c         u->resolved->ctx = ctx;
ctx               610 http/ngx_http_upstream.c         if (ngx_resolve_name(ctx) != NGX_OK) {
ctx               611 http/ngx_http_upstream.c             u->resolved->ctx = NULL;
ctx               826 http/ngx_http_upstream.c ngx_http_upstream_resolve_handler(ngx_resolver_ctx_t *ctx)
ctx               832 http/ngx_http_upstream.c     r = ctx->data;
ctx               837 http/ngx_http_upstream.c     if (ctx->state) {
ctx               840 http/ngx_http_upstream.c                       &ctx->name, ctx->state,
ctx               841 http/ngx_http_upstream.c                       ngx_resolver_strerror(ctx->state));
ctx               847 http/ngx_http_upstream.c     ur->naddrs = ctx->naddrs;
ctx               848 http/ngx_http_upstream.c     ur->addrs = ctx->addrs;
ctx               855 http/ngx_http_upstream.c     for (i = 0; i < ctx->naddrs; i++) {
ctx               872 http/ngx_http_upstream.c     ngx_resolve_name_done(ctx);
ctx               873 http/ngx_http_upstream.c     ur->ctx = NULL;
ctx               884 http/ngx_http_upstream.c     ngx_http_log_ctx_t   *ctx;
ctx               893 http/ngx_http_upstream.c     ctx = c->log->data;
ctx               894 http/ngx_http_upstream.c     ctx->current_request = r;
ctx              2916 http/ngx_http_upstream.c     if (u->resolved && u->resolved->ctx) {
ctx              2917 http/ngx_http_upstream.c         ngx_resolve_name_done(u->resolved->ctx);
ctx              2918 http/ngx_http_upstream.c         u->resolved->ctx = NULL;
ctx              2939 http/ngx_http_upstream.c     if (u->resolved && u->resolved->ctx) {
ctx              2940 http/ngx_http_upstream.c         ngx_resolve_name_done(u->resolved->ctx);
ctx              2941 http/ngx_http_upstream.c         u->resolved->ctx = NULL;
ctx              3953 http/ngx_http_upstream.c     ngx_http_conf_ctx_t           *ctx, *http_ctx;
ctx              3973 http/ngx_http_upstream.c     ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t));
ctx              3974 http/ngx_http_upstream.c     if (ctx == NULL) {
ctx              3978 http/ngx_http_upstream.c     http_ctx = cf->ctx;
ctx              3979 http/ngx_http_upstream.c     ctx->main_conf = http_ctx->main_conf;
ctx              3983 http/ngx_http_upstream.c     ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module);
ctx              3984 http/ngx_http_upstream.c     if (ctx->srv_conf == NULL) {
ctx              3988 http/ngx_http_upstream.c     ctx->srv_conf[ngx_http_upstream_module.ctx_index] = uscf;
ctx              3990 http/ngx_http_upstream.c     uscf->srv_conf = ctx->srv_conf;
ctx              3995 http/ngx_http_upstream.c     ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module);
ctx              3996 http/ngx_http_upstream.c     if (ctx->loc_conf == NULL) {
ctx              4005 http/ngx_http_upstream.c         module = ngx_modules[m]->ctx;
ctx              4013 http/ngx_http_upstream.c             ctx->srv_conf[ngx_modules[m]->ctx_index] = mconf;
ctx              4022 http/ngx_http_upstream.c             ctx->loc_conf[ngx_modules[m]->ctx_index] = mconf;
ctx              4030 http/ngx_http_upstream.c     cf->ctx = ctx;
ctx               241 http/ngx_http_upstream.h     ngx_resolver_ctx_t              *ctx;
ctx                81 mail/ngx_mail.c     ngx_mail_conf_ctx_t         *ctx;
ctx                93 mail/ngx_mail.c     ctx = ngx_pcalloc(cf->pool, sizeof(ngx_mail_conf_ctx_t));
ctx                94 mail/ngx_mail.c     if (ctx == NULL) {
ctx                98 mail/ngx_mail.c     *(ngx_mail_conf_ctx_t **) conf = ctx;
ctx               114 mail/ngx_mail.c     ctx->main_conf = ngx_pcalloc(cf->pool,
ctx               116 mail/ngx_mail.c     if (ctx->main_conf == NULL) {
ctx               126 mail/ngx_mail.c     ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module);
ctx               127 mail/ngx_mail.c     if (ctx->srv_conf == NULL) {
ctx               142 mail/ngx_mail.c         module = ngx_modules[m]->ctx;
ctx               146 mail/ngx_mail.c             ctx->main_conf[mi] = module->create_main_conf(cf);
ctx               147 mail/ngx_mail.c             if (ctx->main_conf[mi] == NULL) {
ctx               153 mail/ngx_mail.c             ctx->srv_conf[mi] = module->create_srv_conf(cf);
ctx               154 mail/ngx_mail.c             if (ctx->srv_conf[mi] == NULL) {
ctx               164 mail/ngx_mail.c     cf->ctx = ctx;
ctx               178 mail/ngx_mail.c     cmcf = ctx->main_conf[ngx_mail_core_module.ctx_index];
ctx               186 mail/ngx_mail.c         module = ngx_modules[m]->ctx;
ctx               191 mail/ngx_mail.c         cf->ctx = ctx;
ctx               194 mail/ngx_mail.c             rv = module->init_main_conf(cf, ctx->main_conf[mi]);
ctx               205 mail/ngx_mail.c             cf->ctx = cscfp[s]->ctx;
ctx               209 mail/ngx_mail.c                                             ctx->srv_conf[mi],
ctx               210 mail/ngx_mail.c                                             cscfp[s]->ctx->srv_conf[mi]);
ctx               308 mail/ngx_mail.c     addr->ctx = listen->ctx;
ctx               443 mail/ngx_mail.c         addrs[i].conf.ctx = addr[i].ctx;
ctx               491 mail/ngx_mail.c         addrs6[i].conf.ctx = addr[i].ctx;
ctx                33 mail/ngx_mail.h     ngx_mail_conf_ctx_t    *ctx;
ctx                47 mail/ngx_mail.h     ngx_mail_conf_ctx_t    *ctx;
ctx                88 mail/ngx_mail.h     ngx_mail_conf_ctx_t    *ctx;
ctx               131 mail/ngx_mail.h     ngx_mail_conf_ctx_t    *ctx;
ctx               189 mail/ngx_mail.h     void                  **ctx;
ctx               349 mail/ngx_mail.h #define ngx_mail_get_module_ctx(s, module)     (s)->ctx[module.ctx_index]
ctx               350 mail/ngx_mail.h #define ngx_mail_set_ctx(s, c, module)         s->ctx[module.ctx_index] = c;
ctx               351 mail/ngx_mail.h #define ngx_mail_delete_ctx(s, module)         s->ctx[module.ctx_index] = NULL;
ctx               359 mail/ngx_mail.h     ((ngx_mail_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index]
ctx               361 mail/ngx_mail.h     ((ngx_mail_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
ctx                33 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t *ctx);
ctx                64 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t *ctx);
ctx                66 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t *ctx);
ctx                69 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t *ctx);
ctx               156 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t   *ctx;
ctx               167 mail/ngx_mail_auth_http_module.c     ctx = ngx_pcalloc(pool, sizeof(ngx_mail_auth_http_ctx_t));
ctx               168 mail/ngx_mail_auth_http_module.c     if (ctx == NULL) {
ctx               174 mail/ngx_mail_auth_http_module.c     ctx->pool = pool;
ctx               178 mail/ngx_mail_auth_http_module.c     ctx->request = ngx_mail_auth_http_create_request(s, pool, ahcf);
ctx               179 mail/ngx_mail_auth_http_module.c     if (ctx->request == NULL) {
ctx               180 mail/ngx_mail_auth_http_module.c         ngx_destroy_pool(ctx->pool);
ctx               185 mail/ngx_mail_auth_http_module.c     ngx_mail_set_ctx(s, ctx, ngx_mail_auth_http_module);
ctx               187 mail/ngx_mail_auth_http_module.c     ctx->peer.sockaddr = ahcf->peer->sockaddr;
ctx               188 mail/ngx_mail_auth_http_module.c     ctx->peer.socklen = ahcf->peer->socklen;
ctx               189 mail/ngx_mail_auth_http_module.c     ctx->peer.name = &ahcf->peer->name;
ctx               190 mail/ngx_mail_auth_http_module.c     ctx->peer.get = ngx_event_get_peer;
ctx               191 mail/ngx_mail_auth_http_module.c     ctx->peer.log = s->connection->log;
ctx               192 mail/ngx_mail_auth_http_module.c     ctx->peer.log_error = NGX_ERROR_ERR;
ctx               194 mail/ngx_mail_auth_http_module.c     rc = ngx_event_connect_peer(&ctx->peer);
ctx               197 mail/ngx_mail_auth_http_module.c         if (ctx->peer.connection) {
ctx               198 mail/ngx_mail_auth_http_module.c             ngx_close_connection(ctx->peer.connection);
ctx               201 mail/ngx_mail_auth_http_module.c         ngx_destroy_pool(ctx->pool);
ctx               206 mail/ngx_mail_auth_http_module.c     ctx->peer.connection->data = s;
ctx               207 mail/ngx_mail_auth_http_module.c     ctx->peer.connection->pool = s->connection->pool;
ctx               210 mail/ngx_mail_auth_http_module.c     ctx->peer.connection->read->handler = ngx_mail_auth_http_read_handler;
ctx               211 mail/ngx_mail_auth_http_module.c     ctx->peer.connection->write->handler = ngx_mail_auth_http_write_handler;
ctx               213 mail/ngx_mail_auth_http_module.c     ctx->handler = ngx_mail_auth_http_ignore_status_line;
ctx               215 mail/ngx_mail_auth_http_module.c     ngx_add_timer(ctx->peer.connection->read, ahcf->timeout);
ctx               216 mail/ngx_mail_auth_http_module.c     ngx_add_timer(ctx->peer.connection->write, ahcf->timeout);
ctx               219 mail/ngx_mail_auth_http_module.c         ngx_mail_auth_http_write_handler(ctx->peer.connection->write);
ctx               231 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t   *ctx;
ctx               237 mail/ngx_mail_auth_http_module.c     ctx = ngx_mail_get_module_ctx(s, ngx_mail_auth_http_module);
ctx               244 mail/ngx_mail_auth_http_module.c                       "auth http server %V timed out", ctx->peer.name);
ctx               246 mail/ngx_mail_auth_http_module.c         ngx_destroy_pool(ctx->pool);
ctx               251 mail/ngx_mail_auth_http_module.c     size = ctx->request->last - ctx->request->pos;
ctx               253 mail/ngx_mail_auth_http_module.c     n = ngx_send(c, ctx->request->pos, size);
ctx               257 mail/ngx_mail_auth_http_module.c         ngx_destroy_pool(ctx->pool);
ctx               263 mail/ngx_mail_auth_http_module.c         ctx->request->pos += n;
ctx               274 mail/ngx_mail_auth_http_module.c                 ngx_destroy_pool(ctx->pool);
ctx               295 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t  *ctx;
ctx               303 mail/ngx_mail_auth_http_module.c     ctx = ngx_mail_get_module_ctx(s, ngx_mail_auth_http_module);
ctx               307 mail/ngx_mail_auth_http_module.c                       "auth http server %V timed out", ctx->peer.name);
ctx               309 mail/ngx_mail_auth_http_module.c         ngx_destroy_pool(ctx->pool);
ctx               314 mail/ngx_mail_auth_http_module.c     if (ctx->response == NULL) {
ctx               315 mail/ngx_mail_auth_http_module.c         ctx->response = ngx_create_temp_buf(ctx->pool, 1024);
ctx               316 mail/ngx_mail_auth_http_module.c         if (ctx->response == NULL) {
ctx               318 mail/ngx_mail_auth_http_module.c             ngx_destroy_pool(ctx->pool);
ctx               324 mail/ngx_mail_auth_http_module.c     size = ctx->response->end - ctx->response->last;
ctx               326 mail/ngx_mail_auth_http_module.c     n = ngx_recv(c, ctx->response->pos, size);
ctx               329 mail/ngx_mail_auth_http_module.c         ctx->response->last += n;
ctx               331 mail/ngx_mail_auth_http_module.c         ctx->handler(s, ctx);
ctx               340 mail/ngx_mail_auth_http_module.c     ngx_destroy_pool(ctx->pool);
ctx               347 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t *ctx)
ctx               363 mail/ngx_mail_auth_http_module.c     state = ctx->state;
ctx               365 mail/ngx_mail_auth_http_module.c     for (p = ctx->response->pos; p < ctx->response->last; p++) {
ctx               426 mail/ngx_mail_auth_http_module.c                           ctx->peer.name);
ctx               427 mail/ngx_mail_auth_http_module.c             ngx_close_connection(ctx->peer.connection);
ctx               428 mail/ngx_mail_auth_http_module.c             ngx_destroy_pool(ctx->pool);
ctx               434 mail/ngx_mail_auth_http_module.c     ctx->response->pos = p;
ctx               435 mail/ngx_mail_auth_http_module.c     ctx->state = state;
ctx               441 mail/ngx_mail_auth_http_module.c     p = ctx->response->start - 1;
ctx               445 mail/ngx_mail_auth_http_module.c     ctx->response->pos = p + 1;
ctx               446 mail/ngx_mail_auth_http_module.c     ctx->state = 0;
ctx               447 mail/ngx_mail_auth_http_module.c     ctx->handler = ngx_mail_auth_http_process_headers;
ctx               448 mail/ngx_mail_auth_http_module.c     ctx->handler(s, ctx);
ctx               454 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t *ctx)
ctx               467 mail/ngx_mail_auth_http_module.c         rc = ngx_mail_auth_http_parse_header_line(s, ctx);
ctx               475 mail/ngx_mail_auth_http_module.c             key.len = ctx->header_name_end - ctx->header_name_start;
ctx               476 mail/ngx_mail_auth_http_module.c             key.data = ctx->header_name_start;
ctx               477 mail/ngx_mail_auth_http_module.c             value.len = ctx->header_end - ctx->header_start;
ctx               478 mail/ngx_mail_auth_http_module.c             value.data = ctx->header_start;
ctx               486 mail/ngx_mail_auth_http_module.c             len = ctx->header_name_end - ctx->header_name_start;
ctx               489 mail/ngx_mail_auth_http_module.c                 && ngx_strncasecmp(ctx->header_name_start,
ctx               494 mail/ngx_mail_auth_http_module.c                 len = ctx->header_end - ctx->header_start;
ctx               497 mail/ngx_mail_auth_http_module.c                     && ctx->header_start[0] == 'O'
ctx               498 mail/ngx_mail_auth_http_module.c                     && ctx->header_start[1] == 'K')
ctx               504 mail/ngx_mail_auth_http_module.c                     && ctx->header_start[0] == 'W'
ctx               505 mail/ngx_mail_auth_http_module.c                     && ctx->header_start[1] == 'A'
ctx               506 mail/ngx_mail_auth_http_module.c                     && ctx->header_start[2] == 'I'
ctx               507 mail/ngx_mail_auth_http_module.c                     && ctx->header_start[3] == 'T')
ctx               513 mail/ngx_mail_auth_http_module.c                 ctx->errmsg.len = len;
ctx               514 mail/ngx_mail_auth_http_module.c                 ctx->errmsg.data = ctx->header_start;
ctx               528 mail/ngx_mail_auth_http_module.c                     ctx->err = ctx->errmsg;
ctx               534 mail/ngx_mail_auth_http_module.c                     ngx_close_connection(ctx->peer.connection);
ctx               535 mail/ngx_mail_auth_http_module.c                     ngx_destroy_pool(ctx->pool);
ctx               540 mail/ngx_mail_auth_http_module.c                 ctx->err.data = p;
ctx               557 mail/ngx_mail_auth_http_module.c                 p = ngx_cpymem(p, ctx->header_start, len);
ctx               560 mail/ngx_mail_auth_http_module.c                 ctx->err.len = p - ctx->err.data;
ctx               566 mail/ngx_mail_auth_http_module.c                 && ngx_strncasecmp(ctx->header_name_start,
ctx               571 mail/ngx_mail_auth_http_module.c                 ctx->addr.len = ctx->header_end - ctx->header_start;
ctx               572 mail/ngx_mail_auth_http_module.c                 ctx->addr.data = ctx->header_start;
ctx               578 mail/ngx_mail_auth_http_module.c                 && ngx_strncasecmp(ctx->header_name_start,
ctx               583 mail/ngx_mail_auth_http_module.c                 ctx->port.len = ctx->header_end - ctx->header_start;
ctx               584 mail/ngx_mail_auth_http_module.c                 ctx->port.data = ctx->header_start;
ctx               590 mail/ngx_mail_auth_http_module.c                 && ngx_strncasecmp(ctx->header_name_start,
ctx               595 mail/ngx_mail_auth_http_module.c                 s->login.len = ctx->header_end - ctx->header_start;
ctx               599 mail/ngx_mail_auth_http_module.c                     ngx_close_connection(ctx->peer.connection);
ctx               600 mail/ngx_mail_auth_http_module.c                     ngx_destroy_pool(ctx->pool);
ctx               605 mail/ngx_mail_auth_http_module.c                 ngx_memcpy(s->login.data, ctx->header_start, s->login.len);
ctx               611 mail/ngx_mail_auth_http_module.c                 && ngx_strncasecmp(ctx->header_name_start,
ctx               616 mail/ngx_mail_auth_http_module.c                 s->passwd.len = ctx->header_end - ctx->header_start;
ctx               621 mail/ngx_mail_auth_http_module.c                     ngx_close_connection(ctx->peer.connection);
ctx               622 mail/ngx_mail_auth_http_module.c                     ngx_destroy_pool(ctx->pool);
ctx               627 mail/ngx_mail_auth_http_module.c                 ngx_memcpy(s->passwd.data, ctx->header_start, s->passwd.len);
ctx               633 mail/ngx_mail_auth_http_module.c                 && ngx_strncasecmp(ctx->header_name_start,
ctx               638 mail/ngx_mail_auth_http_module.c                 n = ngx_atoi(ctx->header_start,
ctx               639 mail/ngx_mail_auth_http_module.c                              ctx->header_end - ctx->header_start);
ctx               642 mail/ngx_mail_auth_http_module.c                     ctx->sleep = n;
ctx               649 mail/ngx_mail_auth_http_module.c                 && ngx_strncasecmp(ctx->header_name_start,
ctx               654 mail/ngx_mail_auth_http_module.c                 ctx->errcode.len = ctx->header_end - ctx->header_start;
ctx               656 mail/ngx_mail_auth_http_module.c                 ctx->errcode.data = ngx_pnalloc(s->connection->pool,
ctx               657 mail/ngx_mail_auth_http_module.c                                                 ctx->errcode.len);
ctx               658 mail/ngx_mail_auth_http_module.c                 if (ctx->errcode.data == NULL) {
ctx               659 mail/ngx_mail_auth_http_module.c                     ngx_close_connection(ctx->peer.connection);
ctx               660 mail/ngx_mail_auth_http_module.c                     ngx_destroy_pool(ctx->pool);
ctx               665 mail/ngx_mail_auth_http_module.c                 ngx_memcpy(ctx->errcode.data, ctx->header_start,
ctx               666 mail/ngx_mail_auth_http_module.c                            ctx->errcode.len);
ctx               680 mail/ngx_mail_auth_http_module.c             ngx_close_connection(ctx->peer.connection);
ctx               682 mail/ngx_mail_auth_http_module.c             if (ctx->err.len) {
ctx               685 mail/ngx_mail_auth_http_module.c                               "client login failed: \"%V\"", &ctx->errmsg);
ctx               689 mail/ngx_mail_auth_http_module.c                     if (ctx->errcode.len == 0) {
ctx               690 mail/ngx_mail_auth_http_module.c                         ctx->errcode = ngx_mail_smtp_errcode;
ctx               693 mail/ngx_mail_auth_http_module.c                     ctx->err.len = ctx->errcode.len + ctx->errmsg.len
ctx               696 mail/ngx_mail_auth_http_module.c                     p = ngx_pnalloc(s->connection->pool, ctx->err.len);
ctx               698 mail/ngx_mail_auth_http_module.c                         ngx_close_connection(ctx->peer.connection);
ctx               699 mail/ngx_mail_auth_http_module.c                         ngx_destroy_pool(ctx->pool);
ctx               704 mail/ngx_mail_auth_http_module.c                     ctx->err.data = p;
ctx               706 mail/ngx_mail_auth_http_module.c                     p = ngx_cpymem(p, ctx->errcode.data, ctx->errcode.len);
ctx               708 mail/ngx_mail_auth_http_module.c                     p = ngx_cpymem(p, ctx->errmsg.data, ctx->errmsg.len);
ctx               712 mail/ngx_mail_auth_http_module.c                 s->out = ctx->err;
ctx               713 mail/ngx_mail_auth_http_module.c                 timer = ctx->sleep;
ctx               715 mail/ngx_mail_auth_http_module.c                 ngx_destroy_pool(ctx->pool);
ctx               731 mail/ngx_mail_auth_http_module.c                 timer = ctx->sleep;
ctx               733 mail/ngx_mail_auth_http_module.c                 ngx_destroy_pool(ctx->pool);
ctx               747 mail/ngx_mail_auth_http_module.c             if (ctx->addr.len == 0 || ctx->port.len == 0) {
ctx               750 mail/ngx_mail_auth_http_module.c                               ctx->peer.name);
ctx               751 mail/ngx_mail_auth_http_module.c                 ngx_destroy_pool(ctx->pool);
ctx               761 mail/ngx_mail_auth_http_module.c                               ctx->peer.name);
ctx               762 mail/ngx_mail_auth_http_module.c                 ngx_destroy_pool(ctx->pool);
ctx               769 mail/ngx_mail_auth_http_module.c                 ngx_destroy_pool(ctx->pool);
ctx               778 mail/ngx_mail_auth_http_module.c                 ngx_destroy_pool(ctx->pool);
ctx               785 mail/ngx_mail_auth_http_module.c             port = ngx_atoi(ctx->port.data, ctx->port.len);
ctx               790 mail/ngx_mail_auth_http_module.c                               ctx->peer.name, &ctx->port);
ctx               791 mail/ngx_mail_auth_http_module.c                 ngx_destroy_pool(ctx->pool);
ctx               798 mail/ngx_mail_auth_http_module.c             sin->sin_addr.s_addr = ngx_inet_addr(ctx->addr.data, ctx->addr.len);
ctx               803 mail/ngx_mail_auth_http_module.c                               ctx->peer.name, &ctx->addr);
ctx               804 mail/ngx_mail_auth_http_module.c                 ngx_destroy_pool(ctx->pool);
ctx               812 mail/ngx_mail_auth_http_module.c             len = ctx->addr.len + 1 + ctx->port.len;
ctx               818 mail/ngx_mail_auth_http_module.c                 ngx_destroy_pool(ctx->pool);
ctx               823 mail/ngx_mail_auth_http_module.c             len = ctx->addr.len;
ctx               825 mail/ngx_mail_auth_http_module.c             ngx_memcpy(peer->name.data, ctx->addr.data, len);
ctx               829 mail/ngx_mail_auth_http_module.c             ngx_memcpy(peer->name.data + len, ctx->port.data, ctx->port.len);
ctx               831 mail/ngx_mail_auth_http_module.c             ngx_destroy_pool(ctx->pool);
ctx               845 mail/ngx_mail_auth_http_module.c                       ctx->peer.name);
ctx               846 mail/ngx_mail_auth_http_module.c         ngx_close_connection(ctx->peer.connection);
ctx               847 mail/ngx_mail_auth_http_module.c         ngx_destroy_pool(ctx->pool);
ctx               916 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t *ctx)
ctx               929 mail/ngx_mail_auth_http_module.c     state = ctx->state;
ctx               931 mail/ngx_mail_auth_http_module.c     for (p = ctx->response->pos; p < ctx->response->last; p++) {
ctx               941 mail/ngx_mail_auth_http_module.c                 ctx->header_end = p;
ctx               945 mail/ngx_mail_auth_http_module.c                 ctx->header_end = p;
ctx               949 mail/ngx_mail_auth_http_module.c                 ctx->header_name_start = p;
ctx               972 mail/ngx_mail_auth_http_module.c                 ctx->header_name_end = p;
ctx               986 mail/ngx_mail_auth_http_module.c                 ctx->header_name_end = p;
ctx               987 mail/ngx_mail_auth_http_module.c                 ctx->header_start = p;
ctx               988 mail/ngx_mail_auth_http_module.c                 ctx->header_end = p;
ctx               994 mail/ngx_mail_auth_http_module.c                 ctx->header_name_end = p;
ctx               995 mail/ngx_mail_auth_http_module.c                 ctx->header_start = p;
ctx               996 mail/ngx_mail_auth_http_module.c                 ctx->header_end = p;
ctx              1008 mail/ngx_mail_auth_http_module.c                 ctx->header_start = p;
ctx              1009 mail/ngx_mail_auth_http_module.c                 ctx->header_end = p;
ctx              1013 mail/ngx_mail_auth_http_module.c                 ctx->header_start = p;
ctx              1014 mail/ngx_mail_auth_http_module.c                 ctx->header_end = p;
ctx              1017 mail/ngx_mail_auth_http_module.c                 ctx->header_start = p;
ctx              1027 mail/ngx_mail_auth_http_module.c                 ctx->header_end = p;
ctx              1031 mail/ngx_mail_auth_http_module.c                 ctx->header_end = p;
ctx              1035 mail/ngx_mail_auth_http_module.c                 ctx->header_end = p;
ctx              1076 mail/ngx_mail_auth_http_module.c     ctx->response->pos = p;
ctx              1077 mail/ngx_mail_auth_http_module.c     ctx->state = state;
ctx              1083 mail/ngx_mail_auth_http_module.c     ctx->response->pos = p + 1;
ctx              1084 mail/ngx_mail_auth_http_module.c     ctx->state = sw_start;
ctx              1090 mail/ngx_mail_auth_http_module.c     ctx->response->pos = p + 1;
ctx              1091 mail/ngx_mail_auth_http_module.c     ctx->state = sw_start;
ctx              1102 mail/ngx_mail_auth_http_module.c     ngx_mail_auth_http_ctx_t  *ctx;
ctx              1111 mail/ngx_mail_auth_http_module.c         ctx = ngx_mail_get_module_ctx(s, ngx_mail_auth_http_module);
ctx              1113 mail/ngx_mail_auth_http_module.c         ngx_close_connection(ctx->peer.connection);
ctx              1114 mail/ngx_mail_auth_http_module.c         ngx_destroy_pool(ctx->pool);
ctx               212 mail/ngx_mail_core_module.c     ngx_mail_conf_ctx_t        *ctx, *mail_ctx;
ctx               216 mail/ngx_mail_core_module.c     ctx = ngx_pcalloc(cf->pool, sizeof(ngx_mail_conf_ctx_t));
ctx               217 mail/ngx_mail_core_module.c     if (ctx == NULL) {
ctx               221 mail/ngx_mail_core_module.c     mail_ctx = cf->ctx;
ctx               222 mail/ngx_mail_core_module.c     ctx->main_conf = mail_ctx->main_conf;
ctx               226 mail/ngx_mail_core_module.c     ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module);
ctx               227 mail/ngx_mail_core_module.c     if (ctx->srv_conf == NULL) {
ctx               236 mail/ngx_mail_core_module.c         module = ngx_modules[m]->ctx;
ctx               244 mail/ngx_mail_core_module.c             ctx->srv_conf[ngx_modules[m]->ctx_index] = mconf;
ctx               250 mail/ngx_mail_core_module.c     cscf = ctx->srv_conf[ngx_mail_core_module.ctx_index];
ctx               251 mail/ngx_mail_core_module.c     cscf->ctx = ctx;
ctx               253 mail/ngx_mail_core_module.c     cmcf = ctx->main_conf[ngx_mail_core_module.ctx_index];
ctx               266 mail/ngx_mail_core_module.c     cf->ctx = ctx;
ctx               368 mail/ngx_mail_core_module.c     ls->ctx = cf->ctx;
ctx               375 mail/ngx_mail_core_module.c         module = ngx_modules[m]->ctx;
ctx               474 mail/ngx_mail_core_module.c         module = ngx_modules[m]->ctx;
ctx                28 mail/ngx_mail_handler.c     ngx_mail_log_ctx_t    *ctx;
ctx               123 mail/ngx_mail_handler.c     s->main_conf = addr_conf->ctx->main_conf;
ctx               124 mail/ngx_mail_handler.c     s->srv_conf = addr_conf->ctx->srv_conf;
ctx               134 mail/ngx_mail_handler.c     ctx = ngx_palloc(c->pool, sizeof(ngx_mail_log_ctx_t));
ctx               135 mail/ngx_mail_handler.c     if (ctx == NULL) {
ctx               140 mail/ngx_mail_handler.c     ctx->client = &c->addr_text;
ctx               141 mail/ngx_mail_handler.c     ctx->session = s;
ctx               145 mail/ngx_mail_handler.c     c->log->data = ctx;
ctx               167 mail/ngx_mail_handler.c         if (sslcf->ssl.ctx == NULL) {
ctx               280 mail/ngx_mail_handler.c     s->ctx = ngx_pcalloc(c->pool, sizeof(void *) * ngx_mail_max_module);
ctx               281 mail/ngx_mail_handler.c     if (s->ctx == NULL) {
ctx               731 mail/ngx_mail_handler.c     ngx_mail_log_ctx_t  *ctx;
ctx               739 mail/ngx_mail_handler.c     ctx = log->data;
ctx               741 mail/ngx_mail_handler.c     p = ngx_snprintf(buf, len, ", client: %V", ctx->client);
ctx               745 mail/ngx_mail_handler.c     s = ctx->session;
ctx                14 mail/ngx_mail_smtp_handler.c static void ngx_mail_smtp_resolve_addr_handler(ngx_resolver_ctx_t *ctx);
ctx                16 mail/ngx_mail_smtp_handler.c static void ngx_mail_smtp_resolve_name_handler(ngx_resolver_ctx_t *ctx);
ctx                58 mail/ngx_mail_smtp_handler.c     ngx_resolver_ctx_t        *ctx;
ctx                77 mail/ngx_mail_smtp_handler.c     ctx = ngx_resolve_start(cscf->resolver, NULL);
ctx                78 mail/ngx_mail_smtp_handler.c     if (ctx == NULL) {
ctx                87 mail/ngx_mail_smtp_handler.c     ctx->addr = sin->sin_addr.s_addr;
ctx                88 mail/ngx_mail_smtp_handler.c     ctx->handler = ngx_mail_smtp_resolve_addr_handler;
ctx                89 mail/ngx_mail_smtp_handler.c     ctx->data = s;
ctx                90 mail/ngx_mail_smtp_handler.c     ctx->timeout = cscf->resolver_timeout;
ctx                92 mail/ngx_mail_smtp_handler.c     if (ngx_resolve_addr(ctx) != NGX_OK) {
ctx                99 mail/ngx_mail_smtp_handler.c ngx_mail_smtp_resolve_addr_handler(ngx_resolver_ctx_t *ctx)
ctx               104 mail/ngx_mail_smtp_handler.c     s = ctx->data;
ctx               107 mail/ngx_mail_smtp_handler.c     if (ctx->state) {
ctx               110 mail/ngx_mail_smtp_handler.c                       &c->addr_text, ctx->state,
ctx               111 mail/ngx_mail_smtp_handler.c                       ngx_resolver_strerror(ctx->state));
ctx               113 mail/ngx_mail_smtp_handler.c         if (ctx->state == NGX_RESOLVE_NXDOMAIN) {
ctx               120 mail/ngx_mail_smtp_handler.c         ngx_resolve_addr_done(ctx);
ctx               129 mail/ngx_mail_smtp_handler.c     s->host.data = ngx_pstrdup(c->pool, &ctx->name);
ctx               131 mail/ngx_mail_smtp_handler.c         ngx_resolve_addr_done(ctx);
ctx               136 mail/ngx_mail_smtp_handler.c     s->host.len = ctx->name.len;
ctx               138 mail/ngx_mail_smtp_handler.c     ngx_resolve_addr_done(ctx);
ctx               154 mail/ngx_mail_smtp_handler.c     ngx_resolver_ctx_t        *ctx;
ctx               162 mail/ngx_mail_smtp_handler.c     ctx = ngx_resolve_start(cscf->resolver, NULL);
ctx               163 mail/ngx_mail_smtp_handler.c     if (ctx == NULL) {
ctx               168 mail/ngx_mail_smtp_handler.c     ctx->name = s->host;
ctx               169 mail/ngx_mail_smtp_handler.c     ctx->type = NGX_RESOLVE_A;
ctx               170 mail/ngx_mail_smtp_handler.c     ctx->handler = ngx_mail_smtp_resolve_name_handler;
ctx               171 mail/ngx_mail_smtp_handler.c     ctx->data = s;
ctx               172 mail/ngx_mail_smtp_handler.c     ctx->timeout = cscf->resolver_timeout;
ctx               174 mail/ngx_mail_smtp_handler.c     if (ngx_resolve_name(ctx) != NGX_OK) {
ctx               181 mail/ngx_mail_smtp_handler.c ngx_mail_smtp_resolve_name_handler(ngx_resolver_ctx_t *ctx)
ctx               189 mail/ngx_mail_smtp_handler.c     s = ctx->data;
ctx               192 mail/ngx_mail_smtp_handler.c     if (ctx->state) {
ctx               195 mail/ngx_mail_smtp_handler.c                       &ctx->name, ctx->state,
ctx               196 mail/ngx_mail_smtp_handler.c                       ngx_resolver_strerror(ctx->state));
ctx               198 mail/ngx_mail_smtp_handler.c         if (ctx->state == NGX_RESOLVE_NXDOMAIN) {
ctx               211 mail/ngx_mail_smtp_handler.c         for (i = 0; i < ctx->naddrs; i++) {
ctx               213 mail/ngx_mail_smtp_handler.c             addr = ctx->addrs[i];
ctx               232 mail/ngx_mail_smtp_handler.c     ngx_resolve_name_done(ctx);
ctx               275 mail/ngx_mail_ssl_module.c         if (SSL_CTX_set_cipher_list(conf->ssl.ctx,
ctx               286 mail/ngx_mail_ssl_module.c         SSL_CTX_set_options(conf->ssl.ctx, SSL_OP_CIPHER_SERVER_PREFERENCE);
ctx                20 os/unix/ngx_linux_aio_read.c io_submit(aio_context_t ctx, long n, struct iocb **paiocb)
ctx                22 os/unix/ngx_linux_aio_read.c     return syscall(SYS_io_submit, ctx, n, paiocb);
ctx               259 os/unix/ngx_process.c ngx_execute(ngx_cycle_t *cycle, ngx_exec_ctx_t *ctx)
ctx               261 os/unix/ngx_process.c     return ngx_spawn_process(cycle, ngx_execute_proc, ctx, ctx->name,
ctx               269 os/unix/ngx_process.c     ngx_exec_ctx_t  *ctx = data;
ctx               271 os/unix/ngx_process.c     if (execve(ctx->path, ctx->argv, ctx->envp) == -1) {
ctx               274 os/unix/ngx_process.c                       ctx->name, ctx->path);
ctx                63 os/unix/ngx_process.h ngx_pid_t ngx_execute(ngx_cycle_t *cycle, ngx_exec_ctx_t *ctx);
ctx              1290 os/unix/ngx_process_cycle.c     ngx_cache_manager_ctx_t *ctx = data;
ctx              1304 os/unix/ngx_process_cycle.c     ev.handler = ctx->handler;
ctx              1311 os/unix/ngx_process_cycle.c     ngx_setproctitle(ctx->name);
ctx              1313 os/unix/ngx_process_cycle.c     ngx_add_timer(&ev, ctx->delay);