Searched refs:bytes_le (Results 1 – 4 of 4) 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/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/cpython2/Misc/ |
D | HISTORY | 89 - uuid.UUID now has a bytes_le attribute. This returns the UUID in
|