Lines Matching full:list
43 { /* end of list */ }
73 { /* end of list */ }
83 { /* end of list */ }
96 { /* end of list */ }
110 QemuOptsList *list; in test_find_unknown_opts() local
114 list = qemu_find_opts_err("unknown", &err); in test_find_unknown_opts()
115 g_assert(list == NULL); in test_find_unknown_opts()
121 QemuOptsList *list; in test_qemu_find_opts() local
124 list = qemu_find_opts("opts_list_01"); in test_qemu_find_opts()
125 g_assert(list != NULL); in test_qemu_find_opts()
126 g_assert_cmpstr(list->name, ==, "opts_list_01"); in test_qemu_find_opts()
131 QemuOptsList *list; in test_qemu_opts_create() local
134 list = qemu_find_opts("opts_list_01"); in test_qemu_opts_create()
135 g_assert(list != NULL); in test_qemu_opts_create()
136 g_assert(QTAILQ_EMPTY(&list->head)); in test_qemu_opts_create()
137 g_assert_cmpstr(list->name, ==, "opts_list_01"); in test_qemu_opts_create()
140 opts = qemu_opts_find(list, NULL); in test_qemu_opts_create()
144 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opts_create()
146 g_assert(!QTAILQ_EMPTY(&list->head)); in test_qemu_opts_create()
149 opts = qemu_opts_find(list, NULL); in test_qemu_opts_create()
155 opts = qemu_opts_find(list, NULL); in test_qemu_opts_create()
161 QemuOptsList *list; in test_qemu_opt_get() local
165 list = qemu_find_opts("opts_list_01"); in test_qemu_opt_get()
166 g_assert(list != NULL); in test_qemu_opt_get()
167 g_assert(QTAILQ_EMPTY(&list->head)); in test_qemu_opt_get()
168 g_assert_cmpstr(list->name, ==, "opts_list_01"); in test_qemu_opt_get()
171 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get()
175 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opt_get()
177 g_assert(!QTAILQ_EMPTY(&list->head)); in test_qemu_opt_get()
198 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get()
204 QemuOptsList *list; in test_qemu_opt_get_bool() local
208 list = qemu_find_opts("opts_list_02"); in test_qemu_opt_get_bool()
209 g_assert(list != NULL); in test_qemu_opt_get_bool()
210 g_assert(QTAILQ_EMPTY(&list->head)); in test_qemu_opt_get_bool()
211 g_assert_cmpstr(list->name, ==, "opts_list_02"); in test_qemu_opt_get_bool()
214 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_bool()
218 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opt_get_bool()
220 g_assert(!QTAILQ_EMPTY(&list->head)); in test_qemu_opt_get_bool()
241 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_bool()
247 QemuOptsList *list; in test_qemu_opt_get_number() local
251 list = qemu_find_opts("opts_list_01"); in test_qemu_opt_get_number()
252 g_assert(list != NULL); in test_qemu_opt_get_number()
253 g_assert(QTAILQ_EMPTY(&list->head)); in test_qemu_opt_get_number()
254 g_assert_cmpstr(list->name, ==, "opts_list_01"); in test_qemu_opt_get_number()
257 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_number()
261 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opt_get_number()
263 g_assert(!QTAILQ_EMPTY(&list->head)); in test_qemu_opt_get_number()
284 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_number()
290 QemuOptsList *list; in test_qemu_opt_get_size() local
295 list = qemu_find_opts("opts_list_02"); in test_qemu_opt_get_size()
296 g_assert(list != NULL); in test_qemu_opt_get_size()
297 g_assert(QTAILQ_EMPTY(&list->head)); in test_qemu_opt_get_size()
298 g_assert_cmpstr(list->name, ==, "opts_list_02"); in test_qemu_opt_get_size()
301 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_size()
305 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opt_get_size()
307 g_assert(!QTAILQ_EMPTY(&list->head)); in test_qemu_opt_get_size()
341 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_size()
378 QemuOptsList *list; in test_qemu_opts_reset() local
382 list = qemu_find_opts("opts_list_01"); in test_qemu_opts_reset()
383 g_assert(list != NULL); in test_qemu_opts_reset()
384 g_assert(QTAILQ_EMPTY(&list->head)); in test_qemu_opts_reset()
385 g_assert_cmpstr(list->name, ==, "opts_list_01"); in test_qemu_opts_reset()
388 opts = qemu_opts_find(list, NULL); in test_qemu_opts_reset()
392 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opts_reset()
394 g_assert(!QTAILQ_EMPTY(&list->head)); in test_qemu_opts_reset()
406 qemu_opts_reset(list); in test_qemu_opts_reset()
409 opts = qemu_opts_find(list, NULL); in test_qemu_opts_reset()