Home | History | Annotate | Download | only in uuid

Lines Matching defs:uuid

2  * uuid_time.c --- Interpret the time field from a uuid.  This program
3 * violates the UUID abstraction barrier by reaching into the guts
4 * of a UUID and interpreting it.
42 #define UUID MYUUID
61 struct uuid uuid;
65 uuid_unpack(uu, &uuid);
67 high = uuid.time_mid | ((uuid.time_hi_and_version & 0xFFF) << 16);
68 clock_reg = uuid.time_low | ((uint64_t) high << 32);
82 struct uuid uuid;
84 uuid_unpack(uu, &uuid);
85 return ((uuid.time_hi_and_version >> 12) & 0xF);
90 struct uuid uuid;
93 uuid_unpack(uu, &uuid);
94 var = uuid.clock_seq;
130 fprintf(stderr, "Usage: %s uuid\n", argv[0]);
134 fprintf(stderr, "Invalid UUID: %s\n", argv[1]);
141 printf("UUID variant is %d (%s)\n", variant, variant_string(variant));
147 printf("UUID type is %d", type);
165 printf("Warning: not a time-based UUID, so UUID time "
168 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, (long)tv.tv_usec,