Lines Matching full:null

111     Error *err = NULL;  in test_find_unknown_opts()
115 g_assert(list == NULL); in test_find_unknown_opts()
125 g_assert(list != NULL); in test_qemu_find_opts()
135 g_assert(list != NULL); in test_qemu_opts_create()
140 opts = qemu_opts_find(list, NULL); in test_qemu_opts_create()
141 g_assert(opts == NULL); in test_qemu_opts_create()
144 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opts_create()
145 g_assert(opts != NULL); in test_qemu_opts_create()
149 opts = qemu_opts_find(list, NULL); in test_qemu_opts_create()
150 g_assert(opts != NULL); in test_qemu_opts_create()
155 opts = qemu_opts_find(list, NULL); in test_qemu_opts_create()
156 g_assert(opts == NULL); in test_qemu_opts_create()
163 const char *opt = NULL; in test_qemu_opt_get()
166 g_assert(list != NULL); in test_qemu_opt_get()
171 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get()
172 g_assert(opts == NULL); in test_qemu_opt_get()
175 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opt_get()
176 g_assert(opts != NULL); in test_qemu_opt_get()
181 g_assert(opt == NULL); in test_qemu_opt_get()
198 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get()
199 g_assert(opts == NULL); in test_qemu_opt_get()
209 g_assert(list != NULL); in test_qemu_opt_get_bool()
214 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_bool()
215 g_assert(opts == NULL); in test_qemu_opt_get_bool()
218 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opt_get_bool()
219 g_assert(opts != NULL); in test_qemu_opt_get_bool()
241 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_bool()
242 g_assert(opts == NULL); in test_qemu_opt_get_bool()
252 g_assert(list != NULL); in test_qemu_opt_get_number()
257 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_number()
258 g_assert(opts == NULL); in test_qemu_opt_get_number()
261 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opt_get_number()
262 g_assert(opts != NULL); in test_qemu_opt_get_number()
284 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_number()
285 g_assert(opts == NULL); in test_qemu_opt_get_number()
296 g_assert(list != NULL); in test_qemu_opt_get_size()
301 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_size()
302 g_assert(opts == NULL); in test_qemu_opt_get_size()
305 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opt_get_size()
306 g_assert(opts != NULL); in test_qemu_opt_get_size()
314 g_assert(dict != NULL); in test_qemu_opt_get_size()
319 g_assert(error_abort == NULL); in test_qemu_opt_get_size()
329 g_assert(error_abort == NULL); in test_qemu_opt_get_size()
341 opts = qemu_opts_find(list, NULL); in test_qemu_opt_get_size()
342 g_assert(opts == NULL); in test_qemu_opt_get_size()
352 opts = qemu_opts_parse(&opts_list_03, "key=value", false, NULL); in test_qemu_opt_unset()
353 g_assert(opts != NULL); in test_qemu_opt_unset()
383 g_assert(list != NULL); in test_qemu_opts_reset()
388 opts = qemu_opts_find(list, NULL); in test_qemu_opts_reset()
389 g_assert(opts == NULL); in test_qemu_opts_reset()
392 opts = qemu_opts_create(list, NULL, 0, &error_abort); in test_qemu_opts_reset()
393 g_assert(opts != NULL); in test_qemu_opts_reset()
409 opts = qemu_opts_find(list, NULL); in test_qemu_opts_reset()
410 g_assert(opts == NULL); in test_qemu_opts_reset()
424 qemu_opt_foreach(opts, opts_count_iter, &n, NULL); in opts_count()
430 Error *err = NULL; in test_opts_parse()
532 Error *err = NULL; in test_opts_parse_bool()
550 Error *err = NULL; in test_opts_parse_number()
615 Error *err = NULL; in test_opts_parse_size()
767 g_assert_cmpstr(desc[i].help, ==, NULL); in append_verify_list_01()
768 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_01()
774 g_assert_cmpstr(desc[i].help, ==, NULL); in append_verify_list_01()
775 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_01()
782 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_01()
787 g_assert_cmpstr(desc[i].help, ==, NULL); in append_verify_list_01()
788 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_01()
791 g_assert_cmpstr(desc[i].name, ==, NULL); in append_verify_list_01()
800 g_assert_cmpstr(desc[i].help, ==, NULL); in append_verify_list_02()
801 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_02()
806 g_assert_cmpstr(desc[i].help, ==, NULL); in append_verify_list_02()
807 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_02()
812 g_assert_cmpstr(desc[i].help, ==, NULL); in append_verify_list_02()
813 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_02()
818 g_assert_cmpstr(desc[i].help, ==, NULL); in append_verify_list_02()
819 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_02()
824 g_assert_cmpstr(desc[i].help, ==, NULL); in append_verify_list_02()
825 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_02()
830 g_assert_cmpstr(desc[i].help, ==, NULL); in append_verify_list_02()
831 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_02()
836 g_assert_cmpstr(desc[i].help, ==, NULL); in append_verify_list_02()
837 g_assert_cmpstr(desc[i].def_value_str, ==, NULL); in append_verify_list_02()
844 merged = qemu_opts_append(NULL, &opts_list_01); in test_opts_append_to_null()
847 g_assert_cmpstr(merged->name, ==, NULL); in test_opts_append_to_null()
848 g_assert_cmpstr(merged->implied_opt_name, ==, NULL); in test_opts_append_to_null()
860 first = qemu_opts_append(NULL, &opts_list_02); in test_opts_append()
865 g_assert_cmpstr(merged->name, ==, NULL); in test_opts_append()
866 g_assert_cmpstr(merged->implied_opt_name, ==, NULL); in test_opts_append()
882 g_assert(opts != NULL); in test_opts_to_qdict_basic()
884 dict = qemu_opts_to_qdict(opts, NULL); in test_opts_to_qdict_basic()
885 g_assert(dict != NULL); in test_opts_to_qdict_basic()
903 first = qemu_opts_append(NULL, &opts_list_02); in test_opts_to_qdict_filtered()
909 g_assert(opts != NULL); in test_opts_to_qdict_filtered()
912 dict = qemu_opts_to_qdict_filtered(opts, NULL, &opts_list_01, false); in test_opts_to_qdict_filtered()
913 g_assert(dict != NULL); in test_opts_to_qdict_filtered()
922 dict = qemu_opts_to_qdict_filtered(opts, NULL, &opts_list_02, false); in test_opts_to_qdict_filtered()
923 g_assert(dict != NULL); in test_opts_to_qdict_filtered()
933 dict = qemu_opts_to_qdict_filtered(opts, NULL, &opts_list_01, true); in test_opts_to_qdict_filtered()
934 g_assert(dict != NULL); in test_opts_to_qdict_filtered()
943 dict = qemu_opts_to_qdict_filtered(opts, NULL, &opts_list_02, true); in test_opts_to_qdict_filtered()
944 g_assert(dict != NULL); in test_opts_to_qdict_filtered()
966 g_assert(opts != NULL); in test_opts_to_qdict_duplicates()
978 g_assert(opt == NULL); in test_opts_to_qdict_duplicates()
981 dict = qemu_opts_to_qdict(opts, NULL); in test_opts_to_qdict_duplicates()
982 g_assert(dict != NULL); in test_opts_to_qdict_duplicates()
987 dict = qemu_opts_to_qdict_filtered(opts, NULL, NULL, true); in test_opts_to_qdict_duplicates()
988 g_assert(dict != NULL); in test_opts_to_qdict_duplicates()
1000 g_test_init(&argc, &argv, NULL); in main()