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/cpython3/Lib/ |
D | uuid.py | 106 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None, argument 133 if [hex, bytes, bytes_le, fields, int].count(None) != 4: 142 if bytes_le is not None: 143 if len(bytes_le) != 16: 145 bytes = (bytes_le[4-1::-1] + bytes_le[6-1:4-1:-1] + 146 bytes_le[8-1:6-1:-1] + bytes_le[8:]) 236 def bytes_le(self): member in UUID
|
/external/python/cpython3/Lib/test/ |
D | test_uuid.py | 21 for (string, curly, hex, bytes, bytes_le, fields, integer, urn, 153 uuid.UUID(bytes=bytes), uuid.UUID(bytes_le=bytes_le), 160 equal(u.bytes_le, bytes_le) 184 equal(type(u.bytes_le), builtins.bytes) 221 badvalue(lambda: uuid.UUID(bytes_le='abc')) 222 badvalue(lambda: uuid.UUID(bytes_le='\0'*15)) 223 badvalue(lambda: uuid.UUID(bytes_le='\0'*17)) 257 uuid.UUID(bytes_le=b)
|
/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/cpython2/Doc/library/ |
D | uuid.rst | 23 .. class:: UUID([hex[, bytes[, bytes_le[, fields[, int[, version]]]]]]) 27 the *bytes_le* argument, a tuple of six integers (32-bit *time_low*, 16-bit 38 UUID(bytes_le='\x78\x56\x34\x12\x34\x12\x78\x56' + 43 Exactly one of *hex*, *bytes*, *bytes_le*, *fields*, or *int* must be given. 46 given *hex*, *bytes*, *bytes_le*, *fields*, or *int*. 57 .. attribute:: UUID.bytes_le
|
/external/python/cpython3/Doc/library/ |
D | uuid.rst | 23 .. class:: UUID(hex=None, bytes=None, bytes_le=None, fields=None, int=None, version=None) 27 the *bytes_le* argument, a tuple of six integers (32-bit *time_low*, 16-bit 38 UUID(bytes_le=b'\x78\x56\x34\x12\x34\x12\x78\x56' + 43 Exactly one of *hex*, *bytes*, *bytes_le*, *fields*, or *int* must be given. 46 given *hex*, *bytes*, *bytes_le*, *fields*, or *int*. 64 .. 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
|