Lines Matching refs:uuid_test_data
29 } uuid_test_data[] = { variable
129 for (i = 0; i < ARRAY_SIZE(uuid_test_data); i++) { in test_uuid_parse()
131 bool is_valid = uuid_test_data[i].uuidstr_is_valid; in test_uuid_parse()
133 r = qemu_uuid_parse(uuid_test_data[i].uuidstr, &uuid); in test_uuid_parse()
137 g_assert_cmpmem(&uuid_test_data[i].uuid, sizeof(uuid), in test_uuid_parse()
147 for (i = 0; i < ARRAY_SIZE(uuid_test_data); i++) { in test_uuid_unparse()
150 if (!uuid_test_data[i].check_unparse) { in test_uuid_unparse()
153 qemu_uuid_unparse(&uuid_test_data[i].uuid, out); in test_uuid_unparse()
154 g_assert_cmpstr(uuid_test_data[i].uuidstr, ==, out); in test_uuid_unparse()
162 for (i = 0; i < ARRAY_SIZE(uuid_test_data); i++) { in test_uuid_unparse_strdup()
165 if (!uuid_test_data[i].check_unparse) { in test_uuid_unparse_strdup()
168 out = qemu_uuid_unparse_strdup(&uuid_test_data[i].uuid); in test_uuid_unparse_strdup()
169 g_assert_cmpstr(uuid_test_data[i].uuidstr, ==, out); in test_uuid_unparse_strdup()