/external/python/cpython2/Lib/test/ |
D | test_uuid.py | 5 import uuid 28 0, 0, uuid.RESERVED_NCS, None), 37 0x607040500010203L, 0x809, uuid.RESERVED_NCS, None), 46 0x82e946702d9e6d5L, 0xf9b, uuid.RFC_4122, 3), 55 0x678123412345678L, 0x1234, uuid.RESERVED_NCS, None), 64 0x1d19dad6ba7b810L, 0xb4, uuid.RFC_4122, 1), 73 0x1d19dad6ba7b811L, 0xb4, uuid.RFC_4122, 1), 82 0x1d19dad6ba7b812L, 0xb4, uuid.RFC_4122, 1), 91 0x1d19dad6ba7b814L, 0xb4, uuid.RFC_4122, 1), 100 0x1d19dc07d444840L, 0x3245, uuid.RFC_4122, 1), [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/lib/uuid/ |
D | unparse.c | 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_time.c | 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() 85 return ((uuid.time_hi_and_version >> 12) & 0xF); in uuid_type() 90 struct uuid uuid; in uuid_variant() local 93 uuid_unpack(uu, &uuid); in uuid_variant() 94 var = uuid.clock_seq; in uuid_variant()
|
D | Makefile.in | 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 79 tst_uuid.o: $(srcdir)/tst_uuid.c uuid.h [all …]
|
D | parse.c | 45 struct uuid uuid; in uuid_parse() local 66 uuid.time_low = strtoul(in, NULL, 16); in uuid_parse() 67 uuid.time_mid = strtoul(in+9, NULL, 16); in uuid_parse() 68 uuid.time_hi_and_version = strtoul(in+14, NULL, 16); in uuid_parse() 69 uuid.clock_seq = strtoul(in+19, NULL, 16); in uuid_parse() 75 uuid.node[i] = strtoul(buf, NULL, 16); in uuid_parse() 78 uuid_pack(&uuid, uu); in uuid_parse()
|
/external/e2fsprogs/lib/e2p/ |
D | uuid.c | 17 struct uuid { struct 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/syslinux/gpxe/src/core/ |
D | uuid.c | 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() 47 uuid->canonical.e[2], uuid->canonical.e[3], in uuid_ntoa() 48 uuid->canonical.e[4], uuid->canonical.e[5] ); in uuid_ntoa()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue306/ |
D | UuidSupportTest.java | 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() 81 UUID uuid = UUID.fromString("ac4877be-0c31-4458-a86e-0272efe1aaa8"); in dumpBean() local 82 bean.setId(uuid); in dumpBean()
|
/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/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/syslinux/core/ |
D | sysappend.c | 76 static bool is_valid_uuid(const uint8_t *uuid) in is_valid_uuid() argument 79 return (uuid[6] >= 0x10 && uuid[6] < 0xf0); in is_valid_uuid() 113 char *uuid; in sysappend_set_fs_uuid() local 115 uuid = fs_uuid(); in sysappend_set_fs_uuid() 116 if (!uuid) in sysappend_set_fs_uuid() 119 snprintf(fsuuid_str + 7, sizeof(fsuuid_str) - 7, "%s", uuid); in sysappend_set_fs_uuid() 121 free(uuid); in sysappend_set_fs_uuid()
|
/external/netperf/src/ |
D | net_uuid.c | 294 static void format_uuid_v1(uuid_t* uuid, uint16_t clock_seq, in format_uuid_v1() argument 299 uuid->time_low = (unsigned long)(timestamp & 0xFFFFFFFF); in format_uuid_v1() 300 uuid->time_mid = (unsigned short)((timestamp >> 32) & 0xFFFF); in format_uuid_v1() 301 uuid->time_hi_and_version = in format_uuid_v1() 303 uuid->time_hi_and_version |= (1 << 12); in format_uuid_v1() 304 uuid->clock_seq_low = clock_seq & 0xFF; in format_uuid_v1() 305 uuid->clock_seq_hi_and_reserved = (clock_seq & 0x3F00) >> 8; in format_uuid_v1() 306 uuid->clock_seq_hi_and_reserved |= 0x80; in format_uuid_v1() 307 memcpy(&uuid->node, &node, sizeof uuid->node); in format_uuid_v1() 311 int uuid_create(uuid_t *uuid) in uuid_create() argument [all …]
|
/external/clang/test/CodeGenCXX/ |
D | microsoft-templ-uuidof.cpp | 9 struct __declspec(uuid("{AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA}")) A {}; 14 struct __declspec(uuid("{BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB}")) X<B> {}; 16 struct __declspec(uuid("{CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC}")) C {}; 27 struct __declspec(uuid("{DDDDDDDD-DDDD-DDDD-DDDD-DDDDDDDDDDDD}")) X<C> {}; 30 struct __declspec(uuid("{EEEEEEEE-EEEE-EEEE-EEEE-EEEEEEEEEEEE}")) Y {
|
D | debug-info-uuid.cpp | 37 struct __declspec(uuid("{12345678-1234-1234-1234-1234567890ab}")) uuid; 38 tmpl_guid<&__uuidof(uuid)> tgi; 42 tmpl_guid2<__uuidof(uuid)> tgi2;
|
D | microsoft-uuidof.cpp | 20 struct __declspec(uuid("12345678-1234-1234-1234-1234567890aB")) S1 { } s1; 21 struct __declspec(uuid("87654321-4321-4321-4321-ba0987654321")) S2 { }; 22 struct __declspec(uuid("{12345678-1234-1234-1234-1234567890ac}")) Curly; 23 struct __declspec(uuid("{12345678-1234-1234-1234-1234567890ac}")) Curly;
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_er.c | 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() 279 const u8 *uuid) in wps_er_ap_get_settings() argument 283 if (os_memcmp(uuid, s->uuid, WPS_UUID_LEN) == 0) in wps_er_ap_get_settings() [all …]
|
D | wps.h | 239 const u8 *uuid, 527 const u8 *uuid; member 543 const u8 *uuid; member 557 const u8 *uuid; member 562 const u8 *uuid; member 618 u8 uuid[16]; member 809 const u8 *uuid, const u8 *pin, size_t pin_len, 811 int wps_registrar_invalidate_pin(struct wps_registrar *reg, const u8 *uuid); 813 int wps_registrar_unlock_pin(struct wps_registrar *reg, const u8 *uuid); 856 int wps_er_pbc(struct wps_er *er, const u8 *uuid, const u8 *addr); [all …]
|
/external/guice/jdk8-tests/test/com/google/inject/jdk8/ |
D | Java8LanguageFeatureBindingTest.java | 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()
|
/external/llvm/test/Assembler/ |
D | dicompositetype-members.ll | 16 …EXT: !3 = !DICompositeType(tag: DW_TAG_structure_type, name: "has-uuid",{{.*}}, identifier: "uuid") 21 …Type(tag: DW_TAG_structure_type, name: "has-uuid", file: !1, line: 2, size: 64, align: 32, identif… 28 ; CHECK-NEXT: !8 = !DICompositeType(tag: DW_TAG_structure_type, name: "no-uuid", file: !1 33 !8 = !DICompositeType(tag: DW_TAG_structure_type, name: "no-uuid", file: !1, line: 2, size: 64, ali… 39 ; Add duplicate fields and members of "no-uuid" in a different file. These 40 ; should stick around, since "no-uuid" does not have an "identifier:" field. 46 ; Add duplicate fields and members of "has-uuid" in a different file. These
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wps_supplicant.h | 53 const char *uuid, const char *pin); 54 int wpas_wps_er_pbc(struct wpa_supplicant *wpa_s, const char *uuid); 55 int wpas_wps_er_learn(struct wpa_supplicant *wpa_s, const char *uuid, 57 int wpas_wps_er_set_config(struct wpa_supplicant *wpa_s, const char *uuid, 59 int wpas_wps_er_config(struct wpa_supplicant *wpa_s, const char *uuid, 62 int ndef, const char *uuid); 80 int ndef, int cr, const char *uuid);
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_constants.py | 17 import uuid 71 UUID_BASIC_CONNECT = uuid.UUID('A289CC33-BCBB-8B4F-B6B0-133EC2AAE6DF') 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/lib/ext2fs/ |
D | icount.c | 135 struct uuid { struct 143 static void unpack_uuid(void *in, struct uuid *uu) in unpack_uuid() argument 171 struct uuid uuid; in uuid_unparse() local 173 unpack_uuid(uu, &uuid); in uuid_unparse() 176 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, in uuid_unparse() 177 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in uuid_unparse() 178 uuid.node[0], uuid.node[1], uuid.node[2], in uuid_unparse() 179 uuid.node[3], uuid.node[4], uuid.node[5]); in uuid_unparse() 191 char *fn, uuid[40]; in ext2fs_create_icount_tdb() local 203 uuid_unparse(fs->super->s_uuid, uuid); in ext2fs_create_icount_tdb() [all …]
|
/external/python/cpython2/Doc/library/ |
D | uuid.rst | 2 :mod:`uuid` --- UUID objects according to RFC 4122 5 .. module:: uuid 36 UUID('urn:uuid:12345678-1234-5678-1234-567812345678') 116 The :mod:`uuid` module defines the following functions: 163 The :mod:`uuid` module defines the following namespace identifiers for use with 188 The :mod:`uuid` module defines the following constants for the possible values 224 Here are some examples of typical usage of the :mod:`uuid` module:: 226 >>> import uuid 229 >>> uuid.uuid1() 233 >>> uuid.uuid3(uuid.NAMESPACE_DNS, 'python.org') [all …]
|
/external/valgrind/coregrind/m_debuginfo/ |
D | readmacho.c | 639 static Bool check_uuid_matches ( DiSlice sli, UChar* uuid ) in check_uuid_matches() argument 645 UChar first = uuid[0]; in check_uuid_matches() 669 if (0 == VG_(memcmp)(&buff16[0], &uuid[0], 16)) in check_uuid_matches() 708 UChar uuid[16]; in ML_() local 738 VG_(memset)(&uuid, 0, sizeof(uuid)); in ML_() 872 ML_(cur_read_get)(&uuid, cmd_cur, sizeof(uuid)); in ML_() 1001 valid = dsli.img && dsli.szB > 0 && check_uuid_matches( dsli, uuid ); in ML_() 1072 valid = dsli.img && dsli.szB > 0 && check_uuid_matches( dsli, uuid ); in ML_() 1079 (UInt)uuid[0], (UInt)uuid[1], (UInt)uuid[2], (UInt)uuid[3], in ML_() 1080 (UInt)uuid[4], (UInt)uuid[5], (UInt)uuid[6], (UInt)uuid[7], in ML_() [all …]
|