Searched refs:list (Results 1 - 14 of 14) sorted by relevance

/tldk/app/nginx/src/core/
H A Dngx_list.h37 ngx_list_init(ngx_list_t *list, ngx_pool_t *pool, ngx_uint_t n, size_t size) argument
39 list->part.elts = ngx_palloc(pool, n * size);
40 if (list->part.elts == NULL) {
44 list->part.nelts = 0;
45 list->part.next = NULL;
46 list->last = &list->part;
47 list->size = size;
48 list->nalloc = n;
49 list
[all...]
H A Dngx_list.c15 ngx_list_t *list; local
17 list = ngx_palloc(pool, sizeof(ngx_list_t));
18 if (list == NULL) {
22 if (ngx_list_init(list, pool, n, size) != NGX_OK) {
26 return list;
40 /* the last part is full, allocate a new list part */
/tldk/lib/libtle_timer/
H A Dtimer.c52 struct tle_timer_list *list; /* current list object belongs to */ member in struct:tle_timer_elmt
86 get_timers(struct tle_timer_list *list, struct tle_timer_elmt *re[], argument
92 n = RTE_MIN(list->num, num);
94 e = LIST_FIRST(&list->head);
96 e->list = NULL;
100 list->num -= n;
105 get_timer(struct tle_timer_list *list) argument
109 e = LIST_FIRST(&list->head);
111 e->list
117 put_timers(struct tle_timer_list *list, struct tle_timer_elmt *te[], uint32_t num) argument
130 put_timer(struct tle_timer_list *list, struct tle_timer_elmt *e) argument
138 rem_timer(struct tle_timer_list *list, struct tle_timer_elmt *e) argument
[all...]
/tldk/app/nginx/src/http/modules/
H A Dngx_http_not_modified_filter_module.c176 ngx_str_t etag, *list; local
178 list = &header->value;
180 if (list->len == 1 && list->data[0] == '*') {
191 "http im:\"%V\" etag:%V", list, &etag);
202 start = list->data;
203 end = list->data + list->len;
/tldk/app/nginx/src/tldk/
H A Dtldk_sock.c9 * notice, this list of conditions and the following disclaimer.
11 * notice, this list of conditions and the following disclaimer in the
59 get_socks(struct tldk_sock_list *list, struct tldk_sock *rs[], argument
65 n = RTE_MIN(list->num, num);
66 for (i = 0, s = LIST_FIRST(&list->head);
74 LIST_INIT(&list->head);
76 LIST_FIRST(&list->head) = s;
78 list->num -= n;
83 get_sock(struct tldk_sock_list *list) argument
87 if (get_socks(list,
94 put_socks(struct tldk_sock_list *list, struct tldk_sock *fs[], uint32_t num) argument
104 put_sock(struct tldk_sock_list *list, struct tldk_sock *s) argument
110 rem_sock(struct tldk_sock_list *list, struct tldk_sock *s) argument
[all...]
/tldk/examples/l4fwd/
H A Dcommon.h86 netfe_get_streams(struct netfe_stream_list *list, struct netfe_stream *rs[], argument
92 n = RTE_MIN(list->num, num);
93 for (i = 0, s = LIST_FIRST(&list->head);
101 LIST_INIT(&list->head);
103 LIST_FIRST(&list->head) = s;
105 list->num -= n;
111 netfe_get_stream(struct netfe_stream_list *list) argument
116 if (list->num == 0)
119 netfe_get_streams(list, &s, 1);
125 netfe_put_streams(struct netfe_lcore *fe, struct netfe_stream_list *list, argument
141 netfe_put_stream(struct netfe_lcore *fe, struct netfe_stream_list *list, struct netfe_stream *s) argument
153 netfe_rem_stream(struct netfe_stream_list *list, struct netfe_stream *s) argument
[all...]
H A Dgen_fe_cfg.py30 print " -f, --fe_lcore_list: list of lcores used for FE. Multiple " \
32 print " -b, --be_lcore_list: list of lcores used for BE. Multiple " \
129 felcore_list = list(map(int, options.fe_lcore_list.split(",")))
135 belcore_list = list(map(int, options.be_lcore_list.split(",")))
138 print "default BE lcore list = [ 1 ]"
/tldk/app/nginx/src/event/modules/
H A Dngx_poll_module.c70 struct pollfd *list; local
80 list = ngx_alloc(sizeof(struct pollfd) * cycle->connection_n,
82 if (list == NULL) {
87 ngx_memcpy(list, event_list, sizeof(ngx_event_t *) * nevents);
91 event_list = list;
H A Dngx_eventport_module.c87 int port_getn(int port, port_event_t list[], uint_t max, uint_t *nget,
90 int port_getn(int port, port_event_t list[], uint_t max, uint_t *nget, argument
/tldk/test/gtest/
H A Dtest_scapy_gen.py47 return list(pkts)
/tldk/app/nginx/src/http/
H A Dngx_http.c884 ngx_queue_init(&lq->list);
1049 ngx_queue_add(&lq->list, &tail);
1052 ngx_http_create_locations_list(&lq->list, ngx_queue_head(&lq->list));
1056 ngx_queue_split(&lq->list, x, &tail);
1059 ngx_http_create_locations_list(&lq->list, ngx_queue_head(&lq->list));
1130 if (ngx_queue_empty(&lq->list)) {
1134 node->tree = ngx_http_create_locations_tree(cf, &lq->list, prefix + len);
1173 /* a port is already in the port list */
[all...]
H A Dngx_http_core_module.h211 /* list of structures to find core_srv_conf quickly at run time */
458 ngx_queue_t list; member in struct:__anon286
/tldk/app/nginx/src/event/
H A Dngx_event_openssl.c654 STACK_OF(X509_NAME) *list;
684 list = SSL_load_client_CA_file((char *) cert->data);
686 if (list == NULL) {
699 SSL_CTX_set_client_CA_list(ssl->ctx, list);
1088 * OpenSSL 1.0.2+ allows configuring a curve list instead of a single
1089 * curve previously supported. By default an internal list is used,
2283 STACK_OF(X509_NAME) *list;
2288 * the server certificates, and the client CA list.
2325 list = SSL_CTX_get_client_CA_list(ssl->ctx);
2327 if (list !
[all...]
/tldk/app/nginx/contrib/vim/syntax/
H A Dnginx.vim646 " 3rd party module list:
650 " Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.
768 " Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.
809 " This submodule provides a directive that creates a list of upstreams, with optional weighting. This list can then be used by other modules to hash over the upstreams however they choose.
1308 " Parses the Accept-Language header and gives the most suitable locale from a list of supported locales.

Completed in 16 milliseconds