/netbsd-current/external/bsd/libbind/dist/include/isc/ |
H A D | list.h | 25 #define INIT_LIST(list) \ 26 do { (list).head = NULL; (list).tail = NULL; } while (0) 39 #define HEAD(list) ((list).head) 40 #define TAIL(list) ((list).tail) 41 #define EMPTY(list) ((list).head == NULL) 43 #define PREPEND(list, el [all...] |
/netbsd-current/lib/libc/include/isc/ |
H A D | list.h | 1 /* $NetBSD: list.h,v 1.6 2022/04/19 20:32:15 rillig Exp $ */ 25 #define INIT_LIST(list) \ 26 do { (list).head = NULL; (list).tail = NULL; } while (0) 39 #define HEAD(list) ((list).head) 40 #define TAIL(list) ((list).tail) 41 #define EMPTY(list) ((list) [all...] |
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | format-scheme.c | 42 #define VERIFY_LIST(list) verify_list (list) 50 argument list. It is a recursive list structure. Structure sharing 55 FCT_REQUIRED, /* The format argument list cannot end before this argument. */ 56 FCT_OPTIONAL /* The format argument list may end before this argument. */ 78 enum format_cdr_type presence; /* Can the argument list end right before 81 struct format_arg_list *list; /* For FAT_LIST: List elements. */ member in struct:format_arg 86 /* The constraints for the potentially infinite argument list are assumed 111 struct format_arg_list *list; member in struct:spec 163 verify_list(const struct format_arg_list *list) argument 203 free_list(struct format_arg_list *list) argument 236 copy_list(const struct format_arg_list *list) argument 346 ensure_initial_alloc(struct format_arg_list *list, unsigned int newcount) argument 361 grow_initial_alloc(struct format_arg_list *list) argument 376 ensure_repeated_alloc(struct format_arg_list *list, unsigned int newcount) argument 391 grow_repeated_alloc(struct format_arg_list *list) argument 411 normalize_outermost_list(struct format_arg_list *list) argument 567 normalize_list(struct format_arg_list *list) argument 601 struct format_arg_list *list; local 628 struct format_arg_list *list; local 649 is_empty_list(const struct format_arg_list *list) argument 661 unfold_loop(struct format_arg_list *list, unsigned int m) argument 682 rotate_loop(struct format_arg_list *list, unsigned int m) argument 791 initial_splitelement(struct format_arg_list *list, unsigned int n) argument 839 initial_unshare(struct format_arg_list *list, unsigned int n) argument 921 shift_list(struct format_arg_list *list, unsigned int n) argument 1063 append_repeated_to_initial(struct format_arg_list *list) argument 1092 backtrack_in_initial(struct format_arg_list *list) argument 1341 make_intersection_with_empty_list(struct format_arg_list *list) argument 1780 make_union_with_empty_list(struct format_arg_list *list) argument 1839 is_required(const struct format_arg_list *list, unsigned int n) argument 1897 add_required_constraint(struct format_arg_list *list, unsigned int n) argument 1934 add_end_constraint(struct format_arg_list *list, unsigned int n) argument 1982 add_type_constraint(struct format_arg_list *list, unsigned int n, enum format_arg_type type) argument 2017 add_listtype_constraint(struct format_arg_list *list, unsigned int n, enum format_arg_type type, struct format_arg_list *sublist) argument 2122 struct format_arg_list *list; local 2465 struct format_arg_list *list = *listp; local 3382 print_list(struct format_arg_list *list) argument [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_bo_list.h | 56 void amdgpu_bo_list_get_list(struct amdgpu_bo_list *list, 58 void amdgpu_bo_list_put(struct amdgpu_bo_list *list); 66 struct amdgpu_bo_list **list); 69 amdgpu_bo_list_array_entry(struct amdgpu_bo_list *list, unsigned index) argument 71 struct amdgpu_bo_list_entry *array = (void *)&list[1]; 76 #define amdgpu_bo_list_for_each_entry(e, list) \ 77 for (e = amdgpu_bo_list_array_entry(list, 0); \ 78 e != amdgpu_bo_list_array_entry(list, (list)->num_entries); \ 81 #define amdgpu_bo_list_for_each_userptr_entry(e, list) \ [all...] |
/netbsd-current/external/cddl/osnet/dist/tools/ctf/common/ |
H A D | list.c | 41 #include "list.h" 44 struct list { struct 46 struct list *l_next; 49 /* Add an element to a list */ 51 list_add(list_t **list, void *data) argument 57 le->l_next = *list; 58 *list = le; 61 /* Add an element to a sorted list */ 63 slist_add(list_t **list, void *data, int (*cmp)(void *, void *)) argument 67 for (nextp = list; *next 83 list_remove(list_t **list, void *data, int (*cmp)(void *, void *, void *), void *private) argument 105 list_free(list_t *list, void (*datafree)(void *, void *), void *private) argument 123 list_iter(list_t *list, int (*func)(void *, void *), void *private) argument 148 list_count(list_t *list) argument 154 list_empty(list_t *list) argument 160 list_find(list_t *list, void *tmpl, int (*cmp)(void *, void *)) argument 171 list_first(list_t *list) argument [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdb/unittests/ |
H A D | intrusive_list-selftests.c | 1 /* Tests fpr intrusive double linked list for GDB, the GNU debugger. 26 corresponding list type. Put another base before intrusive_list_node 47 list type. Put the other field before the node, so that a pointer to the 67 list type. */ 76 Traverse the list forward and backwards to exercise all links. */ 79 verify_items (const ListType &list, argument 84 for (typename ListType::iterator it = list.begin (); 85 it != list.end (); 98 for (typename ListType::reverse_iterator it = list.rbegin (); 99 it != list 380 ListType list; local 397 ListType list; local 420 ListType list; local 447 ListType list; local 466 ListType list; local 485 ListType list; local 498 ListType list; local 593 ListType list; local 617 ListType list; local 641 ListType list; local 665 ListType list; local 686 ListType list; local 718 ListType list; local 731 ListType list; local 783 item_with_base_list list; local 794 item_with_member_list list; local [all...] |
/netbsd-current/external/mit/isl/dist/ |
H A D | isl_list_templ.c | 25 isl_ctx *FN(LIST(EL),get_ctx)(__isl_keep LIST(EL) *list) 27 return list ? list->ctx : NULL; 32 LIST(EL) *list; 36 "cannot create list of negative length", 38 list = isl_alloc(ctx, LIST(EL), 40 if (!list) 43 list->ctx = ctx; 45 list->ref = 1; 46 list [all...] |
H A D | isl_list_private.h | 4 #include <isl/list.h> 8 __isl_keep isl_##EL##_list *list, int index);
|
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
H A D | sum.c | 4 int sum(int *list, int low, int high) argument 8 s += list[i];
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
H A D | sum.c | 4 int sum(int *list, int low, int high) argument 8 s += list[i];
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | set_default_realm.c | 13 * notice, this list of conditions and the following disclaimer. 16 * notice, this list of conditions and the following disclaimer in the 40 * list in `list'. Return an error code. 44 string_to_list (krb5_context context, const char *s, krb5_realm **list) argument 47 *list = malloc (2 * sizeof(**list)); 48 if (*list == NULL) 50 (*list)[0] = strdup (s); 51 if ((*list)[ [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mmix/ |
H A D | list-pseudoints.l | 1 GAS for MMIX .*/list-pseudoints.s page 1 13 GAS for MMIX .*/list-pseudoints.s page 2 17 .*/list-pseudoints.s:1 .text:0000000000000000 start 18 .*/list-pseudoints.s:3 .text:0000000000000004 start2
|
H A D | list-textfirst.l | 1 GAS for MMIX .*/list-textfirst\.s page 1 11 GAS for MMIX .*/list-textfirst\.s page 2 15 .*/list-textfirst\.s:2 \.data:0000000000000000 here 16 .*/list-textfirst\.s:5 \.text:0000000000000000 there
|
/netbsd-current/external/bsd/less/dist/ |
H A D | lglob.h | 17 * This defines a function that returns a list of matching filenames. 19 * This defines a function that steps thru the list of matching 22 * This defines a function that returns the complete list of 28 #define DECL_GLOB_LIST(list) char **list; char **pp; 29 #define GLOB_LIST(filename,list) list = _fnexplode(filename) 30 #define GLOB_LIST_FAILED(list) list == NULL 31 #define SCAN_GLOB_LIST(list, [all...] |
/netbsd-current/external/bsd/unbound/dist/services/ |
H A D | outbound_list.h | 2 * services/outbound_list.h - keep list of outbound serviced queries. 13 * this list of conditions and the following disclaimer. 16 * this list of conditions and the following disclaimer in the documentation 49 * The outbound list. This structure is part of the module specific query 53 /** The linked list of outbound query entries. */ 58 * Outbound list entry. A serviced query sent by a module processing the 59 * query from the qstate. Double linked list to aid removal. 62 /** next in list */ 64 /** prev in list */ 73 * Init the user allocated outbound list structur [all...] |
/netbsd-current/external/gpl2/xcvs/dist/src/ |
H A D | hash.h | 14 * The number of buckets for the hash table contained in each list. This 43 struct list struct 45 Node *list; member in struct:list 47 struct list *next; 49 typedef struct list List; 52 Node *findnode (List *list, const char *key); 53 Node *findnode_fn (List *list, const char *key); 55 int insert_before (List *list, Node *marker, Node *p); 56 int addnode (List *list, Node *p); 57 int addnode_at_front (List *list, Nod [all...] |
/netbsd-current/usr.bin/msgc/ |
H A D | msgparse.y | 13 * notice, this list of conditions and the following disclaimer. 15 * notice, this list of conditions and the following disclaimer in the 56 %start list 60 list : /* empty */ label 61 | list msg
|
/netbsd-current/external/gpl3/autoconf/dist/lib/autoscan/ |
H A D | Makefile.am | 21 nodist_autoscanlib_DATA = autoscan.list 22 CLEANFILES = autoscan.list 25 ## Building autoscan.list. ## 28 ## autoscan.list might change when autoconf.m4f sources change. 34 autoscan.list: $(srcdir)/autoscan.pre $(autoconf_m4f_dependencies) Makefile.am 35 echo '# Automatically Generated: do not edit this file' >autoscan.list 36 sed '/^[#]/!q' $(srcdir)/autoscan.pre >>autoscan.list 40 ) | LC_ALL=C sort >>autoscan.list
|
/netbsd-current/crypto/external/cpl/trousers/dist/src/include/daa/ |
H A D | list.h | 14 /* simple linked list template */ 20 typedef struct _list_t node_t; // each link is a list "node" 34 void list_add(list_ptr list, void * obj); 36 void list_dump(list_ptr list); 38 void list_freeall(list_ptr list);
|
/netbsd-current/external/bsd/openldap/dist/libraries/libldap/ |
H A D | addentry.c | 38 ldap_delete_result_entry( LDAPMessage **list, LDAPMessage *e ) argument 42 assert( list != NULL ); 45 for ( tmp = *list; tmp != NULL && tmp != e; tmp = tmp->lm_chain ) 53 tmp->lm_chain->lm_chain_tail = (*list)->lm_chain_tail; 54 *list = tmp->lm_chain; 58 (*list)->lm_chain_tail = prev; 66 ldap_add_result_entry( LDAPMessage **list, LDAPMessage *e ) argument 68 assert( list != NULL ); 71 e->lm_chain = *list; 72 if ( *list ) [all...] |
/netbsd-current/external/mpl/bind/dist/lib/isc/include/isc/ |
H A D | list.h | 1 /* $NetBSD: list.h,v 1.8 2023/01/25 21:43:31 christos Exp $ */ 43 #define ISC_LIST_INIT(list) \ 45 (list).head = NULL; \ 46 (list).tail = NULL; \ 63 #define ISC_LIST_HEAD(list) ((list).head) 64 #define ISC_LIST_TAIL(list) ((list).tail) 65 #define ISC_LIST_EMPTY(list) ((list) [all...] |
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/include/isc/ |
H A D | list.h | 1 /* $NetBSD: list.h,v 1.1 2024/02/18 20:57:53 christos Exp $ */ 43 #define ISC_LIST_INIT(list) \ 45 (list).head = NULL; \ 46 (list).tail = NULL; \ 63 #define ISC_LIST_HEAD(list) ((list).head) 64 #define ISC_LIST_TAIL(list) ((list).tail) 65 #define ISC_LIST_EMPTY(list) ((list) [all...] |
/netbsd-current/usr.bin/mklocale/ |
H A D | yacc.y | 15 * notice, this list of conditions and the following disclaimer. 17 * notice, this list of conditions and the following disclaimer in the 107 rune_list *list; 124 %type <list> list 125 %type <list> map 184 | LIST list 194 list : RUNE label 208 | list RUNE 215 | list RUN [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/global/ |
H A D | match_service.c | 17 /* int match_service_match(list, name_type) 18 /* ARGV *list; 21 /* void match_service_free(list) 22 /* ARGV *list; 42 /* match_service_init() parses the pattern list. The result 49 /* against the specified pattern list. 99 /* match_service_init - initialize pattern list */ 104 ARGV *list = argv_alloc(1); local 110 argv_add(list, item, (char *) 0); 111 argv_terminate(list); 121 ARGV *list = argv_alloc(1); local 133 match_service_match(ARGV *list, const char *name_type) argument 175 match_service_free(ARGV *list) argument [all...] |
/netbsd-current/external/gpl3/binutils.old/dist/gprof/ |
H A D | search_list.c | 1 /* search-list.c 29 search_list_append (Search_List *list, const char *paths) 50 /* Append new path at end of list. */ 53 if (list->tail) 54 list->tail->next = new_el; 56 list->head = new_el; 58 list->tail = new_el; 28 search_list_append(Search_List *list, const char *paths) argument
|