/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_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_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.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_posix.cc | 5 #include "chrome/common/guid.h" 10 namespace guid { namespace 28 } // namespace guid
|
/external/chromium/chrome/browser/resources/options/ |
autofill_options.js | 126 * Removes the Autofill address represented by |guid|. 127 * @param {String} guid The GUID of the address to remove. 130 removeAddress_: function(guid) { 131 chrome.send('removeAddress', [guid]); 135 * Removes the Autofill credit card represented by |guid|. 136 * @param {String} guid The GUID of the credit card to remove. 139 removeCreditCard_: function(guid) { 140 chrome.send('removeCreditCard', [guid]); [all...] |
/external/chromium/chrome/browser/ui/webui/options/ |
autofill_options_handler.h | 40 // |args| - A string, the GUID of the address to remove. 44 // |args| - A string, the GUID of the credit card to remove. 49 // |args| - A string, the GUID of the address to load. 54 // |args| - A string, the GUID of the credit card to load. 57 // Adds or updates an address, depending on the GUID of the profile. If the 58 // GUID is empty, a new address is added to the WebDatabase; otherwise, the 59 // address with the matching GUID is updated. Called from WebUI. 60 // |args| - an array containing the GUID of the address followed by the 64 // Adds or updates a credit card, depending on the GUID of the profile. If the 65 // GUID is empty, a new credit card is added to the WebDatabase; otherwise [all...] |
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...] |
/external/clang/test/SemaCXX/ |
borland-extensions.cpp | 39 } GUID; 43 GUID const* Guid; 49 const GUID guid_inl = __uuidof(Foo); 51 data = ata1.Guid->Data1;
|
/external/chromium/chrome/browser/sync/glue/ |
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_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_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/chromium/chrome/browser/webdata/ |
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.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_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_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...] |
web_database_migration_unittest.cc | 23 #include "chrome/common/guid.h" 57 EXPECT_TRUE(guid::IsValidGUID(profile->guid())); 68 EXPECT_TRUE(guid::IsValidGUID(profile->guid())); 92 EXPECT_TRUE(guid::IsValidGUID(profile->guid())); 127 EXPECT_TRUE(guid::IsValidGUID(credit_card->guid())); 138 EXPECT_TRUE(guid::IsValidGUID(credit_card->guid())) [all...] |
/external/clang/test/Parser/ |
MicrosoftExtensions.cpp | 45 } GUID; 49 struct __declspec(uuid("0000000-0000-0000-1234-0000500000047")) uuid_attr_bad3 { };// expected-error {{uuid attribute contains a malformed GUID}} 50 struct __declspec(uuid("0000000-0000-0000-Z234-000000000047")) uuid_attr_bad4 { };// expected-error {{uuid attribute contains a malformed GUID}} 51 struct __declspec(uuid("000000000000-0000-1234-000000000047")) uuid_attr_bad5 { };// expected-error {{uuid attribute contains a malformed GUID}} 72 __uuidof(struct_without_uuid); // expected-error {{cannot call operator __uuidof on a type with no GUID}} 74 __uuidof(struct_without_uuid*); // expected-error {{cannot call operator __uuidof on a type with no GUID}} 77 __uuidof(var_without_uuid);// expected-error {{cannot call operator __uuidof on a type with no GUID}} 79 __uuidof(var_without_uuid[1]);// expected-error {{cannot call operator __uuidof on a type with no GUID}} 81 __uuidof(&var_without_uuid[1]);// expected-error {{cannot call operator __uuidof on a type with no GUID}} 84 __uuidof(1);// expected-error {{cannot call operator __uuidof on a type with no GUID}} [all...] |
/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...] |
/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...] |
/development/host/windows/usb/api/ |
adb_api_private_defines.h | 44 AdbInstanceEnumEntry(const wchar_t* dev_name, GUID cls_id, DWORD flgs) {
60 void Set(const wchar_t* dev_name, GUID cls_id, DWORD flgs) {
91 GUID class_id() const {
102 GUID class_id_;
|
/external/chromium/chrome/browser/importer/ |
ie_importer.h | 37 // IE PStore subkey GUID: AutoComplete password & form data. 38 static const GUID kPStoreAutocompleteGUID; 40 // A fake GUID for unit test. 41 static const GUID kUnittestGUID;
|
/external/chromium/base/win/ |
event_trace_provider.h | 21 typedef GUID EtwEventClass; 46 header.Guid = event_class; 56 header.Guid = event_class; 78 // registers with ETW by its name which is a GUID. ETW calls back to 89 explicit EtwTraceProvider(const GUID& provider_name); 106 void set_provider_name(const GUID& provider_name) { 109 const GUID& provider_name() const { return provider_name_; } 160 GUID provider_name_;
|
/external/chromium/chrome/browser/autofill/ |
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...] |