Lines Matching defs:UUID
1 //===-- UUID.cpp ----------------------------------------------------------===//
9 #include "lldb/Utility/UUID.h"
22 // For the first 16 bytes we follow the traditional UUID format. After that, we
38 UUID::UUID(UUID::CvRecordPdb70 debug_info) {
44 *this = UUID(&debug_info, sizeof(debug_info));
46 *this = UUID(&debug_info.Uuid, sizeof(debug_info.Uuid));
49 std::string UUID::GetAsString(llvm::StringRef separator) const {
63 void UUID::Dump(Stream &s) const { s.PutCString(GetAsString()); }
73 UUID::DecodeUUIDBytesFromString(llvm::StringRef p,
89 // UUID values can only consist of hex characters and '-' chars
96 bool UUID::SetFromStringRef(llvm::StringRef str) {
103 llvm::StringRef rest = UUID::DecodeUUIDBytesFromString(p, bytes);
106 // UUID is empty.
110 *this = UUID(bytes);