Searched refs:TestStructA (Results 1 – 1 of 1) sorted by relevance
/kernel/tests/net/test/ |
D | cstruct_test.py | 23 TestStructA = cstruct.Struct("TestStructA", "=BI", "byte1 int2") variable 46 a1 = TestStructA((1, 2)) 47 a2 = TestStructA((2, 3)) 48 a3 = TestStructA((1, 2)) 61 [TestStructA, TestStructB]) 64 [TestStructA, Nested]) 65 d = DoubleNested((TestStructA((1, 2)), 66 Nested((5, TestStructA((3, 4)), TestStructB((7, 8)), 9)), 69 expectedlen = (len(TestStructA) + 70 2 + len(TestStructA) + len(TestStructB) + 4 + [all …]
|