Lines Matching refs: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.
48 struct uuid uuid;
53 uuid_unpack(uu, &uuid);
55 high = uuid.time_mid | ((uuid.time_hi_and_version & 0xFFF) << 16);
56 clock_reg = uuid.time_low | ((unsigned long long) high << 32);
70 struct uuid uuid;
72 uuid_unpack(uu, &uuid);
73 return ((uuid.time_hi_and_version >> 12) & 0xF);
78 struct uuid uuid;
81 uuid_unpack(uu, &uuid);
82 var = uuid.clock_seq;
118 fprintf(stderr, "Usage: %s uuid\n", argv[0]);
122 fprintf(stderr, "Invalid UUID: %s\n", argv[1]);
129 printf("UUID variant is %d (%s)\n", variant, variant_string(variant));
135 printf("UUID type is %d", type);
153 printf("Warning: not a time-based UUID, so UUID time "
156 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, tv.tv_usec,