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

12345

/bind-9.11.3/contrib/dlz/modules/include/
H A Ddlz_list.h13 #define DLZ_LIST_INIT(list) \
14 do { (list).head = NULL; (list).tail = NULL; } while (0)
23 #define DLZ_LIST_HEAD(list) ((list).head)
24 #define DLZ_LIST_TAIL(list) ((list).tail)
26 #define DLZ_LIST_APPEND(list, elt, link) \
28 if ((list).tail != NULL) \
29 (list)
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dlist.h23 #define ISC_LIST_INIT(list) \
24 do { (list).head = NULL; (list).tail = NULL; } while (0)
36 #define ISC_LIST_HEAD(list) ((list).head)
37 #define ISC_LIST_TAIL(list) ((list).tail)
38 #define ISC_LIST_EMPTY(list) ISC_TF((list).head == NULL)
40 #define __ISC_LIST_PREPENDUNSAFE(list, el
[all...]
H A Dutil.h178 #include <isc/list.h> /* Contractual promise. */
184 #define HEAD(list) ISC_LIST_HEAD(list)
185 #define TAIL(list) ISC_LIST_TAIL(list)
186 #define EMPTY(list) ISC_LIST_EMPTY(list)
189 #define APPEND(list, elt, link) ISC_LIST_APPEND(list, elt, link)
190 #define PREPEND(list, el
[all...]
/bind-9.11.3/lib/lwres/include/lwres/
H A Dlist.h9 /* $Id: list.h,v 1.14 2007/06/19 23:47:23 tbox Exp $ */
14 /*! \file lwres/list.h */
17 #define LWRES_LIST_INIT(list) \
18 do { (list).head = NULL; (list).tail = NULL; } while (0)
29 #define LWRES_LIST_HEAD(list) ((list).head)
30 #define LWRES_LIST_TAIL(list) ((list).tail)
31 #define LWRES_LIST_EMPTY(list) LWRES_T
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/include/idn/
H A Daliaslist.h56 * Create a list.
66 * Delete a list created by 'idn__aliaslist_create'.
69 idn__aliaslist_destroy(idn__aliaslist_t list);
72 * Parse alias information file and set items to the list.
81 idn__aliaslist_aliasfile(idn__aliaslist_t list, const char *path);
84 * Add an item to the list.
86 * If top is 0, item is placed as the last item of the alias list.
94 idn__aliaslist_additem(idn__aliaslist_t list,
107 idn__aliaslist_find(idn__aliaslist_t list,
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dlist_test.c8 * notice, this list of conditions and the following disclaimer.
10 * notice, this list of conditions and the following disclaimer in the
26 #include "atf-c/detail/list.h"
51 atf_list_t list; local
53 RE(atf_list_init(&list));
54 ATF_REQUIRE_EQ(atf_list_size(&list), 0);
55 atf_list_fini(&list);
69 atf_list_t list; local
74 RE(atf_list_init(&list));
75 RE(atf_list_append(&list,
93 atf_list_t list; local
113 atf_list_t list; local
127 atf_list_t list; local
159 atf_list_t list; local
269 atf_list_t list; local
308 atf_list_t list; local
[all...]
H A Dlist.h8 * notice, this list of conditions and the following disclaimer.
10 * notice, this list of conditions and the following disclaimer in the
102 #define atf_list_for_each(iter, list) \
103 for (iter = atf_list_begin(list); \
104 !atf_equal_list_iter_list_iter((iter), atf_list_end(list)); \
106 #define atf_list_for_each_c(iter, list) \
107 for (iter = atf_list_begin_c(list); \
108 !atf_equal_list_citer_list_citer((iter), atf_list_end_c(list)); \
H A Dtext.h8 * notice, this list of conditions and the following disclaimer.
10 * notice, this list of conditions and the following disclaimer in the
32 #include <atf-c/detail/list.h>
H A DMakefile.am.inc8 # notice, this list of conditions and the following disclaimer.
10 # notice, this list of conditions and the following disclaimer in the
32 atf-c/detail/list.c \
33 atf-c/detail/list.h \
H A Dlist.c8 * notice, this list of conditions and the following disclaimer.
10 * notice, this list of conditions and the following disclaimer in the
26 #include "atf-c/detail/list.h"
274 atf_list_index(atf_list_t *list, const size_t idx) argument
278 PRE(idx < atf_list_size(list));
280 iter = atf_list_begin(list);
284 !atf_equal_list_iter_list_iter((iter), atf_list_end(list))) {
293 atf_list_index_c(const atf_list_t *list, const size_t idx) argument
297 PRE(idx < atf_list_size(list));
299 iter = atf_list_begin_c(list);
[all...]
/bind-9.11.3/bin/named/
H A Dlwsearch.c33 ns_lwsearchlist_t *list; local
39 list = isc_mem_get(mctx, sizeof(ns_lwsearchlist_t));
40 if (list == NULL)
43 result = isc_mutex_init(&list->lock);
45 isc_mem_put(mctx, list, sizeof(ns_lwsearchlist_t));
48 list->mctx = NULL;
49 isc_mem_attach(mctx, &list->mctx);
50 list->refs = 1;
51 ISC_LIST_INIT(list->names);
52 list
74 ns_lwsearchlist_t *list; local
103 ns_lwsearchlist_append(ns_lwsearchlist_t *list, dns_name_t *name) argument
125 ns_lwsearchctx_init(ns_lwsearchctx_t *sctx, ns_lwsearchlist_t *list, dns_name_t *name, unsigned int ndots) argument
[all...]
H A Dlistenlist.c23 destroy(ns_listenlist_t *list);
52 ns_listenlist_t *list = NULL; local
54 list = isc_mem_get(mctx, sizeof(*list));
55 if (list == NULL)
57 list->mctx = mctx;
58 list->refcount = 1;
59 ISC_LIST_INIT(list->elts);
60 *target = list;
65 destroy(ns_listenlist_t *list) { argument
86 ns_listenlist_t *list = *listp; local
101 ns_listenlist_t *list = NULL; local
[all...]
/bind-9.11.3/util/
H A Dchecklibs.sh14 list=`git grep -l snprintf lib bin |
19 [ -n "$list" ] && {
22 echo "$list"
28 list=`git grep -lw strsep lib bin |
33 [ -n "$list" ] && {
36 echo "$list"
42 list=`git grep -l uintptr_t lib bin |
47 [ -n "$list" ] && {
50 echo "$list"
56 list
[all...]
H A Dfile_year.sh15 rev=`git rev-list HEAD -- "$1" | head -n 1`
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Daliaslist.c68 aliasitem_t first_item; /* first item of the list */
72 additem_to_top(idn__aliaslist_t list,
76 additem_to_bottom(idn__aliaslist_t list,
85 static void dump_list(idn__aliaslist_t list);
105 idn__aliaslist_destroy(idn__aliaslist_t list) { argument
111 assert(list != NULL);
113 current = list->first_item;
125 free(list);
129 idn__aliaslist_aliasfile(idn__aliaslist_t list, const char *path) { argument
150 r = additem_to_bottom(list, alia
171 idn__aliaslist_additem(idn__aliaslist_t list, const char *pattern, const char *encoding, int first_item) argument
182 additem_to_top(idn__aliaslist_t list, const char *pattern, const char *encoding) argument
210 additem_to_bottom(idn__aliaslist_t list, const char *pattern, const char *encoding) argument
244 idn__aliaslist_find(idn__aliaslist_t list, const char *pattern, char **encodingp) argument
338 dump_list(idn__aliaslist_t list) argument
[all...]
/bind-9.11.3/lib/dns/
H A Dportlist.c43 dns_element_t *list; member in struct:dns_portlist
85 portlist->list = NULL;
96 find_port(dns_element_t *list, unsigned int len, in_port_t port) { argument
103 if (list[xtry].port == port)
104 return (&list[xtry]);
105 if (port > list[xtry].port) {
138 el = find_port(portlist->list, portlist->active, port);
157 if (portlist->list != NULL) {
158 memmove(el, portlist->list,
160 isc_mem_put(portlist->mctx, portlist->list,
[all...]
/bind-9.11.3/bin/named/include/named/
H A Dlwsearch.h24 * Lightweight resolver search list types and routines.
26 * An ns_lwsearchlist_t holds a list of search path elements.
28 * An ns_lwsearchctx stores the state of search list during a lookup
32 /*% An ns_lwsearchlist_t holds a list of search path elements. */
41 /*% An ns_lwsearchctx stores the state of search list during a lookup operation. */
46 ns_lwsearchlist_t *list; member in struct:ns_lwsearchctx
54 * Create an empty search list object.
60 * Attach to a search list object.
66 * Detach from a search list object.
70 ns_lwsearchlist_append(ns_lwsearchlist_t *list, dns_name_
[all...]
H A Dconfig.h33 ns_config_listcount(const cfg_obj_t *list);
47 ns_config_getiplist(const cfg_obj_t *config, const cfg_obj_t *list,
57 ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
/bind-9.11.3/bin/tests/system/zero/
H A Dclean.sh12 rm -f query.list
H A Dtests.sh18 awk '$2 == "0" { print "-q", $1, $4; print "-q", "zzz"$1, $4;}' > query.list
22 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.1.test$n &
23 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.2.test$n &
24 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.3.test$n &
25 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.4.test$n &
26 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.5.test$n &
27 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.6.test$n &
/bind-9.11.3/contrib/dlz/example/
H A Ddlz_example.c86 * Add a record to a list
89 add_name(struct dlz_example_data *state, struct record *list, argument
97 if (first_empty == -1 && strlen(list[i].name) == 0U) {
100 if (strcasecmp(list[i].name, name) != 0)
102 if (strcasecmp(list[i].type, type) != 0)
104 if (!single && strcasecmp(list[i].data, data) != 0)
118 if (strlen(name) >= sizeof(list[i].name) ||
119 strlen(type) >= sizeof(list[i].type) ||
120 strlen(data) >= sizeof(list[i].data))
123 strncpy(list[
141 del_name(struct dlz_example_data *state, struct record *list, const char *name, const char *type, dns_ttl_t ttl, const char *data) argument
656 modrdataset(struct dlz_example_data *state, const char *name, const char *rdatastr, struct record *list) argument
[all...]
/bind-9.11.3/bin/tests/system/dlzexternal/
H A Ddriver.c89 * Add a record to a list
92 add_name(struct dlz_example_data *state, struct record *list, argument
100 if (first_empty == -1 && strlen(list[i].name) == 0U) {
103 if (strcasecmp(list[i].name, name) != 0)
105 if (strcasecmp(list[i].type, type) != 0)
107 if (!single && strcasecmp(list[i].data, data) != 0)
121 if (strlen(name) >= sizeof(list[i].name) ||
122 strlen(type) >= sizeof(list[i].type) ||
123 strlen(data) >= sizeof(list[i].data))
126 strncpy(list[
144 del_name(struct dlz_example_data *state, struct record *list, const char *name, const char *type, dns_ttl_t ttl, const char *data) argument
704 modrdataset(struct dlz_example_data *state, const char *name, const char *rdatastr, struct record *list) argument
[all...]
/bind-9.11.3/lib/isccc/include/isccc/
H A Dsexpr.h81 isccc_sexpr_car(isccc_sexpr_t *list);
84 isccc_sexpr_cdr(isccc_sexpr_t *list);
/bind-9.11.3/lib/dns/include/dns/
H A Ddns64.h127 * Return the next dns64 record in the list.
131 dns_dns64_append(dns_dns64list_t *list, dns_dns64_t *dns64);
133 * Append the dns64 record to the list.
137 dns_dns64_unlink(dns_dns64list_t *list, dns_dns64_t *dns64);
139 * Unlink the dns64 record from the list.
149 * matching dns64 records in the list starting at 'dns64'. If there
/bind-9.11.3/unit/atf-src/admin/
H A Dar-lib155 list=
166 t*) list=yes ;;
181 case $delete$extract$list$quick$replace,$index in
265 elif test -n "$list"; then

Completed in 37 milliseconds

12345