Searched defs:list (Results 1 - 25 of 39) sorted by relevance

12

/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...]
/bind-9.11.3/bin/named/
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...]
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 Dtsigconf.c32 add_initial_keys(const cfg_obj_t *list, dns_tsig_keyring_t *ring, argument
46 for (element = cfg_list_first(list);
H A Dconfig.c341 * Zone map entry is not a list.
364 ns_config_listcount(const cfg_obj_t *list) { argument
368 for (e = cfg_list_first(list); e != NULL; e = cfg_list_next(e))
434 ns_config_getiplist(const cfg_obj_t *config, const cfg_obj_t *list, argument
452 addrlist = cfg_tuple_get(list, "addresses");
455 portobj = cfg_tuple_get(list, "port");
473 dscpobj = cfg_tuple_get(list, "dscp");
555 const cfg_obj_t *list; local
558 list = cfg_listelt_value(elt);
559 listname = cfg_obj_asstring(cfg_tuple_get(list, "nam
570 ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list, isc_mem_t *mctx, dns_ipkeylist_t *ipkl) 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...]
H A Ddns64.c13 #include <isc/list.h>
186 dns_dns64_append(dns_dns64list_t *list, dns_dns64_t *dns64) { argument
187 ISC_LIST_APPEND(*list, dns64, link);
191 dns_dns64_unlink(dns_dns64list_t *list, dns_dns64_t *dns64) { argument
192 ISC_LIST_UNLINK(*list, dns64, link);
H A Dpeer.c46 peerlist_delete(dns_peerlist_t **list);
52 dns_peerlist_new(isc_mem_t *mem, dns_peerlist_t **list) { argument
55 REQUIRE(list != NULL);
66 *list = l;
85 dns_peerlist_detach(dns_peerlist_t **list) { argument
88 REQUIRE(list != NULL);
89 REQUIRE(*list != NULL);
90 REQUIRE(DNS_PEERLIST_VALID(*list));
92 plist = *list;
93 *list
104 peerlist_delete(dns_peerlist_t **list) argument
[all...]
/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 Dtext_test.c8 * notice, this list of conditions and the following disclaimer.
10 * notice, this list of conditions and the following disclaimer in the
66 atf_list_t list; local
71 CE(atf_text_split(str, delim, &list));
74 ATF_CHECK_EQ(atf_list_size(&list), array_size(words));
78 ATF_CHECK_STREQ((const char *)atf_list_index_c(&list, i), words[i]);
81 atf_list_fini(&list);
188 "strings using a variable parameters list");
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/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...]
H A Dconverter.c212 idn__aliaslist_t list; local
226 if ((r = idn__aliaslist_create(&list)) != idn_success)
228 encoding_alias_list = list;
648 idn__aliaslist_t list; local
659 list = encoding_alias_list;
661 idn__aliaslist_destroy(list);
662 list = NULL;
663 r = idn__aliaslist_create(&list);
664 encoding_alias_list = list;
/bind-9.11.3/contrib/sdb/tcl/
H A Dtcldb.c179 * zone are collected into a Tcl list and assigned to an element of
188 char *list = Tcl_Merge(argc, argv); local
190 Tcl_SetVar2(driver->interp, (char *) "dbargs", (char *) zone, list, 0);
192 Tcl_Free(list);
/bind-9.11.3/lib/dns/include/dns/
H A Dname.h98 * the exception of the 'link' and 'list' fields which may be used directly
110 ISC_LIST(dns_rdataset_t) list; member in struct:dns_name
1368 ISC_LIST_INIT(_n->list); \
H A Dadb.h97 * On return, the client can safely use "list", and can reorder the list.
98 * Items may not be _deleted_ from this list, however, or added to it
104 dns_adbaddrinfolist_t list; /*%< RO: list of addrs */ member in struct:dns_adbfind
105 unsigned int query_pending; /*%< RO: partial list */
153 * At least one address was omitted from the list because it was lame.
207 * The answers to queries come back as a list of these.
344 * "name" and will build up a list of found addresses, and perhaps start
360 * The list o
[all...]
/bind-9.11.3/lib/isccc/
H A Dsexpr.c205 isccc_sexpr_car(isccc_sexpr_t *list) { argument
206 REQUIRE(list->type == ISCCC_SEXPRTYPE_DOTTEDPAIR);
208 return (CAR(list));
212 isccc_sexpr_cdr(isccc_sexpr_t *list) { argument
213 REQUIRE(list->type == ISCCC_SEXPRTYPE_DOTTEDPAIR);
215 return (CDR(list));
H A Dcc.c175 * Emit the list.
233 list_towire(isccc_sexpr_t *list, isc_buffer_t **buffer) { argument
236 while (list != NULL) {
237 result = value_towire(ISCCC_SEXPR_CAR(list), buffer);
240 list = ISCCC_SEXPR_CDR(list);
660 isccc_sexpr_t *list, *value; local
663 list = NULL;
668 isccc_sexpr_free(&list);
671 if (isccc_sexpr_addtolist(&list, valu
[all...]
/bind-9.11.3/lib/isccfg/include/isccfg/
H A Dgrammar.h167 cfg_list_t list; member in union:cfg_obj::__anon308
183 /*% A list element. */
206 * as a configuration list of configuration strings.
215 * and were previously on the open_file list.
/bind-9.11.3/lib/samples/
H A Dsample-update.c112 addserver(const char *server, isc_sockaddrlist_t *list, argument
140 ISC_LIST_APPEND(*list, sockaddr, link);
317 while ((rdataset = ISC_LIST_HEAD(pname->list)) != NULL) {
318 ISC_LIST_UNLINK(pname->list, rdataset, link);
325 while ((rdataset = ISC_LIST_HEAD(uname->list)) != NULL) {
326 ISC_LIST_UNLINK(uname->list, rdataset, link);
634 ISC_LIST_INIT(name->list);
635 ISC_LIST_APPEND(name->list, rdataset, link);
734 ISC_LIST_INIT(name->list);
735 ISC_LIST_APPEND(name->list, rdatase
[all...]
/bind-9.11.3/lib/tests/
H A Dt_api.c835 t_settests(const testspec_t list[]) { argument
841 pts = &list[0];
/bind-9.11.3/contrib/dlz/bin/dlzbdb/
H A Ddlzbdb.c151 DBC *cursor2; /* second cursor used during list operation. */
152 DBC *cursor3; /* third cursor used during list operation */
153 DBC *cursor4; /* fourth cursor used during list operation */
161 #define list 1 /* list data */ macro
175 * checkOp is used to verify that only one operation (list, del, add,
218 char *key = NULL; /*%< key to use in list & del operations */
222 unsigned int key_val; /*%< key as unsigned int used in list & del operations */
223 char *zone = NULL; /*%< zone to use in list operations */
224 char *host = NULL; /*%< host to use in list operation
[all...]
/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/
H A Ddb_test.c142 list(dbinfo *dbi, char *seektext) { function
655 list(dbi, &s[4]);
659 list(dbi, NULL);
/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...]

Completed in 52 milliseconds

12