/external/python/cpython2/Lib/test/ |
D | test_uuid.py | 5 import uuid 27 'urn:uuid:00000000-0000-0000-0000-000000000000', 28 0, 0, uuid.RESERVED_NCS, None), 36 'urn:uuid:00010203-0405-0607-0809-0a0b0c0d0e0f', 37 0x607040500010203L, 0x809, uuid.RESERVED_NCS, None), 45 'urn:uuid:02d9e6d5-9467-382e-8f9b-9300a64ac3cd', 46 0x82e946702d9e6d5L, 0xf9b, uuid.RFC_4122, 3), 54 'urn:uuid:12345678-1234-5678-1234-567812345678', 55 0x678123412345678L, 0x1234, uuid.RESERVED_NCS, None), 63 'urn:uuid:6ba7b810-9dad-11d1-80b4-00c04fd430c8', [all …]
|
/external/python/cpython2/Doc/library/ |
D | uuid.rst | 2 :mod:`uuid` --- UUID objects according to RFC 4122 5 .. module:: uuid 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}') [all …]
|
/external/python/cpython2/Lib/ |
D | uuid.py | 1 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. 13 >>> import uuid 15 # make a UUID based on the host ID and current time 16 >>> uuid.uuid1() 17 UUID('a8098c1a-f86e-11da-bd1a-00112444be1e') 19 # make a UUID using an MD5 hash of a namespace UUID and a name 20 >>> uuid.uuid3(uuid.NAMESPACE_DNS, 'python.org') [all …]
|
/external/e2fsprogs/lib/uuid/ |
D | tst_uuid.c | 2 * tst_uuid.c --- test program from the UUID library 40 #define UUID MYUUID macro 46 #include <uuid/uuid.h> 48 static int test_uuid(const char * uuid, int isValid) in test_uuid() argument 54 parsedOk = uuid_parse(uuid, uuidBits) == 0; in test_uuid() 56 printf("%s is %s", uuid, validStr[isValid]); in test_uuid() 85 printf("UUID generate = %s\n", str); in main() 86 printf("UUID: "); in main() 92 printf("UUID type = %d, UUID variant = %d\n", type, variant); in main() 94 printf("Incorrect UUID Variant; was expecting DCE!\n"); in main() [all …]
|
D | uuid_time.c | 2 * uuid_time.c --- Interpret the time field from a uuid. This program 3 * violates the UUID abstraction barrier by reaching into the guts 4 * of a UUID and interpreting it. 42 #define UUID MYUUID macro 61 struct uuid uuid; in uuid_time() local 65 uuid_unpack(uu, &uuid); in uuid_time() 67 high = uuid.time_mid | ((uuid.time_hi_and_version & 0xFFF) << 16); in uuid_time() 68 clock_reg = uuid.time_low | ((uint64_t) high << 32); in uuid_time() 82 struct uuid uuid; in uuid_type() local 84 uuid_unpack(uu, &uuid); in uuid_type() [all …]
|
D | Makefile.in | 1 # Makefile for the UUID library 8 my_dir = lib/uuid 15 SMANPAGES= uuid.3 uuid_clear.3 uuid_compare.3 uuid_copy.3 \ 42 LIBDIR= uuid 47 ELF_MYDIR = uuid 53 BSDLIB_MYDIR = uuid 70 all:: tst_uuid uuid_time $(SMANPAGES) uuid.pc 72 uuid.h: $(srcdir)/uuid.h.in 74 $(Q) cp $(srcdir)/uuid.h.in uuid.h 76 $(top_builddir)/lib/uuid/uuid_types.h: $(srcdir)/uuid_types.h.in $(top_builddir)/config.status [all …]
|
D | unparse.c | 2 * unparse.c -- convert a UUID to string 54 struct uuid uuid; in uuid_unparse_x() local 56 uuid_unpack(uu, &uuid); in uuid_unparse_x() 58 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, in uuid_unparse_x() 59 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in uuid_unparse_x() 60 uuid.node[0], uuid.node[1], uuid.node[2], in uuid_unparse_x() 61 uuid.node[3], uuid.node[4], uuid.node[5]); in uuid_unparse_x()
|
D | uuid_generate.3.in | 34 uuid_generate, uuid_generate_random, uuid_generate_time \- create a new unique UUID value 37 .B #include <uuid/uuid.h> 46 function creates a new universally unique identifier (UUID). The uuid will 57 function forces the use of the all-random UUID format, even if 62 generator may compromise the uniqueness of UUID's 69 This algorithm used to be the default one used to generate UUID, but 71 information about when and where the UUID was generated. This can cause 77 The UUID is 16 bytes (128 bits) long, which gives approximately 3.4x10^38 81 The new UUID can reasonably be considered unique among all UUIDs created 85 The newly created UUID is returned in the memory location pointed to by
|
/external/e2fsprogs/lib/e2p/ |
D | uuid.c | 2 * uuid.c -- utility routines for manipulating UUID's. 17 struct uuid { struct 25 /* Returns 1 if the uuid is the NULL uuid */ argument 37 static void e2p_unpack_uuid(void *in, struct uuid *uu) in e2p_unpack_uuid() 65 struct uuid uuid; in e2p_uuid_to_str() local 67 e2p_unpack_uuid(uu, &uuid); in e2p_uuid_to_str() 70 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, in e2p_uuid_to_str() 71 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in e2p_uuid_to_str() 72 uuid.node[0], uuid.node[1], uuid.node[2], in e2p_uuid_to_str() 73 uuid.node[3], uuid.node[4], uuid.node[5]); in e2p_uuid_to_str()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue306/ |
D | UuidSupportTest.java | 24 import java.util.UUID; 34 public static final Tag UUID_TAG = new Tag(Tag.PREFIX + "java.util.UUID"); 44 UUID uuid = UUID.randomUUID(); in dumpAsString() local 45 String str = uuid.toString(); in dumpAsString() 50 assertEquals(str + "\n", yaml.dump(uuid)); in dumpAsString() 57 UUID uuid = (UUID) yaml.load("7f511847-781a-45df-9c8d-1e32e028b9b3"); in loadAsUuid() local 58 assertEquals("7f511847-781a-45df-9c8d-1e32e028b9b3", uuid.toString()); in loadAsUuid() 71 UUID uuid = UUID.randomUUID(); in dumpUuid() local 73 String output = yaml.dump(uuid); in dumpUuid() 74 assertEquals("!!java.util.UUID '" + uuid.toString() + "'\n", output); in dumpUuid() [all …]
|
/external/syslinux/gpxe/src/core/ |
D | uuid.c | 24 #include <gpxe/uuid.h> 33 * Convert UUID to printable string 35 * @v uuid UUID 36 * @ret string UUID in canonical form 38 char * uuid_ntoa ( union uuid *uuid ) { in uuid_ntoa() argument 42 be32_to_cpu ( uuid->canonical.a ), in uuid_ntoa() 43 be16_to_cpu ( uuid->canonical.b ), in uuid_ntoa() 44 be16_to_cpu ( uuid->canonical.c ), in uuid_ntoa() 45 be16_to_cpu ( uuid->canonical.d ), in uuid_ntoa() 46 uuid->canonical.e[0], uuid->canonical.e[1], in uuid_ntoa() [all …]
|
/external/vboot_reference/host/lib21/ |
D | host_misc.c | 125 guid->uuid.time_low = htole32(time_low); in vb2_str_to_guid() 126 guid->uuid.time_mid = htole16(time_mid); in vb2_str_to_guid() 127 guid->uuid.time_high_and_version = htole16(time_high_and_version); in vb2_str_to_guid() 129 guid->uuid.clock_seq_high_and_reserved = chunk[3] & 0xff; in vb2_str_to_guid() 130 guid->uuid.clock_seq_low = chunk[4] & 0xff; in vb2_str_to_guid() 131 guid->uuid.node[0] = chunk[5] & 0xff; in vb2_str_to_guid() 132 guid->uuid.node[1] = chunk[6] & 0xff; in vb2_str_to_guid() 133 guid->uuid.node[2] = chunk[7] & 0xff; in vb2_str_to_guid() 134 guid->uuid.node[3] = chunk[8] & 0xff; in vb2_str_to_guid() 135 guid->uuid.node[4] = chunk[9] & 0xff; in vb2_str_to_guid() [all …]
|
/external/e2fsprogs/misc/ |
D | uuidgen.1.in | 10 uuidgen \- command\-line utility to create a new UUID value 22 a new universally unique identifier (UUID) using the 24 library. The new UUID can reasonably be considered unique among 29 There are two types of UUID's which 31 can generate: time-based UUID's and random-based UUID's. By 34 will generate a random-based UUID if a high-quality random number 35 generator is present. Otherwise, it will chose a time-based UUID. It 37 UUID types by using the 45 Generate a random-based UUID. This method creates a UUID consisting mostly 51 Generate a time-based UUID. This method creates a UUID based on the system
|
/external/llvm/unittests/IR/ |
D | DebugTypeODRUniquingTest.cpp | 28 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/ |
D | .gitignore | 129 lib/uuid/subdirs 130 lib/uuid/tst_uuid 131 lib/uuid/uuid.3 132 lib/uuid/uuid.h 133 lib/uuid/uuid.pc 134 lib/uuid/uuid_clear.3 135 lib/uuid/uuid_compare.3 136 lib/uuid/uuid_copy.3 137 lib/uuid/uuid_generate.3 138 lib/uuid/uuid_is_null.3 [all …]
|
/external/netperf/src/ |
D | net_uuid.c | 2 implementation of UUID generation from RFC 4122. */ 65 100ns ticks since UUID epoch, but resolution may be less than 138 /* Offset between UUID formatted times and Unix formatted times. in get_system_time() 139 UUID UTC base time is October 15, 1582. in get_system_time() 195 /* puid -- print a UUID */ 208 /* snpuid -- print a UUID in the supplied buffer */ 214 snprintf(tmp,size,"%s","uuid string too small"); in snpuid() 235 /* get-current_time -- get time as 60-bit 100ns ticks since UUID epoch. 254 /* if clock reading changed since last UUID generated, */ in get_current_time() 292 /* format_uuid_v1 -- make a UUID from the timestamp, clockseq, [all …]
|
/external/e2fsprogs/tests/t_change_uuid_mcsum_seed_mounted/ |
D | expect | 2 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
|
D | script | 1 test_description="change uuid on a metadata-csum with mcsum-seed" 12 $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/guice/jdk8-tests/test/com/google/inject/jdk8/ |
D | Java8LanguageFeatureBindingTest.java | 33 import java.util.UUID; 112 UUID uuid = UUID.randomUUID(); in testProvider_usingJdk8Features() local 116 bind(UUID.class).toInstance(uuid); in testProvider_usingJdk8Features() 121 assertEquals(uuid.toString(), injector.getInstance(String.class)); in testProvider_usingJdk8Features() 125 private final UUID uuid; field in Java8LanguageFeatureBindingTest.StringProvider 128 StringProvider(UUID uuid) { in StringProvider() argument 129 this.uuid = uuid; in StringProvider() 134 return Collections.singleton(uuid).stream() in get() 135 .map(UUID::toString) in get()
|
/external/mockito/src/test/java/org/mockito/internal/util/reflection/ |
D | BeanPropertySetterTest.java | 13 import java.util.UUID; 40 Field theField = someBean.getClass().getDeclaredField("UUID"); in use_the_setter_on_the_target_when_field_name_begins_by_at_least_2_caps() 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/toybox/tests/ |
D | blkid.test | 16 '-: LABEL="myext2" UUID="e59093ba-4135-4fdb-bcc4-f20beae4dfaf" TYPE="ext2"\n' \ 19 '-: LABEL="myext3" UUID="79d1c877-1a0f-4e7d-b21d-fc32ae3ef101" TYPE="ext3"\n' \ 22 '-: LABEL="myext4" UUID="dc4b7c00-c0c0-4600-af7e-0335f09770fa" TYPE="ext4"\n' \ 25 '-: LABEL="" UUID="b53d3619-c204-4c0b-8504-36363578491c" TYPE="f2fs"\n' \ 28 '-: LABEL="mymsdos" UUID="5108-1e6e" TYPE="vfat"\n' "" "" 30 '-: UUID="8585600838bfe16e" TYPE="ntfs"\n' "" "" 32 '-: LABEL="myreiser" UUID="a5b99bec-45cc-41d7-986e-32f4b6fc28f2" TYPE="reiserfs"\n' \ 37 '-: LABEL="myvfat" UUID="1db9-5673" TYPE="vfat"\n' "" "" 39 '-: LABEL="XFS_test" UUID="d63a1dc3-27d5-4dd4-8b38-f4f97f495c6f" TYPE="xfs"\n' \
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothRfcommFacade.java | 42 import java.util.UUID; 57 // UUID for SL4A. 89 String uuid = UUID.randomUUID().toString(); in addConnection() local 90 connections.put(uuid, conn); in addConnection() 91 conn.setUUID(uuid); in addConnection() 92 return uuid; in addConnection() 137 @RpcParameter(name = "uuid", in bluetoothRfcommBeginConnectThread() 138 description = "The UUID passed here must match the UUID used by the server device.") in bluetoothRfcommBeginConnectThread() 140 String uuid) in bluetoothRfcommBeginConnectThread() 144 ConnectThread connectThread = new ConnectThread(mDevice, uuid); in bluetoothRfcommBeginConnectThread() [all …]
|
/external/e2fsprogs/tests/t_disable_changed_csum_seed/ |
D | expect | 2 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
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_constants.py | 17 import uuid 70 # The following UUID values are defined for the device service identifiers. 71 UUID_BASIC_CONNECT = uuid.UUID('A289CC33-BCBB-8B4F-B6B0-133EC2AAE6DF') 73 # The following UUID values are defined for the MBIM_CONTEXT_TYPES which are 75 MBIM_CONTEXT_TYPE_NONE = uuid.UUID('B43F758C-A560-4B46-B35E-C5869641FB54') 76 MBIM_CONTEXT_TYPE_INTERNET = uuid.UUID('7E5E2A7E-4E6F-7272-736B-656E7E5E2A7E')
|
/external/e2fsprogs/tests/t_disable_changed_csum_seed_mounted/ |
D | expect | 2 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
|