/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 | 53 struct uuid uuid; in uuid_unparse_x() local 55 uuid_unpack(uu, &uuid); in uuid_unparse_x() 57 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, in uuid_unparse_x() 58 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in uuid_unparse_x() 59 uuid.node[0], uuid.node[1], uuid.node[2], in uuid_unparse_x() 60 uuid.node[3], uuid.node[4], uuid.node[5]); in uuid_unparse_x()
|
D | uuid_time.c | 59 struct uuid uuid; in uuid_time() local 63 uuid_unpack(uu, &uuid); in uuid_time() 65 high = uuid.time_mid | ((uuid.time_hi_and_version & 0xFFF) << 16); in uuid_time() 66 clock_reg = uuid.time_low | ((uint64_t) high << 32); in uuid_time() 80 struct uuid uuid; in uuid_type() local 82 uuid_unpack(uu, &uuid); in uuid_type() 83 return ((uuid.time_hi_and_version >> 12) & 0xF); in uuid_type() 88 struct uuid uuid; in uuid_variant() local 91 uuid_unpack(uu, &uuid); in uuid_variant() 92 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 71 all:: tst_uuid uuid_time $(SMANPAGES) uuid.pc 73 uuid.h: $(srcdir)/uuid.h.in 75 $(Q) cp $(srcdir)/uuid.h.in uuid.h 77 $(top_builddir)/lib/uuid/uuid_types.h: $(srcdir)/uuid_types.h.in $(top_builddir)/config.status 80 tst_uuid.o: $(srcdir)/tst_uuid.c uuid.h [all …]
|
D | parse.c | 44 struct uuid uuid; in uuid_parse() local 65 uuid.time_low = strtoul(in, NULL, 16); in uuid_parse() 66 uuid.time_mid = strtoul(in+9, NULL, 16); in uuid_parse() 67 uuid.time_hi_and_version = strtoul(in+14, NULL, 16); in uuid_parse() 68 uuid.clock_seq = strtoul(in+19, NULL, 16); in uuid_parse() 74 uuid.node[i] = strtoul(buf, NULL, 16); in uuid_parse() 77 uuid_pack(&uuid, uu); in uuid_parse()
|
/external/e2fsprogs/lib/e2p/ |
D | uuid.c | 16 struct uuid { struct 36 static void e2p_unpack_uuid(void *in, struct uuid *uu) in e2p_unpack_uuid() 64 struct uuid uuid; in e2p_uuid_to_str() local 66 e2p_unpack_uuid(uu, &uuid); in e2p_uuid_to_str() 69 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, in e2p_uuid_to_str() 70 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in e2p_uuid_to_str() 71 uuid.node[0], uuid.node[1], uuid.node[2], in e2p_uuid_to_str() 72 uuid.node[3], uuid.node[4], uuid.node[5]); in e2p_uuid_to_str()
|
/external/dbus/dbus/ |
D | dbus-uuidgen.c | 45 return_uuid (DBusGUID *uuid, in return_uuid() argument 59 if (!_dbus_uuid_encode (uuid, &encoded) || in return_uuid() 88 DBusGUID uuid; in dbus_internal_do_not_use_get_uuid() local 94 if (!_dbus_read_uuid_file (&filename_str, &uuid, create_if_not_found, error)) in dbus_internal_do_not_use_get_uuid() 99 if (!_dbus_read_local_machine_uuid (&uuid, create_if_not_found, error)) in dbus_internal_do_not_use_get_uuid() 103 if (!return_uuid(&uuid, uuid_p, error)) in dbus_internal_do_not_use_get_uuid() 124 DBusGUID uuid; in dbus_internal_do_not_use_create_uuid() local 126 _dbus_generate_uuid (&uuid); in dbus_internal_do_not_use_create_uuid() 127 return return_uuid (&uuid, uuid_p, NULL); in dbus_internal_do_not_use_create_uuid()
|
D | dbus-misc.c | 75 DBusString uuid; in dbus_get_local_machine_id() local 80 if (!_dbus_string_init (&uuid)) in dbus_get_local_machine_id() 83 if (!_dbus_get_local_machine_uuid_encoded (&uuid) || in dbus_get_local_machine_id() 84 !_dbus_string_steal_data (&uuid, &s)) in dbus_get_local_machine_id() 86 _dbus_string_free (&uuid); in dbus_get_local_machine_id() 91 _dbus_string_free (&uuid); in dbus_get_local_machine_id()
|
D | dbus-internals.c | 682 _dbus_generate_uuid (DBusGUID *uuid) in _dbus_generate_uuid() argument 691 uuid->as_uint32s[DBUS_UUID_LENGTH_WORDS - 1] = DBUS_UINT32_TO_BE (now); in _dbus_generate_uuid() 693 _dbus_generate_random_bytes_buffer (uuid->as_bytes, DBUS_UUID_LENGTH_BYTES - 4); in _dbus_generate_uuid() 704 _dbus_uuid_encode (const DBusGUID *uuid, in _dbus_uuid_encode() argument 708 _dbus_string_init_const_len (&binary, uuid->as_bytes, DBUS_UUID_LENGTH_BYTES); in _dbus_uuid_encode() 714 DBusGUID *uuid, in _dbus_read_uuid_file_without_creating() argument 773 _dbus_string_copy_to_buffer (&decoded, uuid->as_bytes, DBUS_UUID_LENGTH_BYTES); in _dbus_read_uuid_file_without_creating() 791 DBusGUID *uuid, in _dbus_create_uuid_file_exclusively() argument 802 _dbus_generate_uuid (uuid); in _dbus_create_uuid_file_exclusively() 804 if (!_dbus_uuid_encode (uuid, &encoded)) in _dbus_create_uuid_file_exclusively() [all …]
|
/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/dbus/tools/ |
D | dbus-uuidgen.c | 129 char *uuid; in main() local 130 if (dbus_internal_do_not_use_get_uuid (filename, &uuid, ensure_uuid, &error)) in main() 133 printf ("%s\n", uuid); in main() 134 dbus_free (uuid); in main() 139 char *uuid; in main() local 140 if (dbus_internal_do_not_use_create_uuid (&uuid)) in main() 142 printf ("%s\n", uuid); in main() 143 dbus_free (uuid); in main()
|
/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 | 19 struct __declspec(uuid("12345678-1234-1234-1234-1234567890aB")) S1 { } s1; 20 struct __declspec(uuid("87654321-4321-4321-4321-ba0987654321")) S2 { }; 21 struct __declspec(uuid("{12345678-1234-1234-1234-1234567890ac}")) Curly; 22 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/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); 78 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 | 129 struct uuid { struct 137 static void unpack_uuid(void *in, struct uuid *uu) in unpack_uuid() argument 165 struct uuid uuid; in uuid_unparse() local 167 unpack_uuid(uu, &uuid); in uuid_unparse() 170 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, in uuid_unparse() 171 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in uuid_unparse() 172 uuid.node[0], uuid.node[1], uuid.node[2], in uuid_unparse() 173 uuid.node[3], uuid.node[4], uuid.node[5]); in uuid_unparse() 181 char *fn, uuid[40]; in ext2fs_create_icount_tdb() local 192 uuid_unparse(fs->super->s_uuid, uuid); in ext2fs_create_icount_tdb() [all …]
|
/external/valgrind/coregrind/m_debuginfo/ |
D | readmacho.c | 638 static Bool check_uuid_matches ( DiSlice sli, UChar* uuid ) in check_uuid_matches() argument 644 UChar first = uuid[0]; in check_uuid_matches() 668 if (0 == VG_(memcmp)(&buff16[0], &uuid[0], 16)) in check_uuid_matches() 707 UChar uuid[16]; in ML_() local 737 VG_(memset)(&uuid, 0, sizeof(uuid)); in ML_() 871 ML_(cur_read_get)(&uuid, cmd_cur, sizeof(uuid)); in ML_() 1000 valid = dsli.img && dsli.szB > 0 && check_uuid_matches( dsli, uuid ); in ML_() 1071 valid = dsli.img && dsli.szB > 0 && check_uuid_matches( dsli, uuid ); in ML_() 1078 (UInt)uuid[0], (UInt)uuid[1], (UInt)uuid[2], (UInt)uuid[3], in ML_() 1079 (UInt)uuid[4], (UInt)uuid[5], (UInt)uuid[6], (UInt)uuid[7], in ML_() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
D | wps-nfc.py | 87 def wpas_get_er_config_token(uuid): argument 91 ret = wpas.request("WPS_ER_NFC_CONFIG_TOKEN NDEF " + uuid) 116 def wpas_get_handover_sel(uuid): argument 120 if uuid is None: 123 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + uuid).rstrip() 176 data = wpas_get_handover_sel(self.uuid) 345 def wps_write_er_config_tag(clf, uuid, wait_remove=True): argument 349 write_data = wpas_get_er_config_token(uuid) 413 srv.uuid = None 416 srv.uuid = arg_uuid [all …]
|
/external/opencv3/3rdparty/libjasper/ |
D | jp2_cod.c | 889 jp2_uuid_t *uuid = &box->data.uuid; in jp2_uuid_destroy() local 890 if (uuid->data) in jp2_uuid_destroy() 892 jas_free(uuid->data); in jp2_uuid_destroy() 893 uuid->data = NULL; in jp2_uuid_destroy() 899 jp2_uuid_t *uuid = &box->data.uuid; in jp2_uuid_getdata() local 904 if (jp2_getuint8(in, &uuid->uuid[i])) in jp2_uuid_getdata() 908 uuid->datalen = box->datalen - 16; in jp2_uuid_getdata() 909 uuid->data = jas_malloc(uuid->datalen * sizeof(uint_fast8_t)); in jp2_uuid_getdata() 910 for (i = 0; i < uuid->datalen; i++) in jp2_uuid_getdata() 912 if (jp2_getuint8(in, &uuid->data[i])) in jp2_uuid_getdata() [all …]
|