Searched refs:chain (Results 1 - 19 of 19) sorted by relevance

/tldk/app/nginx/src/os/win32/
H A Dngx_wsarecv_chain.c17 ngx_wsarecv_chain(ngx_connection_t *c, ngx_chain_t *chain, off_t limit) argument
43 while (chain) {
44 n = chain->buf->end - chain->buf->last;
56 if (prev == chain->buf->last) {
65 wsabuf->buf = (char *) chain->buf->last;
70 prev = chain->buf->end;
71 chain = chain->next;
H A Dngx_os.h47 ssize_t ngx_wsarecv_chain(ngx_connection_t *c, ngx_chain_t *chain, off_t limit);
/tldk/app/nginx/src/os/unix/
H A Dngx_readv_chain.c14 ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain, off_t limit) argument
82 while (chain) {
83 n = chain->buf->end - chain->buf->last;
95 if (prev == chain->buf->last) {
108 iov->iov_base = (void *) chain->buf->last;
113 prev = chain->buf->end;
114 chain = chain->next;
H A Dngx_files.c86 ngx_chain_t *chain; member in struct:__anon378
300 /* use pwrite() if there is the only buf in a chain */
484 "thread write chain: %d, %p, %O",
525 ctx->chain = cl;
553 cl = ctx->chain;
/tldk/app/nginx/src/core/
H A Dngx_buf.c52 cl = pool->chain;
55 pool->chain = cl->next;
74 ngx_chain_t *chain, *cl, **ll; local
81 ll = &chain;
122 return chain;
127 ngx_chain_add_copy(ngx_pool_t *pool, ngx_chain_t **chain, ngx_chain_t *in) argument
131 ll = chain;
133 for (cl = *chain; cl; cl = cl->next) {
H A Dngx_buf.h152 cl->next = pool->chain; \
153 pool->chain = cl
160 ngx_int_t ngx_chain_add_copy(ngx_pool_t *pool, ngx_chain_t **chain,
H A Dngx_palloc.h61 ngx_chain_t *chain; member in struct:ngx_pool_s
H A Dngx_output_chain.c37 ngx_chain_t **chain, ngx_chain_t *in);
60 * are empty, the incoming chain is empty too or has the single buf
78 /* add the incoming buf to the chain ctx->in */
131 /* move the chain link to the output chain */
187 /* delete the completed buf from the ctx->in chain */
307 ngx_output_chain_add_copy(ngx_pool_t *pool, ngx_chain_t **chain, argument
315 ll = chain;
317 for (cl = *chain; cl; cl = cl->next) {
661 ngx_chain_t *cl, *ln, *chain; local
[all...]
H A Dngx_file.h138 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain);
H A Dngx_palloc.c37 p->chain = NULL;
117 pool->chain = NULL;
H A Dngx_file.c109 ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain) argument
130 return ngx_thread_write_chain_to_file(&tf->file, chain, tf->offset,
136 return ngx_write_chain_to_file(&tf->file, chain, tf->offset, tf->pool);
/tldk/app/nginx/src/http/
H A Dngx_http_write_filter_module.c53 ngx_chain_t *cl, *ln, **ll, *chain; local
69 /* find the size, the flush point and the last link of the saved chain */
118 /* add the new chain to the existent one */
214 "the http output chain is empty");
254 chain = c->send_chain(c, r->out, limit);
257 "http write filter %p", chain);
259 if (chain == NGX_CHAIN_ERROR) {
298 for (cl = r->out; cl && cl != chain; /* void */) {
304 r->out = chain;
306 if (chain) {
[all...]
H A Dngx_http_core_module.h523 (ngx_http_request_t *r, ngx_chain_t *chain);
525 (ngx_http_request_t *r, ngx_chain_t *chain);
528 ngx_int_t ngx_http_output_filter(ngx_http_request_t *r, ngx_chain_t *chain);
529 ngx_int_t ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *chain);
531 ngx_chain_t *chain);
H A Dngx_http_upstream.c89 ngx_chain_t *chain);
1870 /* reinit the request chain */
3764 ngx_http_upstream_output_filter(void *data, ngx_chain_t *chain) argument
3773 rc = ngx_http_output_filter(r, chain);
/tldk/app/nginx/src/stream/
H A Dngx_stream_write_filter_module.c58 ngx_chain_t *cl, *ln, **ll, **out, *chain; local
93 /* find the size, the flush point and the last link of the saved chain */
142 /* add the new chain to the existent one */
221 "the stream output chain is empty");
228 chain = c->send_chain(c, *out, 0);
231 "stream write filter %p", chain);
233 if (chain == NGX_CHAIN_ERROR) {
238 for (cl = *out; cl && cl != chain; /* void */) {
244 *out = chain;
246 if (chain) {
[all...]
H A Dngx_stream.h298 ngx_chain_t *chain, ngx_uint_t from_upstream);
/tldk/app/nginx/src/event/
H A Dngx_event_pipe.h22 ngx_chain_t *chain);
41 * from the raw bufs to an incoming chain
H A Dngx_event_pipe.c109 ngx_chain_t *chain, *cl, *ln; local
153 chain = p->preread_bufs;
220 chain = p->free_raw_bufs;
223 chain->next = NULL;
239 chain = ngx_alloc_chain_link(p->pool);
240 if (chain == NULL) {
244 chain->buf = b;
245 chain->next = NULL;
270 * to a temporary file, and add them to a p->out chain
286 chain
[all...]
H A Dngx_event_openssl_stapling.c292 STACK_OF(X509) *chain;
303 SSL_CTX_get_extra_chain_certs(ssl->ctx, &chain);
305 chain = ssl->ctx->extra_certs;
308 n = sk_X509_num(chain);
314 issuer = sk_X509_value(chain, i);
596 STACK_OF(X509) *chain;
655 SSL_CTX_get_extra_chain_certs(staple->ssl_ctx, &chain);
657 chain = staple->ssl_ctx->extra_certs;
660 if (OCSP_basic_verify(basic, chain, store,

Completed in 30 milliseconds