Lines Matching full:list
25 LM_NONE, /* not traversing a list of repeated options */
30 * Generating the next list link will consume the most
34 * Parsing a value into the list link will examine the
43 * Generating the next list link will consume the most
49 * Parsing a value into the list link will store the
58 * No more QemuOpt instance in the list.
79 /* The list currently being traversed with opts_start_list() /
80 * opts_next_list(). The list must have a struct element type in the
85 /* When parsing a list of repeating options as integers, values of the form
109 destroy_list(gpointer list) in destroy_list() argument
111 g_queue_free(list); in destroy_list()
118 GQueue *list; in opts_visitor_insert() local
120 list = g_hash_table_lookup(unprocessed_opts, opt->name); in opts_visitor_insert()
121 if (list == NULL) { in opts_visitor_insert()
122 list = g_queue_new(); in opts_visitor_insert()
128 g_hash_table_insert(unprocessed_opts, (gpointer)opt->name, list); in opts_visitor_insert()
132 g_queue_push_tail(list, (gpointer)opt); in opts_visitor_insert()
217 GQueue *list; in lookup_distinct() local
219 list = g_hash_table_lookup(ov->unprocessed_opts, name); in lookup_distinct()
220 if (!list) { in lookup_distinct()
223 return list; in lookup_distinct()
228 opts_start_list(Visitor *v, const char *name, GenericList **list, size_t size, in opts_start_list() argument
233 /* we can't traverse a list in a list */ in opts_start_list()
235 /* we don't support visits without a list */ in opts_start_list()
236 assert(list); in opts_start_list()
239 *list = NULL; in opts_start_list()
243 *list = g_malloc0(size); in opts_start_list()
296 * Unvisited list elements will be reported later when checking in opts_check_list()
321 GQueue *list; in lookup_scalar() local
325 list = lookup_distinct(ov, name, errp); in lookup_scalar()
326 return list ? g_queue_peek_tail(list) : NULL; in lookup_scalar()
329 error_setg(errp, "Fewer list elements than expected"); in lookup_scalar()
533 /* we only support a single mandatory scalar field in a list node */ in opts_optional()