/illumos-gate/usr/src/common/list/ |
H A D | list.c | 48 #define list_insert_after_node(list, node, object) { \ argument 56 #define list_insert_before_node(list, node, object) { \ argument 70 list_create(list_t *list, size_t size, size_t offset) in list_create() 83 list_destroy(list_t *list) in list_destroy() 95 list_insert_after(list_t *list, void *object, void *nobject) in list_insert_after() 106 list_insert_before(list_t *list, void *object, void *nobject) in list_insert_before() 117 list_insert_head(list_t *list, void *object) in list_insert_head() 124 list_insert_tail(list_t *list, void *object) in list_insert_tail() 131 list_remove(list_t *list, void *object) in list_remove() 140 list_remove_head(list_t *list) in list_remove_head() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/include/isc/ |
H A D | list.h | 23 #define INIT_LIST(list) \ argument 37 #define HEAD(list) ((list).head) argument 38 #define TAIL(list) ((list).tail) argument 39 #define EMPTY(list) ((list).head == NULL) argument 41 #define PREPEND(list, elt, link) \ argument 53 #define APPEND(list, elt, link) \ argument 65 #define UNLINK_TYPE(list, elt, link, type) \ argument 82 #define UNLINK(list, elt, link) \ argument 88 #define INSERT_BEFORE(list, before, elt, link) \ argument 101 #define INSERT_AFTER(list, after, elt, link) \ argument [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ofs_gen_util.c | 50 add_genlist(genlist_t *list, uintptr_t data, void *data_context) in add_genlist() 79 void delete_genlist(genlist_t *list, genlist_entry_t *entry) { in delete_genlist() 104 genlist_entry_t *remove_genlist_head(genlist_t *list) { in remove_genlist_head() 122 void flush_genlist(genlist_t *list) { in flush_genlist() 135 bool genlist_empty(genlist_t *list) { in genlist_empty() 146 void insert_genlist_tail(genlist_t *list, genlist_entry_t *entry) { in insert_genlist_tail()
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prsort.c | 38 list_alloc(list_t *list, int size) in list_alloc() 48 list_free(list_t *list) in list_free() 108 list_setkeyfunc(char *arg, optdesc_t *opt, list_t *list, int type) in list_setkeyfunc() 146 list_getkeyval(list_t *list, void *ptr) in list_getkeyval() 152 compare_keys(list_t *list, ulong_t key1, ulong_t key2) in compare_keys() 163 list_insert(list_t *list, void *ptr) in list_insert() 188 list_preinsert(list_t *list, void *ptr) in list_preinsert() 209 list_sort(list_t *list) in list_sort()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ptrlist.c | 32 struct ptr_list *list = head; in ptr_list_size() local 46 const struct ptr_list *list = head; in ptr_list_empty() local 65 const struct ptr_list *list = head; in ptr_list_multiple() local 86 struct ptr_list *list = head; in first_ptr_list() local 105 struct ptr_list *list; in last_ptr_list() local 122 void *ptr_list_nth_entry(struct ptr_list *list, unsigned int idx) in ptr_list_nth_entry() 158 struct ptr_list *list = head; in linearize_ptr_list() local 252 struct ptr_list *list = *listp; in __add_ptr_list() local 311 const struct ptr_list *list = head; in lookup_ptr_list_entry() local 330 int delete_ptr_list_entry(struct ptr_list **list, void *entry, int count) in delete_ptr_list_entry() [all …]
|
H A D | smatch_tracker.c | 33 void add_tracker(struct tracker_list **list, int owner, const char *name, in add_tracker() 44 void add_tracker_expr(struct tracker_list **list, int owner, struct expression *expr) in add_tracker_expr() 63 void del_tracker(struct tracker_list **list, int owner, const char *name, in del_tracker() 78 int in_tracker_list(struct tracker_list *list, int owner, const char *name, in in_tracker_list() 91 void free_tracker_list(struct tracker_list **list) in free_tracker_list() 96 void free_trackers_and_list(struct tracker_list **list) in free_trackers_and_list()
|
H A D | lib.h | 231 static inline int symbol_list_size(struct symbol_list *list) in symbol_list_size() 236 static inline int statement_list_size(struct statement_list *list) in statement_list_size() 241 static inline int expression_list_size(struct expression_list *list) in expression_list_size() 246 static inline int instruction_list_size(struct instruction_list *list) in instruction_list_size() 251 static inline int pseudo_list_size(struct pseudo_list *list) in pseudo_list_size() 256 static inline int bb_list_size(struct basic_block_list *list) in bb_list_size() 310 static inline void add_symbol(struct symbol_list **list, struct symbol *sym) in add_symbol() 315 static inline void add_statement(struct statement_list **list, struct statement *stmt) in add_statement() 320 static inline void add_expression(struct expression_list **list, struct expression *expr) in add_expression() 325 static inline void add_ident(struct ident_list **list, struct ident *ident) in add_ident()
|
H A D | smatch_var_sym.c | 106 void add_var_sym(struct var_sym_list **list, const char *var, struct symbol *sym) in add_var_sym() 127 void add_var_sym_expr(struct var_sym_list **list, struct expression *expr) in add_var_sym_expr() 146 void del_var_sym(struct var_sym_list **list, const char *var, struct symbol *sym) in del_var_sym() 159 int in_var_sym_list(struct var_sym_list *list, const char *var, struct symbol *sym) in in_var_sym_list() 228 void free_var_sym_list(struct var_sym_list **list) in free_var_sym_list() 233 void free_var_syms_and_list(struct var_sym_list **list) in free_var_syms_and_list()
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 104 papiAttributeListFree(papi_attribute_t **list) in papiAttributeListFree() 235 papiAttributeListAddValue(papi_attribute_t ***list, int flgs, in papiAttributeListAddValue() 295 papiAttributeListAddString(papi_attribute_t ***list, int flags, in papiAttributeListAddString() 305 papiAttributeListAddInteger(papi_attribute_t ***list, int flags, in papiAttributeListAddInteger() 315 papiAttributeListAddBoolean(papi_attribute_t ***list, int flags, in papiAttributeListAddBoolean() 325 papiAttributeListAddRange(papi_attribute_t ***list, int flags, in papiAttributeListAddRange() 336 papiAttributeListAddResolution(papi_attribute_t ***list, int flags, in papiAttributeListAddResolution() 349 papiAttributeListAddDatetime(papi_attribute_t ***list, int flags, in papiAttributeListAddDatetime() 360 papiAttributeListAddCollection(papi_attribute_t ***list, int flags, in papiAttributeListAddCollection() 371 papiAttributeListAddMetadata(papi_attribute_t ***list, int flags, in papiAttributeListAddMetadata() [all …]
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | list.c | 40 init_list(elem_list *list, int hsize) in init_list() 53 examine_list(elem_list *list) in examine_list() 75 print_list(elem_list *list) in print_list() 93 print_type_list(elem_list *list, char file_type) in print_type_list() 138 find_elem(elem_list *list, elem *key, int flag) in find_elem() 161 find_elem_isa(elem_list *list, elem *key, int flag) in find_elem_isa() 179 find_elem_mach(elem_list *list, elem *key, int flag) in find_elem_mach() 243 add_elem(elem_list *list, elem *e) in add_elem()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | defect.c | 69 read_list(struct defect_list *list) in read_list() 206 checkdefsum(struct defect_list *list, int mode) in checkdefsum() 272 sort_defect(struct defect_entry *def, struct defect_list *list) in sort_defect() 320 write_deflist(struct defect_list *list) in write_deflist() 407 add_ldef(diskaddr_t blkno, struct defect_list *list) in add_ldef() 438 add_def(struct defect_entry *def, struct defect_list *list, int index) in add_def() 470 kill_deflist(struct defect_list *list) in kill_deflist()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | list_impl.h | 41 struct list { struct 42 size_t list_size; argument 43 size_t list_offset; argument 44 struct list_node list_head; argument
|
H A D | va_impl.h | 113 #define __va_start(list, name) ((list) = (__va_list)&name) argument 114 #define __va_arg(list, type) ((type *)(list))[0] argument 117 static void __va_end(__va_list list) { __va_end(list); } in __va_end()
|
H A D | varargs.h | 63 #define va_start(list, name) __va_start(list, name) argument 64 #define va_arg(list, type) __va_arg(list, type) argument 66 #define va_end(list) __va_end(list) argument
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | list.c | 49 list_append(void **list, void *item) in list_append() 87 list_append_unique(void **list, void *item, int (*cmp)(void *, void*)) in list_append_unique() argument 103 list_locate(void **list, int (*compair)(void *, void *), void *element) in list_locate() argument 127 void **list = NULL; in list_concatenate() local 167 list_iterate(void **list, int (*vfunc)(void *, va_list), ...) in list_iterate() argument
|
H A D | ns_bsd_addr.c | 42 char **list = NULL; in strsplit() local 106 char **list, *tmp, *printer = NULL, *extension = NULL; in string_to_bsd_addr() local 124 list_to_string(const char **list) in list_to_string() 148 internal_list_to_string(const ns_printer_t **list) in internal_list_to_string() 281 ns_kvp_t **list, *kvp; in posix_name() local 423 ns_bsd_addr_t **list = NULL; in ns_bsd_addr_get_list() local 502 ns_bsd_addr_t **list = NULL; in ns_bsd_addr_get_all() local
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_util.h | 60 struct list { struct 62 struct list *next; argument 64 typedef struct list list; typedef 141 #define STOREVAL(list, item) \ argument 146 #define FINDVAL(list, item, finder) \ argument
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | abienv.c | 53 build_env_list(Liblist **list, char const *env) in build_env_list() 79 build_env_list1(Liblist **list, Liblist **listend, const char *env) in build_env_list1() 108 env_to_intlist(Intlist **list, char const *env) in env_to_intlist() 138 appendlist(Liblist **list, Liblist **listend, const char *name, int fatal) in appendlist() 199 check_list(Liblist *list, char const *str) in check_list() 232 check_intlist(Intlist *list, char const *iface) in check_intlist()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dtlist.c | 41 Dtlist_t *list = (Dtlist_t*)dt->data; in dtlistprint() local 71 Dtlist_t *list = (Dtlist_t*)dt->data; local 92 Dtlist_t *list = (Dtlist_t*)dt->data; local 118 Dtlist_t *list = (Dtlist_t*)dt->data; local 174 Dtlist_t *list = (Dtlist_t*)dt->data; local 346 Dtlist_t *list = (Dtlist_t*)dt->data; local
|
/illumos-gate/usr/src/head/iso/ |
H A D | stdarg_iso.h | 72 #define va_start(list, name) __va_start(list, name) argument 73 #define va_arg(list, type) __va_arg(list, type) argument 74 #define va_end(list) __va_end(list) argument
|
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | convert.cc | 119 struct conv_list *list) in get_last_conv() 133 struct conv_list *&list) in free_conv_list() 162 struct conv_list *&list, // list to modify in append_conv_list() 212 struct conv_list *&list, in add_mux_convert() 251 struct conv_list *&list, in add_pcm_convert() 291 struct conv_list *&list, in add_channel_convert() 338 struct conv_list *&list, in add_compress() 407 struct conv_list *&list, in add_decompress() 467 struct conv_list *&list, in add_rate_convert() 550 struct conv_list *&list, in build_conversion_list() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | utility.c | 39 dlist_add_as_first(DL_NODE *list, void *data) in dlist_add_as_first() 65 dlist_add_as_last(DL_NODE *list, void *data) { in dlist_add_as_last() 92 dlist_find(DL_NODE *list, void *data) in dlist_find() 108 dlist_get_first(DL_NODE *list) { in dlist_get_first() 125 dlist_get_last(DL_NODE *list) { in dlist_get_last() 140 dlist_length(DL_NODE *list) { in dlist_length() 177 dlist_purge(DL_NODE *list) { in dlist_purge() 196 dlist_remove_node(DL_NODE *list, DL_NODE *node) { in dlist_remove_node()
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_list.c | 108 dis_namelist_add(dis_namelist_t *list, const char *name, int value) in dis_namelist_add() 295 dis_namelist_empty(dis_namelist_t *list) in dis_namelist_empty() 301 free_list(uu_list_t *list) in free_list() 325 dis_scnlist_destroy(dis_scnlist_t *list) in dis_scnlist_destroy() 347 dis_funclist_destroy(dis_funclist_t *list) in dis_funclist_destroy() 367 dis_namelist_destroy(dis_namelist_t *list) in dis_namelist_destroy() 376 dis_scnlist_iter(uu_list_t *list, void (*func)(dis_scn_t *, int, void *), in dis_scnlist_iter() 395 dis_funclist_iter(uu_list_t *list, void (*func)(dis_func_t *, int, void *), in dis_funclist_iter()
|
/illumos-gate/usr/src/head/ |
H A D | varargs.h | 59 #define va_start(list) __va_start(list, va_alist) argument 60 #define va_arg(list, type) __va_arg(list, type) argument 61 #define va_end(list) __va_end(list) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | repval.c | 190 destroy_rep_val_list(uu_list_t *list) in destroy_rep_val_list() 199 find_rep_val(uu_list_t *list, int64_t val) in find_rep_val() 212 add_rep_val(uu_list_t *list, int64_t val) in add_rep_val() 228 remove_rep_val(uu_list_t *list, int64_t val) in remove_rep_val() 240 empty_rep_val_list(uu_list_t *list) in empty_rep_val_list() 253 get_single_rep_val(uu_list_t *list) in get_single_rep_val() 262 set_single_rep_val(uu_list_t *list, int64_t val) in set_single_rep_val() 420 _retrieve_rep_vals(uu_list_t *list, const char *fmri, const char *prop_name) in _retrieve_rep_vals()
|