Searched refs:TypeCodeForStruct (Results 1 – 2 of 2) sorted by relevance
33 def TypeCodeForStruct(bits): function71 s = struct.unpack_from(TypeCodeForStruct(bits) * (size * 8 / bits), f.read(size))101 a = struct.pack(TypeCodeForStruct(bits) * len(s), *s)155 pcs = struct.unpack_from(TypeCodeForStruct(bits) * (size * 8 / bits), f.read(size))174 pc_buffer = struct.pack(TypeCodeForStruct(bits) * len(pc_list), *sorted_pc_list)
35 def TypeCodeForStruct(bits): function74 s = struct.unpack_from(TypeCodeForStruct(bits) * (w), f.read(size))106 a = struct.pack(TypeCodeForStruct(bits) * len(s), *s)159 pcs = struct.unpack_from(TypeCodeForStruct(bits) * (size * 8 // bits), f.read(size))178 pc_buffer = struct.pack(TypeCodeForStruct(bits) * len(pc_list), *sorted_pc_list)