Lines Matching defs:fields
63 six integer fields (with 32-bit, 16-bit, 16-bit, 8-bit, 8-bit, and
64 48-bit values respectively) as an argument named 'fields', or a single
71 fields a tuple of the six integer fields of the UUID,
98 def __init__(self, hex=None, bytes=None, fields=None, int=None,
104 the 'fields' argument, or a single 128-bit integer as the 'int'
113 UUID(fields=(0x12345678, 0x1234, 0x5678, 0x12, 0x34, 0x567812345678))
116 Exactly one of 'hex', 'bytes', 'fields', or 'int' must be given.
119 overriding bits in the given 'hex', 'bytes', 'fields', or 'int'.
122 if [hex, bytes, fields, int].count(None) != 3:
123 raise TypeError('need just one of hex, bytes, fields, or int')
134 if fields is not None:
135 if len(fields) != 6:
136 raise ValueError('fields is not a 6-tuple')
138 clock_seq_hi_variant, clock_seq_low, node) = fields
202 fields = property(get_fields)
441 return UUID(fields=(time_low, time_mid, time_hi_version,