Searched refs:bufs (Results 1 - 20 of 20) sorted by relevance

/tldk/app/nginx/src/http/
H A Dngx_http_copy_filter_module.c14 ngx_bufs_t bufs; member in struct:__anon269
45 offsetof(ngx_http_copy_filter_conf_t, bufs),
121 ctx->bufs = conf->bufs;
354 conf->bufs.num = 0;
366 ngx_conf_merge_bufs_value(conf->bufs, prev->bufs, 2, 32768);
H A Dngx_http_request_body.c70 * rb->bufs = NULL;
440 "http write client request body, bufs %p", rb->bufs);
465 if (rb->bufs == NULL) {
479 if (rb->bufs == NULL) {
483 n = ngx_write_chain_to_temp_file(rb->temp_file, rb->bufs);
495 for (cl = rb->bufs; cl; /* void */) {
504 rb->bufs = NULL;
1091 for (cl = rb->bufs; cl; cl = cl->next) {
1118 if (ngx_chain_add_copy(r->pool, &rb->bufs, i
[all...]
H A Dngx_http_request.h289 ngx_chain_t *bufs; member in struct:__anon299
H A Dngx_http_upstream.h167 ngx_bufs_t bufs; member in struct:__anon325
H A Dngx_http_upstream.c606 u->request_bufs = r->request_body->bufs;
623 u->output.bufs.num = 1;
624 u->output.bufs.size = clcf->client_body_buffer_size;
1563 * the subrequests should allocate their own temporary bufs
2045 if (r->request_body->bufs) {
2047 cl->next = r->request_body->bufs;
2048 r->request_body->bufs = NULL;
2105 out = r->request_body->bufs;
2106 r->request_body->bufs = NULL;
2954 /* TODO: preallocate event_pipe bufs, loo
[all...]
H A Dngx_http_variables.c1998 || r->request_body->bufs == NULL
2006 cl = r->request_body->bufs;
2033 cl = r->request_body->bufs;
/tldk/app/nginx/src/core/
H A Dngx_buf.c69 ngx_create_chain_of_bufs(ngx_pool_t *pool, ngx_bufs_t *bufs) argument
76 p = ngx_palloc(pool, bufs->num * bufs->size);
83 for (i = 0; i < bufs->num; i++) {
107 p += bufs->size;
H A Dngx_buf.h108 ngx_bufs_t bufs; member in struct:ngx_output_chain_ctx_s
144 ngx_chain_t *ngx_create_chain_of_bufs(ngx_pool_t *pool, ngx_bufs_t *bufs);
H A Dngx_output_chain.c101 * cycle while there are the ctx->in bufs
102 * and there are the free output bufs to copy in
163 } else if (out || ctx->allocated == ctx->bufs.num) {
336 /* split a file buf on two bufs by the sendfile limit */
393 if (bsize >= (off_t) ctx->bufs.size) {
433 size = ctx->bufs.size;
449 && ctx->bufs.num == 1
455 * than 1.25 of bufs.size and the temp buf is single
/tldk/app/nginx/src/event/
H A Dngx_event_pipe.h41 * from the raw bufs to an incoming chain
71 ngx_bufs_t bufs; member in struct:ngx_event_pipe_s
H A Dngx_event_pipe.c151 /* use the pre-read bufs if they exist */
218 /* use the free bufs if they exist */
228 } else if (p->allocated < p->bufs.num) {
232 b = ngx_create_temp_buf(p->pool, p->bufs.size);
253 * if the bufs are not needed to be saved in a cache and
254 * a downstream is ready then write the bufs to a downstream
269 * if it is allowed, then save some bufs from p->in
296 /* there are no bufs to read in */
299 "no pipe bufs to read in");
582 /* TODO: free unused bufs */
[all...]
/tldk/app/nginx/src/http/modules/
H A Dngx_http_gunzip_filter_module.c18 ngx_bufs_t bufs; member in struct:__anon143
31 ngx_int_t bufs; member in struct:__anon144
78 offsetof(ngx_http_gunzip_conf_t, bufs),
391 } else if (ctx->bufs < conf->bufs.num) {
393 ctx->out_buf = ngx_create_temp_buf(r->pool, conf->bufs.size);
400 ctx->bufs++;
408 ctx->zstream.avail_out = conf->bufs.size;
653 * conf->bufs.num = 0;
670 ngx_conf_merge_bufs_value(conf->bufs, pre
[all...]
H A Dngx_http_gzip_filter_module.c21 ngx_bufs_t bufs; member in struct:__anon145
45 ngx_int_t bufs; member in struct:__anon146
144 offsetof(ngx_http_gzip_conf_t, bufs),
758 } else if (ctx->bufs < conf->bufs.num) {
760 ctx->out_buf = ngx_create_temp_buf(r->pool, conf->bufs.size);
767 ctx->bufs++;
775 ctx->zstream.avail_out = conf->bufs.size;
1137 * conf->bufs.num = 0;
1164 ngx_conf_merge_bufs_value(conf->bufs, pre
[all...]
H A Dngx_http_scgi_module.c199 offsetof(ngx_http_scgi_loc_conf_t, upstream.bufs),
1323 ngx_conf_merge_bufs_value(conf->upstream.bufs, prev->upstream.bufs,
1326 if (conf->upstream.bufs.num < 2) {
1334 if (size < conf->upstream.bufs.size) {
1335 size = conf->upstream.bufs.size;
1360 > (conf->upstream.bufs.num - 1) * conf->upstream.bufs.size)
H A Dngx_http_uwsgi_module.c259 offsetof(ngx_http_uwsgi_loc_conf_t, upstream.bufs),
1537 ngx_conf_merge_bufs_value(conf->upstream.bufs, prev->upstream.bufs,
1540 if (conf->upstream.bufs.num < 2) {
1548 if (size < conf->upstream.bufs.size) {
1549 size = conf->upstream.bufs.size;
1574 > (conf->upstream.bufs.num - 1) * conf->upstream.bufs.size)
H A Dngx_http_ssi_filter_module.c44 ngx_chain_t *bufs; member in struct:__anon225
597 for (ll = &bl[mctx->blocks->nelts - 1].bufs;
702 for (ll = &bl[mctx->blocks->nelts - 1].bufs;
963 /* add data bufs only to the free buf chain */
2103 for (tl = bl[i].bufs; tl; tl = tl->next) {
2136 psr->data = bl[i].bufs;
2697 bl->bufs = NULL;
H A Dngx_http_fastcgi_module.c349 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.bufs),
2727 * conf->upstream.bufs.num = 0;
2878 ngx_conf_merge_bufs_value(conf->upstream.bufs, prev->upstream.bufs,
2881 if (conf->upstream.bufs.num < 2) {
2889 if (size < conf->upstream.bufs.size) {
2890 size = conf->upstream.bufs.size;
2915 > (conf->upstream.bufs.num - 1) * conf->upstream.bufs.size)
H A Dngx_http_proxy_module.c421 offsetof(ngx_http_proxy_loc_conf_t, upstream.bufs),
2801 * conf->upstream.bufs.num = 0;
2987 ngx_conf_merge_bufs_value(conf->upstream.bufs, prev->upstream.bufs,
2990 if (conf->upstream.bufs.num < 2) {
2998 if (size < conf->upstream.bufs.size) {
2999 size = conf->upstream.bufs.size;
3024 > (conf->upstream.bufs.num - 1) * conf->upstream.bufs.size)
H A Dngx_http_memcached_module.c592 * conf->upstream.bufs.num = 0;
613 conf->upstream.bufs.num = 0;
/tldk/app/nginx/src/http/modules/perl/
H A Dnginx.xs415 || r->request_body->bufs == NULL)
420 cl = r->request_body->bufs;
443 cl = r->request_body->bufs;

Completed in 31 milliseconds