Lines Matching refs:byteorder
11 ISBIGENDIAN = sys.byteorder == "big"
18 for byteorder in byteorders:
19 if (byteorder not in ('', '@') and code in ('n', 'N')):
21 yield code, byteorder
144 for code, byteorder in iter_integer_formats(('=', '<', '>', '!')):
145 format = byteorder+code
152 for byteorder in '', '@':
153 signed_size = struct.calcsize(byteorder + format_pair[0])
154 unsigned_size = struct.calcsize(byteorder + format_pair[1])
177 self.byteorder = format[:-1]
178 if not self.byteorder in byteorders:
180 self.byteorder)
212 if (self.byteorder == '<' or
213 self.byteorder in ('', '@', '=') and not ISBIGENDIAN):
317 for code, byteorder in iter_integer_formats():
318 format = byteorder+code
329 for byteorder in ('=', '<', '>', '!'):
330 format = byteorder+code
385 for code, byteorder in iter_integer_formats():
386 format = byteorder + code
720 if sys.byteorder == 'little':