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

1234

/bind-9.6-ESV-R11/contrib/zkt/
H A Dstrlist.h14 ** this list of conditions and the following disclaimer.
17 ** this list of conditions and the following disclaimer in the documentation
44 int isinlist (const char *str, const char *list);
45 char *unprepstrlist (char *list, char delimc);
H A Dstrlist.c5 ** TODO: Maybe we should use a special type for the list:
6 ** typedef struct { char cnt; char list[0+1]; } strlist__t;
18 ** this list of conditions and the following disclaimer.
21 ** this list of conditions and the following disclaimer in the documentation
53 ** 'str' is a list of substrings delimeted by 'delim'
93 ** isinlist (str, list)
94 ** check if 'list' contains 'str'
96 int isinlist (const char *str, const char *list) argument
100 if ( list == NULL || *list
120 unprepstrlist(char *list, char delimc) argument
[all...]
H A Dzone.h14 ** this list of conditions and the following disclaimer.
17 ** this list of conditions and the following disclaimer in the documentation
53 struct Zone *next; /* ptr to next entry in list */
60 extern zone_t *zone_add (zone_t **list, zone_t *new);
61 extern const zone_t *zone_search (const zone_t *list, const char *name);
H A Dzone.c14 ** this list of conditions and the following disclaimer.
17 ** this list of conditions and the following disclaimer in the documentation
279 zone_t *zone_add (zone_t **list, zone_t *new) argument
284 if ( list == NULL )
287 return *list;
289 last = curr = *list;
296 if ( curr == *list ) /* add node at the begining of the list */
297 *list = new;
308 const zone_t *zone_search (const zone_t *list, cons argument
[all...]
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dlist.h32 #define ISC_LIST_INIT(list) \
33 do { (list).head = NULL; (list).tail = NULL; } while (0)
45 #define ISC_LIST_HEAD(list) ((list).head)
46 #define ISC_LIST_TAIL(list) ((list).tail)
47 #define ISC_LIST_EMPTY(list) ISC_TF((list).head == NULL)
49 #define __ISC_LIST_PREPENDUNSAFE(list, el
[all...]
H A Dutil.h187 #include <isc/list.h> /* Contractual promise. */
193 #define HEAD(list) ISC_LIST_HEAD(list)
194 #define TAIL(list) ISC_LIST_TAIL(list)
195 #define EMPTY(list) ISC_LIST_EMPTY(list)
198 #define APPEND(list, elt, link) ISC_LIST_APPEND(list, elt, link)
199 #define PREPEND(list, el
[all...]
/bind-9.6-ESV-R11/bin/named/
H A Dlistenlist.c32 destroy(ns_listenlist_t *list);
60 ns_listenlist_t *list = NULL; local
62 list = isc_mem_get(mctx, sizeof(*list));
63 if (list == NULL)
65 list->mctx = mctx;
66 list->refcount = 1;
67 ISC_LIST_INIT(list->elts);
68 *target = list;
73 destroy(ns_listenlist_t *list) { argument
94 ns_listenlist_t *list = *listp; local
109 ns_listenlist_t *list = NULL; local
[all...]
H A Dlwsearch.c42 ns_lwsearchlist_t *list; local
48 list = isc_mem_get(mctx, sizeof(ns_lwsearchlist_t));
49 if (list == NULL)
52 result = isc_mutex_init(&list->lock);
54 isc_mem_put(mctx, list, sizeof(ns_lwsearchlist_t));
57 list->mctx = NULL;
58 isc_mem_attach(mctx, &list->mctx);
59 list->refs = 1;
60 ISC_LIST_INIT(list->names);
61 list
83 ns_lwsearchlist_t *list; local
112 ns_lwsearchlist_append(ns_lwsearchlist_t *list, dns_name_t *name) argument
134 ns_lwsearchctx_init(ns_lwsearchctx_t *sctx, ns_lwsearchlist_t *list, dns_name_t *name, unsigned int ndots) argument
[all...]
/bind-9.6-ESV-R11/lib/lwres/include/lwres/
H A Dlist.h18 /* $Id: list.h,v 1.14 2007/06/19 23:47:23 tbox Exp $ */
23 /*! \file lwres/list.h */
26 #define LWRES_LIST_INIT(list) \
27 do { (list).head = NULL; (list).tail = NULL; } while (0)
38 #define LWRES_LIST_HEAD(list) ((list).head)
39 #define LWRES_LIST_TAIL(list) ((list).tail)
40 #define LWRES_LIST_EMPTY(list) LWRES_T
[all...]
/bind-9.6-ESV-R11/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.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dlist_test.c11 * notice, this list of conditions and the following disclaimer.
13 * notice, this list of conditions and the following disclaimer in the
37 #include "list.h"
55 atf_list_t list; local
57 RE(atf_list_init(&list));
58 ATF_REQUIRE_EQ(atf_list_size(&list), 0);
59 atf_list_fini(&list);
73 atf_list_t list; local
78 RE(atf_list_init(&list));
79 RE(atf_list_append(&list,
97 atf_list_t list; local
117 atf_list_t list; local
131 atf_list_t list; local
163 atf_list_t list; local
273 atf_list_t list; local
312 atf_list_t list; local
[all...]
H A Dlist.h11 * notice, this list of conditions and the following disclaimer.
13 * notice, this list of conditions and the following disclaimer in the
106 #define atf_list_for_each(iter, list) \
107 for (iter = atf_list_begin(list); \
108 !atf_equal_list_iter_list_iter((iter), atf_list_end(list)); \
110 #define atf_list_for_each_c(iter, list) \
111 for (iter = atf_list_begin_c(list); \
112 !atf_equal_list_citer_list_citer((iter), atf_list_end_c(list)); \
H A DMakefile.am.inc11 # notice, this list of conditions and the following disclaimer.
13 # notice, this list of conditions and the following disclaimer in the
36 atf-c/detail/list.c \
37 atf-c/detail/list.h \
H A Dlist.c11 * notice, this list of conditions and the following disclaimer.
13 * notice, this list of conditions and the following disclaimer in the
36 #include "list.h"
278 atf_list_index(atf_list_t *list, const size_t idx) argument
282 PRE(idx < atf_list_size(list));
284 iter = atf_list_begin(list);
288 !atf_equal_list_iter_list_iter((iter), atf_list_end(list))) {
297 atf_list_index_c(const atf_list_t *list, const size_t idx) argument
301 PRE(idx < atf_list_size(list));
303 iter = atf_list_begin_c(list);
[all...]
/bind-9.6-ESV-R11/bin/tests/system/zero/
H A Dtests.sh23 awk '$2 == "0" { print "-q", $1, $4; print "-q", "zzz"$1, $4;}' > query.list
27 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.1 &
28 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.2 &
29 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.3 &
30 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.4 &
31 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.5 &
32 $DIG -p 5300 @10.53.0.3 -f query.list > dig.out$i.6 &
H A Dclean.sh19 rm -f query.list
/bind-9.6-ESV-R11/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.6-ESV-R11/lib/dns/
H A Dportlist.c52 dns_element_t *list; member in struct:dns_portlist
94 portlist->list = NULL;
105 find_port(dns_element_t *list, unsigned int len, in_port_t port) { argument
112 if (list[xtry].port == port)
113 return (&list[xtry]);
114 if (port > list[xtry].port) {
147 el = find_port(portlist->list, portlist->active, port);
166 if (portlist->list != NULL) {
167 memmove(el, portlist->list,
169 isc_mem_put(portlist->mctx, portlist->list,
[all...]
H A Drdatalist.c198 for (rdset = ISC_LIST_HEAD(name->list);
211 for (rdset = ISC_LIST_HEAD(name->list);
250 for (rdataset = ISC_LIST_HEAD(noqname->list);
263 for (rdataset = ISC_LIST_HEAD(noqname->list);
289 for (rdset = ISC_LIST_HEAD(name->list);
302 for (rdset = ISC_LIST_HEAD(name->list);
341 for (rdataset = ISC_LIST_HEAD(closest->list);
354 for (rdataset = ISC_LIST_HEAD(closest->list);
H A Dpeer.c48 peerlist_delete(dns_peerlist_t **list);
54 dns_peerlist_new(isc_mem_t *mem, dns_peerlist_t **list) { argument
57 REQUIRE(list != NULL);
68 *list = l;
87 dns_peerlist_detach(dns_peerlist_t **list) { argument
90 REQUIRE(list != NULL);
91 REQUIRE(*list != NULL);
92 REQUIRE(DNS_PEERLIST_VALID(*list));
94 plist = *list;
95 *list
106 peerlist_delete(dns_peerlist_t **list) argument
[all...]
/bind-9.6-ESV-R11/bin/named/include/named/
H A Dlwsearch.h33 * Lightweight resolver search list types and routines.
35 * An ns_lwsearchlist_t holds a list of search path elements.
37 * An ns_lwsearchctx stores the state of search list during a lookup
41 /*% An ns_lwsearchlist_t holds a list of search path elements. */
50 /*% An ns_lwsearchctx stores the state of search list during a lookup operation. */
55 ns_lwsearchlist_t *list; member in struct:ns_lwsearchctx
63 * Create an empty search list object.
69 * Attach to a search list object.
75 * Detach from a search list object.
79 ns_lwsearchlist_append(ns_lwsearchlist_t *list, dns_name_
[all...]
H A Dconfig.h41 ns_config_listcount(const cfg_obj_t *list);
55 ns_config_getiplist(const cfg_obj_t *config, const cfg_obj_t *list,
64 ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
/bind-9.6-ESV-R11/lib/isccc/include/isccc/
H A Dsexpr.h90 isccc_sexpr_car(isccc_sexpr_t *list);
93 isccc_sexpr_cdr(isccc_sexpr_t *list);
/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dloc.c99 struct list_in_addr *list, *p; local
111 list = findA (name);
114 if (list != NULL)
116 for (p = list; p != NULL; p = p->next)
217 struct list_in_addr *list; local
226 list = findA (name);
227 if (list != NULL)
232 if (mask != NULL && mask->s_addr < list->addr.s_addr)
242 a &= ntohl(list->addr.s_addr); /* apply new mask */
248 newmask = inet_makeaddr(ntohl(list
[all...]
/bind-9.6-ESV-R11/lib/isccc/
H A Dsexpr.c222 isccc_sexpr_car(isccc_sexpr_t *list) argument
224 REQUIRE(list->type == ISCCC_SEXPRTYPE_DOTTEDPAIR);
226 return (CAR(list));
230 isccc_sexpr_cdr(isccc_sexpr_t *list) argument
232 REQUIRE(list->type == ISCCC_SEXPRTYPE_DOTTEDPAIR);
234 return (CDR(list));

Completed in 4371 milliseconds

1234