/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/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/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/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/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/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/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 …]
|
D | GattClientFacade.java | 47 import java.util.UUID; 152 * Trigger discovering of services by UUID on the BluetoothGatt object 155 * @param uuid service UUID 161 @RpcParameter(name = "uuid") String uuid) throws Exception { in gattClientDiscoverServiceByUuid() 164 Object ret = gatt.getClass().getMethod("discoverServiceByUuid", UUID.class) in gattClientDiscoverServiceByUuid() 165 .invoke(gatt, UUID.fromString(uuid)); in gattClientDiscoverServiceByUuid() 378 * Get the service from an input UUID 384 @Rpc(description = "Get the service from an input UUID") 407 * @param characteristicUuid the characteristic uuid to read 431 UUID cUuid = UUID.fromString(characteristicUuid); in gattClientReadCharacteristic() [all …]
|
/external/clang/test/Parser/ |
D | MicrosoftExtensions.cpp | 47 struct __declspec(uuid(L"00000000-0000-0000-1234-000000000047")) uuid_attr_bad1 { };// expected-err… 48 struct __declspec(uuid(3)) uuid_attr_bad2 { };// expected-error {{'uuid' attribute requires a strin… 49 struct __declspec(uuid("0000000-0000-0000-1234-0000500000047")) uuid_attr_bad3 { };// expected-erro… 50 struct __declspec(uuid("0000000-0000-0000-Z234-000000000047")) uuid_attr_bad4 { };// expected-error… 51 struct __declspec(uuid("000000000000-0000-1234-000000000047")) uuid_attr_bad5 { };// expected-error… 53 __declspec(uuid("000000A0-0000-0000-C000-000000000046")) int i; // expected-warning {{'uuid' attrib… 55 struct __declspec(uuid("000000A0-0000-0000-C000-000000000046")) 59 struct __declspec(uuid("000000A0-0000-0000-C000-000000000049")) 117 struct __declspec(uuid("000000A0-0000-0000-C000-000000000049")) late_defined_uuid; 124 struct __declspec(uuid("{12345678-1234-1234-1234-1234567890aB}")) uuid; [all …]
|
/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/e2fsprogs/debian/ |
D | control.in | 5 ifdef(`UTIL_LINUX_NG', ``libblkid-dev (>= 2.16), uuid-dev (>= 2.16),''))dnl 98 Recommends: uuid-runtime 104 ids (UUIDs). A UUID is an identifier that is unique across both 105 space and time, with respect to the space of all UUIDs. A UUID can 112 Package: uuid-runtime 120 ids (UUIDs). A UUID is an identifier that is unique across both 121 space and time, with respect to the space of all UUIDs. A UUID can 131 UUID’s, in a secure and guaranteed-unique fashion, even in the face 132 of large numbers of threads trying to grab UUID’s running on 150 Package: uuid-dev [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_er.c | 13 #include "uuid.h" 44 ev->uuid = sta->uuid; in wps_er_sta_event() 60 const u8 *uuid) in wps_er_sta_get() argument 66 (uuid == NULL || in wps_er_sta_get() 67 os_memcmp(uuid, sta->uuid, WPS_UUID_LEN) == 0)) in wps_er_sta_get() 100 struct in_addr *addr, const u8 *uuid, in wps_er_ap_get() argument 106 (uuid == NULL || in wps_er_ap_get() 107 os_memcmp(uuid, ap->uuid, WPS_UUID_LEN) == 0) && in wps_er_ap_get() 137 evap->uuid = ap->uuid; in wps_er_ap_event() 254 "SID: uuid:%s\r\n" in wps_er_ap_unsubscribe() [all …]
|
/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/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/skia/src/pdf/ |
D | SkPDFMetadata.cpp | 69 SkPDFMetadata::UUID SkPDFMetadata::CreateUUID( in CreateUUID() 71 // The main requirement is for the UUID to be unique; the exact in CreateUUID() 102 static_assert(sizeof(digest) == sizeof(UUID), "uuid_size"); in CreateUUID() 103 SkPDFMetadata::UUID uuid; in CreateUUID() local 104 memcpy(&uuid, &digest, sizeof(digest)); in CreateUUID() 105 return uuid; in CreateUUID() 108 sk_sp<SkPDFObject> SkPDFMetadata::MakePdfId(const UUID& doc, in MakePdfId() 109 const UUID& instance) { in MakePdfId() 113 static_assert(sizeof(SkPDFMetadata::UUID) == 16, "uuid_size"); in MakePdfId() 115 SkString(reinterpret_cast<const char*>(&doc), sizeof(UUID))); in MakePdfId() [all …]
|