Lines Matching defs:time
52 * Note that the generator state is itself an UUID, but the time and clock
67 } time;
112 * Get the current time as a 60 bit count of 100-nanosecond intervals
114 * the Unix time since 00:00:00.00, January 1, 1970 to the date of the
121 uint64_t time = 0x01B21DD213814000LL;
124 time += (uint64_t)bt.sec * 10000000LL;
125 time += (10000000LL * (uint32_t)(bt.frac >> 32)) >> 32;
126 return (time & ((1LL << 60) - 1LL));
133 uint64_t time;
139 time = uuid_time();
141 if (uuid_last.time.ll == 0LL || uuid_last.node[0] != uuid.node[0] ||
145 else if (uuid_last.time.ll >= time)
151 uuid_last.time.ll = (time + count - 1) & ((1LL << 60) - 1LL);
159 /* Set time and version (=1). */
160 uuid.time.x.low = (uint32_t)time;
161 uuid.time.x.mid = (uint16_t)(time >> 32);
162 uuid.time.x.hi = ((uint16_t)(time >> 48) & 0xfff) | (1 << 12);
164 time++;
184 * Limit the number of UUIDs that can be created at the same time
278 id->time.x.low, id->time.x.mid, id->time.x.hi, be16toh(id->seq),