Home
last modified time | relevance | path

Searched refs:clock_seq (Results 1 – 16 of 16) sorted by relevance

/external/e2fsprogs/lib/uuid/
Dgen_uuid.c317 THREAD_LOCAL uint16_t clock_seq; in get_clock() local
363 clock_seq = cl & 0x3FFF; in get_clock()
371 get_random_bytes(&clock_seq, sizeof(clock_seq)); in get_clock()
372 clock_seq &= 0x3FFF; in get_clock()
382 clock_seq = (clock_seq+1) & 0x3FFF; in get_clock()
411 clock_seq, last.tv_sec, (long)last.tv_usec, in get_clock()
430 *ret_clock_seq = clock_seq; in get_clock()
598 get_clock(&clock_mid, &uu.time_low, &uu.clock_seq, num); in uuid__generate_time()
599 uu.clock_seq |= 0x8000; in uuid__generate_time()
665 uu.clock_seq = (uu.clock_seq & 0x3FFF) | 0x8000; in uuid__generate_random()
Dcompare.c53 UUCMP(uuid1.clock_seq, uuid2.clock_seq); in uuid_compare()
Dunparse.c59 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in uuid_unparse_x()
DuuidP.h54 uint16_t clock_seq; member
Dpack.c63 tmp = uu->clock_seq; in uuid_pack()
Dunpack.c60 uu->clock_seq = tmp; in uuid_unpack()
Dparse.c69 uuid.clock_seq = strtoul(in+19, NULL, 16); in uuid_parse()
Duuid_time.c94 var = uuid.clock_seq; in uuid_variant()
/external/e2fsprogs/lib/e2p/
Duuid.c21 __u16 clock_seq; member
58 uu->clock_seq = tmp; in e2p_unpack_uuid()
71 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in e2p_uuid_to_str()
/external/python/cpython2/Lib/
Duuid.py165 clock_seq = (clock_seq_hi_variant << 8L) | clock_seq_low
167 (time_hi_version << 64L) | (clock_seq << 48L) | node)
260 clock_seq = property(get_clock_seq) variable in UUID
561 def uuid1(node=None, clock_seq=None): argument
569 if _uuid_generate_time and node is clock_seq is None:
583 if clock_seq is None:
585 clock_seq = random.randrange(1<<14L) # instead of stable storage
589 clock_seq_low = clock_seq & 0xffL
590 clock_seq_hi_variant = (clock_seq >> 8L) & 0x3fL
/external/python/cpython3/Lib/
Duuid.py189 clock_seq = (clock_seq_hi_variant << 8) | clock_seq_low
191 (time_hi_version << 64) | (clock_seq << 48) | node)
310 def clock_seq(self): member in UUID
712 def uuid1(node=None, clock_seq=None): argument
721 if _generate_time_safe is not None and node is clock_seq is None:
738 if clock_seq is None:
740 clock_seq = random.getrandbits(14) # instead of stable storage
744 clock_seq_low = clock_seq & 0xff
745 clock_seq_hi_variant = (clock_seq >> 8) & 0x3f
/external/e2fsprogs/lib/ext2fs/
Dicount.c155 __u16 clock_seq; member
180 uu->clock_seq = tmp; in unpack_uuid()
193 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in uuid_unparse()
/external/python/cpython2/Lib/test/
Dtest_uuid.py19 time, clock_seq, variant, version) in [
169 equal(u.clock_seq, clock_seq)
/external/python/cpython2/Doc/library/
Duuid.rst86 | :attr:`clock_seq` | the 14-bit sequence number |
132 .. function:: uuid1([node[, clock_seq]])
136 *clock_seq* is given, it is used as the sequence number; otherwise a random
/external/python/cpython3/Doc/library/
Duuid.rst115 | :attr:`clock_seq` | the 14-bit sequence number |
176 .. function:: uuid1(node=None, clock_seq=None)
180 *clock_seq* is given, it is used as the sequence number; otherwise a random
/external/python/cpython3/Lib/test/
Dtest_uuid.py32 time, clock_seq, variant, version) in [
182 equal(u.clock_seq, clock_seq)