/external/chromium_org/base/ |
guid.cc | 5 #include "base/guid.h" 11 bool IsValidGUID(const std::string& guid) { 13 if (guid.length() != kGUIDLength) 16 for (size_t i = 0; i < guid.length(); ++i) { 17 char current = guid[i];
|
guid_unittest.cc | 5 #include "base/guid.h" 16 bool IsGUIDv4(const std::string& guid) { 17 // The format of GUID version 4 must be xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx, 19 return base::IsValidGUID(guid) && guid[14] == '4' && 20 (guid[19] == '8' || guid[19] == '9' || guid[19] == 'A' || 21 guid[19] == 'a' || guid[19] == 'B' || guid[19] == 'b') 43 std::string guid = base::GenerateGUID(); local [all...] |
guid_win.cc | 5 #include "base/guid.h" 22 GUID guid; local 23 HRESULT guid_result = CoCreateGuid(&guid); 29 int result = StringFromGUID2(guid, 38 } // namespace guid
|
guid.h | 16 // Generate a 128-bit random GUID of the form: "%08X-%04X-%04X-%04X-%012llX". 17 // If GUID generation fails an empty string is returned. 19 // the GUID. The Windows implementation uses system services. 22 // Returns true if the input string conforms to the GUID format. 23 BASE_EXPORT bool IsValidGUID(const std::string& guid);
|
/external/chromium_org/chrome/browser/chromeos/net/ |
network_portal_detector_test_impl.cc | 19 const std::string& guid) { 20 DVLOG(1) << "SetDefaultNetworkForTesting: " << guid; 21 if (guid.empty()) { 24 default_network_.reset(new NetworkState("/service/" + guid)); 25 default_network_->SetGuid(guid); 30 const std::string& guid, 32 DVLOG(1) << "SetDetectionResultsForTesting: " << guid << " = " 34 if (!guid.empty()) 35 portal_state_map_[guid] = state; 40 if (default_network_ && portal_state_map_.count(default_network_->guid())) [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
device.py | 13 guid: A unique id of the device. Subclass of device must specify this 15 guid. 18 def __init__(self, name, guid): 20 self._guid = guid 27 def guid(self): member in class:Device
|
/external/chromium_org/tools/symsrc/ |
pdb_fingerprint_from_img.py | 22 __GUID_format__ = ('GUID', 40 guid = pefile.Structure(__GUID_format__) 41 guid.__unpack__(cv.Signature) 42 guid.Data4_0 = ''.join("%02X" % ord(x) for x in guid.Data4[0:2]) 43 guid.Data4_1 = ''.join("%02X" % ord(x) for x in guid.Data4[2:]) 46 guid.Data1, guid.Data2, guid.Data3 [all...] |
/external/chromium_org/components/autofill/core/browser/ |
autofill_data_model.h | 22 AutofillDataModel(const std::string& guid, const std::string& origin); 37 std::string guid() const { return guid_; } function in class:autofill::AutofillDataModel 38 void set_guid(const std::string& guid) { guid_ = guid; }
|
autofill_data_model.cc | 12 AutofillDataModel::AutofillDataModel(const std::string& guid, 14 : guid_(guid),
|
/external/chromium_org/components/invalidation/ |
invalidation_service_util.cc | 37 // Generate a GUID with 128 bits worth of base64-encoded randomness. 40 std::string guid; local 41 base::Base64Encode(base::RandBytesAsString(kGuidBytes), &guid); local 42 DCHECK(!guid.empty()); 43 return guid;
|
/external/chromium_org/remoting/base/ |
breakpad_win_unittest.cc | 99 UUID guid = {0}; local 100 RPC_STATUS status = UuidCreate(&guid); 107 guid.Data1, 108 guid.Data2, 109 guid.Data3, 110 guid.Data4[0], 111 guid.Data4[1], 112 guid.Data4[2], 113 guid.Data4[3], 114 guid.Data4[4] [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/ |
AutofillTestHelper.java | 27 AutofillProfile getProfile(final String guid) throws ExecutionException { 31 return PersonalDataManager.getInstance().getProfile(guid); 56 String guid = ThreadUtils.runOnUiThreadBlocking(new Callable<String>() { 63 return guid; 66 void deleteProfile(final String guid) throws InterruptedException { 70 PersonalDataManager.getInstance().deleteProfile(guid); 76 CreditCard getCreditCard(final String guid) throws ExecutionException { 80 return PersonalDataManager.getInstance().getCreditCard(guid); 95 String guid = ThreadUtils.runOnUiThreadBlocking(new Callable<String>() { 102 return guid; [all...] |
/external/chromium_org/sync/internal_api/public/base/ |
attachment_id_proto.cc | 7 #include "base/guid.h" 15 std::string guid = base::StringToLowerASCII(base::GenerateGUID()); local 16 DCHECK(!guid.empty()); 19 proto.set_unique_id(guid);
|
/frameworks/wilhelm/tests/examples/ |
slesTestEffectCapabilities.cpp | 47 void guidToString(const SLInterfaceID guid, char *str) { 48 if ((NULL == guid) || (NULL == str)) { 52 guid->time_low, 53 guid->time_mid, 54 guid->time_hi_and_version, 55 guid->clock_seq, 56 guid->node[0], 57 guid->node[1], 58 guid->node[2], 59 guid->node[3] [all...] |
/external/chromium_org/components/test/data/autofill/merge/tools/ |
serialize_profiles.py | 41 guid = profile[0] 42 profiles[guid] = zip(types, profile) 54 guid = profile[0] 55 profiles[guid].extend(zip(types, profile)) 66 guid = profile[0] 67 profiles[guid].extend(zip(types, profile)) 78 guid = profile[0] 79 profiles[guid].append(("PHONE_HOME_WHOLE_NUMBER", profile[2]))
|
/frameworks/av/soundtrigger/ |
SoundTrigger.cpp | 241 status_t SoundTrigger::stringToGuid(const char *str, sound_trigger_uuid_t *guid) 243 if (str == NULL || guid == NULL) { 253 guid->timeLow = (uint32_t)tmp[0]; 254 guid->timeMid = (uint16_t)tmp[1]; 255 guid->timeHiAndVersion = (uint16_t)tmp[2]; 256 guid->clockSeq = (uint16_t)tmp[3]; 257 guid->node[0] = (uint8_t)tmp[4]; 258 guid->node[1] = (uint8_t)tmp[5]; 259 guid->node[2] = (uint8_t)tmp[6]; 260 guid->node[3] = (uint8_t)tmp[7] [all...] |
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
networking_private_chromeos.h | 25 virtual void GetProperties(const std::string& guid, 29 const std::string& guid, 32 virtual void GetState(const std::string& guid, 35 virtual void SetProperties(const std::string& guid, 49 virtual void StartConnect(const std::string& guid, 53 const std::string& guid, 61 const std::string& guid, 80 const std::string& guid,
|
networking_private_delegate.h | 47 virtual void GetProperties(const std::string& guid, 51 const std::string& guid, 54 virtual void GetState(const std::string& guid, 57 virtual void SetProperties(const std::string& guid, 71 virtual void StartConnect(const std::string& guid, 74 virtual void StartDisconnect(const std::string& guid, 82 const std::string& guid, 101 const std::string& guid,
|
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/ |
id_mapping_helper.cc | 25 const std::string& guid) { 35 if (guid_in_value == guid) { 46 std::string guid; local 47 id_mapping.GetString(id, &guid); 48 return guid; 76 device->guid()); 81 value->SetString(local_id, device->guid()); 98 if ((*it)->guid() == client_id) {
|
/external/clang/test/Preprocessor/ |
output_paste_avoid.cpp | 35 // Make sure we don't introduce spaces in the guid because we try to avoid 37 #define TYPEDEF(guid) typedef [uuid(guid)]
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
ksguid.h | 18 #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) } 20 #define DEFINE_GUIDEX(name) const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) } 23 #define STATICGUIDOF(guid) STATIC_##guid
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/autofill/ |
PersonalDataManager.java | 57 public static AutofillProfile create(String guid, String origin, 62 return new AutofillProfile(guid, origin, fullName, companyName, 68 public AutofillProfile(String guid, String origin, String fullName, String companyName, 74 mGUID = guid; 164 public void setGUID(String guid) { 165 mGUID = guid; 240 public static CreditCard create(String guid, String origin, String name, String number, 242 return new CreditCard(guid, origin, name, number, obfuscatedNumber, month, year); 245 public CreditCard(String guid, String origin, String name, String number, 247 mGUID = guid; [all...] |
/external/chromium_org/components/sync_driver/ |
device_info.cc | 10 DeviceInfo::DeviceInfo(const std::string& guid, 16 : guid_(guid), 26 const std::string& DeviceInfo::guid() const { function in class:sync_driver::DeviceInfo 91 return this->guid() == other.guid() &&
|
/external/chromium_org/chrome/browser/local_discovery/wifi/ |
bootstrapping_device_lister_unittest.cc | 67 network.guid = "MyInternalID"; 74 network2.guid = "MyInternalID2"; 99 network.guid = "MyInternalID"; 108 network2.guid = "MyInternalID2"; 152 network.guid = "MyInternalID"; 157 network2.guid = "MyInternalID2"; 162 network3.guid = "MyInternalID3"; 167 network4.guid = "MyInternalID4"; 172 network5.guid = "MyInternalID5";
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
MSVSNew.py | 38 """Returns a GUID for the specified target name. 44 A GUID-line string calculated from the name and seed. 46 This generates something which looks like a GUID, but depends only on the 48 GUID, so that projects and solutions which refer to each other can explicitly 49 determine the GUID to refer to explicitly. It also means that the GUID will 54 # Convert most of the signature to GUID form (discard the rest) 55 guid = ('{' + d[:8] + '-' + d[8:12] + '-' + d[12:16] + '-' + d[16:20] 57 return guid 64 # Sort by name then guid (so things are in order on vs2008) [all...] |