/frameworks/av/include/soundtrigger/ |
SoundTrigger.h | 64 static status_t stringToGuid(const char *str, sound_trigger_uuid_t *guid); 65 static status_t guidToString(const sound_trigger_uuid_t *guid,
|
/system/core/crash_reporter/ |
crash_reporter.cc | 23 #include <base/guid.h> 50 static const char kGUIDFileName[] = "/data/misc/crash_reporter/guid"; 115 // Try to read the GUID from kGUIDFileName. If the file doesn't exist, is 116 // blank, or the read fails, generate a new GUID and write it to the file. 117 std::string guid; local 119 if (!base::ReadFileToString(filepath, &guid) || guid.empty()) { 120 guid = base::GenerateGUID(); 122 // a fatal error, as the crash server will assign a random GUID based 124 if (base::WriteFile(filepath, guid.c_str(), guid.size()) <= 0) [all...] |
/external/autotest/server/site_tests/network_WiFi_ProfileGUID/ |
network_WiFi_ProfileGUID.py | 22 SERVICE_PROPERTY_GUID = 'GUID' 45 """Assert that a service's GUID field has a particular value. 48 @param expected_guid: string expected value of the GUID on the service. 49 @param expect_missing: boolean True if we expect an empty GUID value. 56 raise error.TestFail('Expected GUID property to be missing.') 59 raise error.TestFail('Expected GUID value of %r, but got %r.' % 77 guid=self.TEST_GUID, 84 # Expect the GUID property to be set. 85 self._assert_guid_value(assoc_params.ssid, assoc_params.guid) 91 # GUID property should be missing, since we don't have an entry [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/ |
d3d1xstutil.h | 785 struct hash<GUID> : public std::unary_function<GUID, size_t> 787 inline size_t operator()(GUID __val) const; 790 inline size_t hash<GUID>::operator()(GUID __val) const 828 typedef std::unordered_map<GUID, std::pair<void*, unsigned> > private_data_map_t; 844 REFGUID guid, 849 private_data_map_t::iterator i = private_data_map.find(guid); 876 REFGUID guid, 890 std::pair<void*, unsigned>& v = private_data_map[guid]; [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testgamecontroller.c | 257 char guid[64]; local 277 guid, sizeof (guid)); local 288 SDL_Log("%s %d: %s (guid %s)\n", description, i, name ? name : "Unknown", guid); 302 guid, sizeof (guid)); local 303 SDL_Log("Attempting to open device %i, guid %s\n", device, guid);
|
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
common_value_helpers_unittest.py | 19 def _SingleFileFunctionHandle(filename, function_name, guid): 22 function_name=function_name, guid=guid)
|
/external/vboot_reference/tests/ |
vb21_host_key_tests.c | 75 key->guid = test_guid; 89 TEST_EQ(memcmp(&k2->guid, &key->guid, sizeof(k2->guid)), 0, " guid"); 160 TEST_EQ(memcmp(&ckey->guid, vb2_hash_guid(combo->hash_alg), 161 sizeof(ckey->guid)), 0, " guid"); 217 key->guid = &test_guid; 225 TEST_EQ(memcmp(&pkey->guid, key->guid, sizeof(pkey->guid)), 0 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
ksmedia.h | 39 #define INIT_USBAUDIO_MID(guid,id) \ 41 (guid)->Data1 = 0x4e1cecd2 + (USHORT)(id); \ 42 (guid)->Data2 = 0x1679; \ 43 (guid)->Data3 = 0x463b; \ 44 (guid)->Data4[0] = 0xa7; \ 45 (guid)->Data4[1] = 0x2f; \ 46 (guid)->Data4[2] = 0xa5; \ 47 (guid)->Data4[3] = 0xbf; \ 48 (guid)->Data4[4] = 0x64; \ 49 (guid)->Data4[5] = 0xc8; 2647 GUID guid; member in struct:_KS_VIDEO_STREAM_CONFIG_CAPS [all...] |
propvarutil.h | 64 HRESULT WINAPI InitPropVariantFromGUIDAsString(REFGUID guid, PROPVARIANT *ppropvar); 65 HRESULT WINAPI InitVariantFromGUIDAsString(REFGUID guid, VARIANT *pvar); 68 HRESULT WINAPI PropVariantToGUID(const PROPVARIANT *ppropvar, GUID *guid); 69 HRESULT WINAPI VariantToGUID(const VARIANT *pvar, GUID *guid);
|
mmreg.h | 297 #define INIT_MMREG_MID(guid,id){ (guid)->Data1 = 0xd5a47fa7 + (USHORT)(id); (guid)->Data2 = 0x6d98; (guid)->Data3 = 0x11d1; (guid)->Data4[0] = 0xa2; (guid)->Data4[1] = 0x1a; (guid)->Data4[2] = 0x00; (guid)->Data4[3] = 0xa0; (guid)->Data4[4] = 0xc9; (guid)->Data4[5] = 0x22; (guid)->Data4[6] = 0x31; (guid)->Data4[7] = 0x96; [all...] |
/external/squashfs-tools/kernel-2.4/include/linux/ |
squashfs_fs_sb.h | 54 unsigned int *guid; member in struct:squashfs_sb_info
|
/external/v8/tools/gyp/pylib/gyp/ |
MSVSProject.py | 54 def __init__(self, project_path, version, name, guid=None, platforms=None): 61 guid: GUID to use for project, if not None. 67 self.guid = guid 196 'ProjectGUID': self.guid,
|
/external/vboot_reference/firmware/lib21/ |
api.c | 41 const struct vb2_guid *guid, 66 if (!memcmp(guid, &sig->guid, sizeof(*guid)))
|
common.c | 151 static const struct vb2_guid guid = VB2_GUID_NONE_SHA1; local 152 return &guid; 158 static const struct vb2_guid guid = local 160 return &guid; 166 static const struct vb2_guid guid = local 168 return &guid; 361 /* Skip signature if it doesn't match the key GUID */ 362 if (memcmp(&sig->guid, key->guid, GUID_SIZE)) 372 /* If we're still here, no signature matched the key GUID */ [all...] |
packed_key.c | 98 key->guid = &pkey->guid;
|
/external/gptfdisk/ |
Android.mk | 8 guid.cc \
|
/external/libchrome/base/trace_event/ |
memory_allocator_dump.cc | 27 const MemoryAllocatorDumpGuid& guid) 31 guid_(guid) { 40 // If the caller didn't provide a guid, make one up by hashing the 91 value->SetString("guid", guid_.ToString());
|
memory_allocator_dump_unittest.cc | 109 ASSERT_EQ("42", mad->guid().ToString()); 111 // If the dumper does not provide a Guid, the MAD will make one up on the 112 // flight. Furthermore that Guid will stay stable across across multiple 115 const MemoryAllocatorDumpGuid guid_bar = mad->guid(); 118 ASSERT_EQ(guid_bar, mad->guid()); 121 const MemoryAllocatorDumpGuid guid_bar_2 = mad->guid(); 125 const MemoryAllocatorDumpGuid guid_baz = mad->guid();
|
/external/webrtc/webrtc/modules/audio_device/dummy/ |
file_audio_device.cc | 82 char guid[kAdmMaxGuidSize]) { 87 memset(guid, 0, kAdmMaxGuidSize); 89 memcpy(guid, kGuid, strlen(guid)); 97 char guid[kAdmMaxGuidSize]) { 102 memset(guid, 0, kAdmMaxGuidSize); 104 memcpy(guid, kGuid, strlen(guid));
|
/hardware/bsp/intel/soc/common/tools/ |
gpt_ini2bin.py | 9 # official guid for gpt partition type 14 # generated guid for android 77 guid = uuid.UUID(cfg.get('partition.' + p, 'guid')) 78 out.write(guid.bytes_le)
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
test_subpicture.c | 33 static void PrintGUID(const char *guid) 38 printf("%C,", guid[i] == 0 ? '0' : guid[i]); 40 printf("%x,", (unsigned char)guid[i]); 41 printf("%x\n", (unsigned int)guid[15]); 109 PrintGUID(subpics[i].guid);
|
/external/squashfs-tools/squashfs-tools/ |
squashfs_compat.h | 78 unsigned int guid:8; member in struct:squashfs_base_inode_header_3 87 unsigned int guid:8; member in struct:squashfs_ipc_inode_header_3 97 unsigned int guid:8; member in struct:squashfs_dev_inode_header_3 108 unsigned int guid:8; member in struct:squashfs_symlink_inode_header_3 120 unsigned int guid:8; member in struct:squashfs_reg_inode_header_3 134 unsigned int guid:8; member in struct:squashfs_lreg_inode_header_3 149 unsigned int guid:8; member in struct:squashfs_dir_inode_header_3 163 unsigned int guid:8; member in struct:squashfs_ldir_inode_header_3 271 SQUASHFS_SWAP((s)->guid, d, 24, 8);\ 450 unsigned int guid:4; /* index into guid table * member in struct:squashfs_base_inode_header_1 457 unsigned int guid:4; \/* index into guid table *\/ member in struct:squashfs_ipc_inode_header_1 466 unsigned int guid:4; \/* index into guid table *\/ member in struct:squashfs_dev_inode_header_1 474 unsigned int guid:4; \/* index into guid table *\/ member in struct:squashfs_symlink_inode_header_1 483 unsigned int guid:4; \/* index into guid table *\/ member in struct:squashfs_reg_inode_header_1 494 unsigned int guid:4; \/* index into guid table *\/ member in struct:squashfs_dir_inode_header_1 585 unsigned int guid:8; \/* index into guid table *\/ member in struct:squashfs_base_inode_header_2 592 unsigned int guid:8; \/* index into guid table *\/ member in struct:squashfs_ipc_inode_header_2 599 unsigned int guid:8; \/* index into guid table *\/ member in struct:squashfs_dev_inode_header_2 607 unsigned int guid:8; \/* index into guid table *\/ member in struct:squashfs_symlink_inode_header_2 616 unsigned int guid:8; \/* index into guid table *\/ member in struct:squashfs_reg_inode_header_2 629 unsigned int guid:8; \/* index into guid table *\/ member in struct:squashfs_dir_inode_header_2 640 unsigned int guid:8; \/* index into guid table *\/ member in struct:squashfs_ldir_inode_header_2 [all...] |
/external/vboot_reference/cgpt/ |
cgpt_common.c | 360 /* GUID conversion functions. Accepted format: 366 int StrToGuid(const char *str, Guid *guid) { 392 guid->u.Uuid.time_low = htole32(time_low); 393 guid->u.Uuid.time_mid = htole16(time_mid); 394 guid->u.Uuid.time_high_and_version = htole16(time_high_and_version); 396 guid->u.Uuid.clock_seq_high_and_reserved = chunk[3] & 0xff; 397 guid->u.Uuid.clock_seq_low = chunk[4] & 0xff; 398 guid->u.Uuid.node[0] = chunk[5] & 0xff; 399 guid->u.Uuid.node[1] = chunk[6] & 0xff [all...] |
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/ |
Win32ForceFeedback.cpp | 394 void Win32ForceFeedback::_upload( GUID guid, DIEFFECT* diEffect, const Effect* effect) 409 HRESULT hr = mJoyStick->CreateEffect(guid, diEffect, &dxEffect, NULL); 502 if( pdei->guid == GUID_ConstantForce ) 504 else if( pdei->guid == GUID_Triangle ) 506 else if( pdei->guid == GUID_Spring ) 508 else if( pdei->guid == GUID_Friction ) 510 else if( pdei->guid == GUID_Square ) 512 else if( pdei->guid == GUID_Sine ) 514 else if( pdei->guid == GUID_SawtoothUp [all...] |
/external/libvpx/libvpx/build/make/ |
gen_msvs_sln.sh | 60 local guid=`grep ProjectGUID "$file" | awk 'BEGIN {FS="\""}{if (NR==1) print $2}'` 63 local guid=`grep ProjectGuid "$file" | sed 's,.*<.*>\(.*\)</.*>.*,\1,'` 66 # save the project GUID to a varaible, normalizing to the basename of the 73 eval "${var}_guid=$guid" 96 eval "local guid=\${$1_guid}" 98 # save the project GUID to a varaible, normalizing to the basename of the 103 eval "${var}_guid=$guid" 105 echo "Project(\"{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}\") = \"$name\", \"$file\", \"$guid\"" 115 [ -z "${dep_guid}" ] && die "Unknown GUID for $dep (dependency of $var)"
|