Home
last modified time | relevance | path

Searched refs:bytes_le (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/
Duuid.py138 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None, argument
170 if [hex, bytes, bytes_le, fields, int].count(None) != 4:
179 if bytes_le is not None:
180 if len(bytes_le) != 16:
182 bytes = (bytes_le[4-1::-1] + bytes_le[6-1:4-1:-1] +
183 bytes_le[8-1:6-1:-1] + bytes_le[8:])
289 def bytes_le(self): member in UUID
597 return UUID(bytes_le=uuid_bytes).node
/third_party/python/Lib/test/
Dtest_uuid.py37 for (string, curly, hex, bytes, bytes_le, fields, integer, urn,
169 self.uuid.UUID(bytes=bytes), self.uuid.UUID(bytes_le=bytes_le),
176 equal(u.bytes_le, bytes_le)
200 equal(type(u.bytes_le), builtins.bytes)
237 badvalue(lambda: self.uuid.UUID(bytes_le='abc'))
238 badvalue(lambda: self.uuid.UUID(bytes_le='\0'*15))
239 badvalue(lambda: self.uuid.UUID(bytes_le='\0'*17))
273 self.uuid.UUID(bytes_le=b)
/third_party/python/Doc/library/
Duuid.rst45 .. class:: UUID(hex=None, bytes=None, bytes_le=None, fields=None, int=None, version=None, *, is_saf…
49 little-endian order as the *bytes_le* argument, a tuple of six integers
61 UUID(bytes_le=b'\x78\x56\x34\x12\x34\x12\x78\x56' +
66 Exactly one of *hex*, *bytes*, *bytes_le*, *fields*, or *int* must be given.
69 given *hex*, *bytes*, *bytes_le*, *fields*, or *int*.
87 .. attribute:: UUID.bytes_le
/third_party/python/Misc/
DHISTORY17473 - uuid.UUID now has a bytes_le attribute. This returns the UUID in