Home
last modified time | relevance | path

Searched refs:UUID (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/external/llvm-project/lldb/unittests/Utility/
DUUIDTest.cpp16 UUID empty; in TEST()
17 UUID a16 = UUID::fromData("1234567890123456", 16); in TEST()
18 UUID b16 = UUID::fromData("1234567890123457", 16); in TEST()
19 UUID a20 = UUID::fromData("12345678901234567890", 20); in TEST()
20 UUID b20 = UUID::fromData("12345678900987654321", 20); in TEST()
38 UUID empty; in TEST()
40 UUID a16 = UUID::fromData(zeroes.data(), 16); in TEST()
41 UUID a20 = UUID::fromData(zeroes.data(), 20); in TEST()
42 UUID a16_0 = UUID::fromOptionalData(zeroes.data(), 16); in TEST()
43 UUID a20_0 = UUID::fromOptionalData(zeroes.data(), 20); in TEST()
[all …]
/external/llvm-project/lldb/include/lldb/Utility/
DUUID.h23 class UUID {
25 UUID() = default;
41 static UUID fromCvRecord(CvRecordPdb70 debug_info);
45 static UUID fromData(const void *bytes, uint32_t num_bytes) { in fromData()
48 return UUID(); in fromData()
53 static UUID fromData(llvm::ArrayRef<uint8_t> bytes) { return UUID(bytes); } in fromData()
57 static UUID fromOptionalData(const void *bytes, uint32_t num_bytes) { in fromOptionalData()
61 return UUID(); in fromOptionalData()
66 static UUID fromOptionalData(llvm::ArrayRef<uint8_t> bytes) { in fromOptionalData()
68 return UUID(); in fromOptionalData()
[all …]
/external/python/cpython3/Doc/library/
Duuid.rst1 :mod:`uuid` --- UUID objects according to :rfc:`4122`
5 :synopsis: UUID objects (universally unique identifiers) according to RFC 4122
13 This module provides immutable :class:`UUID` objects (the :class:`UUID` class)
19 a UUID containing the computer's network address. :func:`uuid4` creates a
20 random UUID.
23 not return a "safe" UUID. A safe UUID is one which is generated using
25 UUID. All instances of :class:`UUID` have an :attr:`is_safe` attribute
26 which relays any information about the UUID's safety, using this enumeration:
34 The UUID was generated by the platform in a multiprocessing-safe way.
38 The UUID was not generated in a multiprocessing-safe way.
[all …]
/external/python/cpython2/Doc/library/
Duuid.rst2 :mod:`uuid` --- UUID objects according to RFC 4122
6 :synopsis: UUID objects (universally unique identifiers) according to RFC 4122
13 This module provides immutable :class:`UUID` objects (the :class:`UUID` class)
19 a UUID containing the computer's network address. :func:`uuid4` creates a
20 random UUID.
23 .. class:: UUID([hex[, bytes[, bytes_le[, fields[, int[, version]]]]]])
25 Create a UUID from either a string of 32 hexadecimal digits, a string of 16
33 expressions all yield the same UUID::
35 UUID('{12345678-1234-5678-1234-567812345678}')
36 UUID('12345678123456781234567812345678')
[all …]
/external/python/cpython2/Lib/test/
Dtest_uuid.py149 for u in [uuid.UUID(string), uuid.UUID(curly), uuid.UUID(hex),
150 uuid.UUID(bytes=bytes), uuid.UUID(bytes_le=bytes_le),
151 uuid.UUID(fields=fields), uuid.UUID(int=integer),
152 uuid.UUID(urn)]:
196 badvalue(lambda: uuid.UUID(''))
197 badvalue(lambda: uuid.UUID('abc'))
198 badvalue(lambda: uuid.UUID('1234567812345678123456781234567'))
199 badvalue(lambda: uuid.UUID('123456781234567812345678123456789'))
200 badvalue(lambda: uuid.UUID('123456781234567812345678z2345678'))
203 badvalue(lambda: uuid.UUID(bytes='abc'))
[all …]
/external/llvm/unittests/IR/
DDebugTypeODRUniquingTest.cpp28 MDString &UUID = *MDString::get(Context, "string"); in TEST() local
32 Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, in TEST()
37 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
41 Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, in TEST()
43 EXPECT_EQ(UUID.getString(), CT.getIdentifier()); in TEST()
46 EXPECT_EQ(&CT, DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
48 &CT, DICompositeType::getODRType(Context, UUID, dwarf::DW_TAG_class_type, in TEST()
52 Context, UUID, dwarf::DW_TAG_class_type, in TEST()
58 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
62 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
[all …]
/external/jackson-databind/src/test/java/perf/
DManualReadPerfWithUUID.java4 import java.util.UUID;
15 public UUID[] ids;
17 public UUIDNative(UUID[] ids) { this.ids = ids; } in UUIDNative()
24 static class SlowDeser extends FromStringDeserializer<UUID>
26 public SlowDeser() { super(UUID.class); } in SlowDeser()
29 protected UUID _deserialize(String id, DeserializationContext ctxt) in _deserialize()
32 return UUID.fromString(id); in _deserialize()
38 public UUID[] ids;
40 public UUIDWithJdk(UUID[] ids) { this.ids = ids; } in UUIDWithJdk()
49 UUID[] uuids = new UUID[8]; in main()
[all …]
DManualWritePerfWithUUID.java4 import java.util.UUID;
26 UUID[] uuids = new UUID[8]; in main()
28 uuids[i] = UUID.randomUUID(); in main()
38 public final UUID[] values;
40 public UUIDFast(UUID[] v) { values = v; } in UUIDFast()
46 public final UUID[] values;
48 public UUIDSlow(UUID[] v) { values = v; } in UUIDSlow()
52 class SlowSer extends StdScalarSerializer<UUID>
54 public SlowSer() { super(UUID.class); } in SlowSer()
57 public void serialize(UUID value, JsonGenerator jgen, in serialize()
/external/llvm-project/llvm/unittests/IR/
DDebugTypeODRUniquingTest.cpp27 MDString &UUID = *MDString::get(Context, "string"); in TEST() local
31 Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, in TEST()
37 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
41 Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, in TEST()
44 EXPECT_EQ(UUID.getString(), CT.getIdentifier()); in TEST()
47 EXPECT_EQ(&CT, DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
50 Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, in TEST()
54 Context, UUID, dwarf::DW_TAG_class_type, in TEST()
61 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
65 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
[all …]
/external/python/cpython3/Lib/test/
Dtest_uuid.py167 for u in [self.uuid.UUID(string), self.uuid.UUID(curly), self.uuid.UUID(hex),
168 self.uuid.UUID(bytes=bytes), self.uuid.UUID(bytes_le=bytes_le),
169 self.uuid.UUID(fields=fields), self.uuid.UUID(int=integer),
170 self.uuid.UUID(urn)]:
224 badvalue(lambda: self.uuid.UUID(''))
225 badvalue(lambda: self.uuid.UUID('abc'))
226 badvalue(lambda: self.uuid.UUID('1234567812345678123456781234567'))
227 badvalue(lambda: self.uuid.UUID('123456781234567812345678123456789'))
228 badvalue(lambda: self.uuid.UUID('123456781234567812345678z2345678'))
231 badvalue(lambda: self.uuid.UUID(bytes='abc'))
[all …]
/external/e2fsprogs/tests/t_change_uuid_mcsum_seed_mounted/
Dexpect2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
3 change UUID
4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
7 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
9 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
13 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
15 change UUID
16 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
20 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
Dscript12 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
14 echo "change UUID" >> $OUT
16 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
21 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
25 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
30 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
32 echo "change UUID" >> $OUT
34 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
39 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
/external/llvm-project/lldb/source/Utility/
DUUID.cpp38 UUID UUID::fromCvRecord(UUID::CvRecordPdb70 debug_info) { in fromCvRecord()
44 return UUID::fromOptionalData(&debug_info, sizeof(debug_info)); in fromCvRecord()
45 return UUID::fromOptionalData(&debug_info.Uuid, sizeof(debug_info.Uuid)); in fromCvRecord()
48 std::string UUID::GetAsString(llvm::StringRef separator) const { in GetAsString()
63 void UUID::Dump(Stream *s) const { s->PutCString(GetAsString()); } in Dump()
73 UUID::DecodeUUIDBytesFromString(llvm::StringRef p, in DecodeUUIDBytesFromString()
96 bool UUID::SetFromStringRef(llvm::StringRef str) { in SetFromStringRef()
103 llvm::StringRef rest = UUID::DecodeUUIDBytesFromString(p, bytes); in SetFromStringRef()
114 bool UUID::SetFromOptionalStringRef(llvm::StringRef str) { in SetFromOptionalStringRef()
/external/e2fsprogs/tests/t_disable_changed_csum_seed/
Dexpect2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
6 change UUID
7 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
11 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
14 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
17 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
Dscript12 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
16 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
18 echo "change UUID" >> $OUT
20 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
25 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
29 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
34 $DUMPE2FS $TMPFILE 2>&1 | egrep '(Checksum seed:|UUID)' >> $OUT
/external/e2fsprogs/tests/t_disable_changed_csum_seed_mounted/
Dexpect2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
6 change UUID
7 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
11 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
14 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
18 Filesystem UUID: a61be2e0-b3b8-4fbc-b2cd-d84b306b9731
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DPsshAtomUtil.java22 import java.util.UUID;
40 public static byte[] buildPsshAtom(UUID systemId, @Nullable byte[] data) { in buildPsshAtom()
53 UUID systemId, @Nullable UUID[] keyIds, @Nullable byte[] data) { in buildPsshAtom()
67 for (UUID keyId : keyIds) { in buildPsshAtom()
99 public static UUID parseUuid(byte[] atom) { in parseUuid()
136 public static byte[] parseSchemeSpecificData(byte[] atom, UUID uuid) { in parseSchemeSpecificData()
179 UUID uuid = new UUID(atomData.readLong(), atomData.readLong()); in parsePsshAtom()
197 private final UUID uuid;
201 public PsshAtom(UUID uuid, int version, byte[] schemeData) { in PsshAtom()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue306/
DUuidSupportTest.java24 import java.util.UUID;
44 UUID uuid = UUID.randomUUID(); in dumpAsString()
57 UUID uuid = (UUID) yaml.load("7f511847-781a-45df-9c8d-1e32e028b9b3"); in loadAsUuid()
71 UUID uuid = UUID.randomUUID(); in dumpUuid()
81 UUID uuid = UUID.fromString("ac4877be-0c31-4458-a86e-0272efe1aaa8"); in dumpBean()
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DBeanPropertySetterTest.java13 import java.util.UUID;
41 UUID valueToInject = new UUID(0L, 0L); in use_the_setter_on_the_target_when_field_name_begins_by_at_least_2_caps()
49 assertSame(valueToInject, someBean.UUID); in use_the_setter_on_the_target_when_field_name_begins_by_at_least_2_caps()
153 private UUID UUID; field in BeanPropertySetterTest.BeanWithWeirdFields
156 public void setUUID(UUID UUID) { in setUUID() argument
158 this.UUID = UUID; in setUUID()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DUUIDDeserializer.java5 import java.util.UUID;
13 public class UUIDDeserializer extends FromStringDeserializer<UUID>
27 public UUIDDeserializer() { super(UUID.class); } in UUIDDeserializer()
31 return new UUID(0L, 0L); in getEmptyValue()
35 protected UUID _deserialize(String id, DeserializationContext ctxt) throws IOException in _deserialize()
68 return new UUID(hi, lo); in _deserialize()
72 protected UUID _deserializeEmbedded(Object ob, DeserializationContext ctxt) throws IOException in _deserializeEmbedded()
80 private UUID _badFormat(String uuidStr, DeserializationContext ctxt) in _badFormat()
83 return (UUID) ctxt.handleWeirdStringValue(handledType(), uuidStr, in _badFormat()
124 private UUID _fromBytes(byte[] bytes, DeserializationContext ctxt) throws JsonMappingException { in _fromBytes()
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DServerSocketServiceTest.java35 import java.util.UUID;
58 UUID id = UUID.randomUUID(); in getConnectionId_requestComesInFirst()
67 UUID id = UUID.randomUUID(); in getConnectionIdTwice_acceptComesFirst()
82 UUID id = UUID.randomUUID(); in getConnectionStoppedService()
96 service.getConnection(UUID.randomUUID()); in getConnectionStoppedService()
108 private OpenedSocket openConnectionAndIdentify(UUID id) throws IOException { in openConnectionAndIdentify()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DServerSocketService.java38 import java.util.UUID;
100 private final Map<UUID, SettableFuture<OpenedSocket>> halfFinishedConnections = Maps.newHashMap();
107 private final SetMultimap<Source, UUID> connectionState = Multimaps.newSetMultimap(
108 Maps.<Source, Collection<UUID>>newEnumMap(Source.class),
109 new Supplier<Set<UUID>>(){
110 @Override public Set<UUID> get() {
132 public ListenableFuture<OpenedSocket> getConnection(UUID id) { in getConnection()
152 UUID id = ((StartupAnnounceMessage) openedSocket.reader().read()).trialId(); in run()
176 private SettableFuture<OpenedSocket> getConnectionImpl(UUID id, Source source) { in getConnectionImpl()
/external/cpuinfo/test/dmesg/
Dgalaxy-j7-uae.log8 [ 16.275234] [3: mc_log: 2174] MobiCore mcd: 103|BroadCast loop send Event to 202 (UUID=…
9 [ 16.275246] [3: mc_log: 2174] MobiCore mcd: 103|BroadCast loop send Event to 302 (UUID=…
10 [ 16.275258] [3: mc_log: 2174] MobiCore mcd: 103|BroadCast loop send Event to 402 (UUID=…
11 [ 16.275270] [3: mc_log: 2174] MobiCore mcd: 103|BroadCast loop send Event to 501 (UUID=…
12 [ 16.277487] [1: mc_log: 2174] MobiCore mcd: 103|BroadCast loop send Event to 602 (UUID=…
13 [ 16.278775] [1: mc_log: 2174] MobiCore mcd: 103|BroadCast loop send Event to 802 (UUID=…
74 [ 16.315215] [1: mc_log: 2174] MobiCore mcd: 103|BroadCast loop send Event to 202 (UUID=…
75 [ 16.315227] [1: mc_log: 2174] MobiCore mcd: 103|BroadCast loop send Event to 302 (UUID=…
76 [ 16.315239] [1: mc_log: 2174] MobiCore mcd: 103|BroadCast loop send Event to 402 (UUID=…
77 [ 16.315251] [1: mc_log: 2174] MobiCore mcd: 103|BroadCast loop send Event to 501 (UUID=…
[all …]
/external/e2fsprogs/tests/t_disable_meta_csum_and_seed/
Dexpect2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
8 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
11 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
14 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
/external/e2fsprogs/tests/t_disable_csum_seed/
Dexpect2 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
4 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
8 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
11 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c
14 Filesystem UUID: 6b33f586-a183-4383-921d-30da3fef2e5c

12345678910>>...20