Home
last modified time | relevance | path

Searched refs:udnp1 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-visitor-serialization.c233 static void nested_struct_compare(UserDefTwo *udnp1, UserDefTwo *udnp2) in nested_struct_compare() argument
235 g_assert(udnp1); in nested_struct_compare()
237 g_assert_cmpstr(udnp1->string0, ==, udnp2->string0); in nested_struct_compare()
238 g_assert_cmpstr(udnp1->dict1->string1, ==, udnp2->dict1->string1); in nested_struct_compare()
239 g_assert_cmpint(udnp1->dict1->dict2->userdef->integer, ==, in nested_struct_compare()
241 g_assert_cmpstr(udnp1->dict1->dict2->userdef->string, ==, in nested_struct_compare()
243 g_assert_cmpstr(udnp1->dict1->dict2->string, ==, in nested_struct_compare()
245 g_assert(!udnp1->dict1->dict3 == !udnp2->dict1->dict3); in nested_struct_compare()
246 g_assert_cmpint(udnp1->dict1->dict3->userdef->integer, ==, in nested_struct_compare()
248 g_assert_cmpstr(udnp1->dict1->dict3->userdef->string, ==, in nested_struct_compare()
[all …]