Home
last modified time | relevance | path

Searched refs:elt (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
H A Dlist.h53 #define ISC_LINK_INIT_TYPE(elt, link, type) \ argument
55 (elt)->link.prev = ISC_LINK_TOMBSTONE(type); \
56 (elt)->link.next = ISC_LINK_TOMBSTONE(type); \
58 #define ISC_LINK_INIT(elt, link) ISC_LINK_INIT_TYPE(elt, link, void) argument
59 #define ISC_LINK_LINKED_TYPE(elt, link, type) \ argument
60 ((type *)((elt)->link.prev) != ISC_LINK_TOMBSTONE(type))
61 #define ISC_LINK_LINKED(elt, link) ISC_LINK_LINKED_TYPE(elt, link, void) argument
67 #define __ISC_LIST_PREPENDUNSAFE(list, elt, link) \ argument
70 (list).head->link.prev = (elt); \
72 (list).tail = (elt); \
[all …]
/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/
H A Dlist.h54 #define ISC_LINK_INIT_TYPE(elt, link, type) \
56 (elt)->link.prev = ISC_LINK_TOMBSTONE(type); \
57 (elt)->link.next = ISC_LINK_TOMBSTONE(type); \
59 #define ISC_LINK_INIT(elt, link) ISC_LINK_INIT_TYPE(elt, link, void) argument
60 #define ISC_LINK_LINKED_TYPE(elt, link, type) \
61 ((type *)((elt)->link.prev) != ISC_LINK_TOMBSTONE(type)) argument
62 #define ISC_LINK_LINKED(elt, link) ISC_LINK_LINKED_TYPE(elt, link, void)
68 #define __ISC_LIST_PREPENDUNSAFE(list, elt, lin
53 ISC_LINK_INIT_TYPE(elt,link,type) global() argument
58 ISC_LINK_INIT(elt,link) global() argument
67 __ISC_LIST_PREPENDUNSAFE(list,elt,link) global() argument
79 ISC_LIST_PREPEND(list,elt,link) global() argument
85 ISC_LIST_INITANDPREPEND(list,elt,link) global() argument
88 __ISC_LIST_APPENDUNSAFE(list,elt,link) global() argument
100 ISC_LIST_APPEND(list,elt,link) global() argument
106 ISC_LIST_INITANDAPPEND(list,elt,link) global() argument
109 __ISC_LIST_UNLINKUNSAFE_TYPE(list,elt,link,type) global() argument
129 __ISC_LIST_UNLINKUNSAFE(list,elt,link) global() argument
132 ISC_LIST_UNLINK_TYPE(list,elt,link,type) global() argument
137 ISC_LIST_UNLINK(list,elt,link) global() argument
140 ISC_LIST_PREV(elt,link) global() argument
141 ISC_LIST_NEXT(elt,link) global() argument
143 __ISC_LIST_INSERTBEFOREUNSAFE(list,before,elt,link) global() argument
155 ISC_LIST_INSERTBEFORE(list,before,elt,link) global() argument
162 __ISC_LIST_INSERTAFTERUNSAFE(list,after,elt,link) global() argument
174 ISC_LIST_INSERTAFTER(list,after,elt,link) global() argument
207 ISC_LIST_ENQUEUE(list,elt,link) global() argument
208 __ISC_LIST_ENQUEUEUNSAFE(list,elt,link) global() argument
210 ISC_LIST_DEQUEUE(list,elt,link) global() argument
212 ISC_LIST_DEQUEUE_TYPE(list,elt,link,type) global() argument
214 __ISC_LIST_DEQUEUEUNSAFE(list,elt,link) global() argument
216 __ISC_LIST_DEQUEUEUNSAFE_TYPE(list,elt,link,type) global() argument
[all...]
/netbsd-src/external/bsd/libbind/dist/include/isc/
H A Dlist.h29 #define INIT_LINK_TYPE(elt, link, type) \ argument
31 (elt)->link.prev = (type *)(-1); \
32 (elt)->link.next = (type *)(-1); \
34 #define INIT_LINK(elt, link) \ argument
35 INIT_LINK_TYPE(elt, link, void)
36 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ argument
37 (void *)((elt)->link.next) != (void *)(-1))
43 #define PREPEND(list, elt, link) \ argument
45 INSIST(!LINKED(elt, link));\
47 (list).head->link.prev = (elt); \
[all …]
/netbsd-src/lib/libc/include/isc/
H A Dlist.h29 #define INIT_LINK_TYPE(elt, link, type) \ argument
31 (elt)->link.prev = (type *)(-1); \
32 (elt)->link.next = (type *)(-1); \
34 #define INIT_LINK(elt, link) \ argument
35 INIT_LINK_TYPE(elt, link, void)
36 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ argument
37 (void *)((elt)->link.next) != (void *)(-1))
43 #define PREPEND(list, elt, link) \ argument
45 INSIST(!LINKED(elt, link));\
47 (list).head->link.prev = (elt); \
[all …]
/netbsd-src/external/mpl/bind/dist/lib/isccc/
H A Dsymtab.c46 typedef struct elt { struct
50 ISC_LINK(struct elt) link; argument
102 free_elt(isccc_symtab_t *symtab, unsigned int bucket, elt_t *elt) { in free_elt() argument
103 ISC_LIST_UNLINK(symtab->table[bucket], elt, link); in free_elt()
105 (symtab->undefine_action)(elt->key, elt->type, elt->value, in free_elt()
108 free(elt); in free_elt()
115 elt_t *elt, *nelt; in isccc_symtab_destroy() local
123 for (elt in isccc_symtab_destroy()
195 elt_t *elt; isccc_symtab_lookup() local
217 elt_t *elt; isccc_symtab_define() local
260 elt_t *elt; isccc_symtab_undefine() local
280 elt_t *elt, *nelt; isccc_symtab_foreach() local
[all...]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dgl_list.h103 typedef size_t (*gl_listelement_hashcode_fn) (const void *elt);
170 const void *elt);
174 extern gl_list_node_t gl_list_search (gl_list_t list, const void *elt);
180 const void *elt);
188 const void *elt);
192 extern size_t gl_list_indexof (gl_list_t list, const void *elt);
198 const void *elt);
205 const void *elt);
209 extern gl_list_node_t gl_list_add_first (gl_list_t list, const void *elt);
213 extern gl_list_node_t gl_list_add_last (gl_list_t list, const void *elt);
[all …]
H A Dgl_list.c87 gl_list_set_at (gl_list_t list, size_t position, const void *elt) in gl_list_set_at() argument
90 ->set_at (list, position, elt); in gl_list_set_at()
94 gl_list_search (gl_list_t list, const void *elt) in gl_list_search() argument
98 ->search_from_to (list, 0, size, elt); in gl_list_search()
102 gl_list_search_from (gl_list_t list, size_t start_index, const void *elt) in gl_list_search_from() argument
106 ->search_from_to (list, start_index, size, elt); in gl_list_search_from()
110 gl_list_search_from_to (gl_list_t list, size_t start_index, size_t end_index, const void *elt) in gl_list_search_from_to() argument
113 ->search_from_to (list, start_index, end_index, elt); in gl_list_search_from_to()
117 gl_list_indexof (gl_list_t list, const void *elt) in gl_list_indexof() argument
121 ->indexof_from_to (list, 0, size, elt); in gl_list_indexof()
[all …]
H A Dgl_anylinked_list2.h171 gl_linked_set_at (gl_list_t list, size_t position, const void *elt) in gl_linked_set_at() argument
194 if (elt != node->value) in gl_linked_set_at()
198 ? list->base.hashcode_fn (elt) in gl_linked_set_at()
199 : (size_t)(uintptr_t) elt); in gl_linked_set_at()
204 node->value = elt; in gl_linked_set_at()
209 node->value = elt; in gl_linked_set_at()
212 node->value = elt; in gl_linked_set_at()
219 const void *elt) in gl_linked_search_from_to() argument
230 ? list->base.hashcode_fn (elt) in gl_linked_search_from_to()
231 : (size_t)(uintptr_t) elt); in gl_linked_search_from_to()
[all …]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dsymtab.c27 typedef struct elt { struct
31 LINK(struct elt) link; argument
88 elt_t *elt, *nelt; in isc_symtab_destroy() local
96 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) { in isc_symtab_destroy()
97 nelt = NEXT(elt, link); in isc_symtab_destroy()
99 (symtab->undefine_action)(elt->key, elt->type, in isc_symtab_destroy()
100 elt->value, in isc_symtab_destroy()
103 isc_mem_put(symtab->mctx, elt, sizeof(*elt)); in isc_symtab_destroy()
158 elt_t *elt; in isc_symtab_lookup() local
163 FIND(symtab, key, type, bucket, elt); in isc_symtab_lookup()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dsymtab.c27 typedef struct elt { struct
31 LINK(struct elt) link; argument
88 elt_t *elt, *nelt; in isc_symtab_destroy() local
96 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) { in isc_symtab_destroy()
97 nelt = NEXT(elt, link); in isc_symtab_destroy()
99 (symtab->undefine_action)(elt->key, elt->type, in isc_symtab_destroy()
100 elt in isc_symtab_destroy()
158 elt_t *elt; isc_symtab_lookup() local
194 elt_t *elt, *nelt; grow_table() local
219 elt_t *elt; isc_symtab_define() local
270 elt_t *elt; isc_symtab_undefine() local
[all...]
/netbsd-src/external/mpl/bind/dist/contrib/dlz/modules/include/
H A Ddlz_list.h
/netbsd-src/external/mpl/bind/dist/lib/ns/
H A Dlistenlist.c38 ns_listenelt_t *elt = NULL; in listenelt_create()
188 elt = isc_mem_get(mctx, sizeof(*elt)); in listenelt_create()
189 elt->mctx = mctx; in listenelt_create()
190 ISC_LINK_INIT(elt, link); in listenelt_create()
191 elt->port = port; in listenelt_create()
192 elt->is_http = false; in listenelt_create()
193 elt->acl = acl; in listenelt_create()
194 elt->sslctx = sslctx; in listenelt_create()
195 elt in listenelt_create()
36 ns_listenelt_t *elt = NULL; listenelt_create() local
251 ns_listenelt_destroy(ns_listenelt_t * elt) ns_listenelt_destroy() argument
286 ns_listenelt_t *elt, *next; destroy() local
317 ns_listenelt_t *elt = NULL; ns_listenlist_default() local
[all...]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nds32/
H A Dnds32-predicates.cc58 rtx elt; in nds32_consecutive_registers_load_store_p() local
65 elt = XVECEXP (op, 0, i + par_index); in nds32_consecutive_registers_load_store_p()
68 if (GET_CODE (elt) != SET) in nds32_consecutive_registers_load_store_p()
72 elt_reg = load_p ? SET_DEST (elt) : SET_SRC (elt); in nds32_consecutive_registers_load_store_p()
73 elt_mem = load_p ? SET_SRC (elt) : SET_DEST (elt); in nds32_consecutive_registers_load_store_p()
111 rtx elt; in nds32_valid_multiple_load_store_p() local
120 elt = XVECEXP (op, 0, 1); in nds32_valid_multiple_load_store_p()
125 elt = XVECEXP (op, 0, 0); in nds32_valid_multiple_load_store_p()
129 if (GET_CODE (elt) != SET in nds32_valid_multiple_load_store_p()
138 if (GET_CODE (SET_DEST (elt)) != REG in nds32_valid_multiple_load_store_p()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/
H A Dnds32-predicates.c58 rtx elt; in nds32_consecutive_registers_load_store_p() local
65 elt = XVECEXP (op, 0, i + par_index); in nds32_consecutive_registers_load_store_p()
68 if (GET_CODE (elt) != SET) in nds32_consecutive_registers_load_store_p()
72 elt_reg = load_p ? SET_DEST (elt) : SET_SRC (elt); in nds32_consecutive_registers_load_store_p()
73 elt_mem = load_p ? SET_SRC (elt) : SET_DEST (elt); in nds32_consecutive_registers_load_store_p()
111 rtx elt; in nds32_valid_multiple_load_store_p() local
120 elt = XVECEXP (op, 0, 1); in nds32_valid_multiple_load_store_p()
125 elt = XVECEXP (op, 0, 0); in nds32_valid_multiple_load_store_p()
129 if (GET_CODE (elt) != SET in nds32_valid_multiple_load_store_p()
138 if (GET_CODE (SET_DEST (elt)) != REG in nds32_valid_multiple_load_store_p()
[all …]
/netbsd-src/sys/uvm/
H A Duvm_aobj.c83 #define UAO_SWHASH_ELT_PAGESLOT(elt, idx) \ argument
84 ((elt)->slots[UAO_SWHASH_ELT_PAGESLOT_IDX(idx)])
88 ((elt)->tag << UAO_SWHASH_CLUSTER_SHIFT)
207 struct uao_swhash_elt *elt; local
217 LIST_FOREACH(elt, swhash, list) {
218 if (elt->tag == page_tag) {
219 return elt;
230 elt = pool_get(&uao_swhash_elt_pool, PR_NOWAIT);
231 if (elt == NULL) {
234 LIST_INSERT_HEAD(swhash, elt, list);
[all …]
/netbsd-src/external/mpl/bind/dist/tests/ns/
H A Dlistenlist_test.c44 ns_listenelt_t *elt; in _setup()
56 elt = ISC_LIST_HEAD(list->elts); in _teardown()
57 while (elt != NULL) {
58 ns_listenelt_t *next = ISC_LIST_NEXT(elt, link);
61 dns_acl_attach(elt->acl, &acl); in ISC_RUN_TEST_IMPL()
62 ISC_LIST_UNLINK(list->elts, elt, link); in ISC_RUN_TEST_IMPL()
63 ns_listenelt_destroy(elt); in ISC_RUN_TEST_IMPL() local
64 elt = next; in ISC_RUN_TEST_IMPL()
83 elt = ISC_LIST_HEAD(list->elts); in ISC_RUN_TEST_IMPL()
84 while (elt ! in ISC_RUN_TEST_IMPL()
[all...]
/netbsd-src/external/bsd/nsd/dist/
H A Dnetio.c41 netio_handler_list_type *elt; in netio_add_handler() local
51 elt = netio->deallocated; in netio_add_handler()
52 netio->deallocated = elt->next; in netio_add_handler()
57 elt = (netio_handler_list_type *) region_alloc( in netio_add_handler()
61 elt->next = netio->handlers; in netio_add_handler()
62 elt->handler = handler; in netio_add_handler()
63 elt->handler->pfd = -1; in netio_add_handler()
64 netio->handlers = elt; in netio_add_handler()
116 netio_handler_list_type *elt; in netio_dispatch() local
144 for (elt = netio->handlers; elt; elt = elt->next) { in netio_dispatch()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dcondition_variable.cc65 auto elt = (__at_thread_exit_elt*)p; in run() local
66 while (elt) in run()
68 auto next = elt->_M_next; in run()
69 elt->_M_cb(elt); in run()
70 elt = next; in run()
76 auto elt = (__at_thread_exit_elt*)__gthread_getspecific(key); in run() local
78 run(elt); in run()
115 __at_thread_exit(__at_thread_exit_elt* elt) in __at_thread_exit() argument
120 elt->_M_next = (__at_thread_exit_elt*)__gthread_getspecific(key); in __at_thread_exit()
121 __gthread_setspecific(key, elt); in __at_thread_exit()
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/
H A Dxml.c666 xml_push_current_element (int elt) in xml_push_current_element() argument
668 element_stack[element_stack_index++] = elt; in xml_push_current_element()
672 xml_element_list[elt].name); in xml_push_current_element()
782 xml_insert_element_with_attribute (int elt, int arg, char *format, ...) in xml_insert_element_with_attribute() argument
784 xml_insert_element_with_attribute (elt, arg, format, va_alist) in xml_insert_element_with_attribute()
785 int elt; in xml_insert_element_with_attribute()
801 (element_list->element_to_replace == elt) ) ||
804 (element_list->element_to_replace == elt) ) )
806 elt = element_list->element_replacing;
813 if (elt < 0)
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Dcondition_variable.cc90 auto elt = (__at_thread_exit_elt*)p; in run() local
91 while (elt) in run()
93 auto next = elt->_M_next; in run()
94 elt->_M_cb(elt); in run()
95 elt = next; in run()
101 auto elt = (__at_thread_exit_elt*)__gthread_getspecific(key); in run() local
103 run(elt); in run()
140 __at_thread_exit(__at_thread_exit_elt* elt) in __at_thread_exit() argument
145 elt->_M_next = (__at_thread_exit_elt*)__gthread_getspecific(key); in __at_thread_exit()
146 __gthread_setspecific(key, elt); in __at_thread_exit()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dgeoip2.c222 const dns_geoip_elem_t *elt) { in dns_geoip_match() argument
231 REQUIRE(elt != NULL); in dns_geoip_match()
234 subtype = fix_subtype(geoip, elt->subtype); in dns_geoip_match()
251 return match_string(&value, elt->as_string); in dns_geoip_match()
260 return match_string(&value, elt->as_string); in dns_geoip_match()
269 return match_string(&value, elt->as_string); in dns_geoip_match()
278 return match_string(&value, elt->as_string); in dns_geoip_match()
287 return match_string(&value, elt->as_string); in dns_geoip_match()
296 return match_string(&value, elt->as_string); in dns_geoip_match()
304 return match_string(&value, elt in dns_geoip_match()
[all...]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dgeoip2.c229 const dns_geoip_elem_t *elt) { in dns_geoip_match() argument
238 REQUIRE(elt != NULL); in dns_geoip_match()
241 subtype = fix_subtype(geoip, elt->subtype); in dns_geoip_match()
258 return (match_string(&value, elt->as_string)); in dns_geoip_match()
267 return (match_string(&value, elt->as_string)); in dns_geoip_match()
276 return (match_string(&value, elt->as_string)); in dns_geoip_match()
285 return (match_string(&value, elt->as_string)); in dns_geoip_match()
294 return (match_string(&value, elt->as_string)); in dns_geoip_match()
303 return (match_string(&value, elt->as_string)); in dns_geoip_match()
311 return (match_string(&value, elt->as_string)); in dns_geoip_match()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/
H A Datexit_thread.cc53 struct elt struct
57 elt *next; argument
66 elt *single_thread;
71 elt *e = static_cast<elt*>(p); in run()
74 elt *old_e = e; in run()
140 elt *first; in __cxa_thread_atexit()
142 first = static_cast<elt*>(__gthread_getspecific (key)); in __cxa_thread_atexit()
146 elt *new_elt = new (std::nothrow) elt; in __cxa_thread_atexit()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/
H A Datexit_thread.cc58 struct elt struct
62 elt *next; argument
71 elt *single_thread;
76 elt *e = static_cast<elt*>(p); in run()
79 elt *old_e = e; in run()
146 elt *first; in __cxa_thread_atexit()
148 first = static_cast<elt*>(__gthread_getspecific (key)); in __cxa_thread_atexit()
152 elt *new_elt = new (std::nothrow) elt; in __cxa_thread_atexit()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dcse.cc617 struct table_elt *elt; in dump_class() local
623 for (elt = classp->first_same_value; elt; elt = elt->next_same_value) in dump_class()
625 print_rtl (stderr, elt->exp); in dump_class()
1191 struct table_elt *elt; in insert_const_anchor() local
1198 elt = lookup (anchor_exp, hash, mode); in insert_const_anchor()
1199 if (!elt) in insert_const_anchor()
1200 elt = insert (anchor_exp, NULL, hash, mode); in insert_const_anchor()
1214 insert_with_costs (exp, elt, hash, mode, COST (reg, mode), 1); in insert_const_anchor()
1249 struct table_elt *elt; in find_reg_offset_for_const() local
1259 for (elt = anchor_elt->first_same_value, idx = 0; in find_reg_offset_for_const()
[all …]

12345678910>>...16