b                  14 core/ngx_buf.c     ngx_buf_t *b;
b                  16 core/ngx_buf.c     b = ngx_calloc_buf(pool);
b                  17 core/ngx_buf.c     if (b == NULL) {
b                  21 core/ngx_buf.c     b->start = ngx_palloc(pool, size);
b                  22 core/ngx_buf.c     if (b->start == NULL) {
b                  37 core/ngx_buf.c     b->pos = b->start;
b                  38 core/ngx_buf.c     b->last = b->start;
b                  39 core/ngx_buf.c     b->end = b->last + size;
b                  40 core/ngx_buf.c     b->temporary = 1;
b                  42 core/ngx_buf.c     return b;
b                  72 core/ngx_buf.c     ngx_buf_t    *b;
b                  84 core/ngx_buf.c         b = ngx_calloc_buf(pool);
b                  85 core/ngx_buf.c         if (b == NULL) {
b                 101 core/ngx_buf.c         b->pos = p;
b                 102 core/ngx_buf.c         b->last = p;
b                 103 core/ngx_buf.c         b->temporary = 1;
b                 105 core/ngx_buf.c         b->start = p;
b                 107 core/ngx_buf.c         b->end = p;
b                 114 core/ngx_buf.c         cl->buf = b;
b                 122 core/ngx_buf.h #define ngx_buf_in_memory(b)        (b->temporary || b->memory || b->mmap)
b                 123 core/ngx_buf.h #define ngx_buf_in_memory_only(b)   (ngx_buf_in_memory(b) && !b->in_file)
b                 125 core/ngx_buf.h #define ngx_buf_special(b)                                                   \
b                 126 core/ngx_buf.h     ((b->flush || b->last_buf || b->sync)                                    \
b                 127 core/ngx_buf.h      && !ngx_buf_in_memory(b) && !b->in_file)
b                 129 core/ngx_buf.h #define ngx_buf_sync_only(b)                                                 \
b                 130 core/ngx_buf.h     (b->sync                                                                 \
b                 131 core/ngx_buf.h      && !ngx_buf_in_memory(b) && !b->in_file && !b->flush && !b->last_buf)
b                 133 core/ngx_buf.h #define ngx_buf_size(b)                                                      \
b                 134 core/ngx_buf.h     (ngx_buf_in_memory(b) ? (off_t) (b->last - b->pos):                      \
b                 135 core/ngx_buf.h                             (b->file_last - b->file_pos))
b                  67 core/ngx_conf_file.c     ngx_buf_t         b;
b                  78 core/ngx_conf_file.c     ngx_memzero(&b, sizeof(ngx_buf_t));
b                  80 core/ngx_conf_file.c     b.start = param->data;
b                  81 core/ngx_conf_file.c     b.pos = param->data;
b                  82 core/ngx_conf_file.c     b.last = param->data + param->len;
b                  83 core/ngx_conf_file.c     b.end = b.last;
b                  84 core/ngx_conf_file.c     b.temporary = 1;
b                  91 core/ngx_conf_file.c     cf->conf_file->buffer = &b;
b                 443 core/ngx_conf_file.c     ngx_buf_t   *b;
b                 455 core/ngx_conf_file.c     b = cf->conf_file->buffer;
b                 456 core/ngx_conf_file.c     start = b->pos;
b                 463 core/ngx_conf_file.c         if (b->pos >= b->last) {
b                 485 core/ngx_conf_file.c             len = b->pos - start;
b                 510 core/ngx_conf_file.c                 ngx_memmove(b->start, start, len);
b                 515 core/ngx_conf_file.c             if (size > b->end - (b->start + len)) {
b                 516 core/ngx_conf_file.c                 size = b->end - (b->start + len);
b                 519 core/ngx_conf_file.c             n = ngx_read_file(&cf->conf_file->file, b->start + len, size,
b                 534 core/ngx_conf_file.c             b->pos = b->start + len;
b                 535 core/ngx_conf_file.c             b->last = b->pos + n;
b                 536 core/ngx_conf_file.c             start = b->start;
b                 539 core/ngx_conf_file.c         ch = *b->pos++;
b                 589 core/ngx_conf_file.c             start = b->pos - 1;
b                 686 core/ngx_conf_file.c                 word->data = ngx_pnalloc(cf->pool, b->pos - start + 1);
b                 692 core/ngx_conf_file.c                      src < b->pos - 1;
b                 267 core/ngx_output_chain.c     ngx_buf_t    *b, *buf;
b                 293 core/ngx_output_chain.c             b = ngx_calloc_buf(pool);
b                 294 core/ngx_output_chain.c             if (b == NULL) {
b                 298 core/ngx_output_chain.c             ngx_memcpy(b, buf, sizeof(ngx_buf_t));
b                 302 core/ngx_output_chain.c                 b->last = buf->pos;
b                 306 core/ngx_output_chain.c             b->file_last = NGX_SENDFILE_LIMIT;
b                 308 core/ngx_output_chain.c             cl->buf = b;
b                 384 core/ngx_output_chain.c     ngx_buf_t   *b, *in;
b                 418 core/ngx_output_chain.c     b = ngx_calloc_buf(ctx->pool);
b                 419 core/ngx_output_chain.c     if (b == NULL) {
b                 430 core/ngx_output_chain.c         b->start = ngx_pmemalign(ctx->pool, size, (size_t) ctx->alignment);
b                 431 core/ngx_output_chain.c         if (b->start == NULL) {
b                 436 core/ngx_output_chain.c         b->start = ngx_palloc(ctx->pool, size);
b                 437 core/ngx_output_chain.c         if (b->start == NULL) {
b                 442 core/ngx_output_chain.c     b->pos = b->start;
b                 443 core/ngx_output_chain.c     b->last = b->start;
b                 444 core/ngx_output_chain.c     b->end = b->last + size;
b                 445 core/ngx_output_chain.c     b->temporary = 1;
b                 446 core/ngx_output_chain.c     b->tag = ctx->tag;
b                 447 core/ngx_output_chain.c     b->recycled = recycled;
b                 449 core/ngx_output_chain.c     ctx->buf = b;
b                 699 event/ngx_event_openssl.c     ngx_buf_t  *b;
b                 703 event/ngx_event_openssl.c     b = cl->buf;
b                 704 event/ngx_event_openssl.c     last = b->last;
b                 708 event/ngx_event_openssl.c         n = ngx_ssl_recv(c, last, b->end - last);
b                 714 event/ngx_event_openssl.c             if (last == b->end) {
b                 721 event/ngx_event_openssl.c                 b = cl->buf;
b                 722 event/ngx_event_openssl.c                 last = b->last;
b                 103 event/ngx_event_pipe.c     ngx_buf_t    *b;
b                 187 event/ngx_event_pipe.c                 b = ngx_create_temp_buf(p->pool, p->bufs.size);
b                 188 event/ngx_event_pipe.c                 if (b == NULL) {
b                 199 event/ngx_event_pipe.c                 chain->buf = b;
b                 681 event/ngx_event_pipe.c     ngx_buf_t    *b;
b                 762 event/ngx_event_pipe.c         b = cl->buf;
b                 763 event/ngx_event_pipe.c         b->file = &p->temp_file->file;
b                 764 event/ngx_event_pipe.c         b->file_pos = p->temp_file->offset;
b                 765 event/ngx_event_pipe.c         p->temp_file->offset += b->last - b->pos;
b                 766 event/ngx_event_pipe.c         b->file_last = p->temp_file->offset;
b                 768 event/ngx_event_pipe.c         b->in_file = 1;
b                 769 event/ngx_event_pipe.c         b->temp_file = 1;
b                 778 event/ngx_event_pipe.c         if (b->last_shadow) {
b                 785 event/ngx_event_pipe.c             tl->buf = b->shadow;
b                 791 event/ngx_event_pipe.c             b->shadow->pos = b->shadow->start;
b                 792 event/ngx_event_pipe.c             b->shadow->last = b->shadow->start;
b                 794 event/ngx_event_pipe.c             ngx_event_pipe_remove_shadow_links(b->shadow);
b                 807 event/ngx_event_pipe.c     ngx_buf_t    *b;
b                 816 event/ngx_event_pipe.c         b = cl->buf;
b                 821 event/ngx_event_pipe.c         b = ngx_alloc_buf(p->pool);
b                 822 event/ngx_event_pipe.c         if (b == NULL) {
b                 827 event/ngx_event_pipe.c     ngx_memcpy(b, buf, sizeof(ngx_buf_t));
b                 828 event/ngx_event_pipe.c     b->shadow = buf;
b                 829 event/ngx_event_pipe.c     b->tag = p->tag;
b                 830 event/ngx_event_pipe.c     b->last_shadow = 1;
b                 831 event/ngx_event_pipe.c     b->recycled = 1;
b                 832 event/ngx_event_pipe.c     buf->shadow = b;
b                 839 event/ngx_event_pipe.c     cl->buf = b;
b                 842 event/ngx_event_pipe.c     ngx_log_debug1(NGX_LOG_DEBUG_EVENT, p->log, 0, "input buf #%d", b->num);
b                 858 event/ngx_event_pipe.c     ngx_buf_t  *b, *next;
b                 860 event/ngx_event_pipe.c     b = buf->shadow;
b                 862 event/ngx_event_pipe.c     if (b == NULL) {
b                 866 event/ngx_event_pipe.c     while (!b->last_shadow) {
b                 867 event/ngx_event_pipe.c         next = b->shadow;
b                 869 event/ngx_event_pipe.c         b->temporary = 0;
b                 870 event/ngx_event_pipe.c         b->recycled = 0;
b                 872 event/ngx_event_pipe.c         b->shadow = NULL;
b                 873 event/ngx_event_pipe.c         b = next;
b                 876 event/ngx_event_pipe.c     b->temporary = 0;
b                 877 event/ngx_event_pipe.c     b->recycled = 0;
b                 878 event/ngx_event_pipe.c     b->last_shadow = 0;
b                 880 event/ngx_event_pipe.c     b->shadow = NULL;
b                 916 event/ngx_event_pipe.c ngx_event_pipe_add_free_buf(ngx_event_pipe_t *p, ngx_buf_t *b)
b                 925 event/ngx_event_pipe.c     b->pos = b->start;
b                 926 event/ngx_event_pipe.c     b->last = b->start;
b                 927 event/ngx_event_pipe.c     b->shadow = NULL;
b                 929 event/ngx_event_pipe.c     cl->buf = b;
b                  91 event/ngx_event_pipe.h ngx_int_t ngx_event_pipe_add_free_buf(ngx_event_pipe_t *p, ngx_buf_t *b);
b                 144 http/modules/ngx_http_autoindex_module.c     ngx_buf_t                      *b;
b                 384 http/modules/ngx_http_autoindex_module.c     b = ngx_create_temp_buf(r->pool, len);
b                 385 http/modules/ngx_http_autoindex_module.c     if (b == NULL) {
b                 395 http/modules/ngx_http_autoindex_module.c     b->last = ngx_cpymem(b->last, title, sizeof(title) - 1);
b                 396 http/modules/ngx_http_autoindex_module.c     b->last = ngx_cpymem(b->last, r->uri.data, r->uri.len);
b                 397 http/modules/ngx_http_autoindex_module.c     b->last = ngx_cpymem(b->last, header, sizeof(header) - 1);
b                 398 http/modules/ngx_http_autoindex_module.c     b->last = ngx_cpymem(b->last, r->uri.data, r->uri.len);
b                 399 http/modules/ngx_http_autoindex_module.c     b->last = ngx_cpymem(b->last, "</h1>", sizeof("</h1>") - 1);
b                 401 http/modules/ngx_http_autoindex_module.c     b->last = ngx_cpymem(b->last, "<hr><pre><a href=\"../\">../</a>" CRLF,
b                 407 http/modules/ngx_http_autoindex_module.c         b->last = ngx_cpymem(b->last, "<a href=\"", sizeof("<a href=\"") - 1);
b                 410 http/modules/ngx_http_autoindex_module.c             *b->last++ = '.';
b                 411 http/modules/ngx_http_autoindex_module.c             *b->last++ = '/';
b                 415 http/modules/ngx_http_autoindex_module.c             ngx_escape_uri(b->last, entry[i].name.data, entry[i].name.len,
b                 418 http/modules/ngx_http_autoindex_module.c             b->last += entry[i].name.len + entry[i].escape;
b                 421 http/modules/ngx_http_autoindex_module.c             b->last = ngx_cpymem(b->last, entry[i].name.data,
b                 426 http/modules/ngx_http_autoindex_module.c             *b->last++ = '/';
b                 429 http/modules/ngx_http_autoindex_module.c         *b->last++ = '"';
b                 430 http/modules/ngx_http_autoindex_module.c         *b->last++ = '>';
b                 442 http/modules/ngx_http_autoindex_module.c             b->last = ngx_utf8_cpystrn(b->last, entry[i].name.data,
b                 444 http/modules/ngx_http_autoindex_module.c             last = b->last;
b                 447 http/modules/ngx_http_autoindex_module.c             b->last = ngx_cpystrn(b->last, entry[i].name.data,
b                 449 http/modules/ngx_http_autoindex_module.c             last = b->last - 3;
b                 453 http/modules/ngx_http_autoindex_module.c             b->last = ngx_cpymem(last, "..&gt;</a>", sizeof("..&gt;</a>") - 1);
b                 457 http/modules/ngx_http_autoindex_module.c                 *b->last++ = '/';
b                 461 http/modules/ngx_http_autoindex_module.c             b->last = ngx_cpymem(b->last, "</a>", sizeof("</a>") - 1);
b                 462 http/modules/ngx_http_autoindex_module.c             ngx_memset(b->last, ' ', NGX_HTTP_AUTOINDEX_NAME_LEN - len);
b                 463 http/modules/ngx_http_autoindex_module.c             b->last += NGX_HTTP_AUTOINDEX_NAME_LEN - len;
b                 466 http/modules/ngx_http_autoindex_module.c         *b->last++ = ' ';
b                 470 http/modules/ngx_http_autoindex_module.c         b->last = ngx_sprintf(b->last, "%02d-%s-%d %02d:%02d ",
b                 479 http/modules/ngx_http_autoindex_module.c                 b->last = ngx_cpymem(b->last,  "                  -",
b                 482 http/modules/ngx_http_autoindex_module.c                 b->last = ngx_sprintf(b->last, "%19O", entry[i].size);
b                 487 http/modules/ngx_http_autoindex_module.c                 b->last = ngx_cpymem(b->last,  "      -",
b                 522 http/modules/ngx_http_autoindex_module.c                     b->last = ngx_sprintf(b->last, "%6i%c", size, scale);
b                 525 http/modules/ngx_http_autoindex_module.c                     b->last = ngx_sprintf(b->last, " %6i", size);
b                 530 http/modules/ngx_http_autoindex_module.c         *b->last++ = CR;
b                 531 http/modules/ngx_http_autoindex_module.c         *b->last++ = LF;
b                 536 http/modules/ngx_http_autoindex_module.c     b->last = ngx_cpymem(b->last, "</pre><hr>", sizeof("</pre><hr>") - 1);
b                 538 http/modules/ngx_http_autoindex_module.c     b->last = ngx_cpymem(b->last, tail, sizeof(tail) - 1);
b                 541 http/modules/ngx_http_autoindex_module.c         b->last_buf = 1;
b                 544 http/modules/ngx_http_autoindex_module.c     b->last_in_chain = 1;
b                 546 http/modules/ngx_http_autoindex_module.c     out.buf = b;
b                  98 http/modules/ngx_http_charset_filter_module.c static ngx_uint_t ngx_http_charset_recode(ngx_buf_t *b, u_char *table);
b                 545 http/modules/ngx_http_charset_filter_module.c     ngx_buf_t               *b;
b                 561 http/modules/ngx_http_charset_filter_module.c             b = cl->buf;
b                 563 http/modules/ngx_http_charset_filter_module.c             if (ngx_buf_size(b) == 0) {
b                 570 http/modules/ngx_http_charset_filter_module.c                 (*ll)->buf = b;
b                 579 http/modules/ngx_http_charset_filter_module.c                 *ll = ngx_http_charset_recode_to_utf8(r->pool, b, ctx);
b                 582 http/modules/ngx_http_charset_filter_module.c                 *ll = ngx_http_charset_recode_from_utf8(r->pool, b, ctx);
b                 609 http/modules/ngx_http_charset_filter_module.c             b = cl->buf;
b                 611 http/modules/ngx_http_charset_filter_module.c             if (ngx_buf_size(b) != 0) {
b                 617 http/modules/ngx_http_charset_filter_module.c             if (b->tag != (ngx_buf_tag_t) &ngx_http_charset_filter_module) {
b                 621 http/modules/ngx_http_charset_filter_module.c             if (b->shadow) {
b                 622 http/modules/ngx_http_charset_filter_module.c                 b->shadow->pos = b->shadow->last;
b                 625 http/modules/ngx_http_charset_filter_module.c             if (b->pos) {
b                 647 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_recode(ngx_buf_t *b, u_char *table)
b                 651 http/modules/ngx_http_charset_filter_module.c     last = b->last;
b                 653 http/modules/ngx_http_charset_filter_module.c     for (p = b->pos; p < last; p++) {
b                 673 http/modules/ngx_http_charset_filter_module.c     b->in_file = 0;
b                 686 http/modules/ngx_http_charset_filter_module.c     ngx_buf_t    *b;
b                 708 http/modules/ngx_http_charset_filter_module.c                 b = out->buf;
b                 710 http/modules/ngx_http_charset_filter_module.c                 b->temporary = buf->temporary;
b                 711 http/modules/ngx_http_charset_filter_module.c                 b->memory = buf->memory;
b                 712 http/modules/ngx_http_charset_filter_module.c                 b->mmap = buf->mmap;
b                 713 http/modules/ngx_http_charset_filter_module.c                 b->flush = buf->flush;
b                 715 http/modules/ngx_http_charset_filter_module.c                 b->pos = buf->pos;
b                 716 http/modules/ngx_http_charset_filter_module.c                 b->last = src;
b                 718 http/modules/ngx_http_charset_filter_module.c                 out->buf = b;
b                 732 http/modules/ngx_http_charset_filter_module.c                     b->shadow = buf;
b                 759 http/modules/ngx_http_charset_filter_module.c             b = cl->buf;
b                 760 http/modules/ngx_http_charset_filter_module.c             dst = b->pos;
b                 814 http/modules/ngx_http_charset_filter_module.c             b = out->buf;
b                 816 http/modules/ngx_http_charset_filter_module.c             b->pos = buf->pos;
b                 817 http/modules/ngx_http_charset_filter_module.c             b->last = buf->last;
b                 818 http/modules/ngx_http_charset_filter_module.c             b->sync = 1;
b                 819 http/modules/ngx_http_charset_filter_module.c             b->shadow = buf;
b                 841 http/modules/ngx_http_charset_filter_module.c     b = cl->buf;
b                 842 http/modules/ngx_http_charset_filter_module.c     dst = b->pos;
b                 876 http/modules/ngx_http_charset_filter_module.c         if ((size_t) (b->end - dst) < NGX_HTML_ENTITY_LEN) {
b                 877 http/modules/ngx_http_charset_filter_module.c             b->last = dst;
b                 889 http/modules/ngx_http_charset_filter_module.c             b = cl->buf;
b                 890 http/modules/ngx_http_charset_filter_module.c             dst = b->pos;
b                 926 http/modules/ngx_http_charset_filter_module.c             if (b->pos == dst) {
b                 927 http/modules/ngx_http_charset_filter_module.c                 b->sync = 1;
b                 928 http/modules/ngx_http_charset_filter_module.c                 b->temporary = 0;
b                 948 http/modules/ngx_http_charset_filter_module.c     b->last = dst;
b                 950 http/modules/ngx_http_charset_filter_module.c     b->last_buf = buf->last_buf;
b                 951 http/modules/ngx_http_charset_filter_module.c     b->last_in_chain = buf->last_in_chain;
b                 952 http/modules/ngx_http_charset_filter_module.c     b->flush = buf->flush;
b                 954 http/modules/ngx_http_charset_filter_module.c     b->shadow = buf;
b                 966 http/modules/ngx_http_charset_filter_module.c     ngx_buf_t    *b;
b                1004 http/modules/ngx_http_charset_filter_module.c         b = out->buf;
b                1006 http/modules/ngx_http_charset_filter_module.c         b->temporary = buf->temporary;
b                1007 http/modules/ngx_http_charset_filter_module.c         b->memory = buf->memory;
b                1008 http/modules/ngx_http_charset_filter_module.c         b->mmap = buf->mmap;
b                1009 http/modules/ngx_http_charset_filter_module.c         b->flush = buf->flush;
b                1011 http/modules/ngx_http_charset_filter_module.c         b->pos = buf->pos;
b                1012 http/modules/ngx_http_charset_filter_module.c         b->last = src;
b                1014 http/modules/ngx_http_charset_filter_module.c         out->buf = b;
b                1043 http/modules/ngx_http_charset_filter_module.c     b = cl->buf;
b                1044 http/modules/ngx_http_charset_filter_module.c     dst = b->pos;
b                1051 http/modules/ngx_http_charset_filter_module.c         if ((size_t) (b->end - dst) < len) {
b                1052 http/modules/ngx_http_charset_filter_module.c             b->last = dst;
b                1065 http/modules/ngx_http_charset_filter_module.c             b = cl->buf;
b                1066 http/modules/ngx_http_charset_filter_module.c             dst = b->pos;
b                1075 http/modules/ngx_http_charset_filter_module.c     b->last = dst;
b                1077 http/modules/ngx_http_charset_filter_module.c     b->last_buf = buf->last_buf;
b                1078 http/modules/ngx_http_charset_filter_module.c     b->last_in_chain = buf->last_in_chain;
b                1079 http/modules/ngx_http_charset_filter_module.c     b->flush = buf->flush;
b                1081 http/modules/ngx_http_charset_filter_module.c     b->shadow = buf;
b                1125 http/modules/ngx_http_charset_filter_module.c     ngx_buf_t    *b;
b                1132 http/modules/ngx_http_charset_filter_module.c         b = cl->buf;
b                1134 http/modules/ngx_http_charset_filter_module.c         if ((size_t) (b->end - b->start) >= size) {
b                1138 http/modules/ngx_http_charset_filter_module.c             b->pos = b->start;
b                1139 http/modules/ngx_http_charset_filter_module.c             b->temporary = 1;
b                1140 http/modules/ngx_http_charset_filter_module.c             b->shadow = NULL;
b                  88 http/modules/ngx_http_chunked_filter_module.c     ngx_buf_t    *b;
b                 130 http/modules/ngx_http_chunked_filter_module.c         b = ngx_calloc_buf(r->pool);
b                 131 http/modules/ngx_http_chunked_filter_module.c         if (b == NULL) {
b                 142 http/modules/ngx_http_chunked_filter_module.c         b->temporary = 1;
b                 143 http/modules/ngx_http_chunked_filter_module.c         b->pos = chunk;
b                 144 http/modules/ngx_http_chunked_filter_module.c         b->last = ngx_sprintf(chunk, "%xO" CRLF, size);
b                 146 http/modules/ngx_http_chunked_filter_module.c         out.buf = b;
b                 150 http/modules/ngx_http_chunked_filter_module.c         b = ngx_calloc_buf(r->pool);
b                 151 http/modules/ngx_http_chunked_filter_module.c         if (b == NULL) {
b                 155 http/modules/ngx_http_chunked_filter_module.c         b->memory = 1;
b                 156 http/modules/ngx_http_chunked_filter_module.c         b->last_buf = 1;
b                 157 http/modules/ngx_http_chunked_filter_module.c         b->pos = (u_char *) CRLF "0" CRLF CRLF;
b                 158 http/modules/ngx_http_chunked_filter_module.c         b->last = b->pos + 7;
b                 163 http/modules/ngx_http_chunked_filter_module.c             b->pos += 2;
b                 164 http/modules/ngx_http_chunked_filter_module.c             out.buf = b;
b                 176 http/modules/ngx_http_chunked_filter_module.c         b = ngx_calloc_buf(r->pool);
b                 177 http/modules/ngx_http_chunked_filter_module.c         if (b == NULL) {
b                 181 http/modules/ngx_http_chunked_filter_module.c         b->memory = 1;
b                 182 http/modules/ngx_http_chunked_filter_module.c         b->pos = (u_char *) CRLF;
b                 183 http/modules/ngx_http_chunked_filter_module.c         b->last = b->pos + 2;
b                 186 http/modules/ngx_http_chunked_filter_module.c     tail.buf = b;
b                 695 http/modules/ngx_http_fastcgi_module.c     ngx_buf_t                    *b;
b                 824 http/modules/ngx_http_fastcgi_module.c     b = ngx_create_temp_buf(r->pool, size);
b                 825 http/modules/ngx_http_fastcgi_module.c     if (b == NULL) {
b                 834 http/modules/ngx_http_fastcgi_module.c     cl->buf = b;
b                 836 http/modules/ngx_http_fastcgi_module.c     ngx_memcpy(b->pos, &ngx_http_fastcgi_request_start,
b                 840 http/modules/ngx_http_fastcgi_module.c              (b->pos + sizeof(ngx_http_fastcgi_header_t)
b                 848 http/modules/ngx_http_fastcgi_module.c     b->last = b->pos + sizeof(ngx_http_fastcgi_header_t)
b                 857 http/modules/ngx_http_fastcgi_module.c         e.pos = b->last;
b                 897 http/modules/ngx_http_fastcgi_module.c         b->last = e.pos;
b                 926 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = (u_char) (((key_len >> 24) & 0x7f) | 0x80);
b                 927 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = (u_char) ((key_len >> 16) & 0xff);
b                 928 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = (u_char) ((key_len >> 8) & 0xff);
b                 929 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = (u_char) (key_len & 0xff);
b                 932 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = (u_char) key_len;
b                 937 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = (u_char) (((val_len >> 24) & 0x7f) | 0x80);
b                 938 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = (u_char) ((val_len >> 16) & 0xff);
b                 939 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = (u_char) ((val_len >> 8) & 0xff);
b                 940 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = (u_char) (val_len & 0xff);
b                 943 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = (u_char) val_len;
b                 946 http/modules/ngx_http_fastcgi_module.c             b->last = ngx_cpymem(b->last, "HTTP_", sizeof("HTTP_") - 1);
b                 958 http/modules/ngx_http_fastcgi_module.c                 *b->last++ = ch;
b                 961 http/modules/ngx_http_fastcgi_module.c             b->last = ngx_copy(b->last, header[i].value.data, val_len);
b                 965 http/modules/ngx_http_fastcgi_module.c                            key_len, b->last - (key_len + val_len),
b                 966 http/modules/ngx_http_fastcgi_module.c                            val_len, b->last - val_len);
b                 975 http/modules/ngx_http_fastcgi_module.c         ngx_memzero(b->last, padding);
b                 976 http/modules/ngx_http_fastcgi_module.c         b->last += padding;
b                 980 http/modules/ngx_http_fastcgi_module.c     h = (ngx_http_fastcgi_header_t *) b->last;
b                 981 http/modules/ngx_http_fastcgi_module.c     b->last += sizeof(ngx_http_fastcgi_header_t);
b                 992 http/modules/ngx_http_fastcgi_module.c     h = (ngx_http_fastcgi_header_t *) b->last;
b                 993 http/modules/ngx_http_fastcgi_module.c     b->last += sizeof(ngx_http_fastcgi_header_t);
b                1016 http/modules/ngx_http_fastcgi_module.c                 b = ngx_alloc_buf(r->pool);
b                1017 http/modules/ngx_http_fastcgi_module.c                 if (b == NULL) {
b                1021 http/modules/ngx_http_fastcgi_module.c                 ngx_memcpy(b, body->buf, sizeof(ngx_buf_t));
b                1024 http/modules/ngx_http_fastcgi_module.c                     b->file_pos = file_pos;
b                1032 http/modules/ngx_http_fastcgi_module.c                     b->file_last = file_pos;
b                1033 http/modules/ngx_http_fastcgi_module.c                     len = (ngx_uint_t) (file_pos - b->file_pos);
b                1036 http/modules/ngx_http_fastcgi_module.c                     b->pos = pos;
b                1044 http/modules/ngx_http_fastcgi_module.c                     b->last = pos;
b                1045 http/modules/ngx_http_fastcgi_module.c                     len = (ngx_uint_t) (pos - b->pos);
b                1066 http/modules/ngx_http_fastcgi_module.c                 cl->buf = b;
b                1068 http/modules/ngx_http_fastcgi_module.c                 b = ngx_create_temp_buf(r->pool,
b                1071 http/modules/ngx_http_fastcgi_module.c                 if (b == NULL) {
b                1076 http/modules/ngx_http_fastcgi_module.c                     ngx_memzero(b->last, padding);
b                1077 http/modules/ngx_http_fastcgi_module.c                     b->last += padding;
b                1080 http/modules/ngx_http_fastcgi_module.c                 h = (ngx_http_fastcgi_header_t *) b->last;
b                1081 http/modules/ngx_http_fastcgi_module.c                 b->last += sizeof(ngx_http_fastcgi_header_t);
b                1089 http/modules/ngx_http_fastcgi_module.c                 cl->buf = b;
b                1573 http/modules/ngx_http_fastcgi_module.c     ngx_buf_t               *b, **prev;
b                1585 http/modules/ngx_http_fastcgi_module.c     b = NULL;
b                1698 http/modules/ngx_http_fastcgi_module.c             b = p->free->buf;
b                1702 http/modules/ngx_http_fastcgi_module.c             b = ngx_alloc_buf(p->pool);
b                1703 http/modules/ngx_http_fastcgi_module.c             if (b == NULL) {
b                1708 http/modules/ngx_http_fastcgi_module.c         ngx_memzero(b, sizeof(ngx_buf_t));
b                1710 http/modules/ngx_http_fastcgi_module.c         b->pos = f->pos;
b                1711 http/modules/ngx_http_fastcgi_module.c         b->start = buf->start;
b                1712 http/modules/ngx_http_fastcgi_module.c         b->end = buf->end;
b                1713 http/modules/ngx_http_fastcgi_module.c         b->tag = p->tag;
b                1714 http/modules/ngx_http_fastcgi_module.c         b->temporary = 1;
b                1715 http/modules/ngx_http_fastcgi_module.c         b->recycled = 1;
b                1717 http/modules/ngx_http_fastcgi_module.c         *prev = b;
b                1718 http/modules/ngx_http_fastcgi_module.c         prev = &b->shadow;
b                1725 http/modules/ngx_http_fastcgi_module.c         cl->buf = b;
b                1736 http/modules/ngx_http_fastcgi_module.c         /* STUB */ b->num = buf->num;
b                1739 http/modules/ngx_http_fastcgi_module.c                        "input buf #%d %p", b->num, b->pos);
b                1750 http/modules/ngx_http_fastcgi_module.c             b->last = f->pos;
b                1763 http/modules/ngx_http_fastcgi_module.c             b->last = f->last;
b                1770 http/modules/ngx_http_fastcgi_module.c         b->last = f->last;
b                1776 http/modules/ngx_http_fastcgi_module.c     if (b) {
b                1777 http/modules/ngx_http_fastcgi_module.c         b->shadow = buf;
b                1778 http/modules/ngx_http_fastcgi_module.c         b->last_shadow = 1;
b                1781 http/modules/ngx_http_fastcgi_module.c                        "input buf %p %z", b->pos, b->last - b->pos);
b                  70 http/modules/ngx_http_flv_module.c     ngx_buf_t                 *b;
b                 193 http/modules/ngx_http_flv_module.c         b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                 194 http/modules/ngx_http_flv_module.c         if (b == NULL) {
b                 198 http/modules/ngx_http_flv_module.c         b->pos = ngx_flv_header;
b                 199 http/modules/ngx_http_flv_module.c         b->last = ngx_flv_header + sizeof(ngx_flv_header) - 1;
b                 200 http/modules/ngx_http_flv_module.c         b->memory = 1;
b                 202 http/modules/ngx_http_flv_module.c         out[0].buf = b;
b                 207 http/modules/ngx_http_flv_module.c     b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                 208 http/modules/ngx_http_flv_module.c     if (b == NULL) {
b                 212 http/modules/ngx_http_flv_module.c     b->file = ngx_pcalloc(r->pool, sizeof(ngx_file_t));
b                 213 http/modules/ngx_http_flv_module.c     if (b->file == NULL) {
b                 225 http/modules/ngx_http_flv_module.c     b->file_pos = start;
b                 226 http/modules/ngx_http_flv_module.c     b->file_last = of.size;
b                 228 http/modules/ngx_http_flv_module.c     b->in_file = b->file_last ? 1: 0;
b                 229 http/modules/ngx_http_flv_module.c     b->last_buf = 1;
b                 230 http/modules/ngx_http_flv_module.c     b->last_in_chain = 1;
b                 232 http/modules/ngx_http_flv_module.c     b->file->fd = of.fd;
b                 233 http/modules/ngx_http_flv_module.c     b->file->name = path;
b                 234 http/modules/ngx_http_flv_module.c     b->file->log = log;
b                 235 http/modules/ngx_http_flv_module.c     b->file->directio = of.is_directio;
b                 237 http/modules/ngx_http_flv_module.c     out[1].buf = b;
b                 524 http/modules/ngx_http_gzip_filter_module.c     ngx_buf_t             *b, *buf;
b                 549 http/modules/ngx_http_gzip_filter_module.c         b = in->buf;
b                 551 http/modules/ngx_http_gzip_filter_module.c         size = b->last - b->pos;
b                 554 http/modules/ngx_http_gzip_filter_module.c         if (b->flush || b->last_buf || buffered > conf->postpone_gzipping) {
b                 565 http/modules/ngx_http_gzip_filter_module.c             buf->last = ngx_cpymem(buf->pos, b->pos, size);
b                 566 http/modules/ngx_http_gzip_filter_module.c             b->pos = b->last;
b                 568 http/modules/ngx_http_gzip_filter_module.c             buf->last_buf = b->last_buf;
b                 574 http/modules/ngx_http_gzip_filter_module.c             cl->buf = b;
b                 628 http/modules/ngx_http_gzip_filter_module.c     ngx_buf_t      *b;
b                 633 http/modules/ngx_http_gzip_filter_module.c     b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                 634 http/modules/ngx_http_gzip_filter_module.c     if (b == NULL) {
b                 638 http/modules/ngx_http_gzip_filter_module.c     b->memory = 1;
b                 639 http/modules/ngx_http_gzip_filter_module.c     b->pos = gzheader;
b                 640 http/modules/ngx_http_gzip_filter_module.c     b->last = b->pos + 10;
b                 647 http/modules/ngx_http_gzip_filter_module.c     cl->buf = b;
b                 873 http/modules/ngx_http_gzip_filter_module.c     ngx_buf_t         *b;
b                 906 http/modules/ngx_http_gzip_filter_module.c         b = ngx_create_temp_buf(r->pool, 8);
b                 907 http/modules/ngx_http_gzip_filter_module.c         if (b == NULL) {
b                 911 http/modules/ngx_http_gzip_filter_module.c         b->last_buf = 1;
b                 918 http/modules/ngx_http_gzip_filter_module.c         cl->buf = b;
b                 922 http/modules/ngx_http_gzip_filter_module.c         trailer = (struct gztrailer *) b->pos;
b                 923 http/modules/ngx_http_gzip_filter_module.c         b->last += 8;
b                  77 http/modules/ngx_http_gzip_static_module.c     ngx_buf_t                    *b;
b                 219 http/modules/ngx_http_gzip_static_module.c     b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                 220 http/modules/ngx_http_gzip_static_module.c     if (b == NULL) {
b                 224 http/modules/ngx_http_gzip_static_module.c     b->file = ngx_pcalloc(r->pool, sizeof(ngx_file_t));
b                 225 http/modules/ngx_http_gzip_static_module.c     if (b->file == NULL) {
b                 235 http/modules/ngx_http_gzip_static_module.c     b->file_pos = 0;
b                 236 http/modules/ngx_http_gzip_static_module.c     b->file_last = of.size;
b                 238 http/modules/ngx_http_gzip_static_module.c     b->in_file = b->file_last ? 1 : 0;
b                 239 http/modules/ngx_http_gzip_static_module.c     b->last_buf = 1;
b                 240 http/modules/ngx_http_gzip_static_module.c     b->last_in_chain = 1;
b                 242 http/modules/ngx_http_gzip_static_module.c     b->file->fd = of.fd;
b                 243 http/modules/ngx_http_gzip_static_module.c     b->file->name = path;
b                 244 http/modules/ngx_http_gzip_static_module.c     b->file->log = log;
b                 245 http/modules/ngx_http_gzip_static_module.c     b->file->directio = of.is_directio;
b                 247 http/modules/ngx_http_gzip_static_module.c     out.buf = b;
b                  83 http/modules/ngx_http_image_filter_module.c static void ngx_http_image_length(ngx_http_request_t *r, ngx_buf_t *b);
b                 435 http/modules/ngx_http_image_filter_module.c     ngx_buf_t                    *b;
b                 454 http/modules/ngx_http_image_filter_module.c         b = cl->buf;
b                 455 http/modules/ngx_http_image_filter_module.c         size = b->last - b->pos;
b                 463 http/modules/ngx_http_image_filter_module.c         p = ngx_cpymem(p, b->pos, size);
b                 464 http/modules/ngx_http_image_filter_module.c         b->pos += size;
b                 466 http/modules/ngx_http_image_filter_module.c         if (b->last_buf) {
b                 537 http/modules/ngx_http_image_filter_module.c     ngx_buf_t  *b;
b                 539 http/modules/ngx_http_image_filter_module.c     b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                 540 http/modules/ngx_http_image_filter_module.c     if (b == NULL) {
b                 544 http/modules/ngx_http_image_filter_module.c     b->memory = 1;
b                 545 http/modules/ngx_http_image_filter_module.c     b->last_buf = 1;
b                 554 http/modules/ngx_http_image_filter_module.c         b->pos = (u_char *) "{}" CRLF;
b                 555 http/modules/ngx_http_image_filter_module.c         b->last = b->pos + sizeof("{}" CRLF) - 1;
b                 557 http/modules/ngx_http_image_filter_module.c         ngx_http_image_length(r, b);
b                 559 http/modules/ngx_http_image_filter_module.c         return b;
b                 566 http/modules/ngx_http_image_filter_module.c     b->pos = ngx_pnalloc(r->pool, len);
b                 567 http/modules/ngx_http_image_filter_module.c     if (b->pos == NULL) {
b                 571 http/modules/ngx_http_image_filter_module.c     b->last = ngx_sprintf(b->pos,
b                 579 http/modules/ngx_http_image_filter_module.c     ngx_http_image_length(r, b);
b                 581 http/modules/ngx_http_image_filter_module.c     return b;
b                 588 http/modules/ngx_http_image_filter_module.c     ngx_buf_t  *b;
b                 590 http/modules/ngx_http_image_filter_module.c     b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                 591 http/modules/ngx_http_image_filter_module.c     if (b == NULL) {
b                 595 http/modules/ngx_http_image_filter_module.c     b->pos = ctx->image;
b                 596 http/modules/ngx_http_image_filter_module.c     b->last = ctx->last;
b                 597 http/modules/ngx_http_image_filter_module.c     b->memory = 1;
b                 598 http/modules/ngx_http_image_filter_module.c     b->last_buf = 1;
b                 600 http/modules/ngx_http_image_filter_module.c     ngx_http_image_length(r, b);
b                 602 http/modules/ngx_http_image_filter_module.c     return b;
b                 607 http/modules/ngx_http_image_filter_module.c ngx_http_image_length(ngx_http_request_t *r, ngx_buf_t *b)
b                 609 http/modules/ngx_http_image_filter_module.c     r->headers_out.content_length_n = b->last - b->pos;
b                 730 http/modules/ngx_http_image_filter_module.c     ngx_buf_t                     *b;
b                 955 http/modules/ngx_http_image_filter_module.c     b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                 956 http/modules/ngx_http_image_filter_module.c     if (b == NULL) {
b                 964 http/modules/ngx_http_image_filter_module.c     b->pos = out;
b                 965 http/modules/ngx_http_image_filter_module.c     b->last = out + size;
b                 966 http/modules/ngx_http_image_filter_module.c     b->memory = 1;
b                 967 http/modules/ngx_http_image_filter_module.c     b->last_buf = 1;
b                 969 http/modules/ngx_http_image_filter_module.c     ngx_http_image_length(r, b);
b                 971 http/modules/ngx_http_image_filter_module.c     return b;
b                 213 http/modules/ngx_http_memcached_module.c     ngx_buf_t                      *b;
b                 233 http/modules/ngx_http_memcached_module.c     b = ngx_create_temp_buf(r->pool, len);
b                 234 http/modules/ngx_http_memcached_module.c     if (b == NULL) {
b                 243 http/modules/ngx_http_memcached_module.c     cl->buf = b;
b                 248 http/modules/ngx_http_memcached_module.c     *b->last++ = 'g'; *b->last++ = 'e'; *b->last++ = 't'; *b->last++ = ' ';
b                 252 http/modules/ngx_http_memcached_module.c     ctx->key.data = b->last;
b                 255 http/modules/ngx_http_memcached_module.c         b->last = ngx_copy(b->last, vv->data, vv->len);
b                 258 http/modules/ngx_http_memcached_module.c         b->last = (u_char *) ngx_escape_uri(b->last, vv->data, vv->len,
b                 262 http/modules/ngx_http_memcached_module.c     ctx->key.len = b->last - ctx->key.data;
b                 267 http/modules/ngx_http_memcached_module.c     *b->last++ = CR; *b->last++ = LF;
b                 403 http/modules/ngx_http_memcached_module.c     ngx_buf_t            *b;
b                 408 http/modules/ngx_http_memcached_module.c     b = &u->buffer;
b                 412 http/modules/ngx_http_memcached_module.c         if (ngx_strncmp(b->last,
b                 446 http/modules/ngx_http_memcached_module.c     last = b->last;
b                 448 http/modules/ngx_http_memcached_module.c     b->last += bytes;
b                 449 http/modules/ngx_http_memcached_module.c     cl->buf->last = b->last;
b                 454 http/modules/ngx_http_memcached_module.c                    bytes, b->last - b->pos, u->length, ctx->rest);
b                 463 http/modules/ngx_http_memcached_module.c     if (ngx_strncmp(last, ngx_http_memcached_end, b->last - last) != 0) {
b                 468 http/modules/ngx_http_memcached_module.c     ctx->rest -= b->last - last;
b                 469 http/modules/ngx_http_memcached_module.c     b->last = last;
b                 837 http/modules/ngx_http_proxy_module.c     ngx_buf_t                    *b;
b                 962 http/modules/ngx_http_proxy_module.c     b = ngx_create_temp_buf(r->pool, len);
b                 963 http/modules/ngx_http_proxy_module.c     if (b == NULL) {
b                 972 http/modules/ngx_http_proxy_module.c     cl->buf = b;
b                 977 http/modules/ngx_http_proxy_module.c     b->last = ngx_copy(b->last, method.data, method.len);
b                 979 http/modules/ngx_http_proxy_module.c     u->uri.data = b->last;
b                 982 http/modules/ngx_http_proxy_module.c         b->last = ngx_copy(b->last, ctx->vars.uri.data, ctx->vars.uri.len);
b                 985 http/modules/ngx_http_proxy_module.c         b->last = ngx_copy(b->last, r->unparsed_uri.data, r->unparsed_uri.len);
b                 989 http/modules/ngx_http_proxy_module.c             b->last = ngx_copy(b->last, ctx->vars.uri.data, ctx->vars.uri.len);
b                 993 http/modules/ngx_http_proxy_module.c             ngx_escape_uri(b->last, r->uri.data + loc_len,
b                 995 http/modules/ngx_http_proxy_module.c             b->last += r->uri.len - loc_len + escape;
b                 998 http/modules/ngx_http_proxy_module.c             b->last = ngx_copy(b->last, r->uri.data + loc_len,
b                1003 http/modules/ngx_http_proxy_module.c             *b->last++ = '?';
b                1004 http/modules/ngx_http_proxy_module.c             b->last = ngx_copy(b->last, r->args.data, r->args.len);
b                1008 http/modules/ngx_http_proxy_module.c     u->uri.len = b->last - u->uri.data;
b                1010 http/modules/ngx_http_proxy_module.c     b->last = ngx_cpymem(b->last, ngx_http_proxy_version,
b                1016 http/modules/ngx_http_proxy_module.c     e.pos = b->last;
b                1049 http/modules/ngx_http_proxy_module.c     b->last = e.pos;
b                1074 http/modules/ngx_http_proxy_module.c             b->last = ngx_copy(b->last, header[i].key.data, header[i].key.len);
b                1076 http/modules/ngx_http_proxy_module.c             *b->last++ = ':'; *b->last++ = ' ';
b                1078 http/modules/ngx_http_proxy_module.c             b->last = ngx_copy(b->last, header[i].value.data,
b                1081 http/modules/ngx_http_proxy_module.c             *b->last++ = CR; *b->last++ = LF;
b                1091 http/modules/ngx_http_proxy_module.c     *b->last++ = CR; *b->last++ = LF;
b                1095 http/modules/ngx_http_proxy_module.c         e.pos = b->last;
b                1102 http/modules/ngx_http_proxy_module.c         b->last = e.pos;
b                1107 http/modules/ngx_http_proxy_module.c                    (size_t) (b->last - b->pos), b->pos);
b                1115 http/modules/ngx_http_proxy_module.c             b = ngx_alloc_buf(r->pool);
b                1116 http/modules/ngx_http_proxy_module.c             if (b == NULL) {
b                1120 http/modules/ngx_http_proxy_module.c             ngx_memcpy(b, body->buf, sizeof(ngx_buf_t));
b                1128 http/modules/ngx_http_proxy_module.c             cl->buf = b;
b                1133 http/modules/ngx_http_proxy_module.c         b->flush = 1;
b                 712 http/modules/ngx_http_range_filter_module.c     ngx_buf_t         *b, *buf;
b                 737 http/modules/ngx_http_range_filter_module.c         b = ngx_calloc_buf(r->pool);
b                 738 http/modules/ngx_http_range_filter_module.c         if (b == NULL) {
b                 742 http/modules/ngx_http_range_filter_module.c         b->memory = 1;
b                 743 http/modules/ngx_http_range_filter_module.c         b->pos = ctx->boundary_header.data;
b                 744 http/modules/ngx_http_range_filter_module.c         b->last = ctx->boundary_header.data + ctx->boundary_header.len;
b                 751 http/modules/ngx_http_range_filter_module.c         hcl->buf = b;
b                 756 http/modules/ngx_http_range_filter_module.c         b = ngx_calloc_buf(r->pool);
b                 757 http/modules/ngx_http_range_filter_module.c         if (b == NULL) {
b                 761 http/modules/ngx_http_range_filter_module.c         b->temporary = 1;
b                 762 http/modules/ngx_http_range_filter_module.c         b->pos = range[i].content_range.data;
b                 763 http/modules/ngx_http_range_filter_module.c         b->last = range[i].content_range.data + range[i].content_range.len;
b                 770 http/modules/ngx_http_range_filter_module.c         rcl->buf = b;
b                 775 http/modules/ngx_http_range_filter_module.c         b = ngx_calloc_buf(r->pool);
b                 776 http/modules/ngx_http_range_filter_module.c         if (b == NULL) {
b                 780 http/modules/ngx_http_range_filter_module.c         b->in_file = buf->in_file;
b                 781 http/modules/ngx_http_range_filter_module.c         b->temporary = buf->temporary;
b                 782 http/modules/ngx_http_range_filter_module.c         b->memory = buf->memory;
b                 783 http/modules/ngx_http_range_filter_module.c         b->mmap = buf->mmap;
b                 784 http/modules/ngx_http_range_filter_module.c         b->file = buf->file;
b                 787 http/modules/ngx_http_range_filter_module.c             b->file_pos = body_start + range[i].start;
b                 788 http/modules/ngx_http_range_filter_module.c             b->file_last = body_start + range[i].end;
b                 792 http/modules/ngx_http_range_filter_module.c             b->pos = buf->start + (size_t) range[i].start;
b                 793 http/modules/ngx_http_range_filter_module.c             b->last = buf->start + (size_t) range[i].end;
b                 801 http/modules/ngx_http_range_filter_module.c         dcl->buf = b;
b                 811 http/modules/ngx_http_range_filter_module.c     b = ngx_calloc_buf(r->pool);
b                 812 http/modules/ngx_http_range_filter_module.c     if (b == NULL) {
b                 816 http/modules/ngx_http_range_filter_module.c     b->temporary = 1;
b                 817 http/modules/ngx_http_range_filter_module.c     b->last_buf = 1;
b                 819 http/modules/ngx_http_range_filter_module.c     b->pos = ngx_pnalloc(r->pool, sizeof(CRLF "--") - 1 + NGX_ATOMIC_T_LEN
b                 821 http/modules/ngx_http_range_filter_module.c     if (b->pos == NULL) {
b                 825 http/modules/ngx_http_range_filter_module.c     b->last = ngx_cpymem(b->pos, ctx->boundary_header.data,
b                 827 http/modules/ngx_http_range_filter_module.c     *b->last++ = '-'; *b->last++ = '-';
b                 828 http/modules/ngx_http_range_filter_module.c     *b->last++ = CR; *b->last++ = LF;
b                 835 http/modules/ngx_http_range_filter_module.c     hcl->buf = b;
b                 514 http/modules/ngx_http_scgi_module.c     ngx_buf_t                    *b;
b                 623 http/modules/ngx_http_scgi_module.c     b = ngx_create_temp_buf(r->pool, NGX_SIZE_T_LEN + 1 + len + 1);
b                 624 http/modules/ngx_http_scgi_module.c     if (b == NULL) {
b                 633 http/modules/ngx_http_scgi_module.c     cl->buf = b;
b                 635 http/modules/ngx_http_scgi_module.c     b->last = ngx_snprintf(b->last,
b                 645 http/modules/ngx_http_scgi_module.c         e.pos = b->last;
b                 671 http/modules/ngx_http_scgi_module.c         b->last = e.pos;
b                 697 http/modules/ngx_http_scgi_module.c             key = b->last;
b                 698 http/modules/ngx_http_scgi_module.c             b->last = ngx_cpymem(key, "HTTP_", sizeof("HTTP_") - 1);
b                 710 http/modules/ngx_http_scgi_module.c                 *b->last++ = ch;
b                 713 http/modules/ngx_http_scgi_module.c             *b->last++ = (u_char) 0;
b                 715 http/modules/ngx_http_scgi_module.c             val = b->last;
b                 716 http/modules/ngx_http_scgi_module.c             b->last = ngx_copy(val, header[i].value.data, header[i].value.len);
b                 717 http/modules/ngx_http_scgi_module.c             *b->last++ = (u_char) 0;
b                 728 http/modules/ngx_http_scgi_module.c     *b->last++ = (u_char) ',';
b                 735 http/modules/ngx_http_scgi_module.c             b = ngx_alloc_buf(r->pool);
b                 736 http/modules/ngx_http_scgi_module.c             if (b == NULL) {
b                 740 http/modules/ngx_http_scgi_module.c             ngx_memcpy(b, body->buf, sizeof(ngx_buf_t));
b                 748 http/modules/ngx_http_scgi_module.c             cl->buf = b;
b                 372 http/modules/ngx_http_ssi_filter_module.c     ngx_buf_t                 *b;
b                 447 http/modules/ngx_http_ssi_filter_module.c         b = NULL;
b                 476 http/modules/ngx_http_ssi_filter_module.c                             b = cl->buf;
b                 477 http/modules/ngx_http_ssi_filter_module.c                             ngx_memzero(b, sizeof(ngx_buf_t));
b                 480 http/modules/ngx_http_ssi_filter_module.c                             b = ngx_calloc_buf(r->pool);
b                 481 http/modules/ngx_http_ssi_filter_module.c                             if (b == NULL) {
b                 490 http/modules/ngx_http_ssi_filter_module.c                             cl->buf = b;
b                 493 http/modules/ngx_http_ssi_filter_module.c                         b->memory = 1;
b                 494 http/modules/ngx_http_ssi_filter_module.c                         b->pos = ngx_http_ssi_string;
b                 495 http/modules/ngx_http_ssi_filter_module.c                         b->last = ngx_http_ssi_string + ctx->saved;
b                 506 http/modules/ngx_http_ssi_filter_module.c                         b = cl->buf;
b                 509 http/modules/ngx_http_ssi_filter_module.c                         b = ngx_alloc_buf(r->pool);
b                 510 http/modules/ngx_http_ssi_filter_module.c                         if (b == NULL) {
b                 519 http/modules/ngx_http_ssi_filter_module.c                         cl->buf = b;
b                 522 http/modules/ngx_http_ssi_filter_module.c                     ngx_memcpy(b, ctx->buf, sizeof(ngx_buf_t));
b                 524 http/modules/ngx_http_ssi_filter_module.c                     b->pos = ctx->copy_start;
b                 525 http/modules/ngx_http_ssi_filter_module.c                     b->last = ctx->copy_end;
b                 526 http/modules/ngx_http_ssi_filter_module.c                     b->shadow = NULL;
b                 527 http/modules/ngx_http_ssi_filter_module.c                     b->last_buf = 0;
b                 528 http/modules/ngx_http_ssi_filter_module.c                     b->recycled = 0;
b                 530 http/modules/ngx_http_ssi_filter_module.c                     if (b->in_file) {
b                 531 http/modules/ngx_http_ssi_filter_module.c                         if (slcf->min_file_chunk < (size_t) (b->last - b->pos))
b                 533 http/modules/ngx_http_ssi_filter_module.c                             b->file_last = b->file_pos
b                 534 http/modules/ngx_http_ssi_filter_module.c                                                    + (b->last - ctx->buf->pos);
b                 535 http/modules/ngx_http_ssi_filter_module.c                             b->file_pos += b->pos - ctx->buf->pos;
b                 538 http/modules/ngx_http_ssi_filter_module.c                             b->in_file = 0;
b                 550 http/modules/ngx_http_ssi_filter_module.c                         b = ngx_create_temp_buf(r->pool,
b                 553 http/modules/ngx_http_ssi_filter_module.c                         if (b == NULL) {
b                 558 http/modules/ngx_http_ssi_filter_module.c                             b->last = ngx_cpymem(b->pos, ngx_http_ssi_string,
b                 562 http/modules/ngx_http_ssi_filter_module.c                         b->last = ngx_cpymem(b->last, ctx->copy_start,
b                 570 http/modules/ngx_http_ssi_filter_module.c                         cl->buf = b;
b                 573 http/modules/ngx_http_ssi_filter_module.c                         b = NULL;
b                 606 http/modules/ngx_http_ssi_filter_module.c             b = NULL;
b                 651 http/modules/ngx_http_ssi_filter_module.c                         b = ngx_create_temp_buf(r->pool, len);
b                 653 http/modules/ngx_http_ssi_filter_module.c                         if (b == NULL) {
b                 662 http/modules/ngx_http_ssi_filter_module.c                         cl->buf = b;
b                 665 http/modules/ngx_http_ssi_filter_module.c                         *b->last++ = '<';
b                 666 http/modules/ngx_http_ssi_filter_module.c                         *b->last++ = '!';
b                 667 http/modules/ngx_http_ssi_filter_module.c                         *b->last++ = '-';
b                 668 http/modules/ngx_http_ssi_filter_module.c                         *b->last++ = '-';
b                 669 http/modules/ngx_http_ssi_filter_module.c                         *b->last++ = '#';
b                 671 http/modules/ngx_http_ssi_filter_module.c                         b->last = ngx_cpymem(b->last, ctx->command.data,
b                 675 http/modules/ngx_http_ssi_filter_module.c                             *b->last++ = ' ';
b                 676 http/modules/ngx_http_ssi_filter_module.c                             b->last = ngx_cpymem(b->last, param[i].key.data,
b                 678 http/modules/ngx_http_ssi_filter_module.c                             *b->last++ = '=';
b                 679 http/modules/ngx_http_ssi_filter_module.c                             *b->last++ = '"';
b                 680 http/modules/ngx_http_ssi_filter_module.c                             b->last = ngx_cpymem(b->last, param[i].value.data,
b                 682 http/modules/ngx_http_ssi_filter_module.c                             *b->last++ = '"';
b                 685 http/modules/ngx_http_ssi_filter_module.c                         *b->last++ = ' ';
b                 686 http/modules/ngx_http_ssi_filter_module.c                         *b->last++ = '-';
b                 687 http/modules/ngx_http_ssi_filter_module.c                         *b->last++ = '-';
b                 688 http/modules/ngx_http_ssi_filter_module.c                         *b->last++ = '>';
b                 702 http/modules/ngx_http_ssi_filter_module.c                         b = NULL;
b                 815 http/modules/ngx_http_ssi_filter_module.c                 b = cl->buf;
b                 816 http/modules/ngx_http_ssi_filter_module.c                 ngx_memzero(b, sizeof(ngx_buf_t));
b                 819 http/modules/ngx_http_ssi_filter_module.c                 b = ngx_calloc_buf(r->pool);
b                 820 http/modules/ngx_http_ssi_filter_module.c                 if (b == NULL) {
b                 829 http/modules/ngx_http_ssi_filter_module.c                 cl->buf = b;
b                 832 http/modules/ngx_http_ssi_filter_module.c             b->memory = 1;
b                 833 http/modules/ngx_http_ssi_filter_module.c             b->pos = ctx->errmsg.data;
b                 834 http/modules/ngx_http_ssi_filter_module.c             b->last = ctx->errmsg.data + ctx->errmsg.len;
b                 844 http/modules/ngx_http_ssi_filter_module.c             if (b == NULL) {
b                 848 http/modules/ngx_http_ssi_filter_module.c                     b = cl->buf;
b                 849 http/modules/ngx_http_ssi_filter_module.c                     ngx_memzero(b, sizeof(ngx_buf_t));
b                 852 http/modules/ngx_http_ssi_filter_module.c                     b = ngx_calloc_buf(r->pool);
b                 853 http/modules/ngx_http_ssi_filter_module.c                     if (b == NULL) {
b                 862 http/modules/ngx_http_ssi_filter_module.c                     cl->buf = b;
b                 865 http/modules/ngx_http_ssi_filter_module.c                 b->sync = 1;
b                 872 http/modules/ngx_http_ssi_filter_module.c             b->last_buf = ctx->buf->last_buf;
b                 873 http/modules/ngx_http_ssi_filter_module.c             b->shadow = ctx->buf;
b                 876 http/modules/ngx_http_ssi_filter_module.c                 b->recycled = ctx->buf->recycled;
b                 897 http/modules/ngx_http_ssi_filter_module.c     ngx_buf_t    *b;
b                 901 http/modules/ngx_http_ssi_filter_module.c     b = NULL;
b                 905 http/modules/ngx_http_ssi_filter_module.c         if (cl->buf == b) {
b                 911 http/modules/ngx_http_ssi_filter_module.c         b = cl->buf;
b                 931 http/modules/ngx_http_ssi_filter_module.c         b = cl->buf;
b                 933 http/modules/ngx_http_ssi_filter_module.c         if (ngx_buf_size(b) != 0) {
b                 937 http/modules/ngx_http_ssi_filter_module.c         if (b->shadow) {
b                 938 http/modules/ngx_http_ssi_filter_module.c             b->shadow->pos = b->shadow->last;
b                 943 http/modules/ngx_http_ssi_filter_module.c         if (ngx_buf_in_memory(b) || b->in_file) {
b                1830 http/modules/ngx_http_ssi_filter_module.c     ngx_buf_t                   *b;
b                1959 http/modules/ngx_http_ssi_filter_module.c                     b = cl->buf;
b                1962 http/modules/ngx_http_ssi_filter_module.c                     b = ngx_alloc_buf(r->pool);
b                1963 http/modules/ngx_http_ssi_filter_module.c                     if (b == NULL) {
b                1972 http/modules/ngx_http_ssi_filter_module.c                     cl->buf = b;
b                1975 http/modules/ngx_http_ssi_filter_module.c                 ngx_memcpy(b, tl->buf, sizeof(ngx_buf_t));
b                1977 http/modules/ngx_http_ssi_filter_module.c                 b->pos = b->start;
b                2101 http/modules/ngx_http_ssi_filter_module.c     ngx_buf_t                  *b;
b                2207 http/modules/ngx_http_ssi_filter_module.c     b = ngx_calloc_buf(r->pool);
b                2208 http/modules/ngx_http_ssi_filter_module.c     if (b == NULL) {
b                2217 http/modules/ngx_http_ssi_filter_module.c     b->memory = 1;
b                2218 http/modules/ngx_http_ssi_filter_module.c     b->pos = p;
b                2219 http/modules/ngx_http_ssi_filter_module.c     b->last = p + len;
b                2221 http/modules/ngx_http_ssi_filter_module.c     cl->buf = b;
b                  56 http/modules/ngx_http_static_module.c     ngx_buf_t                 *b;
b                 224 http/modules/ngx_http_static_module.c     b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                 225 http/modules/ngx_http_static_module.c     if (b == NULL) {
b                 229 http/modules/ngx_http_static_module.c     b->file = ngx_pcalloc(r->pool, sizeof(ngx_file_t));
b                 230 http/modules/ngx_http_static_module.c     if (b->file == NULL) {
b                 240 http/modules/ngx_http_static_module.c     b->file_pos = 0;
b                 241 http/modules/ngx_http_static_module.c     b->file_last = of.size;
b                 243 http/modules/ngx_http_static_module.c     b->in_file = b->file_last ? 1: 0;
b                 244 http/modules/ngx_http_static_module.c     b->last_buf = (r == r->main) ? 1: 0;
b                 245 http/modules/ngx_http_static_module.c     b->last_in_chain = 1;
b                 247 http/modules/ngx_http_static_module.c     b->file->fd = of.fd;
b                 248 http/modules/ngx_http_static_module.c     b->file->name = path;
b                 249 http/modules/ngx_http_static_module.c     b->file->log = log;
b                 250 http/modules/ngx_http_static_module.c     b->file->directio = of.is_directio;
b                 252 http/modules/ngx_http_static_module.c     out.buf = b;
b                  64 http/modules/ngx_http_stub_status_module.c     ngx_buf_t         *b;
b                  95 http/modules/ngx_http_stub_status_module.c     b = ngx_create_temp_buf(r->pool, size);
b                  96 http/modules/ngx_http_stub_status_module.c     if (b == NULL) {
b                 100 http/modules/ngx_http_stub_status_module.c     out.buf = b;
b                 110 http/modules/ngx_http_stub_status_module.c     b->last = ngx_sprintf(b->last, "Active connections: %uA \n", ac);
b                 112 http/modules/ngx_http_stub_status_module.c     b->last = ngx_cpymem(b->last, "server accepts handled requests\n",
b                 115 http/modules/ngx_http_stub_status_module.c     b->last = ngx_sprintf(b->last, " %uA %uA %uA \n", ap, hn, rq);
b                 117 http/modules/ngx_http_stub_status_module.c     b->last = ngx_sprintf(b->last, "Reading: %uA Writing: %uA Waiting: %uA \n",
b                 121 http/modules/ngx_http_stub_status_module.c     r->headers_out.content_length_n = b->last - b->pos;
b                 123 http/modules/ngx_http_stub_status_module.c     b->last_buf = 1;
b                 180 http/modules/ngx_http_sub_filter_module.c     ngx_buf_t                 *b;
b                 234 http/modules/ngx_http_sub_filter_module.c         b = NULL;
b                 261 http/modules/ngx_http_sub_filter_module.c                         b = cl->buf;
b                 262 http/modules/ngx_http_sub_filter_module.c                         ngx_memzero(b, sizeof(ngx_buf_t));
b                 265 http/modules/ngx_http_sub_filter_module.c                         b = ngx_calloc_buf(r->pool);
b                 266 http/modules/ngx_http_sub_filter_module.c                         if (b == NULL) {
b                 275 http/modules/ngx_http_sub_filter_module.c                         cl->buf = b;
b                 278 http/modules/ngx_http_sub_filter_module.c                     b->pos = ngx_pnalloc(r->pool, ctx->saved.len);
b                 279 http/modules/ngx_http_sub_filter_module.c                     if (b->pos == NULL) {
b                 283 http/modules/ngx_http_sub_filter_module.c                     ngx_memcpy(b->pos, ctx->saved.data, ctx->saved.len);
b                 284 http/modules/ngx_http_sub_filter_module.c                     b->last = b->pos + ctx->saved.len;
b                 285 http/modules/ngx_http_sub_filter_module.c                     b->memory = 1;
b                 296 http/modules/ngx_http_sub_filter_module.c                     b = cl->buf;
b                 299 http/modules/ngx_http_sub_filter_module.c                     b = ngx_alloc_buf(r->pool);
b                 300 http/modules/ngx_http_sub_filter_module.c                     if (b == NULL) {
b                 309 http/modules/ngx_http_sub_filter_module.c                     cl->buf = b;
b                 312 http/modules/ngx_http_sub_filter_module.c                 ngx_memcpy(b, ctx->buf, sizeof(ngx_buf_t));
b                 314 http/modules/ngx_http_sub_filter_module.c                 b->pos = ctx->copy_start;
b                 315 http/modules/ngx_http_sub_filter_module.c                 b->last = ctx->copy_end;
b                 316 http/modules/ngx_http_sub_filter_module.c                 b->shadow = NULL;
b                 317 http/modules/ngx_http_sub_filter_module.c                 b->last_buf = 0;
b                 318 http/modules/ngx_http_sub_filter_module.c                 b->recycled = 0;
b                 320 http/modules/ngx_http_sub_filter_module.c                 if (b->in_file) {
b                 321 http/modules/ngx_http_sub_filter_module.c                     b->file_last = b->file_pos + (b->last - ctx->buf->pos);
b                 322 http/modules/ngx_http_sub_filter_module.c                     b->file_pos += b->pos - ctx->buf->pos;
b                 346 http/modules/ngx_http_sub_filter_module.c             b = ngx_calloc_buf(r->pool);
b                 347 http/modules/ngx_http_sub_filter_module.c             if (b == NULL) {
b                 368 http/modules/ngx_http_sub_filter_module.c                 b->memory = 1;
b                 369 http/modules/ngx_http_sub_filter_module.c                 b->pos = ctx->sub.data;
b                 370 http/modules/ngx_http_sub_filter_module.c                 b->last = ctx->sub.data + ctx->sub.len;
b                 373 http/modules/ngx_http_sub_filter_module.c                 b->sync = 1;
b                 376 http/modules/ngx_http_sub_filter_module.c             cl->buf = b;
b                 387 http/modules/ngx_http_sub_filter_module.c             if (b == NULL) {
b                 391 http/modules/ngx_http_sub_filter_module.c                     b = cl->buf;
b                 392 http/modules/ngx_http_sub_filter_module.c                     ngx_memzero(b, sizeof(ngx_buf_t));
b                 395 http/modules/ngx_http_sub_filter_module.c                     b = ngx_calloc_buf(r->pool);
b                 396 http/modules/ngx_http_sub_filter_module.c                     if (b == NULL) {
b                 405 http/modules/ngx_http_sub_filter_module.c                     cl->buf = b;
b                 408 http/modules/ngx_http_sub_filter_module.c                 b->sync = 1;
b                 415 http/modules/ngx_http_sub_filter_module.c             b->last_buf = ctx->buf->last_buf;
b                 416 http/modules/ngx_http_sub_filter_module.c             b->shadow = ctx->buf;
b                 418 http/modules/ngx_http_sub_filter_module.c             b->recycled = ctx->buf->recycled;
b                 439 http/modules/ngx_http_sub_filter_module.c     ngx_buf_t    *b;
b                 443 http/modules/ngx_http_sub_filter_module.c     b = NULL;
b                 447 http/modules/ngx_http_sub_filter_module.c         if (cl->buf == b) {
b                 453 http/modules/ngx_http_sub_filter_module.c         b = cl->buf;
b                 473 http/modules/ngx_http_sub_filter_module.c         b = cl->buf;
b                 475 http/modules/ngx_http_sub_filter_module.c         if (ngx_buf_size(b) != 0) {
b                 479 http/modules/ngx_http_sub_filter_module.c         if (b->shadow) {
b                 480 http/modules/ngx_http_sub_filter_module.c             b->shadow->pos = b->shadow->last;
b                 485 http/modules/ngx_http_sub_filter_module.c         if (ngx_buf_in_memory(b) || b->in_file) {
b                 548 http/modules/ngx_http_uwsgi_module.c     ngx_buf_t                    *b;
b                 660 http/modules/ngx_http_uwsgi_module.c     b = ngx_create_temp_buf(r->pool, len + 4);
b                 661 http/modules/ngx_http_uwsgi_module.c     if (b == NULL) {
b                 670 http/modules/ngx_http_uwsgi_module.c     cl->buf = b;
b                 672 http/modules/ngx_http_uwsgi_module.c     *b->last++ = (u_char) uwcf->modifier1;
b                 673 http/modules/ngx_http_uwsgi_module.c     *b->last++ = (u_char) (len & 0xff);
b                 674 http/modules/ngx_http_uwsgi_module.c     *b->last++ = (u_char) ((len >> 8) & 0xff);
b                 675 http/modules/ngx_http_uwsgi_module.c     *b->last++ = (u_char) uwcf->modifier2;
b                 681 http/modules/ngx_http_uwsgi_module.c         e.pos = b->last;
b                 719 http/modules/ngx_http_uwsgi_module.c         b->last = e.pos;
b                 746 http/modules/ngx_http_uwsgi_module.c             *b->last++ = (u_char) (key_len & 0xff);
b                 747 http/modules/ngx_http_uwsgi_module.c             *b->last++ = (u_char) ((key_len >> 8) & 0xff);
b                 749 http/modules/ngx_http_uwsgi_module.c             b->last = ngx_cpymem(b->last, "HTTP_", sizeof("HTTP_") - 1);
b                 760 http/modules/ngx_http_uwsgi_module.c                 *b->last++ = ch;
b                 764 http/modules/ngx_http_uwsgi_module.c             *b->last++ = (u_char) (val_len & 0xff);
b                 765 http/modules/ngx_http_uwsgi_module.c             *b->last++ = (u_char) ((val_len >> 8) & 0xff);
b                 766 http/modules/ngx_http_uwsgi_module.c             b->last = ngx_copy(b->last, header[i].value.data, val_len);
b                 770 http/modules/ngx_http_uwsgi_module.c                            key_len, b->last - (key_len + 2 + val_len),
b                 771 http/modules/ngx_http_uwsgi_module.c                            val_len, b->last - val_len);
b                 778 http/modules/ngx_http_uwsgi_module.c     b->last = ngx_copy(b->last, uwcf->uwsgi_string.data,
b                 786 http/modules/ngx_http_uwsgi_module.c             b = ngx_alloc_buf(r->pool);
b                 787 http/modules/ngx_http_uwsgi_module.c             if (b == NULL) {
b                 791 http/modules/ngx_http_uwsgi_module.c             ngx_memcpy(b, body->buf, sizeof(ngx_buf_t));
b                 799 http/modules/ngx_http_uwsgi_module.c             cl->buf = b;
b                  65 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t *ctx, ngx_buf_t *b);
b                  67 http/modules/ngx_http_xslt_filter_module.c     ngx_http_xslt_filter_ctx_t *ctx, ngx_buf_t *b);
b                 274 http/modules/ngx_http_xslt_filter_module.c     ngx_buf_t *b)
b                 282 http/modules/ngx_http_xslt_filter_module.c     if (b == NULL) {
b                 290 http/modules/ngx_http_xslt_filter_module.c         ngx_free(b->pos);
b                 296 http/modules/ngx_http_xslt_filter_module.c         r->headers_out.content_length_n = b->last - b->pos;
b                 309 http/modules/ngx_http_xslt_filter_module.c         ngx_free(b->pos);
b                 314 http/modules/ngx_http_xslt_filter_module.c     cln->data = b->pos;
b                 316 http/modules/ngx_http_xslt_filter_module.c     out.buf = b;
b                 325 http/modules/ngx_http_xslt_filter_module.c     ngx_buf_t *b)
b                 352 http/modules/ngx_http_xslt_filter_module.c     err = xmlParseChunk(ctx->ctxt, (char *) b->pos, (int) (b->last - b->pos),
b                 353 http/modules/ngx_http_xslt_filter_module.c                         (b->last_buf) || (b->last_in_chain));
b                 356 http/modules/ngx_http_xslt_filter_module.c         b->pos = b->last;
b                 449 http/modules/ngx_http_xslt_filter_module.c     ngx_buf_t                        *b;
b                 525 http/modules/ngx_http_xslt_filter_module.c     b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                 526 http/modules/ngx_http_xslt_filter_module.c     if (b == NULL) {
b                 531 http/modules/ngx_http_xslt_filter_module.c     b->pos = buf;
b                 532 http/modules/ngx_http_xslt_filter_module.c     b->last = buf + len;
b                 533 http/modules/ngx_http_xslt_filter_module.c     b->memory = 1;
b                 541 http/modules/ngx_http_xslt_filter_module.c         return b;
b                 544 http/modules/ngx_http_xslt_filter_module.c     b->last_buf = 1;
b                 561 http/modules/ngx_http_xslt_filter_module.c     return b;
b                  78 http/ngx_http.h ngx_int_t ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b);
b                  81 http/ngx_http.h ngx_int_t ngx_http_parse_status_line(ngx_http_request_t *r, ngx_buf_t *b,
b                  85 http/ngx_http.h ngx_int_t ngx_http_parse_header_line(ngx_http_request_t *r, ngx_buf_t *b,
b                 135 http/ngx_http_busy_lock.c     int    i, b, cacheable, free;
b                 138 http/ngx_http_busy_lock.c     b = 0;
b                 148 http/ngx_http_busy_lock.c         if ((b & 7) == 0) {
b                 173 http/ngx_http_busy_lock.c         b++;
b                1760 http/ngx_http_core_module.c     ngx_buf_t    *b;
b                1804 http/ngx_http_core_module.c     b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                1805 http/ngx_http_core_module.c     if (b == NULL) {
b                1809 http/ngx_http_core_module.c     b->pos = val.data;
b                1810 http/ngx_http_core_module.c     b->last = val.data + val.len;
b                1811 http/ngx_http_core_module.c     b->memory = val.len ? 1 : 0;
b                1812 http/ngx_http_core_module.c     b->last_buf = (r == r->main) ? 1 : 0;
b                1813 http/ngx_http_core_module.c     b->last_in_chain = 1;
b                1815 http/ngx_http_core_module.c     out.buf = b;
b                 860 http/ngx_http_file_cache.c     ngx_buf_t         *b;
b                 871 http/ngx_http_file_cache.c     b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
b                 872 http/ngx_http_file_cache.c     if (b == NULL) {
b                 876 http/ngx_http_file_cache.c     b->file = ngx_pcalloc(r->pool, sizeof(ngx_file_t));
b                 877 http/ngx_http_file_cache.c     if (b->file == NULL) {
b                 889 http/ngx_http_file_cache.c     b->file_pos = c->body_start;
b                 890 http/ngx_http_file_cache.c     b->file_last = c->length;
b                 892 http/ngx_http_file_cache.c     b->in_file = 1;
b                 893 http/ngx_http_file_cache.c     b->last_buf = (r == r->main) ? 1: 0;
b                 894 http/ngx_http_file_cache.c     b->last_in_chain = 1;
b                 896 http/ngx_http_file_cache.c     b->file->fd = c->file.fd;
b                 897 http/ngx_http_file_cache.c     b->file->name = c->file.name;
b                 898 http/ngx_http_file_cache.c     b->file->log = r->connection->log;
b                 900 http/ngx_http_file_cache.c     out.buf = b;
b                 159 http/ngx_http_header_filter_module.c     ngx_buf_t                 *b;
b                 438 http/ngx_http_header_filter_module.c     b = ngx_create_temp_buf(r->pool, len);
b                 439 http/ngx_http_header_filter_module.c     if (b == NULL) {
b                 444 http/ngx_http_header_filter_module.c     b->last = ngx_cpymem(b->last, "HTTP/1.1 ", sizeof("HTTP/1.x ") - 1);
b                 448 http/ngx_http_header_filter_module.c         b->last = ngx_copy(b->last, status_line->data, status_line->len);
b                 451 http/ngx_http_header_filter_module.c         b->last = ngx_sprintf(b->last, "%ui", status);
b                 453 http/ngx_http_header_filter_module.c     *b->last++ = CR; *b->last++ = LF;
b                 465 http/ngx_http_header_filter_module.c         b->last = ngx_cpymem(b->last, p, len);
b                 469 http/ngx_http_header_filter_module.c         b->last = ngx_cpymem(b->last, "Date: ", sizeof("Date: ") - 1);
b                 470 http/ngx_http_header_filter_module.c         b->last = ngx_cpymem(b->last, ngx_cached_http_time.data,
b                 473 http/ngx_http_header_filter_module.c         *b->last++ = CR; *b->last++ = LF;
b                 477 http/ngx_http_header_filter_module.c         b->last = ngx_cpymem(b->last, "Content-Type: ",
b                 479 http/ngx_http_header_filter_module.c         p = b->last;
b                 480 http/ngx_http_header_filter_module.c         b->last = ngx_copy(b->last, r->headers_out.content_type.data,
b                 486 http/ngx_http_header_filter_module.c             b->last = ngx_cpymem(b->last, "; charset=",
b                 488 http/ngx_http_header_filter_module.c             b->last = ngx_copy(b->last, r->headers_out.charset.data,
b                 493 http/ngx_http_header_filter_module.c             r->headers_out.content_type.len = b->last - p;
b                 497 http/ngx_http_header_filter_module.c         *b->last++ = CR; *b->last++ = LF;
b                 503 http/ngx_http_header_filter_module.c         b->last = ngx_sprintf(b->last, "Content-Length: %O" CRLF,
b                 510 http/ngx_http_header_filter_module.c         b->last = ngx_cpymem(b->last, "Last-Modified: ",
b                 512 http/ngx_http_header_filter_module.c         b->last = ngx_http_time(b->last, r->headers_out.last_modified_time);
b                 514 http/ngx_http_header_filter_module.c         *b->last++ = CR; *b->last++ = LF;
b                 519 http/ngx_http_header_filter_module.c         p = b->last + sizeof("Location: ") - 1;
b                 521 http/ngx_http_header_filter_module.c         b->last = ngx_cpymem(b->last, "Location: http",
b                 526 http/ngx_http_header_filter_module.c             *b->last++ ='s';
b                 530 http/ngx_http_header_filter_module.c         *b->last++ = ':'; *b->last++ = '/'; *b->last++ = '/';
b                 531 http/ngx_http_header_filter_module.c         b->last = ngx_copy(b->last, host.data, host.len);
b                 534 http/ngx_http_header_filter_module.c             b->last = ngx_sprintf(b->last, ":%ui", port);
b                 537 http/ngx_http_header_filter_module.c         b->last = ngx_copy(b->last, r->headers_out.location->value.data,
b                 542 http/ngx_http_header_filter_module.c         r->headers_out.location->value.len = b->last - p;
b                 546 http/ngx_http_header_filter_module.c         *b->last++ = CR; *b->last++ = LF;
b                 550 http/ngx_http_header_filter_module.c         b->last = ngx_cpymem(b->last, "Transfer-Encoding: chunked" CRLF,
b                 555 http/ngx_http_header_filter_module.c         b->last = ngx_cpymem(b->last, "Connection: keep-alive" CRLF,
b                 559 http/ngx_http_header_filter_module.c             b->last = ngx_sprintf(b->last, "Keep-Alive: timeout=%T" CRLF,
b                 564 http/ngx_http_header_filter_module.c         b->last = ngx_cpymem(b->last, "Connection: close" CRLF,
b                 570 http/ngx_http_header_filter_module.c         b->last = ngx_cpymem(b->last, "Vary: Accept-Encoding" CRLF,
b                 594 http/ngx_http_header_filter_module.c         b->last = ngx_copy(b->last, header[i].key.data, header[i].key.len);
b                 595 http/ngx_http_header_filter_module.c         *b->last++ = ':'; *b->last++ = ' ';
b                 597 http/ngx_http_header_filter_module.c         b->last = ngx_copy(b->last, header[i].value.data, header[i].value.len);
b                 598 http/ngx_http_header_filter_module.c         *b->last++ = CR; *b->last++ = LF;
b                 602 http/ngx_http_header_filter_module.c                    "%*s", (size_t) (b->last - b->pos), b->pos);
b                 605 http/ngx_http_header_filter_module.c     *b->last++ = CR; *b->last++ = LF;
b                 607 http/ngx_http_header_filter_module.c     r->header_size = b->last - b->pos;
b                 610 http/ngx_http_header_filter_module.c         b->last_buf = 1;
b                 613 http/ngx_http_header_filter_module.c     out.buf = b;
b                 103 http/ngx_http_parse.c ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b)
b                 135 http/ngx_http_parse.c     for (p = b->pos; p < b->last; p++) {
b                 729 http/ngx_http_parse.c     b->pos = p;
b                 736 http/ngx_http_parse.c     b->pos = p + 1;
b                 754 http/ngx_http_parse.c ngx_http_parse_header_line(ngx_http_request_t *r, ngx_buf_t *b,
b                 786 http/ngx_http_parse.c     for (p = b->pos; p < b->last; p++) {
b                 970 http/ngx_http_parse.c     b->pos = p;
b                 979 http/ngx_http_parse.c     b->pos = p + 1;
b                 988 http/ngx_http_parse.c     b->pos = p + 1;
b                1321 http/ngx_http_parse.c ngx_http_parse_status_line(ngx_http_request_t *r, ngx_buf_t *b,
b                1344 http/ngx_http_parse.c     for (p = b->pos; p < b->last; p++) {
b                1506 http/ngx_http_parse.c     b->pos = p;
b                1513 http/ngx_http_parse.c     b->pos = p + 1;
b                1179 http/ngx_http_request.c     ngx_buf_t                 *b;
b                1212 http/ngx_http_request.c         b = hc->free[--hc->nfree];
b                1216 http/ngx_http_request.c                        b->pos, b->end - b->last);
b                1228 http/ngx_http_request.c         b = ngx_create_temp_buf(r->connection->pool,
b                1230 http/ngx_http_request.c         if (b == NULL) {
b                1236 http/ngx_http_request.c                        b->pos, b->end - b->last);
b                1242 http/ngx_http_request.c     hc->busy[hc->nbusy++] = b;
b                1253 http/ngx_http_request.c         r->header_in = b;
b                1263 http/ngx_http_request.c     new = b->start;
b                1267 http/ngx_http_request.c     b->pos = new + (r->header_in->pos - old);
b                1268 http/ngx_http_request.c     b->last = new + (r->header_in->pos - old);
b                1318 http/ngx_http_request.c     r->header_in = b;
b                2384 http/ngx_http_request.c     ngx_buf_t                 *b, *f;
b                2408 http/ngx_http_request.c     b = r->header_in;
b                2410 http/ngx_http_request.c     if (b->pos < b->last) {
b                2414 http/ngx_http_request.c         if (b != c->buffer) {
b                2443 http/ngx_http_request.c             hc->busy[0] = b;
b                2464 http/ngx_http_request.c     if (b->pos < b->last) {
b                2494 http/ngx_http_request.c     b = c->buffer;
b                2496 http/ngx_http_request.c     if (ngx_pfree(c->pool, b->start) == NGX_OK) {
b                2503 http/ngx_http_request.c         b->pos = NULL;
b                2506 http/ngx_http_request.c         b->pos = b->start;
b                2507 http/ngx_http_request.c         b->last = b->start;
b                2610 http/ngx_http_request.c     ngx_buf_t         *b;
b                2642 http/ngx_http_request.c     b = c->buffer;
b                2643 http/ngx_http_request.c     size = b->end - b->start;
b                2645 http/ngx_http_request.c     if (b->pos == NULL) {
b                2653 http/ngx_http_request.c         b->pos = ngx_palloc(c->pool, size);
b                2654 http/ngx_http_request.c         if (b->pos == NULL) {
b                2659 http/ngx_http_request.c         b->start = b->pos;
b                2660 http/ngx_http_request.c         b->last = b->pos;
b                2661 http/ngx_http_request.c         b->end = b->pos + size;
b                2672 http/ngx_http_request.c     n = c->recv(c, b->last, size);
b                2697 http/ngx_http_request.c     b->last += n;
b                2837 http/ngx_http_request.c     ngx_buf_t    *b;
b                2840 http/ngx_http_request.c     b = ngx_calloc_buf(r->pool);
b                2841 http/ngx_http_request.c     if (b == NULL) {
b                2848 http/ngx_http_request.c             b->last_buf = 1;
b                2851 http/ngx_http_request.c             b->sync = 1;
b                2852 http/ngx_http_request.c             b->last_in_chain = 1;
b                2857 http/ngx_http_request.c         b->flush = 1;
b                2860 http/ngx_http_request.c     out.buf = b;
b                  33 http/ngx_http_request_body.c     ngx_buf_t                 *b;
b                 119 http/ngx_http_request_body.c         b = ngx_calloc_buf(r->pool);
b                 120 http/ngx_http_request_body.c         if (b == NULL) {
b                 124 http/ngx_http_request_body.c         b->temporary = 1;
b                 125 http/ngx_http_request_body.c         b->start = r->header_in->pos;
b                 126 http/ngx_http_request_body.c         b->pos = r->header_in->pos;
b                 127 http/ngx_http_request_body.c         b->last = r->header_in->last;
b                 128 http/ngx_http_request_body.c         b->end = r->header_in->end;
b                 135 http/ngx_http_request_body.c         rb->bufs->buf = b;
b                 138 http/ngx_http_request_body.c         rb->buf = b;
b                 168 http/ngx_http_request_body.c         if (rb->rest <= (off_t) (b->end - b->last)) {
b                 182 http/ngx_http_request_body.c         b = NULL;
b                 201 http/ngx_http_request_body.c         b = NULL;
b                 217 http/ngx_http_request_body.c     if (b && r->request_body_in_single_buf) {
b                 218 http/ngx_http_request_body.c         size = b->last - b->pos;
b                 219 http/ngx_http_request_body.c         ngx_memcpy(rb->buf->pos, b->pos, size);
b                 264 http/ngx_http_request_body.c     ngx_buf_t                 *b;
b                 356 http/ngx_http_request_body.c         b = ngx_calloc_buf(r->pool);
b                 357 http/ngx_http_request_body.c         if (b == NULL) {
b                 361 http/ngx_http_request_body.c         b->in_file = 1;
b                 362 http/ngx_http_request_body.c         b->file_pos = 0;
b                 363 http/ngx_http_request_body.c         b->file_last = rb->temp_file->file.offset;
b                 364 http/ngx_http_request_body.c         b->file = &rb->temp_file->file;
b                 367 http/ngx_http_request_body.c             rb->bufs->next->buf = b;
b                 370 http/ngx_http_request_body.c             rb->bufs->buf = b;
b                 607 http/ngx_http_special_response.c     ngx_buf_t    *b;
b                 660 http/ngx_http_special_response.c     b = ngx_calloc_buf(r->pool);
b                 661 http/ngx_http_special_response.c     if (b == NULL) {
b                 665 http/ngx_http_special_response.c     b->memory = 1;
b                 666 http/ngx_http_special_response.c     b->pos = ngx_http_error_pages[err].data;
b                 667 http/ngx_http_special_response.c     b->last = ngx_http_error_pages[err].data + ngx_http_error_pages[err].len;
b                 669 http/ngx_http_special_response.c     out[0].buf = b;
b                 672 http/ngx_http_special_response.c     b = ngx_calloc_buf(r->pool);
b                 673 http/ngx_http_special_response.c     if (b == NULL) {
b                 677 http/ngx_http_special_response.c     b->memory = 1;
b                 679 http/ngx_http_special_response.c     b->pos = tail;
b                 680 http/ngx_http_special_response.c     b->last = tail + len;
b                 682 http/ngx_http_special_response.c     out[1].buf = b;
b                 686 http/ngx_http_special_response.c         b = ngx_calloc_buf(r->pool);
b                 687 http/ngx_http_special_response.c         if (b == NULL) {
b                 691 http/ngx_http_special_response.c         b->memory = 1;
b                 692 http/ngx_http_special_response.c         b->pos = ngx_http_msie_padding;
b                 693 http/ngx_http_special_response.c         b->last = ngx_http_msie_padding + sizeof(ngx_http_msie_padding) - 1;
b                 696 http/ngx_http_special_response.c         out[2].buf = b;
b                 701 http/ngx_http_special_response.c         b->last_buf = 1;
b                 704 http/ngx_http_special_response.c     b->last_in_chain = 1;
b                 717 http/ngx_http_special_response.c     ngx_buf_t    *b;
b                 754 http/ngx_http_special_response.c     b = ngx_create_temp_buf(r->pool, size);
b                 755 http/ngx_http_special_response.c     if (b == NULL) {
b                 759 http/ngx_http_special_response.c     p = ngx_cpymem(b->pos, ngx_http_msie_refresh_head,
b                 769 http/ngx_http_special_response.c     b->last = ngx_cpymem(p, ngx_http_msie_refresh_tail,
b                 772 http/ngx_http_special_response.c     b->last_buf = 1;
b                 773 http/ngx_http_special_response.c     b->last_in_chain = 1;
b                 775 http/ngx_http_special_response.c     out.buf = b;
b                1935 http/ngx_http_upstream.c     ngx_buf_t         *b;
b                1951 http/ngx_http_upstream.c     b = &u->buffer;
b                1955 http/ngx_http_upstream.c         size = b->end - b->last;
b                1964 http/ngx_http_upstream.c         n = c->recv(c, b->last, size);
b                2360 http/ngx_http_upstream.c     ngx_buf_t                 *b;
b                2370 http/ngx_http_upstream.c     b = &u->buffer;
b                2400 http/ngx_http_upstream.c                 b->pos = b->start;
b                2401 http/ngx_http_upstream.c                 b->last = b->start;
b                2405 http/ngx_http_upstream.c         size = b->end - b->last;
b                2413 http/ngx_http_upstream.c             n = upstream->recv(upstream, b->last, size);
b                2480 http/ngx_http_upstream.c     ngx_buf_t            *b;
b                2500 http/ngx_http_upstream.c     b = &u->buffer;
b                2502 http/ngx_http_upstream.c     cl->buf->pos = b->last;
b                2503 http/ngx_http_upstream.c     b->last += bytes;
b                2504 http/ngx_http_upstream.c     cl->buf->last = b->last;
b                1133 mail/ngx_mail_auth_http_module.c     ngx_buf_t                 *b;
b                1168 mail/ngx_mail_auth_http_module.c     b = ngx_create_temp_buf(pool, len);
b                1169 mail/ngx_mail_auth_http_module.c     if (b == NULL) {
b                1173 mail/ngx_mail_auth_http_module.c     b->last = ngx_cpymem(b->last, "GET ", sizeof("GET ") - 1);
b                1174 mail/ngx_mail_auth_http_module.c     b->last = ngx_copy(b->last, ahcf->uri.data, ahcf->uri.len);
b                1175 mail/ngx_mail_auth_http_module.c     b->last = ngx_cpymem(b->last, " HTTP/1.0" CRLF,
b                1178 mail/ngx_mail_auth_http_module.c     b->last = ngx_cpymem(b->last, "Host: ", sizeof("Host: ") - 1);
b                1179 mail/ngx_mail_auth_http_module.c     b->last = ngx_copy(b->last, ahcf->host_header.data,
b                1181 mail/ngx_mail_auth_http_module.c     *b->last++ = CR; *b->last++ = LF;
b                1183 mail/ngx_mail_auth_http_module.c     b->last = ngx_cpymem(b->last, "Auth-Method: ",
b                1185 mail/ngx_mail_auth_http_module.c     b->last = ngx_cpymem(b->last,
b                1188 mail/ngx_mail_auth_http_module.c     *b->last++ = CR; *b->last++ = LF;
b                1190 mail/ngx_mail_auth_http_module.c     b->last = ngx_cpymem(b->last, "Auth-User: ", sizeof("Auth-User: ") - 1);
b                1191 mail/ngx_mail_auth_http_module.c     b->last = ngx_copy(b->last, login.data, login.len);
b                1192 mail/ngx_mail_auth_http_module.c     *b->last++ = CR; *b->last++ = LF;
b                1194 mail/ngx_mail_auth_http_module.c     b->last = ngx_cpymem(b->last, "Auth-Pass: ", sizeof("Auth-Pass: ") - 1);
b                1195 mail/ngx_mail_auth_http_module.c     b->last = ngx_copy(b->last, passwd.data, passwd.len);
b                1196 mail/ngx_mail_auth_http_module.c     *b->last++ = CR; *b->last++ = LF;
b                1199 mail/ngx_mail_auth_http_module.c         b->last = ngx_cpymem(b->last, "Auth-Salt: ", sizeof("Auth-Salt: ") - 1);
b                1200 mail/ngx_mail_auth_http_module.c         b->last = ngx_copy(b->last, s->salt.data, s->salt.len);
b                1205 mail/ngx_mail_auth_http_module.c     b->last = ngx_cpymem(b->last, "Auth-Protocol: ",
b                1207 mail/ngx_mail_auth_http_module.c     b->last = ngx_cpymem(b->last, cscf->protocol->name.data,
b                1209 mail/ngx_mail_auth_http_module.c     *b->last++ = CR; *b->last++ = LF;
b                1211 mail/ngx_mail_auth_http_module.c     b->last = ngx_sprintf(b->last, "Auth-Login-Attempt: %ui" CRLF,
b                1214 mail/ngx_mail_auth_http_module.c     b->last = ngx_cpymem(b->last, "Client-IP: ", sizeof("Client-IP: ") - 1);
b                1215 mail/ngx_mail_auth_http_module.c     b->last = ngx_copy(b->last, s->connection->addr_text.data,
b                1217 mail/ngx_mail_auth_http_module.c     *b->last++ = CR; *b->last++ = LF;
b                1220 mail/ngx_mail_auth_http_module.c         b->last = ngx_cpymem(b->last, "Client-Host: ",
b                1222 mail/ngx_mail_auth_http_module.c         b->last = ngx_copy(b->last, s->host.data, s->host.len);
b                1223 mail/ngx_mail_auth_http_module.c         *b->last++ = CR; *b->last++ = LF;
b                1230 mail/ngx_mail_auth_http_module.c         b->last = ngx_cpymem(b->last, "Auth-SMTP-Helo: ",
b                1232 mail/ngx_mail_auth_http_module.c         b->last = ngx_copy(b->last, s->smtp_helo.data, s->smtp_helo.len);
b                1233 mail/ngx_mail_auth_http_module.c         *b->last++ = CR; *b->last++ = LF;
b                1235 mail/ngx_mail_auth_http_module.c         b->last = ngx_cpymem(b->last, "Auth-SMTP-From: ",
b                1237 mail/ngx_mail_auth_http_module.c         b->last = ngx_copy(b->last, s->smtp_from.data, s->smtp_from.len);
b                1238 mail/ngx_mail_auth_http_module.c         *b->last++ = CR; *b->last++ = LF;
b                1240 mail/ngx_mail_auth_http_module.c         b->last = ngx_cpymem(b->last, "Auth-SMTP-To: ",
b                1242 mail/ngx_mail_auth_http_module.c         b->last = ngx_copy(b->last, s->smtp_to.data, s->smtp_to.len);
b                1243 mail/ngx_mail_auth_http_module.c         *b->last++ = CR; *b->last++ = LF;
b                1248 mail/ngx_mail_auth_http_module.c         b->last = ngx_copy(b->last, ahcf->header.data, ahcf->header.len);
b                1252 mail/ngx_mail_auth_http_module.c     *b->last++ = CR; *b->last++ = LF;
b                1258 mail/ngx_mail_auth_http_module.c     l.len = b->last - b->pos;
b                1259 mail/ngx_mail_auth_http_module.c     l.data = b->pos;
b                1265 mail/ngx_mail_auth_http_module.c     return b;
b                 466 mail/ngx_mail_proxy_module.c     ngx_buf_t                 *b;
b                 637 mail/ngx_mail_proxy_module.c         b = s->proxy->buffer;
b                 640 mail/ngx_mail_proxy_module.c             b->pos = b->start;
b                 643 mail/ngx_mail_proxy_module.c             ngx_memcpy(b->start, smtp_auth_ok, sizeof(smtp_auth_ok) - 1);
b                 644 mail/ngx_mail_proxy_module.c             b->last = b->start + sizeof(smtp_auth_ok) - 1;
b                 706 mail/ngx_mail_proxy_module.c     ngx_buf_t              *b;
b                 711 mail/ngx_mail_proxy_module.c     b = s->proxy->buffer;
b                 714 mail/ngx_mail_proxy_module.c                                             b->last, b->end - b->last);
b                 724 mail/ngx_mail_proxy_module.c     b->last += n;
b                 726 mail/ngx_mail_proxy_module.c     if (b->last - b->pos < 4) {
b                 730 mail/ngx_mail_proxy_module.c     if (*(b->last - 2) != CR || *(b->last - 1) != LF) {
b                 731 mail/ngx_mail_proxy_module.c         if (b->last == b->end) {
b                 732 mail/ngx_mail_proxy_module.c             *(b->last - 1) = '\0';
b                 735 mail/ngx_mail_proxy_module.c                           b->pos);
b                 742 mail/ngx_mail_proxy_module.c     p = b->pos;
b                 816 mail/ngx_mail_proxy_module.c         *(b->last - 2) = '\0';
b                 822 mail/ngx_mail_proxy_module.c     s->out.len = b->last - p - 2;
b                 828 mail/ngx_mail_proxy_module.c     s->out.len = b->last - b->pos;
b                 829 mail/ngx_mail_proxy_module.c     s->out.data = b->pos;
b                 841 mail/ngx_mail_proxy_module.c     ngx_buf_t              *b;
b                 873 mail/ngx_mail_proxy_module.c             b = s->proxy->buffer;
b                 880 mail/ngx_mail_proxy_module.c             b = s->buffer;
b                 889 mail/ngx_mail_proxy_module.c             b = s->buffer;
b                 896 mail/ngx_mail_proxy_module.c             b = s->proxy->buffer;
b                 910 mail/ngx_mail_proxy_module.c             size = b->last - b->pos;
b                 915 mail/ngx_mail_proxy_module.c                 n = dst->send(dst, b->pos, size);
b                 923 mail/ngx_mail_proxy_module.c                     b->pos += n;
b                 925 mail/ngx_mail_proxy_module.c                     if (b->pos == b->last) {
b                 926 mail/ngx_mail_proxy_module.c                         b->pos = b->start;
b                 927 mail/ngx_mail_proxy_module.c                         b->last = b->start;
b                 933 mail/ngx_mail_proxy_module.c         size = b->end - b->last;
b                 938 mail/ngx_mail_proxy_module.c             n = src->recv(src, b->last, size);
b                 946 mail/ngx_mail_proxy_module.c                 b->last += n;