Lines Matching refs:guid
63 static bool CreateGUID(GUID *guid) { in CreateGUID() argument
65 guid->data1 = random(); in CreateGUID()
66 guid->data2 = (uint16_t)(random()); in CreateGUID()
67 guid->data3 = (uint16_t)(random()); in CreateGUID()
68 UInt32ToBytes(&guid->data4[0], random()); in CreateGUID()
69 UInt32ToBytes(&guid->data4[4], random()); in CreateGUID()
87 bool CreateGUID(GUID *guid) { in CreateGUID() argument
88 return GUIDGenerator::CreateGUID(guid); in CreateGUID()
92 bool GUIDToString(const GUID *guid, char *buf, int buf_len) { in GUIDToString() argument
96 guid->data1, guid->data2, guid->data3, in GUIDToString()
97 GUIDGenerator::BytesToUInt32(&(guid->data4[0])), in GUIDToString()
98 GUIDGenerator::BytesToUInt32(&(guid->data4[4]))); in GUIDToString()