/external/chromium/chrome/common/ |
guid.cc | 5 #include "chrome/common/guid.h" 10 namespace guid { namespace 12 bool IsValidGUID(const std::string& guid) { 14 if (guid.length() != kGUIDLength) 18 for (uint32 i = 0; i < guid.length(); ++i) { 19 char current = guid[i]; 32 } // namespace guid
|
guid.h | 14 namespace guid { namespace 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 bool IsValidGUID(const std::string& guid); 30 } // namespace guid
|
guid_unittest.cc | 5 #include "chrome/common/guid.h" 14 std::string clientid = guid::RandomDataToGUIDString(bytes); 20 std::string clientid = guid::RandomDataToGUIDString(bytes); 28 std::string guid = guid::GenerateGUID(); local 29 EXPECT_TRUE(guid::IsValidGUID(guid)); 36 std::string guid1 = guid::GenerateGUID(); 37 std::string guid2 = guid::GenerateGUID();
|
guid_win.cc | 5 #include "chrome/common/guid.h" 17 namespace guid { namespace 22 GUID guid; local 23 HRESULT guid_result = CoCreateGuid(&guid); 29 int result = StringFromGUID2(guid, 38 } // namespace guid
|
guid_posix.cc | 5 #include "chrome/common/guid.h" 10 namespace guid { namespace 28 } // namespace 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/chrome/browser/sync/glue/ |
autofill_profile_change_processor.cc | 21 #include "chrome/common/guid.h" 183 autofill_changes_[i].profile_specifics_.guid())) { 185 autofill_changes_[i].profile_specifics_.guid(); 216 if (guid::IsValidGUID(profile_specifics.guid()) == false) { 217 NOTREACHED() << "Guid from the server is invalid " << 218 profile_specifics.guid(); 221 AutofillProfile p(profile_specifics.guid()); 225 LOG(ERROR) << "could not add autofill profile for guid " << p.guid(); 230 std::string guid = p.guid(); local 285 std::string guid = profile.guid(); local [all...] |
autofill_profile_model_associator.cc | 12 #include "chrome/common/guid.h" 67 << p->guid(); 79 std::string guid((*ix)->guid()); 80 if (guid::IsValidGUID(guid) == false) { 81 DCHECK(false) << "Guid in the web db is invalid " << guid; 86 if (node.InitByClientTagLookup(syncable::AUTOFILL_PROFILE, guid) && 90 current_profiles->find(guid) == current_profiles->end()) 321 std::string guid = autofill_specifics.guid(); local 352 std::string guid = profile.guid(); local [all...] |
autofill_profile_model_associator_unittest.cc | 98 std::string guid = "EDC609ED-7EEE-4F27-B00C-423242A9C44B"; local 105 profile_specifics->set_guid(guid); 111 AutofillProfile *profile = new AutofillProfile(guid); 124 EXPECT_CALL(associator_, Associate(Pointee(guid), 1)); 150 std::string guid = "EDC609ED-7EEE-4F27-B00C-423242A9C44A"; local 152 AutofillProfile *profile = new AutofillProfile(guid); 219 std::string guid = "EDC609ED-7EEE-4F27-B00C-423242A9C44C"; local 223 profile_specifics.set_guid(guid); 225 bundle.current_profiles.insert(guid); 237 std::string guid = "EDC609ED-7EEE-4F27-B00C-423242A9C44D" local [all...] |
autofill_change_processor.cc | 21 #include "chrome/common/guid.h" 344 std::string guid(guid::GenerateGUID()); 345 if (guid::IsValidGUID(guid) == false) { 346 DCHECK(false) << "Guid generated is invalid " << guid; 350 p->set_guid(guid); 354 NOTREACHED() << "Couldn't add autofill profile: " << guid; 357 model_associator_->Associate(&guid, sync_id) 361 const std::string* guid = model_associator_->GetChromeNodeFromSyncId( local 394 const std::string *guid = model_associator_->GetChromeNodeFromSyncId(sync_id); local [all...] |
/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)]
|
/external/chromium/chrome/browser/webdata/ |
autofill_change.cc | 21 DCHECK(type == ADD ? (profile && profile->guid() == key) : true); 22 DCHECK(type == UPDATE ? (profile && profile->guid() == key) : true); 39 DCHECK(type == ADD ? (credit_card && credit_card->guid() == key) : true); 40 DCHECK(type == UPDATE ? (credit_card && credit_card->guid() == key) : true);
|
autofill_table.cc | 26 #include "chrome/common/guid.h" 62 DCHECK(guid::IsValidGUID(profile.guid())); 63 s->BindString(0, profile.guid()); 87 DCHECK(guid::IsValidGUID(profile->guid())); 104 DCHECK(guid::IsValidGUID(credit_card.guid())); 105 s->BindString(0, credit_card.guid()); 125 DCHECK(guid::IsValidGUID(credit_card->guid())) 968 std::string guid = s.ColumnString(0); local 1194 std::string guid = s.ColumnString(0); local 1271 std::string guid = s_profiles_get.ColumnString(0); local 1306 std::string guid = s_credit_cards_get.ColumnString(0); local 1344 std::string guid = s.ColumnString(0); local 2101 std::string guid = s.ColumnString(0); local [all...] |
autofill_table.h | 49 // guid A guid string to uniquely identify the profile. 67 // guid The guid string that identifies the profile to which 77 // guid The guid string that identifies the profile to which 85 // guid The guid string that identifies the profile to which 93 // profiles. When a profile is removed its guid is added 96 // guid The guid string that identifies the trashed profile [all...] |
autofill_table_unittest.cc | 21 #include "chrome/common/guid.h" 679 home_profile.guid(), &db_profile)); 683 "FROM autofill_profiles WHERE guid=?")); 684 s_home.BindString(0, home_profile.guid()); 694 billing_profile.set_guid(guid::GenerateGUID()); 705 billing_profile.guid(), &db_profile)); 708 "SELECT date_modified FROM autofill_profiles WHERE guid=?")); 709 s_billing.BindString(0, billing_profile.guid()); 724 billing_profile.guid(), &db_profile)); 727 "SELECT date_modified FROM autofill_profiles WHERE guid=?")) [all...] |
/external/chromium/chrome/browser/ui/webui/options/ |
autofill_options_handler.cc | 19 #include "chrome/common/guid.h" 255 entry->Append(new StringValue((*i)->guid())); 267 entry->Append(new StringValue((*i)->guid())); 283 std::string guid; local 284 if (!args->GetString(0, &guid)) { 289 personal_data_->RemoveProfile(guid); 295 std::string guid; local 296 if (!args->GetString(0, &guid)) { 301 personal_data_->RemoveCreditCard(guid); 307 std::string guid; local 348 std::string guid; local [all...] |
/frameworks/av/media/libmedia/ |
AudioEffect.cpp | 434 status_t AudioEffect::stringToGuid(const char *str, effect_uuid_t *guid) 436 if (str == NULL || guid == NULL) { 446 guid->timeLow = (uint32_t)tmp[0]; 447 guid->timeMid = (uint16_t)tmp[1]; 448 guid->timeHiAndVersion = (uint16_t)tmp[2]; 449 guid->clockSeq = (uint16_t)tmp[3]; 450 guid->node[0] = (uint8_t)tmp[4]; 451 guid->node[1] = (uint8_t)tmp[5]; 452 guid->node[2] = (uint8_t)tmp[6]; 453 guid->node[3] = (uint8_t)tmp[7] [all...] |
/external/chromium/chrome/browser/autofill/ |
credit_card.h | 20 explicit CreditCard(const std::string& guid); 46 // The guid is the primary identifier for |CreditCard| objects. 47 const std::string guid() const { return guid_; } function in class:CreditCard 48 void set_guid(const std::string& guid) { guid_ = guid; } 126 // The guid of this credit card.
|
autofill_profile.h | 37 explicit AutofillProfile(const std::string& guid); 67 // This guid is the primary identifier for |AutofillProfile| objects. 68 const std::string guid() const { return guid_; } function in class:AutofillProfile 69 void set_guid(const std::string& guid) { guid_ = guid; } 164 // The guid of this profile.
|
personal_data_manager.h | 111 // Removes the profile represented by |guid|. 112 void RemoveProfile(const std::string& guid); 114 // Returns the profile with the specified |guid|, or NULL if there is no 115 // profile with the specified |guid|. 116 AutofillProfile* GetProfileByGUID(const std::string& guid); 124 // Removes the credit card represented by |guid|. 125 void RemoveCreditCard(const std::string& guid); 127 // Returns the credit card with the specified |guid|, or NULL if there is 128 // no credit card with the specified |guid|. 129 CreditCard* GetCreditCardByGUID(const std::string& guid); [all...] |
personal_data_manager.cc | 40 explicit FormGroupMatchesByGUIDFunctor(const std::string& guid) 41 : guid_(guid) { 45 return form_group.guid() == guid_; 49 return form_group->guid() == guid_; 57 bool FindByGUID(const C& container, const std::string& guid) { 61 FormGroupMatchesByGUIDFunctor<T>(guid)) != container.end(); 378 if (!FindByGUID<AutofillProfile>(*profiles, (*iter)->guid())) 379 wds->RemoveAutofillProfile((*iter)->guid()); 385 if (FindByGUID<AutofillProfile>(web_profiles_, iter->guid())) 392 if (!FindByGUID<AutofillProfile>(web_profiles_, iter->guid()) & [all...] |
autofill_common_test.cc | 56 const char* guid, const char* first_name, const char* middle_name, 61 if (guid) 62 profile->set_guid(guid);
|
autofill_common_test.h | 38 const char* guid, const char* first_name, const char* middle_name,
|
/external/chromium/chrome/browser/ |
crash_handler_host_linux.cc | 52 delete[] info->guid; 127 char* guid = new char[kGuidSize + 1]; local 145 iov[1].iov_base = guid; 286 guid[kGuidSize] = crash_url[kMaxActiveURLSize] = distro[kDistroSize] = 0; 300 info->guid_length = strlen(guid); 301 info->guid = guid;
|
/external/webkit/Source/WebCore/storage/ |
AbstractDatabase.cpp | 94 // FIXME: move all guid-related functions to a DatabaseVersionTracker class. 112 static inline void updateGuidVersionMap(int guid, String newVersion) 124 guidToVersionMap().set(guid, newVersion.isEmpty() ? String() : newVersion.threadsafeCopy()); 145 int guid = stringIdentifierToGUIDMap.get(stringID); local 146 if (!guid) { 148 guid = currentNewGUID++; 149 stringIdentifierToGUIDMap.set(stringID, guid); 152 return guid; 265 LOG(StorageAPI, "Current cached version for guid %i is %s", m_guid, currentVersion.ascii().data()); 267 LOG(StorageAPI, "No cached version for guid %i", m_guid) [all...] |