Home
last modified time | relevance | path

Searched refs:guid (Results 1 – 25 of 212) sorted by relevance

123456789

/external/google-breakpad/src/common/windows/
Dguid_string.cc43 wstring GUIDString::GUIDToWString(GUID *guid) { in GUIDToWString() argument
48 guid->Data1, guid->Data2, guid->Data3, in GUIDToWString()
49 guid->Data4[0], guid->Data4[1], guid->Data4[2], in GUIDToWString()
50 guid->Data4[3], guid->Data4[4], guid->Data4[5], in GUIDToWString()
51 guid->Data4[6], guid->Data4[7]); in GUIDToWString()
60 wstring GUIDString::GUIDToSymbolServerWString(GUID *guid) { in GUIDToSymbolServerWString() argument
65 guid->Data1, guid->Data2, guid->Data3, in GUIDToSymbolServerWString()
66 guid->Data4[0], guid->Data4[1], guid->Data4[2], in GUIDToSymbolServerWString()
67 guid->Data4[3], guid->Data4[4], guid->Data4[5], in GUIDToSymbolServerWString()
68 guid->Data4[6], guid->Data4[7]); in GUIDToSymbolServerWString()
/external/vboot_reference/host/lib21/
Dhost_misc.c97 int vb2_str_to_guid(const char *str, struct vb2_guid *guid) in vb2_str_to_guid() argument
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()
[all …]
Dhost_key.c131 key->guid = pkey->guid; in vb2_private_key_unpack()
240 .guid = key->guid, in vb2_private_key_write()
247 memcpy(&pkey.guid, &key->guid, sizeof(pkey.guid)); in vb2_private_key_write()
299 .guid = VB2_GUID_NONE_SHA1, in vb2_private_key_hash()
312 .guid = VB2_GUID_NONE_SHA256, in vb2_private_key_hash()
325 .guid = VB2_GUID_NONE_SHA512, in vb2_private_key_hash()
353 key->guid = (struct vb2_guid *)(key + 1); in vb2_public_key_alloc()
374 return (uint8_t *)(key->guid + 1); in vb2_public_key_packed_data()
487 key.guid = *pubk->guid; in vb2_public_key_pack()
541 key->guid = vb2_hash_guid(hash_alg); in vb2_public_key_hash()
/external/google-breakpad/src/common/solaris/
Dguid_creator.cc54 bool CreateGUID(GUID *guid) const { in CreateGUID()
55 guid->data1 = random(); in CreateGUID()
56 guid->data2 = (uint16_t)(random()); in CreateGUID()
57 guid->data3 = (uint16_t)(random()); in CreateGUID()
58 *reinterpret_cast<uint32_t*>(&guid->data4[0]) = random(); in CreateGUID()
59 *reinterpret_cast<uint32_t*>(&guid->data4[4]) = random(); in CreateGUID()
67 bool CreateGUID(GUID *guid) { in CreateGUID() argument
68 return kGuidGenerator.CreateGUID(guid); in CreateGUID()
72 bool GUIDToString(const GUID *guid, char *buf, int buf_len) { in GUIDToString() argument
76 guid->data1, guid->data2, guid->data3, in GUIDToString()
[all …]
/external/libchrome/base/
Dguid_unittest.cc19 bool IsGUIDv4(const std::string& guid) { in IsGUIDv4() argument
22 return IsValidGUID(guid) && guid[14] == '4' && in IsGUIDv4()
23 (guid[19] == '8' || guid[19] == '9' || guid[19] == 'A' || in IsGUIDv4()
24 guid[19] == 'a' || guid[19] == 'B' || guid[19] == 'b'); in IsGUIDv4()
44 std::string guid = GenerateGUID(); in TEST() local
45 EXPECT_TRUE(IsValidGUID(guid)); in TEST()
46 EXPECT_TRUE(IsValidGUIDOutputString(guid)); in TEST()
47 EXPECT_TRUE(IsValidGUID(ToLowerASCII(guid))); in TEST()
48 EXPECT_TRUE(IsValidGUID(ToUpperASCII(guid))); in TEST()
Dguid.cc22 bool IsValidGUIDInternal(const base::StringPiece& guid, bool strict) { in IsValidGUIDInternal() argument
24 if (guid.length() != kGUIDLength) in IsValidGUIDInternal()
27 for (size_t i = 0; i < guid.length(); ++i) { in IsValidGUIDInternal()
28 char current = guid[i]; in IsValidGUIDInternal()
62 bool IsValidGUID(const base::StringPiece& guid) { in IsValidGUID() argument
63 return IsValidGUIDInternal(guid, false /* strict */); in IsValidGUID()
66 bool IsValidGUIDOutputString(const base::StringPiece& guid) { in IsValidGUIDOutputString() argument
67 return IsValidGUIDInternal(guid, true /* strict */); in IsValidGUIDOutputString()
/external/google-breakpad/src/common/linux/
Dguid_creator.cc63 static bool CreateGUID(GUID *guid) { in CreateGUID() argument
65 guid->data1 = random(); in CreateGUID()
66 guid->data2 = (uint16_t)(random()); in CreateGUID()
67 guid->data3 = (uint16_t)(random()); in CreateGUID()
68 UInt32ToBytes(&guid->data4[0], random()); in CreateGUID()
69 UInt32ToBytes(&guid->data4[4], random()); in CreateGUID()
87 bool CreateGUID(GUID *guid) { in CreateGUID() argument
88 return GUIDGenerator::CreateGUID(guid); in CreateGUID()
92 bool GUIDToString(const GUID *guid, char *buf, int buf_len) { in GUIDToString() argument
96 guid->data1, guid->data2, guid->data3, in GUIDToString()
[all …]
Dgoogle_crashdump_uploader.cc45 const string& guid, in GoogleCrashdumpUploader() argument
57 guid, in GoogleCrashdumpUploader()
71 const string& guid, in GoogleCrashdumpUploader() argument
83 guid, in GoogleCrashdumpUploader()
97 const string& guid, in Init() argument
109 guid_ = guid; in Init()
/external/gptfdisk/
Dbsd.cc270 GPTPart guid; // dump data in here, then return it in AsGPT() local
274 guid.BlankPartition(); in AsGPT()
298 guid.SetFirstLBA(sectorOne); in AsGPT()
299 guid.SetLastLBA(sectorEnd); in AsGPT()
301 guid.RandomizeUniqueGUID(); in AsGPT()
303 guid.SetAttributes(UINT64_C(0)); in AsGPT()
312 guid.SetType(0xa502); break; in AsGPT()
314 guid.SetType(0xa503); break; in AsGPT()
316 guid.SetType(0x0700); break; in AsGPT()
318 guid.SetType(0xa903); break; in AsGPT()
[all …]
/external/libchrome/base/trace_event/
Dprocess_memory_dump_unittest.cc107 pmd1->AddOwnershipEdge(mad1_1->guid(), mad1_2->guid()); in TEST()
115 pmd2->AddOwnershipEdge(mad2_1->guid(), mad2_2->guid()); in TEST()
176 pmd->AddSuballocation(pic1_dump->guid(), allocator_dump_name); in TEST()
181 pmd->AddSuballocation(pic2_dump->guid(), allocator_dump_name); in TEST()
186 allocator_dump_name + "/__" + pic1_dump->guid().ToString()); in TEST()
197 found_edge[0] |= (e.source == pic1_dump->guid() && in TEST()
198 e.target == anon_node_1_it->second->guid()); in TEST()
199 found_edge[1] |= (e.source == pic2_dump->guid() && in TEST()
200 e.target == anon_node_2_it->second->guid()); in TEST()
217 ASSERT_EQ(shared_mad_guid, shared_mad1->guid()); in TEST()
[all …]
Dprocess_memory_dump.cc40 const MemoryAllocatorDumpGuid& guid) { in GetSharedGlobalAllocatorDumpName() argument
41 return "global/" + guid.ToString(); in GetSharedGlobalAllocatorDumpName()
172 const MemoryAllocatorDumpGuid& guid) { in CreateAllocatorDump() argument
174 WrapUnique(new MemoryAllocatorDump(absolute_name, this, guid))); in CreateAllocatorDump()
211 const MemoryAllocatorDumpGuid& guid) { in CreateSharedGlobalAllocatorDump() argument
218 MemoryAllocatorDump* mad = GetSharedGlobalAllocatorDump(guid); in CreateSharedGlobalAllocatorDump()
225 return CreateAllocatorDump(GetSharedGlobalAllocatorDumpName(guid), guid); in CreateSharedGlobalAllocatorDump()
229 const MemoryAllocatorDumpGuid& guid) { in CreateWeakSharedGlobalAllocatorDump() argument
234 MemoryAllocatorDump* mad = GetSharedGlobalAllocatorDump(guid); in CreateWeakSharedGlobalAllocatorDump()
237 mad = CreateAllocatorDump(GetSharedGlobalAllocatorDumpName(guid), guid); in CreateWeakSharedGlobalAllocatorDump()
[all …]
/external/mdnsresponder/mDNSWindows/NSPTool/
DNSPTool.c105 const char * guid; in ProcessArgs() local
128 guid = argv[ ++i ]; in ProcessArgs()
135 if( *guid == '\0' ) in ProcessArgs()
137 guid = "B600E6E9-553B-4a19-8696-335E5C896153"; in ProcessArgs()
140 err = InstallNSP( name, guid, path ); in ProcessArgs()
154 guid = argv[ ++i ]; in ProcessArgs()
155 if( *guid == '\0' ) in ProcessArgs()
157 guid = "B600E6E9-553B-4a19-8696-335E5C896153"; in ProcessArgs()
160 err = RemoveNSP( guid ); in ProcessArgs()
178 guid = argv[ ++i ]; in ProcessArgs()
[all …]
/external/swiftshader/src/D3D8/
DDirect3DBaseTexture8.cpp68 long Direct3DBaseTexture8::FreePrivateData(const GUID &guid) in FreePrivateData() argument
72 return Direct3DResource8::FreePrivateData(guid); in FreePrivateData()
75 long Direct3DBaseTexture8::GetPrivateData(const GUID &guid, void *data, unsigned long *size) in GetPrivateData() argument
79 return Direct3DResource8::GetPrivateData(guid, data, size); in GetPrivateData()
89 …long Direct3DBaseTexture8::SetPrivateData(const GUID &guid, const void *data, unsigned long size, … in SetPrivateData() argument
93 return Direct3DResource8::SetPrivateData(guid, data, size, flags); in SetPrivateData()
DDirect3DResource8.cpp134 …long Direct3DResource8::SetPrivateData(const GUID &guid, const void *data, unsigned long size, uns… in SetPrivateData() argument
138 privateData[guid] = PrivateData(data, size, flags == D3DSPD_IUNKNOWN); in SetPrivateData()
143 long Direct3DResource8::GetPrivateData(const GUID &guid, void *data, unsigned long *size) in GetPrivateData() argument
147 Iterator result = privateData.find(guid); in GetPrivateData()
164 long Direct3DResource8::FreePrivateData(const GUID &guid) in FreePrivateData() argument
168 Iterator result = privateData.find(guid); in FreePrivateData()
175 privateData.erase(guid); in FreePrivateData()
DDirect3DIndexBuffer8.cpp68 long Direct3DIndexBuffer8::FreePrivateData(const GUID &guid) in FreePrivateData() argument
72 return Direct3DResource8::FreePrivateData(guid); in FreePrivateData()
75 long Direct3DIndexBuffer8::GetPrivateData(const GUID &guid, void *data, unsigned long *size) in GetPrivateData() argument
79 return Direct3DResource8::GetPrivateData(guid, data, size); in GetPrivateData()
89 …long Direct3DIndexBuffer8::SetPrivateData(const GUID &guid, const void *data, unsigned long size, … in SetPrivateData() argument
93 return Direct3DResource8::SetPrivateData(guid, data, size, flags); in SetPrivateData()
/external/squashfs-tools/squashfs-tools/
Dsquashfs_compat.h78 unsigned int guid:8; member
87 unsigned int guid:8; member
97 unsigned int guid:8; member
108 unsigned int guid:8; member
120 unsigned int guid:8; member
134 unsigned int guid:8; member
149 unsigned int guid:8; member
163 unsigned int guid:8; member
271 SQUASHFS_SWAP((s)->guid, d, 24, 8);\
450 unsigned int guid:4; /* index into guid table */ member
[all …]
Dsquashfs_fs.h314 unsigned short guid; member
323 unsigned short guid; member
333 unsigned short guid; member
344 unsigned short guid; member
355 unsigned short guid; member
367 unsigned short guid; member
379 unsigned short guid; member
393 unsigned short guid; member
410 unsigned short guid; member
424 unsigned short guid; member
/external/syslinux/gpxe/src/net/infiniband/
Dib_sma.c91 struct ib_gid_half guid; in ib_sma_node_desc() local
98 ib_get_hca_info ( ibdev, &guid ); in ib_sma_node_desc()
104 guid.u.bytes[0], guid.u.bytes[1], guid.u.bytes[2], in ib_sma_node_desc()
105 guid.u.bytes[3], guid.u.bytes[4], guid.u.bytes[5], in ib_sma_node_desc()
106 guid.u.bytes[6], guid.u.bytes[7], ibdev->dev->name ); in ib_sma_node_desc()
134 memcpy ( guid_info->guid[0], &ibdev->gid.u.half[1], in ib_sma_guid_info()
135 sizeof ( guid_info->guid[0] ) ); in ib_sma_guid_info()
/external/swiftshader/src/D3D9/
DDirect3DResource9.cpp144 …long Direct3DResource9::SetPrivateData(const GUID &guid, const void *data, unsigned long size, uns… in SetPrivateData() argument
150 privateData[guid] = PrivateData(data, size, flags == D3DSPD_IUNKNOWN); in SetPrivateData()
155 long Direct3DResource9::GetPrivateData(const GUID &guid, void *data, unsigned long *size) in GetPrivateData() argument
161 Iterator result = privateData.find(guid); in GetPrivateData()
178 long Direct3DResource9::FreePrivateData(const GUID &guid) in FreePrivateData() argument
184 Iterator result = privateData.find(guid); in FreePrivateData()
191 privateData.erase(guid); in FreePrivateData()
DDirect3DIndexBuffer9.cpp71 long Direct3DIndexBuffer9::FreePrivateData(const GUID &guid) in FreePrivateData() argument
77 return Direct3DResource9::FreePrivateData(guid); in FreePrivateData()
80 long Direct3DIndexBuffer9::GetPrivateData(const GUID &guid, void *data, unsigned long *size) in GetPrivateData() argument
86 return Direct3DResource9::GetPrivateData(guid, data, size); in GetPrivateData()
98 …long Direct3DIndexBuffer9::SetPrivateData(const GUID &guid, const void *data, unsigned long size, … in SetPrivateData() argument
104 return Direct3DResource9::SetPrivateData(guid, data, size, flags); in SetPrivateData()
DDirect3DBaseTexture9.cpp73 long Direct3DBaseTexture9::FreePrivateData(const GUID &guid) in FreePrivateData() argument
79 return Direct3DResource9::FreePrivateData(guid); in FreePrivateData()
82 long Direct3DBaseTexture9::GetPrivateData(const GUID &guid, void *data, unsigned long *size) in GetPrivateData() argument
88 return Direct3DResource9::GetPrivateData(guid, data, size); in GetPrivateData()
100 …long Direct3DBaseTexture9::SetPrivateData(const GUID &guid, const void *data, unsigned long size, … in SetPrivateData() argument
106 return Direct3DResource9::SetPrivateData(guid, data, size, flags); in SetPrivateData()
/external/syslinux/gpxe/src/interface/efi/
Defi_init.c37 static void * efi_find_table ( EFI_GUID *guid ) { in efi_find_table() argument
42 guid, sizeof ( *guid ) ) == 0 ) in efi_find_table()
86 if ( ( efirc = bs->LocateProtocol ( &prot->u.guid, NULL, in efi_init()
100 if ( ( *(tab->table) = efi_find_table ( &tab->u.guid ) ) ) { in efi_init()
/external/vboot_reference/tests/
Dvb21_host_key_tests.c75 key->guid = test_guid; in private_key_tests()
89 TEST_EQ(memcmp(&k2->guid, &key->guid, sizeof(k2->guid)), 0, " guid"); in private_key_tests()
160 TEST_EQ(memcmp(&ckey->guid, vb2_hash_guid(combo->hash_alg), in private_key_tests()
161 sizeof(ckey->guid)), 0, " guid"); in private_key_tests()
217 key->guid = &test_guid; in public_key_tests()
225 TEST_EQ(memcmp(&pkey->guid, key->guid, sizeof(pkey->guid)), 0, in public_key_tests()
269 TEST_EQ(memcmp(k2.guid, vb2_hash_guid(combo->hash_alg), in public_key_tests()
270 sizeof(*k2.guid)), 0, " guid"); in public_key_tests()
/external/syslinux/com32/include/syslinux/
Ddisk.h128 struct guid { struct
137 struct guid type; argument
138 struct guid uid;
163 struct guid disk_guid;
181 extern void guid_to_str(char *buf, const struct guid *const id);
182 extern int str_to_guid(const char *buf, struct guid *const id);
/external/syslinux/com32/chain/
Dutility.c73 int guid_is0(const struct guid *guid) in guid_is0() argument
76 !(guid->data1 || in guid_is0()
77 guid->data2 || in guid_is0()
78 guid->data3 || in guid_is0()
79 guid->data4); in guid_is0()

123456789