Home
last modified time | relevance | path

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

12345678910

/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 .. class:: UUID(hex=None, bytes=None, bytes_le=None, fields=None, int=None, version=None)
25 Create a UUID from either a string of 32 hexadecimal digits, a string of 16
32 expressions all yield the same UUID::
34 UUID('{12345678-1234-5678-1234-567812345678}')
35 UUID('12345678123456781234567812345678')
[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
32 expressions all yield the same UUID::
34 UUID('{12345678-1234-5678-1234-567812345678}')
35 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/python/cpython3/Lib/test/
Dtest_uuid.py152 for u in [uuid.UUID(string), uuid.UUID(curly), uuid.UUID(hex),
153 uuid.UUID(bytes=bytes), uuid.UUID(bytes_le=bytes_le),
154 uuid.UUID(fields=fields), uuid.UUID(int=integer),
155 uuid.UUID(urn)]:
209 badvalue(lambda: uuid.UUID(''))
210 badvalue(lambda: uuid.UUID('abc'))
211 badvalue(lambda: uuid.UUID('1234567812345678123456781234567'))
212 badvalue(lambda: uuid.UUID('123456781234567812345678123456789'))
213 badvalue(lambda: uuid.UUID('123456781234567812345678z2345678'))
216 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/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/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/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()
DBeanWithId.java18 import java.util.UUID;
22 private UUID id;
32 public UUID getId() { in getId()
36 public void setId(UUID id) { in setId()
/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
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/skqp/src/pdf/
DSkPDFMetadata.h18 struct UUID { struct
22 UUID CreateUUID(const SkDocument::PDFMetadata&); argument
24 sk_sp<SkPDFObject> MakePdfId(const UUID& doc, const UUID& instance);
27 const UUID& doc,
28 const UUID& instance);
DSkPDFMetadata.cpp73 SkPDFMetadata::UUID SkPDFMetadata::CreateUUID( in CreateUUID()
106 static_assert(sizeof(digest) == sizeof(UUID), "uuid_size"); in CreateUUID()
107 SkPDFMetadata::UUID uuid; in CreateUUID()
112 sk_sp<SkPDFObject> SkPDFMetadata::MakePdfId(const UUID& doc, in MakePdfId()
113 const UUID& instance) { in MakePdfId()
117 static_assert(sizeof(SkPDFMetadata::UUID) == 16, "uuid_size"); in MakePdfId()
119 SkString(reinterpret_cast<const char*>(&doc), sizeof(UUID))); in MakePdfId()
121 SkString(reinterpret_cast<const char*>(&instance), sizeof(UUID))); in MakePdfId()
137 static SkString uuid_to_string(const SkPDFMetadata::UUID& uuid) { in uuid_to_string()
236 const UUID& doc, in MakeXMPObject()
[all …]
/external/skia/src/pdf/
DSkPDFMetadata.h18 struct UUID { struct
22 UUID CreateUUID(const SkDocument::PDFMetadata&); argument
24 sk_sp<SkPDFObject> MakePdfId(const UUID& doc, const UUID& instance);
27 const UUID& doc,
28 const UUID& instance);
/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/python/cpython3/Lib/
Duuid.py58 class UUID(object): class
187 if isinstance(other, UUID):
195 if isinstance(other, UUID):
200 if isinstance(other, UUID):
205 if isinstance(other, UUID):
210 if isinstance(other, UUID):
514 return UUID(bytes=bytes_(_buffer.raw)).node
520 return UUID(bytes=bytes_(_buffer.raw)).node
570 return UUID(bytes=bytes_(_buffer.raw))
591 return UUID(fields=(time_low, time_mid, time_hi_version,
[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
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DRun.java27 import java.util.UUID;
37 private UUID id;
42 this.id = Defaults.UUID; in Run()
53 public UUID id() { in id()
91 private UUID id;
95 public Builder(UUID id) { in Builder()
DDefaults.java21 import java.util.UUID;
28 static final UUID UUID = new UUID(0L, 0L); field in Defaults
/external/python/cpython2/Lib/
Duuid.py55 class UUID(object): class
183 if isinstance(other, UUID):
496 return UUID(bytes=_buffer.raw).node
502 return UUID(bytes=_buffer.raw).node
552 return UUID(bytes=_buffer.raw)
573 return UUID(fields=(time_low, time_mid, time_hi_version,
580 return UUID(bytes=hash[:16], version=3)
584 return UUID(bytes=os.urandom(16), version=4)
590 return UUID(bytes=hash[:16], version=5)
594 NAMESPACE_DNS = UUID('6ba7b810-9dad-11d1-80b4-00c04fd430c8')
[all …]

12345678910