Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 847) 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/python/cpython3/Lib/test/
Dtest_uuid.py32 uuid = None variable in BaseTestUUID
47 0, 0, self.uuid.RESERVED_NCS, None),
56 0x607040500010203, 0x809, self.uuid.RESERVED_NCS, None),
65 0x82e946702d9e6d5, 0xf9b, self.uuid.RFC_4122, 3),
74 0x678123412345678, 0x1234, self.uuid.RESERVED_NCS, None),
83 0x1d19dad6ba7b810, 0xb4, self.uuid.RFC_4122, 1),
92 0x1d19dad6ba7b811, 0xb4, self.uuid.RFC_4122, 1),
101 0x1d19dad6ba7b812, 0xb4, self.uuid.RFC_4122, 1),
110 0x1d19dad6ba7b814, 0xb4, self.uuid.RFC_4122, 1),
119 0x1d19dc07d444840, 0x3245, self.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/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 …]
/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/arm-trusted-firmware/common/
Duuid.c73 int read_uuid(uint8_t *dest, char *uuid) in read_uuid() argument
79 if (strnlen(uuid, UUID_STRING_LENGTH) != UUID_STRING_LENGTH) { in read_uuid()
85 err = read_hex(dest, uuid, 8); in read_uuid()
86 uuid += 8; in read_uuid()
90 err |= ((*uuid == '-') ? 0 : -1); in read_uuid()
91 uuid++; in read_uuid()
94 err |= read_hex(dest, uuid, 4); in read_uuid()
95 uuid += 4; in read_uuid()
99 err |= ((*uuid == '-') ? 0 : -1); in read_uuid()
100 uuid++; in read_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/arm-trusted-firmware/tools/nxp/plat_fiptool/
Dplat_def_uuid_config.c17 .uuid = UUID_DDR_IMEM_UDIMM_1D,
22 .uuid = UUID_DDR_IMEM_UDIMM_2D,
27 .uuid = UUID_DDR_DMEM_UDIMM_1D,
32 .uuid = UUID_DDR_DMEM_UDIMM_2D,
37 .uuid = UUID_DDR_IMEM_RDIMM_1D,
42 .uuid = UUID_DDR_IMEM_RDIMM_2D,
47 .uuid = UUID_DDR_DMEM_RDIMM_1D,
52 .uuid = UUID_DDR_DMEM_RDIMM_2D,
57 .uuid = UUID_FUSE_PROV,
62 .uuid = UUID_FUSE_UP,
[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
16 SMANPAGES= uuid.3 uuid_clear.3 uuid_compare.3 uuid_copy.3 \
43 LIBDIR= uuid
48 ELF_MYDIR = uuid
54 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 …]
/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/bcc/tools/
Ddirtop_example.txt6 # ./dirtop.py -d '/hdfs/uuid/*/yarn'
12 1030 2852 8 147341 /hdfs/uuid/c11da291-28de-4a77-873e-44bb452d238b/yarn
13 3308 2459 10980 24893 /hdfs/uuid/bf829d08-1455-45b8-81fa-05c3303e8c45/yarn
14 2227 7165 6484 11157 /hdfs/uuid/76dc0b77-e2fd-4476-818f-2b5c3c452396/yarn
15 1985 9576 6431 6616 /hdfs/uuid/99c178d5-a209-4af2-8467-7382c7f03c1b/yarn
16 1986 398 6474 6486 /hdfs/uuid/7d512fe7-b20d-464c-a75a-dbf8b687ee1c/yarn
17 764 3685 5 7069 /hdfs/uuid/250b21c8-1714-45fe-8c08-d45d0271c6bd/yarn
18 432 1603 259 6402 /hdfs/uuid/4a833770-767e-43b3-b696-dc98901bce26/yarn
19 993 5856 320 129 /hdfs/uuid/b94cbf3f-76b1-4ced-9043-02d450b9887c/yarn
20 612 5645 4 249 /hdfs/uuid/8138a53b-b942-44d3-82df-51575f1a3901/yarn
[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"
/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/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/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 …]
/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/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/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/drm/
DFrameworkMediaDrm.java64 uuid -> {
66 return newInstance(uuid);
68 Log.e(TAG, "Failed to instantiate a FrameworkMediaDrm for uuid: " + uuid + ".");
78 private final UUID uuid; field in FrameworkMediaDrm
87 public static boolean isCryptoSchemeSupported(UUID uuid) { in isCryptoSchemeSupported() argument
88 return MediaDrm.isCryptoSchemeSupported(adjustUuid(uuid)); in isCryptoSchemeSupported()
99 public static FrameworkMediaDrm newInstance(UUID uuid) throws UnsupportedDrmException { in newInstance() argument
101 return new FrameworkMediaDrm(uuid); in newInstance()
109 private FrameworkMediaDrm(UUID uuid) throws UnsupportedSchemeException { in FrameworkMediaDrm() argument
110 Assertions.checkNotNull(uuid); in FrameworkMediaDrm()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/drm/
DFrameworkMediaDrm.java64 uuid -> {
66 return newInstance(uuid);
68 Log.e(TAG, "Failed to instantiate a FrameworkMediaDrm for uuid: " + uuid + ".");
78 private final UUID uuid; field in FrameworkMediaDrm
87 public static boolean isCryptoSchemeSupported(UUID uuid) { in isCryptoSchemeSupported() argument
88 return MediaDrm.isCryptoSchemeSupported(adjustUuid(uuid)); in isCryptoSchemeSupported()
99 public static FrameworkMediaDrm newInstance(UUID uuid) throws UnsupportedDrmException { in newInstance() argument
101 return new FrameworkMediaDrm(uuid); in newInstance()
109 private FrameworkMediaDrm(UUID uuid) throws UnsupportedSchemeException { in FrameworkMediaDrm() argument
110 Assertions.checkNotNull(uuid); in FrameworkMediaDrm()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowStorageStatsManagerTest.java159 UUID uuid = UUID.randomUUID(); in queryPackageWithCorrectArguments_shouldReturnSetupValue() local
162 shadowOf(storageStatsManager).addStorageStats(uuid, packageName, userHandle, expected); in queryPackageWithCorrectArguments_shouldReturnSetupValue()
166 shadowOf(storageStatsManager).queryStatsForPackage(uuid, packageName, userHandle); in queryPackageWithCorrectArguments_shouldReturnSetupValue()
176 UUID uuid = UUID.randomUUID(); in queryUserWithCorrectArguments_shouldReturnSetupValue() local
179 shadowOf(storageStatsManager).addStorageStats(uuid, packageName, userHandle, expected); in queryUserWithCorrectArguments_shouldReturnSetupValue()
182 StorageStats actual = shadowOf(storageStatsManager).queryStatsForUser(uuid, userHandle); in queryUserWithCorrectArguments_shouldReturnSetupValue()
220 UUID uuid = UUID.randomUUID(); in queryUser_packageStatsUpdated_shouldUpdateUserStats() local
225 .addStorageStats(uuid, packageName1, userHandle, buildStorageStats()); in queryUser_packageStatsUpdated_shouldUpdateUserStats()
227 .addStorageStats(uuid, packageName2, userHandle, buildStorageStats()); in queryUser_packageStatsUpdated_shouldUpdateUserStats()
230 uuid, in queryUser_packageStatsUpdated_shouldUpdateUserStats()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/drm/
DDrmInitData.java74 if (data.hasData() && !containsSchemeDataWithUuid(result, manifestDatasCount, data.uuid)) { in createSessionCreationData()
210 return C.UUID_NIL.equals(first.uuid) in compare()
211 ? (C.UUID_NIL.equals(second.uuid) ? 0 : 1) in compare()
212 : first.uuid.compareTo(second.uuid); in compare()
245 ArrayList<SchemeData> datas, int limit, UUID uuid) { in containsSchemeDataWithUuid() argument
247 if (datas.get(i).uuid.equals(uuid)) { in containsSchemeDataWithUuid()
264 public final UUID uuid; field in DrmInitData.SchemeData
278 public SchemeData(UUID uuid, String mimeType, @Nullable byte[] data) { in SchemeData() argument
279 this(uuid, /* licenseServerUrl= */ null, mimeType, data); in SchemeData()
290 UUID uuid, @Nullable String licenseServerUrl, String mimeType, @Nullable byte[] data) { in SchemeData() argument
[all …]

12345678910>>...34