Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-vmstate.c334 typedef struct TestStruct { struct
338 } TestStruct; argument
345 VMSTATE_UINT32(a, TestStruct),
349 VMSTATE_UINT32(c, TestStruct),
350 VMSTATE_UINT64(d, TestStruct),
394 TestStruct obj; in test_load_v2()
407 TestStruct *t = (TestStruct *)opaque; in test_skip()
416 VMSTATE_UINT32(a, TestStruct),
417 VMSTATE_UINT32(b, TestStruct),
1393 TestStruct *parent;
[all …]
H A Dtest-visitor-serialization.c185 static TestStruct *struct_create(void) in struct_create()
187 TestStruct *ts = g_malloc0(sizeof(*ts)); in struct_create()
194 static void struct_compare(TestStruct *ts1, TestStruct *ts2) in struct_compare()
203 static void struct_cleanup(TestStruct *ts) in struct_cleanup()
211 visit_type_TestStruct(v, NULL, (TestStruct **)native, errp); in visit_struct()
575 TestStruct *ts = struct_create(); in test_struct()
576 TestStruct *ts_copy = NULL; in test_struct()
H A Dtest-qobject-output-visitor.c146 TestStruct test_struct = { .integer = 42, in test_visitor_out_struct()
149 TestStruct *p = &test_struct; in test_visitor_out_struct()
224 TestStruct *value; in test_visitor_out_list()
H A Dtest-qobject-input-visitor.c402 TestStruct *p = NULL; in test_visitor_in_struct()
923 TestStruct *p = NULL; in test_visitor_in_errors()
956 TestStruct *p = NULL; in test_visitor_in_wrong_type()
1000 TestStruct *p = NULL; in test_visitor_in_fail_struct()
/openbmc/qemu/tests/qapi-schema/
H A Ddoc-interleaved-section.json4 # @TestStruct:
20 { 'struct': 'TestStruct',
H A Dqapi-schema-test.json18 { 'struct': 'TestStruct',
75 'unused3':['TestStruct'] } }
157 { 'alternate': 'AltStrObj', 'data': { 's': 'str', 'o': 'TestStruct' } }
266 'data': { 'foo': 'TestStruct',
276 'bar': { 'type': 'TestStruct', 'if': 'TEST_IF_ALT_MEMBER'} },
H A Dqapi-schema-test.out13 object TestStruct
66 array TestStructList TestStruct
160 case o: TestStruct
293 case foo: TestStruct
306 case bar: TestStruct