Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-visitor-serialization.c216 UserDefTwo *udnp = g_malloc0(sizeof(*udnp)); in nested_struct_create() local
217 udnp->string0 = strdup("test_string0"); in nested_struct_create()
218 udnp->dict1 = g_malloc0(sizeof(*udnp->dict1)); in nested_struct_create()
219 udnp->dict1->string1 = strdup("test_string1"); in nested_struct_create()
220 udnp->dict1->dict2 = g_malloc0(sizeof(*udnp->dict1->dict2)); in nested_struct_create()
221 udnp->dict1->dict2->userdef = g_new0(UserDefOne, 1); in nested_struct_create()
222 udnp->dict1->dict2->userdef->integer = 42; in nested_struct_create()
223 udnp->dict1->dict2->userdef->string = strdup("test_string"); in nested_struct_create()
224 udnp->dict1->dict2->string = strdup("test_string2"); in nested_struct_create()
225 udnp->dict1->dict3 = g_malloc0(sizeof(*udnp->dict1->dict3)); in nested_struct_create()
[all …]