Module Import alias alias alias alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad Call NameLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Print AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Num Expr Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse Assign NameStore NameLoad ClassDef bases NameLoad body Pass decorator_list Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad Num TupleLoad Str NameLoad Num TupleLoad Str NameLoad Num TupleLoad Str BinOpMult BinOpMult BinOpMult NameLoad Num Num Num Assign AttributeStore NameLoad attr NameLoad For NameStore TupleLoad NameLoad NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad ClassDef bases NameLoad body Pass decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str ListLoad TupleLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore TupleLoad TupleLoad NameLoad Str TupleLoad NameLoad Str body For NameStore TupleLoad NameLoad NameLoad NameLoad body ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad Call NameLoad NameLoad NameLoad Index Num Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Assign NameStore Str orelse Assign NameStore NameLoad Assign NameStore Str ClassDef bases NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore Call NameLoad Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Assign NameStore Str orelse Assign NameStore NameLoad Assign NameStore Str ClassDef bases NameLoad body Assign NameStore Num Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str orelse Assign NameStore NameLoad Assign NameStore Str ClassDef bases NameLoad body Assign NameStore Num Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A sys unittest struct math ctypes binascii hexlify ctypes * bin N/A N/A s N/A N/A N/A N/A N/A N/A hexlify N/A memoryview s upper N/A Test N/A N/A unittest TestCase N/A test_X N/A N/A self N/A N/A N/A N/A sys stderr N/A sys byteorder N/A i N/A range 32 N/A N/A bits N/A BITS N/A N/A setattr bits N/A i%s i 1 N/A N/A dump bits N/A N/A N/A unittest skip test disabled test_endian_short N/A N/A self N/A N/A N/A N/A N/A sys byteorder little N/A N/A N/A N/A self assertIs N/A c_short __ctype_le__ c_short N/A N/A N/A self assertIs N/A N/A c_short __ctype_be__ __ctype_le__ c_short N/A N/A N/A N/A self assertIs N/A c_short __ctype_be__ c_short N/A N/A N/A self assertIs N/A N/A c_short __ctype_le__ __ctype_be__ c_short N/A s N/A N/A c_short __ctype_be__ 4660 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack >h 4660 1234 N/A N/A N/A self assertEqual N/A bin s 1234 N/A N/A N/A self assertEqual N/A s value 4660 N/A s N/A N/A c_short __ctype_le__ 4660 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack <h 4660 3412 N/A N/A N/A self assertEqual N/A bin s 3412 N/A N/A N/A self assertEqual N/A s value 4660 N/A s N/A N/A c_ushort __ctype_be__ 4660 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack >h 4660 1234 N/A N/A N/A self assertEqual N/A bin s 1234 N/A N/A N/A self assertEqual N/A s value 4660 N/A s N/A N/A c_ushort __ctype_le__ 4660 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack <h 4660 3412 N/A N/A N/A self assertEqual N/A bin s 3412 N/A N/A N/A self assertEqual N/A s value 4660 N/A test_endian_int N/A N/A self N/A N/A N/A N/A N/A sys byteorder little N/A N/A N/A N/A self assertIs N/A c_int __ctype_le__ c_int N/A N/A N/A self assertIs N/A N/A c_int __ctype_be__ __ctype_le__ c_int N/A N/A N/A N/A self assertIs N/A c_int __ctype_be__ c_int N/A N/A N/A self assertIs N/A N/A c_int __ctype_le__ __ctype_be__ c_int N/A s N/A N/A c_int __ctype_be__ 305419896 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack >i 305419896 12345678 N/A N/A N/A self assertEqual N/A bin s 12345678 N/A N/A N/A self assertEqual N/A s value 305419896 N/A s N/A N/A c_int __ctype_le__ 305419896 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack <i 305419896 78563412 N/A N/A N/A self assertEqual N/A bin s 78563412 N/A N/A N/A self assertEqual N/A s value 305419896 N/A s N/A N/A c_uint __ctype_be__ 305419896 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack >I 305419896 12345678 N/A N/A N/A self assertEqual N/A bin s 12345678 N/A N/A N/A self assertEqual N/A s value 305419896 N/A s N/A N/A c_uint __ctype_le__ 305419896 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack <I 305419896 78563412 N/A N/A N/A self assertEqual N/A bin s 78563412 N/A N/A N/A self assertEqual N/A s value 305419896 N/A test_endian_longlong N/A N/A self N/A N/A N/A N/A N/A sys byteorder little N/A N/A N/A N/A self assertIs N/A c_longlong __ctype_le__ c_longlong N/A N/A N/A self assertIs N/A N/A c_longlong __ctype_be__ __ctype_le__ c_longlong N/A N/A N/A N/A self assertIs N/A c_longlong __ctype_be__ c_longlong N/A N/A N/A self assertIs N/A N/A c_longlong __ctype_le__ __ctype_be__ c_longlong N/A s N/A N/A c_longlong __ctype_be__ 1311768467294899695 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack >q 1311768467294899695 1234567890ABCDEF N/A N/A N/A self assertEqual N/A bin s 1234567890ABCDEF N/A N/A N/A self assertEqual N/A s value 1311768467294899695 N/A s N/A N/A c_longlong __ctype_le__ 1311768467294899695 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack <q 1311768467294899695 EFCDAB9078563412 N/A N/A N/A self assertEqual N/A bin s EFCDAB9078563412 N/A N/A N/A self assertEqual N/A s value 1311768467294899695 N/A s N/A N/A c_ulonglong __ctype_be__ 1311768467294899695 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack >Q 1311768467294899695 1234567890ABCDEF N/A N/A N/A self assertEqual N/A bin s 1234567890ABCDEF N/A N/A N/A self assertEqual N/A s value 1311768467294899695 N/A s N/A N/A c_ulonglong __ctype_le__ 1311768467294899695 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack <Q 1311768467294899695 EFCDAB9078563412 N/A N/A N/A self assertEqual N/A bin s EFCDAB9078563412 N/A N/A N/A self assertEqual N/A s value 1311768467294899695 N/A test_endian_float N/A N/A self N/A N/A N/A N/A N/A sys byteorder little N/A N/A N/A N/A self assertIs N/A c_float __ctype_le__ c_float N/A N/A N/A self assertIs N/A N/A c_float __ctype_be__ __ctype_le__ c_float N/A N/A N/A N/A self assertIs N/A c_float __ctype_be__ c_float N/A N/A N/A self assertIs N/A N/A c_float __ctype_le__ __ctype_be__ c_float N/A s N/A c_float N/A math pi N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack f N/A math pi N/A bin s N/A N/A N/A self assertAlmostEqual N/A s value N/A math pi 6 N/A s N/A N/A c_float __ctype_le__ N/A math pi N/A N/A N/A self assertAlmostEqual N/A s value N/A math pi 6 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack <f N/A math pi N/A bin s N/A s N/A N/A c_float __ctype_be__ N/A math pi N/A N/A N/A self assertAlmostEqual N/A s value N/A math pi 6 N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack >f N/A math pi N/A bin s N/A test_endian_double N/A N/A self N/A N/A N/A N/A N/A sys byteorder little N/A N/A N/A N/A self assertIs N/A c_double __ctype_le__ c_double N/A N/A N/A self assertIs N/A N/A c_double __ctype_be__ __ctype_le__ c_double N/A N/A N/A N/A self assertIs N/A c_double __ctype_be__ c_double N/A N/A N/A self assertIs N/A N/A c_double __ctype_le__ __ctype_be__ c_double N/A s N/A c_double N/A math pi N/A N/A N/A self assertEqual N/A s value N/A math pi N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack d N/A math pi N/A bin s N/A s N/A N/A c_double __ctype_le__ N/A math pi N/A N/A N/A self assertEqual N/A s value N/A math pi N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack <d N/A math pi N/A bin s N/A s N/A N/A c_double __ctype_be__ N/A math pi N/A N/A N/A self assertEqual N/A s value N/A math pi N/A N/A N/A self assertEqual N/A bin N/A N/A struct pack >d N/A math pi N/A bin s N/A test_endian_other N/A N/A self N/A N/A N/A N/A N/A self assertIs N/A c_byte __ctype_le__ c_byte N/A N/A N/A self assertIs N/A c_byte __ctype_be__ c_byte N/A N/A N/A self assertIs N/A c_ubyte __ctype_le__ c_ubyte N/A N/A N/A self assertIs N/A c_ubyte __ctype_be__ c_ubyte N/A N/A N/A self assertIs N/A c_char __ctype_le__ c_char N/A N/A N/A self assertIs N/A c_char __ctype_be__ c_char N/A test_struct_fields_1 N/A N/A self N/A N/A N/A N/A N/A sys byteorder little N/A N/A base BigEndianStructure N/A N/A base LittleEndianStructure T N/A base N/A N/A N/A N/A _fields_ N/A N/A a c_ubyte N/A b c_byte N/A c c_short N/A d c_ushort N/A e c_int N/A f c_uint N/A g c_long N/A h c_ulong N/A i c_longlong N/A k c_ulonglong N/A l c_float N/A m c_double N/A n c_char N/A b1 c_byte 3 N/A b2 c_byte 3 N/A b3 c_byte 2 N/A a N/A N/A N/A c_int 3 3 3 N/A N/A T _fields_ _fields_ N/A typ N/A c_wchar c_void_p N/A POINTER c_int N/A N/A N/A N/A _fields_ append N/A x typ T N/A base N/A N/A N/A N/A N/A N/A self assertRaises TypeError setattr T _fields_ N/A N/A x typ N/A test_struct_struct N/A N/A self N/A N/A N/A N/A nested data N/A N/A BigEndianStructure N/A LittleEndianStructure N/A N/A parent N/A BigEndianStructure LittleEndianStructure Structure N/A NestedStructure N/A nested N/A N/A _fields_ N/A N/A x c_uint32 N/A y c_uint32 N/A TestStructure N/A parent N/A N/A _fields_ N/A N/A point NestedStructure N/A N/A N/A N/A self assertEqual N/A len data N/A sizeof TestStructure N/A ptr N/A POINTER TestStructure N/A s N/A N/A cast data ptr N/A 0 N/A N/A N/A ctypes _pointer_type_cache N/A TestStructure N/A N/A N/A self assertEqual N/A N/A s point x 1 N/A N/A N/A self assertEqual N/A N/A s point y 2 N/A test_struct_fields_2 N/A N/A self N/A N/A N/A N/A N/A sys byteorder little N/A N/A base BigEndianStructure N/A fmt >bxhid N/A N/A base LittleEndianStructure N/A fmt <bxhid S N/A base N/A N/A _fields_ N/A N/A b c_byte N/A h c_short N/A i c_int N/A d c_double N/A N/A s1 N/A S 18 4660 305419896 3.14 N/A s2 N/A N/A struct pack fmt 18 4660 305419896 3.14 N/A N/A N/A self assertEqual N/A bin s1 N/A bin s2 N/A test_unaligned_nonnative_struct_fields N/A N/A self N/A N/A N/A N/A N/A sys byteorder little N/A N/A base BigEndianStructure N/A fmt >b h xi xd N/A N/A base LittleEndianStructure N/A fmt <b h xi xd S N/A base N/A N/A _pack_ 1 N/A _fields_ N/A N/A b c_byte N/A h c_short N/A _1 c_byte N/A i c_int N/A _2 c_byte N/A d c_double N/A N/A s1 N/A S N/A N/A s1 b 18 N/A N/A s1 h 4660 N/A N/A s1 i 305419896 N/A N/A s1 d 3.14 N/A s2 N/A N/A struct pack fmt 18 4660 305419896 3.14 N/A N/A N/A self assertEqual N/A bin s1 N/A bin s2 N/A test_unaligned_native_struct_fields N/A N/A self N/A N/A N/A N/A N/A sys byteorder little N/A N/A fmt <b h xi xd N/A N/A base LittleEndianStructure N/A fmt >b h xi xd S N/A Structure N/A N/A _pack_ 1 N/A _fields_ N/A N/A b c_byte N/A h c_short N/A _1 c_byte N/A i c_int N/A _2 c_byte N/A d c_double N/A N/A s1 N/A S N/A N/A s1 b 18 N/A N/A s1 h 4660 N/A N/A s1 i 305419896 N/A N/A s1 d 3.14 N/A s2 N/A N/A struct pack fmt 18 4660 305419896 3.14 N/A N/A N/A self assertEqual N/A bin s1 N/A bin s2 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main