Lines Matching refs:out
88 uuid_generate_random(uuid_t out)
90 read_random(out, sizeof(uuid_t));
92 out[6] = (out[6] & 0x0F) | 0x40;
93 out[8] = (out[8] & 0x3F) | 0x80;
97 uuid_generate_time(uuid_t out)
101 read_node(&out[10]);
102 read_random(&out[8], 2);
105 out[0] = (uint8_t)(time >> 24);
106 out[1] = (uint8_t)(time >> 16);
107 out[2] = (uint8_t)(time >> 8);
108 out[3] = (uint8_t)time;
109 out[4] = (uint8_t)(time >> 40);
110 out[5] = (uint8_t)(time >> 32);
111 out[6] = (uint8_t)(time >> 56);
112 out[7] = (uint8_t)(time >> 48);
114 out[6] = (out[6] & 0x0F) | 0x10;
115 out[8] = (out[8] & 0x3F) | 0x80;
119 uuid_generate(uuid_t out)
121 uuid_generate_random(out);
151 uuid_unparse_lower(const uuid_t uu, uuid_string_t out)
153 snprintf(out,
168 uuid_unparse_upper(const uuid_t uu, uuid_string_t out)
170 snprintf(out,
185 uuid_unparse(const uuid_t uu, uuid_string_t out)
187 uuid_unparse_upper(uu, out);