Searched refs:ctx (Results 1 - 25 of 133) sorted by relevance

123456

/tldk/app/nginx/src/http/modules/
H A Dngx_http_gunzip_filter_module.c45 ngx_http_gunzip_ctx_t *ctx);
47 ngx_http_gunzip_ctx_t *ctx);
49 ngx_http_gunzip_ctx_t *ctx);
51 ngx_http_gunzip_ctx_t *ctx);
53 ngx_http_gunzip_ctx_t *ctx);
123 ngx_http_gunzip_ctx_t *ctx; local
152 ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_gunzip_ctx_t));
153 if (ctx == NULL) {
157 ngx_http_set_ctx(r, ctx, ngx_http_gunzip_filter_module);
159 ctx
180 ngx_http_gunzip_ctx_t *ctx; local
302 ngx_http_gunzip_filter_inflate_start(ngx_http_request_t *r, ngx_http_gunzip_ctx_t *ctx) argument
333 ngx_http_gunzip_filter_add_data(ngx_http_request_t *r, ngx_http_gunzip_ctx_t *ctx) argument
374 ngx_http_gunzip_filter_get_buf(ngx_http_request_t *r, ngx_http_gunzip_ctx_t *ctx) argument
415 ngx_http_gunzip_filter_inflate(ngx_http_request_t *r, ngx_http_gunzip_ctx_t *ctx) argument
567 ngx_http_gunzip_filter_inflate_end(ngx_http_request_t *r, ngx_http_gunzip_ctx_t *ctx) argument
618 ngx_http_gunzip_ctx_t *ctx = opaque; local
[all...]
H A Dngx_http_gzip_filter_module.c88 ngx_http_gzip_ctx_t *ctx);
89 static ngx_int_t ngx_http_gzip_filter_buffer(ngx_http_gzip_ctx_t *ctx,
92 ngx_http_gzip_ctx_t *ctx);
94 ngx_http_gzip_ctx_t *ctx);
96 ngx_http_gzip_ctx_t *ctx);
98 ngx_http_gzip_ctx_t *ctx);
100 ngx_http_gzip_ctx_t *ctx);
102 ngx_http_gzip_ctx_t *ctx);
108 ngx_http_gzip_ctx_t *ctx);
241 ngx_http_gzip_ctx_t *ctx; local
321 ngx_http_gzip_ctx_t *ctx; local
491 ngx_http_gzip_filter_memory(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx) argument
535 ngx_http_gzip_filter_buffer(ngx_http_gzip_ctx_t *ctx, ngx_chain_t *in) argument
603 ngx_http_gzip_filter_deflate_start(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx) argument
640 ngx_http_gzip_filter_gzheader(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx) argument
672 ngx_http_gzip_filter_add_data(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx) argument
739 ngx_http_gzip_filter_get_buf(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx) argument
782 ngx_http_gzip_filter_deflate(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx) argument
909 ngx_http_gzip_filter_deflate_end(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx) argument
999 ngx_http_gzip_ctx_t *ctx = opaque; local
1051 ngx_http_gzip_filter_free_copy_buf(ngx_http_request_t *r, ngx_http_gzip_ctx_t *ctx) argument
1085 ngx_http_gzip_ctx_t *ctx; local
[all...]
H A Dngx_http_sub_filter_module.c84 ngx_http_sub_ctx_t *ctx);
86 ngx_http_sub_ctx_t *ctx, ngx_uint_t flush);
87 static ngx_int_t ngx_http_sub_match(ngx_http_sub_ctx_t *ctx, ngx_int_t start,
175 ngx_http_sub_ctx_t *ctx; local
189 ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_sub_ctx_t));
190 if (ctx == NULL) {
195 ctx->tables = slcf->tables;
196 ctx->matches = slcf->matches;
234 ctx->matches = ngx_palloc(r->pool, sizeof(ngx_array_t));
235 if (ctx
292 ngx_http_sub_ctx_t *ctx; local
538 ngx_http_sub_output(ngx_http_request_t *r, ngx_http_sub_ctx_t *ctx) argument
607 ngx_http_sub_parse(ngx_http_request_t *r, ngx_http_sub_ctx_t *ctx, ngx_uint_t flush) argument
744 ngx_http_sub_match(ngx_http_sub_ctx_t *ctx, ngx_int_t start, ngx_str_t *m) argument
[all...]
H A Dngx_http_ssi_filter_module.c74 ngx_http_ssi_ctx_t *ctx);
76 ngx_http_ssi_ctx_t *ctx);
78 ngx_http_ssi_ctx_t *ctx);
82 ngx_http_ssi_ctx_t *ctx, ngx_str_t *text, ngx_uint_t flags);
87 ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
93 ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
95 ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
97 ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
99 ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
101 ngx_http_ssi_ctx_t *ctx, ngx_str_
332 ngx_http_ssi_ctx_t *ctx; local
395 ngx_http_ssi_ctx_t *ctx, *mctx; local
913 ngx_http_ssi_output(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx) argument
977 ngx_http_ssi_buffered(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx) argument
989 ngx_http_ssi_parse(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx) argument
1560 ngx_http_ssi_ctx_t *ctx; local
1625 ngx_http_ssi_evaluate_string(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, ngx_str_t *text, ngx_uint_t flags) argument
1887 ngx_http_ssi_ctx_t *ctx; local
1986 ngx_http_ssi_include(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, ngx_str_t **params) argument
2244 ngx_http_ssi_echo(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, ngx_str_t **params) argument
2380 ngx_http_ssi_config(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, ngx_str_t **params) argument
2408 ngx_http_ssi_set(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, ngx_str_t **params) argument
2464 ngx_http_ssi_if(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, ngx_str_t **params) argument
2638 ngx_http_ssi_else(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, ngx_str_t **params) argument
2657 ngx_http_ssi_endif(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, ngx_str_t **params) argument
2672 ngx_http_ssi_block(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, ngx_str_t **params) argument
2708 ngx_http_ssi_endblock(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, ngx_str_t **params) argument
2726 ngx_http_ssi_ctx_t *ctx; local
[all...]
H A Dngx_http_userid_filter_module.c51 ngx_http_userid_ctx_t *ctx, ngx_http_userid_conf_t *conf);
53 ngx_http_userid_ctx_t *ctx, ngx_http_userid_conf_t *conf);
199 ngx_http_userid_ctx_t *ctx; local
212 ctx = ngx_http_userid_get_uid(r, conf);
214 if (ctx == NULL) {
218 if (ngx_http_userid_set_uid(r, ctx, conf) == NGX_OK) {
230 ngx_http_userid_ctx_t *ctx; local
240 ctx = ngx_http_userid_get_uid(r->main, conf);
242 if (ctx == NULL) {
246 if (ctx
260 ngx_http_userid_ctx_t *ctx; local
295 ngx_http_userid_ctx_t *ctx; local
360 ngx_http_userid_set_uid(ngx_http_request_t *r, ngx_http_userid_ctx_t *ctx, ngx_http_userid_conf_t *conf) argument
456 ngx_http_userid_create_uid(ngx_http_request_t *r, ngx_http_userid_ctx_t *ctx, ngx_http_userid_conf_t *conf) argument
[all...]
H A Dngx_http_slice_filter_module.c107 ngx_http_slice_ctx_t *ctx; local
111 ctx = ngx_http_get_module_ctx(r, ngx_http_slice_filter_module);
112 if (ctx == NULL) {
130 if (ctx->etag.len) {
132 || h->value.len != ctx->etag.len
133 || ngx_strncmp(h->value.data, ctx->etag.data, ctx->etag.len)
143 ctx->etag = h->value;
166 if (cr.start != ctx->start || cr.end != end) {
173 ctx
215 ngx_http_slice_ctx_t *ctx; local
392 ngx_http_slice_ctx_t *ctx; local
[all...]
H A Dngx_http_geo_module.c83 ngx_http_geo_ctx_t *ctx, ngx_addr_t *addr);
85 ngx_http_geo_ctx_t *ctx, ngx_addr_t *addr);
88 static char *ngx_http_geo_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
91 ngx_http_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end);
93 ngx_http_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end);
94 static char *ngx_http_geo_cidr(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
96 static char *ngx_http_geo_cidr_add(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
99 ngx_http_geo_conf_ctx_t *ctx, ngx_str_t *value);
101 ngx_http_geo_conf_ctx_t *ctx, ngx_cidr_t *cidr);
104 static char *ngx_http_geo_include(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
177 ngx_http_geo_ctx_t *ctx = (ngx_http_geo_ctx_t *) data; local
243 ngx_http_geo_ctx_t *ctx = (ngx_http_geo_ctx_t *) data; local
314 ngx_http_geo_addr(ngx_http_request_t *r, ngx_http_geo_ctx_t *ctx, ngx_addr_t *addr) argument
335 ngx_http_geo_real_addr(ngx_http_request_t *r, ngx_http_geo_ctx_t *ctx, ngx_addr_t *addr) argument
383 ngx_http_geo_conf_ctx_t ctx; local
570 ngx_http_geo_conf_ctx_t *ctx; local
651 ngx_http_geo_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, ngx_str_t *value) argument
762 ngx_http_geo_add_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end) argument
964 ngx_http_geo_delete_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end) argument
1029 ngx_http_geo_cidr(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, ngx_str_t *value) argument
1126 ngx_http_geo_cidr_add(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, ngx_cidr_t *cidr, ngx_str_t *value, ngx_str_t *net) argument
1224 ngx_http_geo_value(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, ngx_str_t *value) argument
1277 ngx_http_geo_add_proxy(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, ngx_cidr_t *cidr) argument
1330 ngx_http_geo_include(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, ngx_str_t *name) argument
1382 ngx_http_geo_include_binary_base(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, ngx_str_t *name) argument
1555 ngx_http_geo_create_binary_base(ngx_http_geo_conf_ctx_t *ctx) argument
[all...]
H A Dngx_http_image_filter_module.c82 ngx_http_image_filter_ctx_t *ctx, ngx_chain_t *in);
87 ngx_http_image_filter_ctx_t *ctx);
89 ngx_http_image_filter_ctx_t *ctx);
92 ngx_http_image_filter_ctx_t *ctx);
95 ngx_http_image_filter_ctx_t *ctx);
97 ngx_http_image_filter_ctx_t *ctx);
224 ngx_http_image_filter_ctx_t *ctx; local
231 ctx = ngx_http_get_module_ctx(r, ngx_http_image_filter_module);
233 if (ctx) {
257 ctx
297 ngx_http_image_filter_ctx_t *ctx; local
401 ngx_http_image_send(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx, ngx_chain_t *in) argument
477 ngx_http_image_filter_ctx_t *ctx; local
528 ngx_http_image_filter_ctx_t *ctx; local
579 ngx_http_image_json(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx) argument
632 ngx_http_image_asis(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx) argument
666 ngx_http_image_size(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx) argument
820 ngx_http_image_resize(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx) argument
1092 ngx_http_image_source(ngx_http_request_t *r, ngx_http_image_filter_ctx_t *ctx) argument
[all...]
/tldk/test/gtest/
H A Dtest_tle_ctx.cpp20 struct tle_ctx *ctx; local
22 ctx = tle_ctx_create(NULL);
23 ASSERT_EQ(ctx, (struct tle_ctx *) NULL);
29 struct tle_ctx *ctx; local
38 ctx = tle_ctx_create(NULL);
39 ASSERT_EQ(ctx, (struct tle_ctx *) NULL);
45 struct tle_ctx *ctx; local
55 ctx = tle_ctx_create(NULL);
56 ASSERT_EQ(ctx, (struct tle_ctx *) NULL);
62 struct tle_ctx *ctx; local
79 struct tle_ctx *ctx; local
97 struct tle_ctx *ctx; local
115 struct tle_ctx *ctx; local
[all...]
H A Dtest_tle_udp_destroy.h26 struct tle_ctx *ctx; member in class:udp_destroy
38 ctx = tle_ctx_create(&prm);
39 ASSERT_NE(ctx, (void *) NULL);
H A Dtest_tle_udp_destroy.cpp27 tle_ctx_destroy(ctx);
H A Dtest_tle_udp_dev.cpp27 dev = tle_add_dev(ctx, NULL);
36 dev = tle_add_dev(ctx, &dev_prm);
45 dev = tle_add_dev(ctx, &dev_prm);
53 dev = tle_add_dev(ctx, &dev_prm);
62 dev = tle_add_dev(ctx, &dev_prm);
72 dev = tle_add_dev(ctx, &dev_prm);
80 dev = tle_add_dev(ctx, &dev_prm);
90 dev = tle_add_dev(ctx, &dev_prm);
95 dev = tle_add_dev(ctx, &dev_prm);
102 dev = tle_add_dev(ctx,
[all...]
/tldk/app/nginx/src/event/
H A Dngx_event_openssl_stapling.c64 void (*handler)(ngx_ssl_ocsp_ctx_t *ctx);
71 ngx_int_t (*process)(ngx_ssl_ocsp_ctx_t *ctx);
102 static void ngx_ssl_stapling_ocsp_handler(ngx_ssl_ocsp_ctx_t *ctx);
109 static void ngx_ssl_ocsp_done(ngx_ssl_ocsp_ctx_t *ctx);
110 static void ngx_ssl_ocsp_request(ngx_ssl_ocsp_ctx_t *ctx);
112 static void ngx_ssl_ocsp_connect(ngx_ssl_ocsp_ctx_t *ctx);
117 static ngx_int_t ngx_ssl_ocsp_create_request(ngx_ssl_ocsp_ctx_t *ctx);
118 static ngx_int_t ngx_ssl_ocsp_process_status_line(ngx_ssl_ocsp_ctx_t *ctx);
119 static ngx_int_t ngx_ssl_ocsp_parse_status_line(ngx_ssl_ocsp_ctx_t *ctx);
120 static ngx_int_t ngx_ssl_ocsp_process_headers(ngx_ssl_ocsp_ctx_t *ctx);
547 ngx_ssl_ocsp_ctx_t *ctx; local
585 ngx_ssl_stapling_ocsp_handler(ngx_ssl_ocsp_ctx_t *ctx) argument
826 ngx_ssl_ocsp_ctx_t *ctx; local
861 ngx_ssl_ocsp_done(ngx_ssl_ocsp_ctx_t *ctx) argument
875 ngx_ssl_ocsp_error(ngx_ssl_ocsp_ctx_t *ctx) argument
886 ngx_ssl_ocsp_request(ngx_ssl_ocsp_ctx_t *ctx) argument
937 ngx_ssl_ocsp_ctx_t *ctx = resolve->data; local
1021 ngx_ssl_ocsp_connect(ngx_ssl_ocsp_ctx_t *ctx) argument
1070 ngx_ssl_ocsp_ctx_t *ctx; local
1124 ngx_ssl_ocsp_ctx_t *ctx; local
1203 ngx_ssl_ocsp_create_request(ngx_ssl_ocsp_ctx_t *ctx) argument
1321 ngx_ssl_ocsp_process_status_line(ngx_ssl_ocsp_ctx_t *ctx) argument
1352 ngx_ssl_ocsp_parse_status_line(ngx_ssl_ocsp_ctx_t *ctx) argument
1557 ngx_ssl_ocsp_process_headers(ngx_ssl_ocsp_ctx_t *ctx) argument
1631 ngx_ssl_ocsp_parse_header_line(ngx_ssl_ocsp_ctx_t *ctx) argument
1818 ngx_ssl_ocsp_process_body(ngx_ssl_ocsp_ctx_t *ctx) argument
1836 ngx_ssl_ocsp_ctx_t *ctx; local
[all...]
/tldk/lib/libtle_l4p/
H A Dstream.h19 #include "ctx.h"
32 struct tle_ctx *ctx; member in struct:tle_stream
53 get_streams(struct tle_ctx *ctx, struct tle_stream *s[], uint32_t num) argument
58 rte_spinlock_lock(&ctx->streams.lock);
60 n = RTE_MIN(ctx->streams.nb_free, num);
61 for (i = 0, p = STAILQ_FIRST(&ctx->streams.free);
68 STAILQ_INIT(&ctx->streams.free);
70 STAILQ_FIRST(&ctx->streams.free) = p;
72 ctx->streams.nb_free -= n;
73 rte_spinlock_unlock(&ctx
78 get_stream(struct tle_ctx *ctx) argument
91 put_stream(struct tle_ctx *ctx, struct tle_stream *s, int32_t head) argument
105 calc_stream_drb_num(const struct tle_ctx *ctx, uint32_t obj_num) argument
116 drb_nb_elem(const struct tle_ctx *ctx) argument
129 struct tle_ctx *ctx; local
[all...]
H A Dctx.c79 struct tle_ctx *ctx; local
90 sz = sizeof(*ctx);
91 ctx = rte_zmalloc_socket(NULL, sz, RTE_CACHE_LINE_SIZE,
93 if (ctx == NULL) {
94 UDP_LOG(ERR, "allocation of %zu bytes for new ctx "
102 ctx->cycles_ms_shift = sizeof(ms) * CHAR_BIT - __builtin_clzll(ms) - 1;
104 ctx->prm = *ctx_prm;
106 rc = tle_stream_ops[ctx_prm->proto].init_streams(ctx);
108 UDP_LOG(ERR, "init_streams(ctx=%p, proto=%u) failed "
110 ctx, ctx_pr
129 tle_ctx_destroy(struct tle_ctx *ctx) argument
146 tle_ctx_invalidate(struct tle_ctx *ctx) argument
183 find_free_dev(struct tle_ctx *ctx) argument
199 tle_add_dev(struct tle_ctx *ctx, const struct tle_dev_param *dev_prm) argument
293 struct tle_ctx *ctx; local
317 find_ipv4_dev(struct tle_ctx *ctx, const struct in_addr *addr) argument
331 find_ipv6_dev(struct tle_ctx *ctx, const struct in6_addr *addr) argument
346 stream_fill_dev(struct tle_ctx *ctx, struct tle_stream *s, const struct sockaddr *addr) argument
422 stream_clear_dev(struct tle_ctx *ctx, const struct tle_stream *s) argument
487 stream_fill_ctx(struct tle_ctx *ctx, struct tle_stream *s, const struct sockaddr *laddr, const struct sockaddr *raddr) argument
521 stream_clear_ctx(struct tle_ctx *ctx, struct tle_stream *s) argument
[all...]
H A Dudp_stream.c44 udp_fini_streams(struct tle_ctx *ctx) argument
49 s = ctx->streams.buf;
51 for (i = 0; i != ctx->prm.max_streams; i++)
56 ctx->streams.buf = NULL;
57 STAILQ_INIT(&ctx->streams.free);
61 init_stream(struct tle_ctx *ctx, struct tle_udp_stream *s) argument
70 n = RTE_MAX(ctx->prm.max_stream_rbufs, 1U);
75 ctx->prm.socket_id);
79 __func__, s, sz, ctx->prm.socket_id, rte_errno);
88 nb = drb_nb_elem(ctx);
144 udp_init_streams(struct tle_ctx *ctx) argument
204 check_stream_prm(const struct tle_ctx *ctx, const struct tle_udp_stream_param *prm) argument
228 tle_udp_stream_open(struct tle_ctx *ctx, const struct tle_udp_stream_param *prm) argument
283 struct tle_ctx *ctx; local
[all...]
/tldk/app/nginx/src/core/
H A Dngx_output_chain.c31 ngx_output_chain_as_is(ngx_output_chain_ctx_t *ctx, ngx_buf_t *buf);
33 static ngx_int_t ngx_output_chain_aio_setup(ngx_output_chain_ctx_t *ctx,
38 static ngx_int_t ngx_output_chain_align_file_buf(ngx_output_chain_ctx_t *ctx,
40 static ngx_int_t ngx_output_chain_get_buf(ngx_output_chain_ctx_t *ctx,
42 static ngx_int_t ngx_output_chain_copy_buf(ngx_output_chain_ctx_t *ctx);
46 ngx_output_chain(ngx_output_chain_ctx_t *ctx, ngx_chain_t *in) argument
52 if (ctx->in == NULL && ctx->busy == NULL
54 && !ctx->aio
59 * the short path for the case when the ctx
228 ngx_output_chain_as_is(ngx_output_chain_ctx_t *ctx, ngx_buf_t *buf) argument
287 ngx_output_chain_aio_setup(ngx_output_chain_ctx_t *ctx, ngx_file_t *file) argument
376 ngx_output_chain_align_file_buf(ngx_output_chain_ctx_t *ctx, off_t bsize) argument
426 ngx_output_chain_get_buf(ngx_output_chain_ctx_t *ctx, off_t bsize) argument
502 ngx_output_chain_copy_buf(ngx_output_chain_ctx_t *ctx) argument
658 ngx_chain_writer_ctx_t *ctx = data; local
[all...]
H A Dngx_md5.h23 void ngx_md5_init(ngx_md5_t *ctx);
24 void ngx_md5_update(ngx_md5_t *ctx, const void *data, size_t size);
25 void ngx_md5_final(u_char result[16], ngx_md5_t *ctx);
H A Dngx_sha1.h23 void ngx_sha1_init(ngx_sha1_t *ctx);
24 void ngx_sha1_update(ngx_sha1_t *ctx, const void *data, size_t size);
25 void ngx_sha1_final(u_char result[20], ngx_sha1_t *ctx);
H A Dngx_md5.c14 static const u_char *ngx_md5_body(ngx_md5_t *ctx, const u_char *data,
19 ngx_md5_init(ngx_md5_t *ctx) argument
21 ctx->a = 0x67452301;
22 ctx->b = 0xefcdab89;
23 ctx->c = 0x98badcfe;
24 ctx->d = 0x10325476;
26 ctx->bytes = 0;
31 ngx_md5_update(ngx_md5_t *ctx, const void *data, size_t size) argument
35 used = (size_t) (ctx->bytes & 0x3f);
36 ctx
62 ngx_md5_final(u_char result[16], ngx_md5_t *ctx) argument
170 ngx_md5_body(ngx_md5_t *ctx, const u_char *data, size_t size) argument
[all...]
H A Dngx_sha1.c15 static const u_char *ngx_sha1_body(ngx_sha1_t *ctx, const u_char *data,
20 ngx_sha1_init(ngx_sha1_t *ctx) argument
22 ctx->a = 0x67452301;
23 ctx->b = 0xefcdab89;
24 ctx->c = 0x98badcfe;
25 ctx->d = 0x10325476;
26 ctx->e = 0xc3d2e1f0;
28 ctx->bytes = 0;
33 ngx_sha1_update(ngx_sha1_t *ctx, const void *data, size_t size) argument
37 used = (size_t) (ctx
64 ngx_sha1_final(u_char result[20], ngx_sha1_t *ctx) argument
157 ngx_sha1_body(ngx_sha1_t *ctx, const u_char *data, size_t size) argument
[all...]
/tldk/app/nginx/src/stream/
H A Dngx_stream_ssl_preread_module.c32 ngx_stream_ssl_preread_ctx_t *ctx, u_char *pos, u_char *last);
99 ngx_stream_ssl_preread_ctx_t *ctx; local
120 ctx = ngx_stream_get_module_ctx(s, ngx_stream_ssl_preread_module);
121 if (ctx == NULL) {
122 ctx = ngx_pcalloc(c->pool, sizeof(ngx_stream_ssl_preread_ctx_t));
123 if (ctx == NULL) {
127 ngx_stream_set_ctx(s, ctx, ngx_stream_ssl_preread_module);
129 ctx->pool = c->pool;
130 ctx->log = c->log;
131 ctx
175 ngx_stream_ssl_preread_parse_record(ngx_stream_ssl_preread_ctx_t *ctx, u_char *pos, u_char *last) argument
367 ngx_stream_ssl_preread_ctx_t *ctx; local
[all...]
H A Dngx_stream_geo_module.c78 ngx_stream_geo_ctx_t *ctx, ngx_addr_t *addr);
84 ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value);
86 ngx_stream_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end);
88 ngx_stream_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end);
90 ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value);
92 ngx_stream_geo_conf_ctx_t *ctx, ngx_cidr_t *cidr, ngx_str_t *value,
95 ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value);
99 ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *name);
101 ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *name);
102 static void ngx_stream_geo_create_binary_base(ngx_stream_geo_conf_ctx_t *ctx);
168 ngx_stream_geo_ctx_t *ctx = (ngx_stream_geo_ctx_t *) data; local
234 ngx_stream_geo_ctx_t *ctx = (ngx_stream_geo_ctx_t *) data; local
305 ngx_stream_geo_addr(ngx_stream_session_t *s, ngx_stream_geo_ctx_t *ctx, ngx_addr_t *addr) argument
353 ngx_stream_geo_conf_ctx_t ctx; local
536 ngx_stream_geo_conf_ctx_t *ctx; local
601 ngx_stream_geo_range(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value) argument
712 ngx_stream_geo_add_range(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end) argument
914 ngx_stream_geo_delete_range(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, in_addr_t start, in_addr_t end) argument
979 ngx_stream_geo_cidr(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value) argument
1076 ngx_stream_geo_cidr_add(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, ngx_cidr_t *cidr, ngx_str_t *value, ngx_str_t *net) argument
1174 ngx_stream_geo_value(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *value) argument
1256 ngx_stream_geo_include(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *name) argument
1308 ngx_stream_geo_include_binary_base(ngx_conf_t *cf, ngx_stream_geo_conf_ctx_t *ctx, ngx_str_t *name) argument
1483 ngx_stream_geo_create_binary_base(ngx_stream_geo_conf_ctx_t *ctx) argument
[all...]
/tldk/app/nginx/src/mail/
H A Dngx_mail_auth_http_module.c35 ngx_mail_auth_http_ctx_t *ctx);
66 ngx_mail_auth_http_ctx_t *ctx);
68 ngx_mail_auth_http_ctx_t *ctx);
71 ngx_mail_auth_http_ctx_t *ctx);
166 ngx_mail_auth_http_ctx_t *ctx; local
177 ctx = ngx_pcalloc(pool, sizeof(ngx_mail_auth_http_ctx_t));
178 if (ctx == NULL) {
184 ctx->pool = pool;
188 ctx->request = ngx_mail_auth_http_create_request(s, pool, ahcf);
189 if (ctx
241 ngx_mail_auth_http_ctx_t *ctx; local
305 ngx_mail_auth_http_ctx_t *ctx; local
356 ngx_mail_auth_http_ignore_status_line(ngx_mail_session_t *s, ngx_mail_auth_http_ctx_t *ctx) argument
463 ngx_mail_auth_http_process_headers(ngx_mail_session_t *s, ngx_mail_auth_http_ctx_t *ctx) argument
918 ngx_mail_auth_http_parse_header_line(ngx_mail_session_t *s, ngx_mail_auth_http_ctx_t *ctx) argument
1105 ngx_mail_auth_http_ctx_t *ctx; local
[all...]
/tldk/app/nginx/src/http/
H A Dngx_http_copy_filter_module.c19 static void ngx_http_copy_aio_handler(ngx_output_chain_ctx_t *ctx,
91 ngx_output_chain_ctx_t *ctx; local
100 ctx = ngx_http_get_module_ctx(r, ngx_http_copy_filter_module);
102 if (ctx == NULL) {
103 ctx = ngx_pcalloc(r->pool, sizeof(ngx_output_chain_ctx_t));
104 if (ctx == NULL) {
108 ngx_http_set_ctx(r, ctx, ngx_http_copy_filter_module);
113 ctx->sendfile = c->sendfile;
114 ctx->need_in_memory = r->main_filter_need_in_memory
116 ctx
171 ngx_http_copy_aio_handler(ngx_output_chain_ctx_t *ctx, ngx_file_t *file) argument
220 ngx_output_chain_ctx_t *ctx; local
268 ngx_output_chain_ctx_t *ctx; local
[all...]

Completed in 19 milliseconds

123456