Lines Matching defs:list

83  * Returns an empty list of unresolved names.
91 * If this is the first request to create a list, initialize the list
104 * Adds the given name to the unresolved list. 'value' is an arbitrary value
110 dis_namelist_add(dis_namelist_t *list, const char *name, int value)
120 (void) uu_list_insert_before(list, NULL, node);
133 * For each section, walk the list of unresolved names and resolve those that
135 * the list a second time to warn about functions we didn't find.
161 * Add the data to the resolved list
177 * Take a list of unresolved names and create a resolved list of sections. We
203 * Walk all elements of the unresolved list, and report any that we
254 * Take a list of unresolved names and create a resolved list of functions. We
277 * Walk unresolved list and report any missing functions.
294 * Returns true if the given list is empty.
297 dis_namelist_empty(dis_namelist_t *list)
299 return (uu_list_numnodes(list) == 0);
303 free_list(uu_list_t *list)
308 if ((walk = uu_list_walk_start(list, UU_WALK_ROBUST)) == NULL)
312 uu_list_remove(list, data);
318 uu_list_destroy(list);
322 * Destroy a list of sections. First, walk the list and free the associated
323 * section data. Pass the list onto to free_list() to clean up the rest of the
324 * list.
327 dis_scnlist_destroy(dis_scnlist_t *list)
332 if ((walk = uu_list_walk_start(list, UU_DEFAULT)) == NULL)
340 free_list(list);
344 * Destroy a list of functions. First, walk the list and free the associated
345 * function data. Pass the list onto to free_list() to clean up the rest of the
346 * list.
349 dis_funclist_destroy(dis_funclist_t *list)
354 if ((walk = uu_list_walk_start(list, UU_DEFAULT)) == NULL)
362 free_list(list);
369 dis_namelist_destroy(dis_namelist_t *list)
371 free_list(list);
375 * Iterate over a resolved list of sections.
378 dis_scnlist_iter(uu_list_t *list, void (*func)(dis_scn_t *, int, void *),
384 if ((walk = uu_list_walk_start(list, UU_DEFAULT)) == NULL)
394 * Iterate over a resolved list of functions.
397 dis_funclist_iter(uu_list_t *list, void (*func)(dis_func_t *, int, void *),
403 if ((walk = uu_list_walk_start(list, UU_DEFAULT)) == NULL)