Lines Matching defs:fields
91 of six integer fields (with 32-bit, 16-bit, 16-bit, 8-bit, 8-bit, and
92 48-bit values respectively) as an argument named 'fields', or a string
93 of 16 bytes (with all the integer fields in big-endian order) as an
95 fields in little-endian order) as an argument named 'bytes_le', or a
101 integer fields in big-endian byte order)
106 fields a tuple of the six integer fields of the UUID,
139 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None,
147 the 'fields' argument, or a single 128-bit integer as the 'int'
158 UUID(fields=(0x12345678, 0x1234, 0x5678, 0x12, 0x34, 0x567812345678))
161 Exactly one of 'hex', 'bytes', 'bytes_le', 'fields', or 'int' must
164 overriding the given 'hex', 'bytes', 'bytes_le', 'fields', or 'int'.
171 if [hex, bytes, bytes_le, fields, int].count(None) != 4:
172 raise TypeError('one of the hex, bytes, bytes_le, fields, '
190 if fields is not None:
191 if len(fields) != 6:
192 raise ValueError('fields is not a 6-tuple')
194 clock_seq_hi_variant, clock_seq_low, node) = fields
296 def fields(self):
709 return UUID(fields=(time_low, time_mid, time_hi_version,