Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 846) sorted by relevance

12345678910>>...34

/external/python/cpython2/Lib/test/
Dtest_uuid.py5 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/arm-trusted-firmware/tools/fiptool/
Dtbbr_config.c17 .uuid = UUID_TRUSTED_UPDATE_FIRMWARE_SCP_BL2U,
22 .uuid = UUID_TRUSTED_UPDATE_FIRMWARE_BL2U,
27 .uuid = UUID_TRUSTED_UPDATE_FIRMWARE_NS_BL2U,
32 .uuid = UUID_TRUSTED_FWU_CERT,
37 .uuid = UUID_TRUSTED_BOOT_FIRMWARE_BL2,
42 .uuid = UUID_SCP_FIRMWARE_SCP_BL2,
47 .uuid = UUID_EL3_RUNTIME_FIRMWARE_BL31,
52 .uuid = UUID_SECURE_PAYLOAD_BL32,
57 .uuid = UUID_SECURE_PAYLOAD_BL32_EXTRA1,
62 .uuid = UUID_SECURE_PAYLOAD_BL32_EXTRA2,
[all …]
/external/python/cpython3/Lib/test/
Dtest_uuid.py31 uuid = None variable in BaseTestUUID
46 0, 0, self.uuid.RESERVED_NCS, None),
55 0x607040500010203, 0x809, self.uuid.RESERVED_NCS, None),
64 0x82e946702d9e6d5, 0xf9b, self.uuid.RFC_4122, 3),
73 0x678123412345678, 0x1234, self.uuid.RESERVED_NCS, None),
82 0x1d19dad6ba7b810, 0xb4, self.uuid.RFC_4122, 1),
91 0x1d19dad6ba7b811, 0xb4, self.uuid.RFC_4122, 1),
100 0x1d19dad6ba7b812, 0xb4, self.uuid.RFC_4122, 1),
109 0x1d19dad6ba7b814, 0xb4, self.uuid.RFC_4122, 1),
118 0x1d19dc07d444840, 0x3245, self.uuid.RFC_4122, 1),
[all …]
/external/libchrome/device/bluetooth/
Dbluetooth_uuid.cc29 void GetCanonicalUuid(std::string uuid, in GetCanonicalUuid() argument
38 if (uuid.empty()) in GetCanonicalUuid()
41 if (uuid.size() < 11 && in GetCanonicalUuid()
42 base::StartsWith(uuid, "0x", base::CompareCase::SENSITIVE)) { in GetCanonicalUuid()
43 uuid = uuid.substr(2); in GetCanonicalUuid()
46 if (!(uuid.size() == 4 || uuid.size() == 8 || uuid.size() == 36)) in GetCanonicalUuid()
49 for (size_t i = 0; i < uuid.size(); ++i) { in GetCanonicalUuid()
51 if (uuid[i] != '-') in GetCanonicalUuid()
54 if (!base::IsHexDigit(uuid[i])) in GetCanonicalUuid()
56 uuid[i] = base::ToLowerASCII(uuid[i]); in GetCanonicalUuid()
[all …]
Dbluetooth_uuid.h50 explicit BluetoothUUID(const std::string& uuid);
55 explicit BluetoothUUID(GUID uuid);
67 static GUID GetCanonicalValueAsGUID(base::StringPiece uuid);
93 bool operator<(const BluetoothUUID& uuid) const;
96 bool operator==(const BluetoothUUID& uuid) const;
97 bool operator!=(const BluetoothUUID& uuid) const;
114 PrintTo(const BluetoothUUID& uuid, std::ostream* out);
117 size_t operator()(const device::BluetoothUUID& uuid) const { in operator()
118 return std::hash<std::string>()(uuid.canonical_value()); in operator()
/external/llvm-project/clang/test/SemaCXX/
Dms-uuid.cpp32 class __declspec(uuid("000000A0-0000-0000-C000-000000000049")) C1;
33 class __declspec(uuid("000000a0-0000-0000-c000-000000000049")) C1;
34 class __declspec(uuid("{000000a0-0000-0000-C000-000000000049}")) C1;
35 class __declspec(uuid("000000A0-0000-0000-C000-000000000049")) C1 {};
39 class __declspec(uuid("000000A0-0000-0000-C000-000000000049")) C2;
41 class __declspec(uuid("110000A0-0000-0000-C000-000000000049")) C2;
43 class __declspec(uuid("220000A0-0000-0000-C000-000000000049")) C2 {};
46 class __declspec(uuid("000000A0-0000-0000-C000-000000000049")) C2_2;
49 class __declspec(uuid("110000A0-0000-0000-C000-000000000049")) C2_2;
52 [uuid("000000A0-0000-0000-C000-000000000049")] class C3;
[all …]
/external/autotest/server/cros/bluetooth/
Dbluetooth_gatt_client_utils.py57 for uuid in servs_json:
58 path = servs_json[uuid]['path']
59 service_obj = GATT_Service(uuid, path, bluetooth_facade)
63 chrcs_json = servs_json[uuid]['characteristics']
64 for uuid in chrcs_json:
65 path = chrcs_json[uuid]['path']
66 chrc_obj = GATT_Characteristic(uuid, path, bluetooth_facade)
70 descs_json = chrcs_json[uuid]['descriptors']
71 for uuid in descs_json:
72 path = descs_json[uuid]['path']
[all …]
/external/llvm-project/clang/test/Parser/
Dms-square-bracket-attributes.mm12 [uuid( "000000A0-0000-0000-C000-000000000049" )] struct struct_with_uuid;
14 // Optionally, the uuid can be surrounded by one set of braces.
15 [uuid(
20 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
21 [uuid(u8"000000A0-0000-0000-C000-000000000049")] struct struct_with_uuid_u8;
22 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
23 [uuid(L"000000A0-0000-0000-C000-000000000049")] struct struct_with_uuid_L;
26 // allow it for __declspec(uuid()) (u8 literals etc are not allowed there
30 [uuid(R"(000000A0-0000-0000-C000-000000000049)")] struct struct_with_uuid_raw;
32 // Likewise, cl supports UCNs in declspec uuid, but not in []-style uuid.
[all …]
/external/python/cpython3/Modules/
D_uuidmodule.c25 uuid_t uuid; in py_uuid_generate_time_safe() local
29 res = uuid_generate_time_safe(uuid); in py_uuid_generate_time_safe()
30 return Py_BuildValue("y#i", (const char *) uuid, sizeof(uuid), res); in py_uuid_generate_time_safe()
33 uuid_create(&uuid, &status); in py_uuid_generate_time_safe()
35 unsigned char buf[sizeof(uuid)]; in py_uuid_generate_time_safe()
36 uuid_enc_be(buf, &uuid); in py_uuid_generate_time_safe()
37 return Py_BuildValue("y#i", buf, sizeof(uuid), (int) status); in py_uuid_generate_time_safe()
39 return Py_BuildValue("y#i", (const char *) &uuid, sizeof(uuid), (int) status); in py_uuid_generate_time_safe()
42 uuid_generate_time(uuid); in py_uuid_generate_time_safe()
43 return Py_BuildValue("y#O", (const char *) uuid, sizeof(uuid), Py_None); in py_uuid_generate_time_safe()
[all …]
/external/vboot_reference/host/lib21/
Dhost_misc.c125 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/
Dunparse.c54 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()
Duuid_time.c61 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()
DMakefile.in8 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 …]
/external/e2fsprogs/lib/e2p/
Duuid.c17 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/rust/crates/uuid/benches/
Dformat_str.rs6 use uuid::Uuid;
10 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_hyphen() localVariable
13 write!(&mut buffer as &mut [_], "{:x}", uuid.to_hyphenated()).unwrap(); in bench_hyphen()
20 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_simple() localVariable
23 write!(&mut buffer as &mut [_], "{:x}", uuid.to_simple()).unwrap(); in bench_simple()
30 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_urn() localVariable
33 write!(&mut buffer as &mut [_], "{:x}", uuid.to_urn()).unwrap(); in bench_urn()
40 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_encode_hyphen() localVariable
43 uuid.to_hyphenated().encode_lower(&mut buffer); in bench_encode_hyphen()
50 let uuid = Uuid::parse_str("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4").unwrap(); in bench_encode_simple() localVariable
[all …]
/external/rust/crates/uuid/
DREADME.md1 uuid section
4 [![Latest Version](https://img.shields.io/crates/v/uuid.svg)](https://crates.io/crates/uuid)
5 …[Join the chat at https://gitter.im/uuid-rs/Lobby](https://badges.gitter.im/Join%20Chat.svg)](http…
7 …yor.com/api/projects/status/github/uuid-rs/uuid?branch=master&svg=true)](https://ci.appveyor.com/p…
8 [![Build Status](https://travis-ci.org/uuid-rs/uuid.svg?branch=master)](https://travis-ci.org/uuid-…
9 …ttps://isitmaintained.com/badge/resolution/uuid-rs/uuid.svg)](https://isitmaintained.com/project/u…
10 …pen](https://isitmaintained.com/badge/open/uuid-rs/uuid.svg)](https://isitmaintained.com/project/u…
38 using an implementation of `uuid::v1::ClockSequence` (usually
39 `uuid::v1::Context`) and a timestamp from `time::timespec`.
57 By default, `uuid` can be depended on with:
[all …]
DCargo.toml.orig15 documentation = "https://docs.rs/uuid"
26 "uuid"
29 homepage = "https://github.com/uuid-rs/uuid"
30 name = "uuid"
32 repository = "https://github.com/uuid-rs/uuid"
43 repository = "uuid-rs/uuid"
46 repository = "uuid-rs/uuid"
49 repository = "uuid-rs/uuid"
55 repository = "uuid-rs/uuid"
DCargo.toml15 name = "uuid"
20 homepage = "https://github.com/uuid-rs/uuid"
21 documentation = "https://docs.rs/uuid"
23 keywords = ["guid", "unique", "uuid"]
26 repository = "https://github.com/uuid-rs/uuid"
79 repository = "uuid-rs/uuid"
82 repository = "uuid-rs/uuid"
85 repository = "uuid-rs/uuid"
91 repository = "uuid-rs/uuid"
/external/arm-trusted-firmware/plat/brcm/common/
Dbrcm_io_storage.c44 .uuid = UUID_TRUSTED_BOOT_FIRMWARE_BL2,
48 .uuid = UUID_SCP_FIRMWARE_SCP_BL2,
52 .uuid = UUID_EL3_RUNTIME_FIRMWARE_BL31,
56 .uuid = UUID_SECURE_PAYLOAD_BL32,
60 .uuid = UUID_SECURE_PAYLOAD_BL32_EXTRA1,
64 .uuid = UUID_SECURE_PAYLOAD_BL32_EXTRA2,
68 .uuid = UUID_NON_TRUSTED_FIRMWARE_BL33,
72 .uuid = UUID_TB_FW_CONFIG,
76 .uuid = UUID_HW_CONFIG,
80 .uuid = UUID_SOC_FW_CONFIG,
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DFrameworkMediaDrm.java60 uuid -> {
62 return newInstance(uuid);
64 Log.e(TAG, "Failed to instantiate a FrameworkMediaDrm for uuid: " + uuid + ".");
74 private final UUID uuid; field in FrameworkMediaDrm
86 public static FrameworkMediaDrm newInstance(UUID uuid) throws UnsupportedDrmException { in newInstance() argument
88 return new FrameworkMediaDrm(uuid); in newInstance()
96 private FrameworkMediaDrm(UUID uuid) throws UnsupportedSchemeException { in FrameworkMediaDrm() argument
97 Assertions.checkNotNull(uuid); in FrameworkMediaDrm()
98 Assertions.checkArgument(!C.COMMON_PSSH_UUID.equals(uuid), "Use C.CLEARKEY_UUID instead"); in FrameworkMediaDrm()
99 this.uuid = uuid; in FrameworkMediaDrm()
[all …]
DDefaultDrmSessionManager.java57 private UUID uuid; field in DefaultDrmSessionManager.Builder
81 uuid = C.WIDEVINE_UUID; in Builder()
113 UUID uuid, ExoMediaDrm.Provider exoMediaDrmProvider) { in setUuidAndExoMediaDrmProvider() argument
114 this.uuid = Assertions.checkNotNull(uuid); in setUuidAndExoMediaDrmProvider()
186 uuid, in build()
203 private MissingSchemeDataException(UUID uuid) { in MissingSchemeDataException() argument
204 super("Media does not support uuid: " + uuid); in MissingSchemeDataException()
238 private final UUID uuid; field in DefaultDrmSessionManager
272 UUID uuid, in DefaultDrmSessionManager() argument
277 uuid, in DefaultDrmSessionManager()
[all …]
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/drm/
DDrmInitData.java75 if (data.hasData() && !containsSchemeDataWithUuid(result, manifestDatasCount, data.uuid)) { in createSessionCreationData()
156 public SchemeData get(UUID uuid) { in get() argument
158 if (schemeData.matches(uuid)) { in get()
232 return C.UUID_NIL.equals(first.uuid) ? (C.UUID_NIL.equals(second.uuid) ? 0 : 1) in compare()
233 : first.uuid.compareTo(second.uuid); in compare()
267 ArrayList<SchemeData> datas, int limit, UUID uuid) { in containsSchemeDataWithUuid() argument
269 if (datas.get(i).uuid.equals(uuid)) { in containsSchemeDataWithUuid()
288 public final UUID uuid; field in DrmInitData.SchemeData
302 public SchemeData(UUID uuid, String mimeType, @Nullable byte[] data) { in SchemeData() argument
303 this(uuid, /* licenseServerUrl= */ null, mimeType, data); in SchemeData()
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dtrack_event_tracker.cc39 void TrackEventTracker::ReserveDescriptorProcessTrack(uint64_t uuid, in ReserveDescriptorProcessTrack() argument
51 reserved_descriptor_tracks_.insert(std::make_pair<>(uuid, reservation)); in ReserveDescriptorProcessTrack()
61 uuid); in ReserveDescriptorProcessTrack()
69 void TrackEventTracker::ReserveDescriptorThreadTrack(uint64_t uuid, in ReserveDescriptorThreadTrack() argument
85 reserved_descriptor_tracks_.insert(std::make_pair<>(uuid, reservation)); in ReserveDescriptorThreadTrack()
95 uuid); in ReserveDescriptorThreadTrack()
104 uint64_t uuid, in ReserveDescriptorCounterTrack() argument
125 reserved_descriptor_tracks_.insert(std::make_pair<>(uuid, reservation)); in ReserveDescriptorCounterTrack()
134 uuid); in ReserveDescriptorCounterTrack()
138 void TrackEventTracker::ReserveDescriptorChildTrack(uint64_t uuid, in ReserveDescriptorChildTrack() argument
[all …]
/external/wpa_supplicant_8/src/utils/
Duuid.c65 int is_nil_uuid(const u8 *uuid) in is_nil_uuid() argument
69 if (uuid[i]) in is_nil_uuid()
75 int uuid_random(u8 *uuid) in uuid_random() argument
83 if (os_get_random(uuid, UUID_LEN) < 0 || in uuid_random()
84 hmac_sha256(uuid, UUID_LEN, (const u8 *) &t, sizeof(t), hash) < 0) in uuid_random()
87 os_memcpy(uuid, hash, UUID_LEN); in uuid_random()
90 uuid[6] = (4 << 4) | (uuid[6] & 0x0f); in uuid_random()
93 uuid[8] = 0x80 | (uuid[8] & 0x3f); in uuid_random()
/external/arm-trusted-firmware/plat/rpi/common/
Drpi3_io_storage.c48 .uuid = UUID_TRUSTED_BOOT_FIRMWARE_BL2,
52 .uuid = UUID_EL3_RUNTIME_FIRMWARE_BL31,
56 .uuid = UUID_SECURE_PAYLOAD_BL32,
60 .uuid = UUID_SECURE_PAYLOAD_BL32_EXTRA1,
64 .uuid = UUID_SECURE_PAYLOAD_BL32_EXTRA2,
68 .uuid = UUID_NON_TRUSTED_FIRMWARE_BL33,
73 .uuid = UUID_TRUSTED_BOOT_FW_CERT,
77 .uuid = UUID_TRUSTED_KEY_CERT,
81 .uuid = UUID_SOC_FW_KEY_CERT,
85 .uuid = UUID_TRUSTED_OS_FW_KEY_CERT,
[all …]

12345678910>>...34