Lines Matching refs:uuid
22 #include "uuid.h"
24 struct uuid {
47 struct uuid *uuid = (struct uuid *)result;
50 memcpy(uuid, sha1, sizeof(struct uuid));
52 uuid->time_low = ntohl(uuid->time_low);
53 uuid->time_mid = ntohs(uuid->time_mid);
54 uuid->time_hi_and_version = ntohs(uuid->time_hi_and_version);
55 uuid->time_hi_and_version &= 0x0FFF;
56 uuid->time_hi_and_version |= (5 << 12);
57 uuid->clk_seq_hi_res &= ~(1 << 6);
58 uuid->clk_seq_hi_res |= 1 << 7;