Searched refs:elt (Results 1 - 25 of 28) sorted by relevance

12

/bind-9.11.3/lib/isc/include/isc/
H A Dlist.h27 #define ISC_LINK_INIT_TYPE(elt, link, type) \
29 (elt)->link.prev = (type *)(-1); \
30 (elt)->link.next = (type *)(-1); \
32 #define ISC_LINK_INIT(elt, link) \
33 ISC_LINK_INIT_TYPE(elt, link, void)
34 #define ISC_LINK_LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1))
40 #define __ISC_LIST_PREPENDUNSAFE(list, elt, link) \
43 (list).head->link.prev = (elt); \
45 (list).tail = (elt); \
[all...]
H A Dqueue.h34 #define ISC_QLINK_INIT(elt, link) \
36 (elt)->link.next = (elt)->link.prev = (void *)(-1); \
39 #define ISC_QLINK_LINKED(elt, link) ((void*)(elt)->link.next != (void*)(-1))
88 #define ISC_QUEUE_PUSH(queue, elt, link) \
91 ISC_QLINK_INSIST(!ISC_QLINK_LINKED(elt, link)); \
103 (elt)->link.prev = (queue).tail; \
104 (elt)->link.next = NULL; \
106 (queue).tail->link.next = (elt); \
[all...]
H A Dutil.h183 #define INIT_LINK(elt, link) ISC_LINK_INIT(elt, link)
187 #define PREV(elt, link) ISC_LIST_PREV(elt, link)
188 #define NEXT(elt, link) ISC_LIST_NEXT(elt, link)
189 #define APPEND(list, elt, link) ISC_LIST_APPEND(list, elt, link)
190 #define PREPEND(list, elt, link) ISC_LIST_PREPEND(list, elt, lin
[all...]
H A Dheap.h86 isc_heap_insert(isc_heap_t *heap, void *elt);
/bind-9.11.3/contrib/dlz/modules/include/
H A Ddlz_list.h17 #define DLZ_LINK_INIT(elt, link) \
19 (elt)->link.prev = (void *)(-1); \
20 (elt)->link.next = (void *)(-1); \
26 #define DLZ_LIST_APPEND(list, elt, link) \
29 (list).tail->link.next = (elt); \
31 (list).head = (elt); \
32 (elt)->link.prev = (list).tail; \
33 (elt)->link.next = NULL; \
34 (list).tail = (elt); \
37 #define DLZ_LIST_PREV(elt, lin
[all...]
/bind-9.11.3/lib/lwres/include/lwres/
H A Dlist.h21 #define LWRES_LINK_INIT(elt, link) \
23 (elt)->link.prev = (void *)(-1); \
24 (elt)->link.next = (void *)(-1); \
26 #define LWRES_LINK_LINKED(elt, link) \
27 ((void *)((elt)->link.prev) != (void *)(-1))
33 #define LWRES_LIST_PREPEND(list, elt, link) \
36 (list).head->link.prev = (elt); \
38 (list).tail = (elt); \
39 (elt)->link.prev = NULL; \
40 (elt)
[all...]
/bind-9.11.3/lib/isccc/
H A Dsymtab.c40 typedef struct elt { struct
44 ISC_LINK(struct elt) link;
96 free_elt(isccc_symtab_t *symtab, unsigned int bucket, elt_t *elt) { argument
97 ISC_LIST_UNLINK(symtab->table[bucket], elt, link);
99 (symtab->undefine_action)(elt->key, elt->type, elt->value,
101 free(elt);
108 elt_t *elt, *nelt; local
115 for (elt
190 elt_t *elt; local
211 elt_t *elt; local
250 elt_t *elt; local
270 elt_t *elt, *nelt; local
[all...]
H A Dalist.c153 isccc_sexpr_t *kv, *k, *elt; local
168 elt = isccc_sexpr_addtolist(&alist, kv);
169 if (elt == NULL) {
266 isccc_sexpr_t *elt, *kv, *k, *v; local
271 for (elt = isccc_alist_first(sexpr);
272 elt != NULL;
273 elt = CDR(elt)) {
274 kv = CAR(elt);
282 if (CDR(elt) !
[all...]
H A Dsexpr.c234 isccc_sexpr_t *last, *elt, *l1; local
240 elt = isccc_sexpr_cons(l2, NULL);
241 if (elt == NULL)
244 *l1p = elt;
245 return (elt);
249 CDR(last) = elt;
251 return (elt);
H A Dcc.c110 value_towire(isccc_sexpr_t *elt, isc_buffer_t **buffer) { argument
115 if (isccc_sexpr_binaryp(elt)) {
116 vr = isccc_sexpr_tobinary(elt);
128 } else if (isccc_alist_alistp(elt)) {
145 result = table_towire(elt, buffer);
160 } else if (isccc_sexpr_listp(elt)) {
177 result = list_towire(elt, buffer);
199 isccc_sexpr_t *kv, *elt, *k, *v; local
204 for (elt = isccc_alist_first(alist);
205 elt !
[all...]
/bind-9.11.3/bin/named/
H A Dlistenlist.c29 ns_listenelt_t *elt = NULL; local
31 elt = isc_mem_get(mctx, sizeof(*elt));
32 if (elt == NULL)
34 elt->mctx = mctx;
35 ISC_LINK_INIT(elt, link);
36 elt->port = port;
37 elt->dscp = dscp;
38 elt->acl = acl;
39 *target = elt;
44 ns_listenelt_destroy(ns_listenelt_t *elt) argument
66 ns_listenelt_t *elt, *next; local
100 ns_listenelt_t *elt = NULL; local
[all...]
H A Dconfig.c547 const cfg_listelt_t *elt; local
552 for (elt = cfg_list_first(masters);
553 elt != NULL;
554 elt = cfg_list_next(elt)) {
558 list = cfg_listelt_value(elt);
/bind-9.11.3/lib/isc/
H A Dsymtab.c23 typedef struct elt { struct
27 LINK(struct elt) link;
93 elt_t *elt, *nelt; local
100 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
101 nelt = NEXT(elt, link);
103 (symtab->undefine_action)(elt->key,
104 elt->type,
105 elt
165 elt_t *elt; local
200 elt_t *elt, *nelt; local
226 elt_t *elt; local
276 elt_t *elt; local
[all...]
H A Dheap.c149 float_up(isc_heap_t *heap, unsigned int i, void *elt) { argument
153 i > 1 && heap->compare(elt, heap->array[p]) ;
159 heap->array[i] = elt;
168 sink_down(isc_heap_t *heap, unsigned int i, void *elt) { argument
178 if (heap->compare(elt, heap->array[j]))
185 heap->array[i] = elt;
194 isc_heap_insert(isc_heap_t *heap, void *elt) { argument
206 float_up(heap, new_last, elt);
213 void *elt; local
227 elt
[all...]
/bind-9.11.3/lib/dns/
H A Dgeoip.c648 const dns_geoip_elem_t *elt)
653 UNUSED(elt);
689 subtype = fix_subtype(reqaddr, geoip, elt->subtype);
707 INSIST(elt->as_string != NULL);
710 if (cs != NULL && strncasecmp(elt->as_string, cs, maxlen) == 0)
723 INSIST(elt->as_string != NULL);
736 if (s != NULL && strncasecmp(elt->as_string, s, maxlen) == 0)
750 if (elt->as_int == record->metro_code)
764 if (elt->as_int == record->area_code)
775 INSIST(elt
646 dns_geoip_match(const isc_netaddr_t *reqaddr, isc_uint8_t *scope, const dns_geoip_databases_t *geoip, const dns_geoip_elem_t *elt) argument
[all...]
/bind-9.11.3/lib/isccfg/
H A Dparser.c503 cfg_listelt_t *elt = NULL; local
514 CHECK(create_listelt(pctx, &elt));
515 elt->obj = stringobj;
516 ISC_LIST_APPEND(pctx->open_files->value.list, elt, link);
589 cfg_listelt_t *elt; local
601 elt = ISC_LIST_TAIL(pctx->open_files->value.list);
602 INSIST(elt != NULL);
603 ISC_LIST_UNLINK(pctx->open_files->value.list, elt, link);
604 ISC_LIST_APPEND(pctx->closed_files->value.list, elt, link);
1365 cfg_listelt_t *elt; local
1377 free_listelt(cfg_parser_t *pctx, cfg_listelt_t *elt) argument
1385 cfg_listelt_t *elt, *next; local
1400 cfg_listelt_t *elt = NULL; local
1433 cfg_listelt_t *elt = NULL; local
1460 const cfg_listelt_t *elt; local
1534 cfg_listelt_t *elt = NULL; local
1554 const cfg_listelt_t *elt; local
1583 cfg_list_next(const cfg_listelt_t *elt) argument
1594 const cfg_listelt_t *elt; local
1612 cfg_listelt_value(const cfg_listelt_t *elt) argument
1654 cfg_listelt_t *elt; local
1949 cfg_listelt_t *elt; local
2218 cfg_listelt_t *elt = NULL; local
2804 cfg_listelt_t *elt; local
2908 cfg_listelt_t *elt; local
2922 cfg_listelt_t *elt; local
3196 cfg_listelt_t *elt = NULL; local
[all...]
H A Daclconf.c106 const cfg_listelt_t *elt; local
111 for (elt = cfg_list_first(acls);
112 elt != NULL;
113 elt = cfg_list_next(elt)) {
114 const cfg_obj_t *acl = cfg_listelt_value(elt);
220 const cfg_listelt_t *elt; local
229 for (elt = cfg_list_first(caml);
230 elt != NULL;
231 elt
402 geoip_can_answer(dns_aclelement_t *elt, cfg_aclconfctx_t *ctx) argument
629 const cfg_listelt_t *elt; local
[all...]
/bind-9.11.3/bin/named/include/named/
H A Dlistenlist.h63 ns_listenelt_destroy(ns_listenelt_t *elt);
/bind-9.11.3/lib/dns/tests/
H A Dgeoip_test.c136 dns_geoip_elem_t elt; local
143 elt.subtype = subtype;
144 strlcpy(elt.as_string, string, sizeof(elt.as_string));
146 return (dns_geoip_match(&na, scope, &geoip, &elt));
153 dns_geoip_elem_t elt; local
160 elt.subtype = subtype;
161 strlcpy(elt.as_string, string, sizeof(elt.as_string));
163 return (dns_geoip_match(&na, scope, &geoip, &elt));
170 dns_geoip_elem_t elt; local
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dgeoip.h105 const dns_geoip_elem_t *elt);
/bind-9.11.3/lib/isccfg/include/isccfg/
H A Dcfg.h431 cfg_list_next(const cfg_listelt_t *elt);
436 * \li 'elt' points to cfg_listelt_t obtained from cfg_list_first() or
453 cfg_listelt_value(const cfg_listelt_t *elt);
458 * \li 'elt' points to cfg_listelt_t obtained from cfg_list_first() or
/bind-9.11.3/bin/rndc/
H A Drndc.c529 const cfg_listelt_t *elt; local
581 for (elt = cfg_list_first(servers);
582 elt != NULL;
583 elt = cfg_list_next(elt))
586 server = cfg_listelt_value(elt);
617 for (elt = cfg_list_first(keys);
618 elt != NULL;
619 elt = cfg_list_next(elt))
[all...]
/bind-9.11.3/lib/bind9/
H A Dcheck.c1496 const cfg_listelt_t *elt; local
1501 for (elt = cfg_list_first(masters);
1502 elt != NULL;
1503 elt = cfg_list_next(elt)) {
1507 list = cfg_listelt_value(elt);
3789 const cfg_listelt_t *elt; local
3793 for (elt = cfg_list_first(acls);
3794 elt != NULL;
3795 elt
3839 const cfg_listelt_t *elt; local
[all...]
/bind-9.11.3/bin/delv/
H A Ddelv.c664 const cfg_listelt_t *elt, *elt2; local
668 for (elt = cfg_list_first(keys);
669 elt != NULL;
670 elt = cfg_list_next(elt))
672 keylist = cfg_listelt_value(elt);
/bind-9.11.3/bin/dnssec/
H A Ddnssectool.c223 entropysource_t *elt; local
248 elt = isc_mem_get(mctx, sizeof(*elt));
249 if (elt == NULL)
251 elt->source = source;
252 elt->mctx = mctx;
253 ISC_LINK_INIT(elt, link);
254 ISC_LIST_APPEND(sources, elt, link);

Completed in 5201 milliseconds

12