/external/syslinux/gpxe/src/core/ |
H A D | uuid.c | 24 #include <gpxe/uuid.h> 35 * @v uuid UUID 38 char * uuid_ntoa ( union uuid *uuid ) { 42 be32_to_cpu ( uuid->canonical.a ), 43 be16_to_cpu ( uuid->canonical.b ), 44 be16_to_cpu ( uuid->canonical.c ), 45 be16_to_cpu ( uuid->canonical.d ), 46 uuid->canonical.e[0], uuid [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | debug-info-uuid.cpp | 4 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "tmpl_guid<&__uuidof(uuid)>" 18 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "tmpl_guid2<__uuidof(uuid)>" 27 // CHECK-ITANIUM: !DICompositeType(tag: DW_TAG_structure_type, name: "tmpl_guid<&__uuidof(uuid)>" 29 // CHECK-ITANIUM: !DICompositeType(tag: DW_TAG_structure_type, name: "tmpl_guid2<__uuidof(uuid)>" 37 struct __declspec(uuid("{12345678-1234-1234-1234-1234567890ab}")) uuid; 38 tmpl_guid<&__uuidof(uuid)> tgi; 42 tmpl_guid2<__uuidof(uuid)> tgi2;
|
H A 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 {
|
/external/libmojo/device/bluetooth/ |
H A D | bluetooth_uuid.cc | 20 // in |canonical|, |canonical_128|, and |format| based on |uuid|. 21 void GetCanonicalUuid(std::string uuid, argument 30 if (uuid.empty()) 33 if (uuid.size() < 11 && 34 base::StartsWith(uuid, "0x", base::CompareCase::SENSITIVE)) { 35 uuid = uuid.substr(2); 38 if (!(uuid.size() == 4 || uuid.size() == 8 || uuid 68 BluetoothUUID(const std::string& uuid) argument 94 PrintTo(const BluetoothUUID& uuid, std::ostream* out) argument [all...] |
H A D | bluetooth_uuid.h | 29 // Single argument constructor. |uuid| can be a 16, 32, or 128 bit UUID 40 // should be provided in the 128-bit format. If |uuid| is in an unsupported 43 explicit BluetoothUUID(const std::string& uuid); 75 bool operator<(const BluetoothUUID& uuid) const; 78 bool operator==(const BluetoothUUID& uuid) const; 79 bool operator!=(const BluetoothUUID& uuid) const; 96 PrintTo(const BluetoothUUID& uuid, std::ostream* out); 99 size_t operator()(const device::BluetoothUUID& uuid) const { 100 return std::hash<std::string>()(uuid.canonical_value());
|
/external/e2fsprogs/lib/uuid/ |
H A D | unparse.c | 54 struct uuid uuid; local 56 uuid_unpack(uu, &uuid); 58 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, 59 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, 60 uuid.node[0], uuid [all...] |
H A D | uuidP.h | 2 * uuid.h -- private header file for uuids 38 #include <uuid/uuid_types.h> 42 #include <uuid/uuid.h> 50 struct uuid { struct 62 void uuid_pack(const struct uuid *uu, uuid_t ptr); 63 void uuid_unpack(const uuid_t in, struct uuid *uu);
|
H A D | parse.c | 45 struct uuid uuid; local 66 uuid.time_low = strtoul(in, NULL, 16); 67 uuid.time_mid = strtoul(in+9, NULL, 16); 68 uuid.time_hi_and_version = strtoul(in+14, NULL, 16); 69 uuid.clock_seq = strtoul(in+19, NULL, 16); 75 uuid.node[i] = strtoul(buf, NULL, 16); 78 uuid_pack(&uuid, uu);
|
H A D | uuid_time.c | 2 * uuid_time.c --- Interpret the time field from a uuid. This program 61 struct uuid uuid; local 65 uuid_unpack(uu, &uuid); 67 high = uuid.time_mid | ((uuid.time_hi_and_version & 0xFFF) << 16); 68 clock_reg = uuid.time_low | ((uint64_t) high << 32); 82 struct uuid uuid; local 84 uuid_unpack(uu, &uuid); 90 struct uuid uuid; local [all...] |
/external/e2fsprogs/contrib/python-uuid/ |
H A D | setup.py | 4 uuid = Extension('e2fsprogs_uuid', variable 5 sources = ['uuid.c'], 6 libraries = ['uuid']) 10 description = 'This is python uuid interface', 11 ext_modules = [uuid])
|
H A D | uuid.c | 3 #include <uuid/uuid.h> 8 char uuid[37]; local 11 uuid_unparse(u, uuid); 12 return Py_BuildValue("s", uuid);
|
/external/e2fsprogs/lib/e2p/ |
H A 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 */ 37 static void e2p_unpack_uuid(void *in, struct uuid *uu) 65 struct uuid uuid; local 67 e2p_unpack_uuid(uu, &uuid); 70 uuid.time_low, uuid [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | uuid.h | 16 int is_nil_uuid(const u8 *uuid); 17 int uuid_random(u8 *uuid);
|
H A D | uuid.c | 13 #include "uuid.h" 65 int is_nil_uuid(const u8 *uuid) argument 69 if (uuid[i]) 75 int uuid_random(u8 *uuid) argument 83 if (os_get_random(uuid, UUID_LEN) < 0 || 84 hmac_sha256(uuid, UUID_LEN, (const u8 *) &t, sizeof(t), hash) < 0) 87 os_memcpy(uuid, hash, UUID_LEN); 90 uuid[6] = (4 << 4) | (uuid[6] & 0x0f); 93 uuid[ [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | uuid.h | 16 int is_nil_uuid(const u8 *uuid); 17 int uuid_random(u8 *uuid);
|
H A D | uuid.c | 13 #include "uuid.h" 65 int is_nil_uuid(const u8 *uuid) argument 69 if (uuid[i]) 75 int uuid_random(u8 *uuid) argument 83 if (os_get_random(uuid, UUID_LEN) < 0 || 84 hmac_sha256(uuid, UUID_LEN, (const u8 *) &t, sizeof(t), hash) < 0) 87 os_memcpy(uuid, hash, UUID_LEN); 90 uuid[6] = (4 << 4) | (uuid[6] & 0x0f); 93 uuid[ [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | uuid.h | 16 int is_nil_uuid(const u8 *uuid); 17 int uuid_random(u8 *uuid);
|
H A D | uuid.c | 13 #include "uuid.h" 65 int is_nil_uuid(const u8 *uuid) argument 69 if (uuid[i]) 75 int uuid_random(u8 *uuid) argument 83 if (os_get_random(uuid, UUID_LEN) < 0 || 84 hmac_sha256(uuid, UUID_LEN, (const u8 *) &t, sizeof(t), hash) < 0) 87 os_memcpy(uuid, hash, UUID_LEN); 90 uuid[6] = (4 << 4) | (uuid[6] & 0x0f); 93 uuid[ [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
H A D | uuid.h | 14 union uuid { union 31 extern char * uuid_ntoa ( union uuid *uuid );
|
/external/python/cpython3/Lib/test/ |
H A D | test_uuid.py | 8 import uuid namespace 30 'urn:uuid:00000000-0000-0000-0000-000000000000', 31 0, 0, uuid.RESERVED_NCS, None), 39 'urn:uuid:00010203-0405-0607-0809-0a0b0c0d0e0f', 40 0x607040500010203, 0x809, uuid.RESERVED_NCS, None), 48 'urn:uuid:02d9e6d5-9467-382e-8f9b-9300a64ac3cd', 49 0x82e946702d9e6d5, 0xf9b, uuid.RFC_4122, 3), 57 'urn:uuid:12345678-1234-5678-1234-567812345678', 58 0x678123412345678, 0x1234, uuid.RESERVED_NCS, None), 66 'urn:uuid [all...] |
/external/python/cpython2/Lib/test/ |
H A D | test_uuid.py | 5 import uuid namespace 27 'urn:uuid:00000000-0000-0000-0000-000000000000', 28 0, 0, uuid.RESERVED_NCS, None), 36 'urn:uuid:00010203-0405-0607-0809-0a0b0c0d0e0f', 37 0x607040500010203L, 0x809, uuid.RESERVED_NCS, None), 45 'urn:uuid:02d9e6d5-9467-382e-8f9b-9300a64ac3cd', 46 0x82e946702d9e6d5L, 0xf9b, uuid.RFC_4122, 3), 54 'urn:uuid:12345678-1234-5678-1234-567812345678', 55 0x678123412345678L, 0x1234, uuid.RESERVED_NCS, None), 63 'urn:uuid [all...] |
/external/curl/tests/python_dependencies/impacket/ |
H A D | uuid.py | 25 def bin_to_string(uuid): 26 uuid1, uuid2, uuid3 = unpack('<LHH', uuid[:8]) 27 uuid4, uuid5, uuid6 = unpack('>HHL', uuid[8:16]) 30 def string_to_bin(uuid): 31 matches = re.match('([\dA-Fa-f]{8})-([\dA-Fa-f]{4})-([\dA-Fa-f]{4})-([\dA-Fa-f]{4})-([\dA-Fa-f]{4})([\dA-Fa-f]{8})', uuid) 33 uuid = pack('<LHH', uuid1, uuid2, uuid3) 34 uuid += pack('>HHL', uuid4, uuid5, uuid6) 35 return uuid 52 #output: tuple (uuid,version) 67 uuid, (ma [all...] |
/external/vboot_reference/host/lib21/ |
H A D | host_misc.c | 125 guid->uuid.time_low = htole32(time_low); 126 guid->uuid.time_mid = htole16(time_mid); 127 guid->uuid.time_high_and_version = htole16(time_high_and_version); 129 guid->uuid.clock_seq_high_and_reserved = chunk[3] & 0xff; 130 guid->uuid.clock_seq_low = chunk[4] & 0xff; 131 guid->uuid.node[0] = chunk[5] & 0xff; 132 guid->uuid.node[1] = chunk[6] & 0xff; 133 guid->uuid.node[2] = chunk[7] & 0xff; 134 guid->uuid.node[3] = chunk[8] & 0xff; 135 guid->uuid [all...] |
/external/syslinux/core/ |
H A D | sysappend.c | 76 static bool is_valid_uuid(const uint8_t *uuid) argument 78 /* Assume the uuid is valid if it has a type that is not 0 or 15 */ 79 return (uuid[6] >= 0x10 && uuid[6] < 0xf0); 113 char *uuid; local 115 uuid = fs_uuid(); 116 if (!uuid) 119 snprintf(fsuuid_str + 7, sizeof(fsuuid_str) - 7, "%s", uuid); 121 free(uuid);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
H A D | UUIDConverter.java | 26 public static byte[] convert(UUID uuid) { argument 28 long msb = uuid.getMostSignificantBits(); 29 long lsb = uuid.getLeastSignificantBits();
|