Searched refs:TestStruct (Results 1 – 7 of 7) sorted by relevance
| /openbmc/qemu/tests/unit/ |
| H A D | test-vmstate.c | 333 typedef struct TestStruct { struct 337 } TestStruct; argument 344 VMSTATE_UINT32(a, TestStruct), 345 VMSTATE_UINT32_V(b, TestStruct, 2), /* Versioned field in the middle, so 348 VMSTATE_UINT32(c, TestStruct), 349 VMSTATE_UINT64(d, TestStruct), 350 VMSTATE_UINT32_V(e, TestStruct, 2), 351 VMSTATE_UINT64_V(f, TestStruct, 2), 367 TestStruct obj = { .b = 200, .e = 500, .f = 600 }; in test_load_v1() 393 TestStruct obj; in test_load_v2() [all …]
|
| H A D | test-visitor-serialization.c | 185 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 D | test-qobject-output-visitor.c | 146 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 D | test-qobject-input-visitor.c | 402 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 D | doc-interleaved-section.json | 4 # @TestStruct: 20 { 'struct': 'TestStruct',
|
| H A D | qapi-schema-test.json | 18 { '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 D | qapi-schema-test.out | 12 object TestStruct 65 array TestStructList TestStruct 159 case o: TestStruct 292 case foo: TestStruct 305 case bar: TestStruct
|