Home
last modified time | relevance | path

Searched refs:UUID (Results 1 - 25 of 29) sorted by relevance

12

/third_party/python/Lib/test/
H A Dtest_uuid.py175 # Construct each UUID in several different ways.
176 for u in [self.uuid.UUID(string), self.uuid.UUID(curly), self.uuid.UUID(hex),
177 self.uuid.UUID(bytes=bytes), self.uuid.UUID(bytes_le=bytes_le),
178 self.uuid.UUID(fields=fields), self.uuid.UUID(int=integer),
179 self.uuid.UUID(urn)]:
180 # Test all conversions and properties of the UUID objec
[all...]
/third_party/python/Lib/
H A Duuid.py1 r"""UUID objects (universally unique identifiers) according to RFC 4122.
3 This module provides immutable UUID objects (class UUID) and the functions
8 Note that uuid1() may compromise privacy since it creates a UUID containing
9 the computer's network address. uuid4() creates a random UUID.
15 # make a UUID based on the host ID and current time
17 UUID('a8098c1a-f86e-11da-bd1a-00112444be1e')
19 # make a UUID using an MD5 hash of a namespace UUID and a name
21 UUID('
85 class UUID: global() class
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
H A DTextStubCommon.h24 using UUID = std::pair<llvm::MachO::Target, std::string>;
28 LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(UUID)
72 template <> struct ScalarTraits<UUID> {
73 static void output(const UUID &, void *, raw_ostream &);
74 static StringRef input(StringRef, void *, UUID &);
H A DTextStubCommon.cpp206 void ScalarTraits<UUID>::output(const UUID &Value, void *, raw_ostream &OS) { in output()
209 StringRef ScalarTraits<UUID>::input(StringRef Scalar, void *, UUID &Value) { in input()
212 auto UUID = Split.second.trim(); in input() local
213 if (UUID.empty()) in input()
215 Value.second = UUID; in input()
220 QuotingType ScalarTraits<UUID>::mustQuote(StringRef) { in mustQuote()
H A DInterfaceFile.cpp74 void InterfaceFile::addUUID(const Target &Target_, StringRef UUID) { in addUUID() argument
80 Iter->second = UUID; in addUUID()
84 UUIDs.emplace(Iter, Target_, UUID); in addUUID()
88 void InterfaceFile::addUUID(const Target &Target, uint8_t UUID[16]) { in addUUID() argument
94 << static_cast<int>(UUID[i]); in addUUID()
H A DTextStub.cpp72 uuids: [ armv7:... ] # Optional: List of architecture and UUID pairs.
113 uuids: [ armv7:... ] # Optional: List of architecture and UUID pairs.
158 uuids: # Optional: List of target and UUID pairs.
252 // UUID's for TBDv4 are mapped to target not arch
344 static void mapping(IO &IO, UUIDv4 &UUID) { in mapping()
345 IO.mapRequired("target", UUID.TargetID); in mapping()
346 IO.mapRequired("value", UUID.Value); in mapping()
732 std::vector<UUID> UUIDs;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp72 Hdr.UUIDSize = static_cast<uint8_t>(UUID.size()); in encode()
77 memset(Hdr.UUID, 0, sizeof(Hdr.UUID)); in encode()
78 if (UUID.size() > sizeof(Hdr.UUID)) in encode()
80 "invalid UUID size %u", (uint32_t)UUID.size()); in encode()
90 // Copy the UUID value if we have one. in encode()
91 if (UUID.size() > 0) in encode()
92 memcpy(Hdr.UUID, UUI in encode()
[all...]
H A DHeader.cpp33 OS << " UUID = "; in operator <<()
35 OS << format_hex_no_prefix(H.UUID[I], 2); in operator <<()
60 "invalid UUID size %u", UUIDSize); in checkForError()
79 Data.getU8(&Offset, H.UUID, GSYM_MAX_UUID_SIZE); in decode()
97 O.writeData(llvm::ArrayRef<uint8_t>(UUID)); in encode()
108 memcmp(LHS.UUID, RHS.UUID, LHS.UUIDSize) == 0; in operator ==()
/third_party/ltp/testcases/commands/mkswap/
H A Dmkswap01.sh17 UUID=`uuidgen`
149 8) mkswap_test "-U" "$UUID" "-U $UUID" "" "/dev/disk/by-uuid/$UUID";;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
H A DGsymCreator.h140 std::vector<uint8_t> UUID; member in llvm::gsym::GsymCreator
203 /// Set the UUID value.
205 /// \param UUIDBytes The new UUID bytes.
207 UUID.assign(UUIDBytes.begin(), UUIDBytes.end()); in setUUID()
H A DHeader.h57 /// The size in bytes of the UUID encoded in the "UUID" member.
81 /// The UUID of the original executable file. This is stored to allow
83 /// required. Only the first "UUIDSize" bytes of the UUID are valid. Any
84 /// bytes in the UUID value that appear after the first UUIDSize bytes should
86 uint8_t UUID[GSYM_MAX_UUID_SIZE]; member
97 /// - check that the UUID size is valid
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
H A DMagic.cpp42 offsetof(COFF::BigObjHeader, UUID) + sizeof(COFF::BigObjMagic); in identify_magic()
46 const char *Start = Magic.data() + offsetof(COFF::BigObjHeader, UUID); in identify_magic()
/third_party/python/Modules/
H A D_uuidmodule.c2 * Python UUID module that wraps libuuid or Windows rpcrt4.dll.
55 UUID uuid; in Py_UNUSED()
67 All success codes, but the latter two indicate that the UUID is random in Py_UNUSED()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/
H A DInterfaceFile.h315 /// Add an Target/UUID pair.
318 /// \param UUID The UUID of the library for the specified architecture.
319 void addUUID(const Target &Target, StringRef UUID);
321 /// Add an Target/UUID pair.
324 /// \param UUID The UUID of the library for the specified architecture.
325 void addUUID(const Target &Target, uint8_t UUID[16]);
327 /// Get the list of Target/UUID pairs.
329 /// \return Returns a list of Target/UUID pair
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp190 void addTypeRef(MDString &UUID, DICompositeType &CT);
306 void BitcodeReaderMetadataList::addTypeRef(MDString &UUID, in addTypeRef() argument
308 assert(CT.getRawIdentifier() == &UUID && "Mismatched UUID"); in addTypeRef()
310 OldTypeRefs.FwdDecls.insert(std::make_pair(&UUID, &CT)); in addTypeRef()
312 OldTypeRefs.Final.insert(std::make_pair(&UUID, &CT)); in addTypeRef()
316 auto *UUID = dyn_cast_or_null<MDString>(MaybeUUID); in upgradeTypeRef() local
317 if (LLVM_LIKELY(!UUID)) in upgradeTypeRef()
320 if (auto *CT = OldTypeRefs.Final.lookup(UUID)) in upgradeTypeRef()
323 auto &Ref = OldTypeRefs.Unknown[UUID]; in upgradeTypeRef()
[all...]
/third_party/gptfdisk/
H A Dguid.cc141 // (immediately after creating the UUID on Windows 7 being an important
154 UUID MsUuid; in Randomize()
162 cerr << "Warning! Unable to generate a proper UUID! Creating an improper one as a last\n" in Randomize()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-uniscribe.cc296 /* We'll create a private name for the font from a UUID using a simple, in _hb_generate_unique_face_name()
299 UUID id; in _hb_generate_unique_face_name()
300 UuidCreate ((UUID*) &id); in _hb_generate_unique_face_name()
308 /* Spread the 16 bits from two bytes of the UUID across three chars of face_name, in _hb_generate_unique_face_name()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp74 /// Dump the UUID load command.
80 raw_ostream::uuid_t UUID; in dumpUUID() local
82 if (LC.C.cmdsize < sizeof(UUID) + sizeof(LC.C)) { in dumpUUID()
83 OS << "error: UUID load command is too short.\n"; in dumpUUID()
86 OS << "UUID: "; in dumpUUID()
87 memcpy(&UUID, LC.Ptr+sizeof(LC.C), sizeof(UUID)); in dumpUUID()
88 OS.write_uuid(UUID); in dumpUUID()
331 // Print UUID header. in dump()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A Draw_ostream.cpp155 raw_ostream &raw_ostream::write_uuid(const uuid_t UUID) { in write_uuid() argument
157 *this << format("%02" PRIX32, UUID[Idx]); in write_uuid()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A Draw_ostream.h234 /// Output a formatted UUID with dash separators.
236 raw_ostream &write_uuid(const uuid_t UUID);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DCOFF.h78 uint8_t UUID[16]; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
H A DCOFF.h83 uint8_t UUID[16]; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DPath.cpp996 size_t MinSize = offsetof(COFF::BigObjHeader, UUID) + sizeof(COFF::BigObjMagic);
1000 const char *Start = Magic.data() + offsetof(COFF::BigObjHeader, UUID);
/third_party/python/PC/
H A D_msi.c36 UUID result; in _msi_UuidCreate_impl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DCOFF.h93 uint8_t UUID[16]; member

Completed in 25 milliseconds

12