Home | History | Annotate | Download | only in generator

Lines Matching refs:structs

193     types, constants, structs, defines, typemap = parser.Parse()
196 self.assertIsNotNone(structs)
206 types, constants, structs, defines, typemap = parser.Parse()
210 self.assertGreaterEqual(len(structs), 1)
220 self.assertEqual(structs[0].name, 'struct_type')
221 self.assertEqual(structs[0].is_union, False)
222 self.assertEqual(len(structs[0].fields), 1)
223 self.assertEqual(structs[0].fields[0][0], 'field_type')
224 self.assertEqual(structs[0].fields[0][1], 'field_name[sizeof(depend_type)]')
225 self.assertEqual(len(structs[0].depends_on), 1)
226 self.assertEqual(structs[0].depends_on[0], 'depend_type')