Lines Matching refs:dst
59 UserDefOne *dst; in test_forward_any() local
61 visit_type_UserDefOne(v, NULL, &dst, &err); in test_forward_any()
65 g_assert_cmpint(dst->integer, ==, 42); in test_forward_any()
66 g_assert_cmpstr(dst->string, ==, "Hello"); in test_forward_any()
67 g_assert_cmpint(dst->has_enum1, ==, true); in test_forward_any()
68 g_assert_cmpint(dst->enum1, ==, ENUM_ONE_VALUE2); in test_forward_any()
69 qapi_free_UserDefOne(dst); in test_forward_any()
131 char *dst = visit_with_forward("src=Hello", in test_forward_string() local
134 g_assert_cmpstr(dst, ==, "Hello"); in test_forward_string()
135 g_free(dst); in test_forward_string()
140 UserDefOne *dst = visit_with_forward("src.integer=42,src.string=Hello", in test_forward_struct() local
143 g_assert_cmpint(dst->integer, ==, 42); in test_forward_struct()
144 g_assert_cmpstr(dst->string, ==, "Hello"); in test_forward_struct()
145 g_assert_cmpint(dst->has_enum1, ==, false); in test_forward_struct()
146 qapi_free_UserDefOne(dst); in test_forward_struct()
169 uint8List *dst = visit_with_forward("src.0=1,src.1=2,src.2=3,src.3=4", in test_forward_list() local
174 for (tmp = dst, i = 1; i <= 4; i++) { in test_forward_list()
180 qapi_free_uint8List(dst); in test_forward_list()