Searched refs:bytes_le (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/ |
D | uuid.py | 103 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None, argument 130 if [hex, bytes, bytes_le, fields, int].count(None) != 4: 138 if bytes_le is not None: 139 if len(bytes_le) != 16: 141 bytes = (bytes_le[3] + bytes_le[2] + bytes_le[1] + bytes_le[0] + 142 bytes_le[5] + bytes_le[4] + bytes_le[7] + bytes_le[6] + 143 bytes_le[8:]) 217 bytes_le = property(get_bytes_le) variable in UUID
|
/external/python/cpython2/Lib/test/ |
D | test_uuid.py | 18 for (string, curly, hex, bytes, bytes_le, fields, integer, urn, 150 uuid.UUID(bytes=bytes), uuid.UUID(bytes_le=bytes_le), 157 equal(u.bytes_le, bytes_le) 208 badvalue(lambda: uuid.UUID(bytes_le='abc')) 209 badvalue(lambda: uuid.UUID(bytes_le='\0'*15)) 210 badvalue(lambda: uuid.UUID(bytes_le='\0'*17)) 244 uuid.UUID(bytes_le=b)
|
/external/python/cpython3/Lib/ |
D | uuid.py | 121 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None, argument 153 if [hex, bytes, bytes_le, fields, int].count(None) != 4: 162 if bytes_le is not None: 163 if len(bytes_le) != 16: 165 bytes = (bytes_le[4-1::-1] + bytes_le[6-1:4-1:-1] + 166 bytes_le[8-1:6-1:-1] + bytes_le[8:]) 274 def bytes_le(self): member in UUID
|
/external/python/cpython3/Lib/test/ |
D | test_uuid.py | 31 for (string, curly, hex, bytes, bytes_le, fields, integer, urn, 163 self.uuid.UUID(bytes=bytes), self.uuid.UUID(bytes_le=bytes_le), 170 equal(u.bytes_le, bytes_le) 194 equal(type(u.bytes_le), builtins.bytes) 231 badvalue(lambda: self.uuid.UUID(bytes_le='abc')) 232 badvalue(lambda: self.uuid.UUID(bytes_le='\0'*15)) 233 badvalue(lambda: self.uuid.UUID(bytes_le='\0'*17)) 267 self.uuid.UUID(bytes_le=b)
|
/external/python/cpython2/Doc/library/ |
D | uuid.rst | 23 .. class:: UUID([hex[, bytes[, bytes_le[, fields[, int[, version]]]]]]) 27 little-endian order as the *bytes_le* argument, a tuple of six integers 39 UUID(bytes_le='\x78\x56\x34\x12\x34\x12\x78\x56' + 44 Exactly one of *hex*, *bytes*, *bytes_le*, *fields*, or *int* must be given. 47 given *hex*, *bytes*, *bytes_le*, *fields*, or *int*. 58 .. attribute:: UUID.bytes_le
|
/external/python/cpython3/Doc/library/ |
D | uuid.rst | 45 .. 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
|
/external/python/cpython2/Misc/ |
D | HISTORY | 89 - uuid.UUID now has a bytes_le attribute. This returns the UUID in
|
/external/python/cpython3/Misc/ |
D | HISTORY | 17473 - uuid.UUID now has a bytes_le attribute. This returns the UUID in
|