Home | History | Annotate | Download | only in test

Lines Matching refs:Struct

23 TestStructA = cstruct.Struct("TestStructA", "=BI", "byte1 int2")
24 TestStructB = cstruct.Struct("TestStructB", "=BI", "byte1 int2")
59 Nested = cstruct.Struct("Nested", "!HSSi",
62 DoubleNested = cstruct.Struct("DoubleNested", "SSB",
98 TestStruct = cstruct.Struct("TestStruct", "B16si16AH",
114 TestStruct = cstruct.Struct("TestStruct", "B16si16AH",
125 TestStruct = cstruct.Struct("TestStruct", "=B16sIH",
141 TestStruct = cstruct.Struct("TestStruct", "B16si16AH",
148 # The integer is automatically padded by the struct module
155 # TODO: Add support for nested struct offset
156 Nested = cstruct.Struct("Nested", "!HSSi", "word1 nest2 nest3 int4",
158 DoubleNested = cstruct.Struct("DoubleNested", "SSB", "nest1 nest2 byte3",
168 cstruct.Struct("TestA", "=BI", "byte1 int2")
169 cstruct.Struct("TestA", "=BxxxxxIx", "byte1 int2")
171 cstruct.Struct("TestA", "=B", "byte1 int2")
173 cstruct.Struct("TestA", "=BI", "byte1")
175 Nested = cstruct.Struct("Nested", "!II", "int1 int2")
176 cstruct.Struct("TestB", "=BSI", "byte1 nest2 int3", [Nested])
177 cstruct.Struct("TestB", "=BxSxIx", "byte1 nest2 int3", [Nested])
179 cstruct.Struct("TestB", "=BSI", "byte1 int3", [Nested])
181 cstruct.Struct("TestB", "=BSI", "byte1 nest2", [Nested])
183 cstruct.Struct("TestC", "=BSSI", "byte1 nest2 nest3 int4", [Nested, Nested])
185 cstruct.Struct("TestC", "=BSSI", "byte1 nest2 int4", [Nested, Nested])