Home
last modified time | relevance | path

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

12345678910>>...12

/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/python/cpython3/Lib/test/
Dtest_uuid.py162 for u in [self.uuid.UUID(string), self.uuid.UUID(curly), self.uuid.UUID(hex),
163 self.uuid.UUID(bytes=bytes), self.uuid.UUID(bytes_le=bytes_le),
164 self.uuid.UUID(fields=fields), self.uuid.UUID(int=integer),
165 self.uuid.UUID(urn)]:
219 badvalue(lambda: self.uuid.UUID(''))
220 badvalue(lambda: self.uuid.UUID('abc'))
221 badvalue(lambda: self.uuid.UUID('1234567812345678123456781234567'))
222 badvalue(lambda: self.uuid.UUID('123456781234567812345678123456789'))
223 badvalue(lambda: self.uuid.UUID('123456781234567812345678z2345678'))
226 badvalue(lambda: self.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/swiftshader/third_party/llvm-7.0/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 Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, in TEST()
53 Context, UUID, dwarf::DW_TAG_class_type, in TEST()
59 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
63 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/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/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/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/python/cpython3/Lib/
Duuid.py69 class UUID: class
225 if isinstance(other, UUID):
233 if isinstance(other, UUID):
238 if isinstance(other, UUID):
243 if isinstance(other, UUID):
248 if isinstance(other, UUID):
650 return UUID(bytes=uuid_time).node
658 return UUID(bytes=bytes_(_buffer.raw)).node
727 return UUID(bytes=uuid_time, is_safe=is_safe)
748 return UUID(fields=(time_low, time_mid, time_hi_version,
[all …]
/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/guice/jdk8-tests/test/com/google/inject/jdk8/
DJava8LanguageFeatureBindingTest.java30 import java.util.UUID;
113 UUID uuid = UUID.randomUUID(); in testProvider_usingJdk8Features()
119 bind(UUID.class).toInstance(uuid); in testProvider_usingJdk8Features()
128 private final UUID uuid;
131 StringProvider(UUID uuid) { in StringProvider()
137 return Collections.singleton(uuid).stream().map(UUID::toString).findFirst().get(); in get()
/external/python/cpython2/Lib/
Duuid.py55 class UUID(object): class
183 if isinstance(other, UUID):
510 return UUID(bytes=_buffer.raw).node
516 return UUID(bytes=_buffer.raw).node
572 return UUID(bytes=_buffer.raw)
593 return UUID(fields=(time_low, time_mid, time_hi_version,
600 return UUID(bytes=hash[:16], version=3)
604 return UUID(bytes=os.urandom(16), version=4)
610 return UUID(bytes=hash[:16], version=5)
614 NAMESPACE_DNS = UUID('6ba7b810-9dad-11d1-80b4-00c04fd430c8')
[all …]
/external/e2fsprogs/tests/t_change_uuid_mcsum_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

12345678910>>...12