/external/chromium_org/third_party/libaddressinput/src/cpp/test/ |
D | validating_storage_test.cc | 41 const char kKey[] = "key"; variable 81 storage_.Put(kKey, new std::string(kValidatedData)); in TEST_F() 82 storage_.Get(kKey, *data_ready_); in TEST_F() 85 EXPECT_EQ(kKey, key_); in TEST_F() 90 storage_.Put(kKey, new std::string(kEmptyData)); in TEST_F() 91 storage_.Get(kKey, *data_ready_); in TEST_F() 94 EXPECT_EQ(kKey, key_); in TEST_F() 99 storage_.Get(kKey, *data_ready_); in TEST_F() 102 EXPECT_EQ(kKey, key_); in TEST_F() 107 storage_.Put(kKey, new std::string(kValidatedData)); in TEST_F() [all …]
|
D | retriever_test.cc | 45 const char kKey[] = "data/CA/AB--fr"; variable 87 retriever_.Retrieve(kKey, *data_ready_); in TEST_F() 90 EXPECT_EQ(kKey, key_); in TEST_F() 96 retriever_.Retrieve(kKey, *data_ready_); in TEST_F() 97 retriever_.Retrieve(kKey, *data_ready_); in TEST_F() 100 EXPECT_EQ(kKey, key_); in TEST_F() 119 bad_retriever.Retrieve(kKey, *data_ready_); in TEST_F() 122 EXPECT_EQ(kKey, key_); in TEST_F() 155 resilient_retriever.Retrieve(kKey, *data_ready_); in TEST_F() 158 EXPECT_EQ(kKey, key_); in TEST_F() [all …]
|
D | null_storage_test.cc | 45 static const char kKey[]; member in __anonfa0301910111::NullStorageTest 61 const char NullStorageTest::kKey[] = "foo"; member in __anonfa0301910111::NullStorageTest 66 storage_.Put(kKey, new std::string("bar")); in TEST_F() 70 storage_.Get(kKey, *data_ready_); in TEST_F() 72 EXPECT_EQ(kKey, key_); in TEST_F()
|
D | testdata_source_test.cc | 152 static const std::string kKey = "data"; in TEST_F() local 153 source_.Get(kKey, *data_ready_); in TEST_F() 156 EXPECT_EQ(kKey, key_); in TEST_F() 157 EXPECT_TRUE(DataIsValid(data_, kKey)); in TEST_F()
|
/external/chromium_org/sql/ |
D | meta_table_unittest.cc | 130 const char kKey[] = "String Key"; in TEST_F() local 140 EXPECT_FALSE(meta_table.GetValue(kKey, &value)); in TEST_F() 142 EXPECT_TRUE(meta_table.SetValue(kKey, kFirstValue)); in TEST_F() 143 EXPECT_TRUE(meta_table.GetValue(kKey, &value)); in TEST_F() 153 EXPECT_TRUE(meta_table.GetValue(kKey, &value)); in TEST_F() 156 EXPECT_TRUE(meta_table.SetValue(kKey, kSecondValue)); in TEST_F() 165 EXPECT_TRUE(meta_table.GetValue(kKey, &value)); in TEST_F() 171 const char kKey[] = "Int Key"; in TEST_F() local 181 EXPECT_FALSE(meta_table.GetValue(kKey, &value)); in TEST_F() 183 EXPECT_TRUE(meta_table.SetValue(kKey, kFirstValue)); in TEST_F() [all …]
|
/external/chromium_org/content/renderer/dom_storage/ |
D | dom_storage_cached_area_unittest.cc | 123 kKey(base::ASCIIToUTF16("key")), in DOMStorageCachedAreaTest() 130 const base::string16 kKey; member in content::DOMStorageCachedAreaTest 172 cached_area->ApplyMutation(base::NullableString16(kKey, false), in TEST_F() 182 EXPECT_TRUE(cached_area->SetItem(kConnectionId, kKey, kValue, kPageUrl)); in TEST_F() 184 EXPECT_EQ(kKey, cached_area->GetKey(kConnectionId, 0).string()); in TEST_F() 185 EXPECT_EQ(kValue, cached_area->GetItem(kConnectionId, kKey).string()); in TEST_F() 186 cached_area->RemoveItem(kConnectionId, kKey, kPageUrl); in TEST_F() 218 EXPECT_TRUE(cached_area->GetItem(kConnectionId, kKey).is_null()); in TEST_F() 233 EXPECT_TRUE(cached_area->SetItem(kConnectionId, kKey, kValue, kPageUrl)); in TEST_F() 239 EXPECT_EQ(kKey, mock_proxy_->observed_key_); in TEST_F() [all …]
|
/external/chromium_org/content/common/dom_storage/ |
D | dom_storage_map_unittest.cc | 14 const base::string16 kKey(ASCIIToUTF16("key")); in TEST() local 18 (kKey.size() + kValue.size()) * sizeof(base::char16); in TEST() 36 EXPECT_TRUE(map->GetItem(kKey).is_null()); in TEST() 37 EXPECT_FALSE(map->RemoveItem(kKey, &old_value)); in TEST() 46 EXPECT_TRUE(map->SetItem(kKey, kValue, &old_nullable_value)); in TEST() 49 EXPECT_EQ(kKey, map->Key(0).string()); in TEST() 51 EXPECT_EQ(kValue, map->GetItem(kKey).string()); in TEST() 54 EXPECT_TRUE(map->RemoveItem(kKey, &old_value)); in TEST() 59 EXPECT_TRUE(map->SetItem(kKey, kValue, &old_nullable_value)); in TEST() 67 EXPECT_EQ(kKey, map->Key(0).string()); in TEST() [all …]
|
/external/chromium_org/content/browser/dom_storage/ |
D | dom_storage_area_unittest.cc | 29 kKey(ASCIIToUTF16("key")), in DOMStorageAreaTest() 36 const base::string16 kKey; member in content::DOMStorageAreaTest 62 const base::string16 kKey(ASCIIToUTF16("key")); in ~VerifyChangesCommittedDatabase() local 67 EXPECT_EQ(kValue, values[kKey].string()); in ~VerifyChangesCommittedDatabase() 87 EXPECT_TRUE(area->SetItem(kKey, kValue, &old_nullable_value)); in TEST_F() 96 EXPECT_EQ(area->GetItem(kKey).string(), copy->GetItem(kKey).string()); in TEST_F() 101 EXPECT_TRUE(area->RemoveItem(kKey, &old_value)); in TEST_F() 105 EXPECT_TRUE(area->SetItem(kKey, kValue, &old_nullable_value)); in TEST_F() 120 EXPECT_TRUE(area->GetItem(kKey).is_null()); in TEST_F() 121 EXPECT_FALSE(area->SetItem(kKey, kValue, &old_nullable_value)); in TEST_F() [all …]
|
D | dom_storage_context_impl_unittest.cc | 31 kKey(ASCIIToUTF16("key")), in DOMStorageContextImplTest() 38 const base::string16 kKey; member in content::DOMStorageContextImplTest 108 OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value)); in TEST_F() 139 OpenStorageArea(kOrigin)->SetItem(kKey, kValue, &old_value)); in TEST_F() 141 OpenStorageArea(kSessionOnlyOrigin)->SetItem(kKey, kValue, &old_value)); in TEST_F() 158 OpenStorageArea(kSessionOnlyOrigin)->SetItem(kKey, kValue, &old_value)); in TEST_F() 213 const base::string16 kKey(ASCIIToUTF16("foo")); in TEST_F() local 216 area->SetItem(kKey, kValue, &old_nullable_value); in TEST_F() 234 read_value = area->GetItem(kKey); in TEST_F() 257 read_value = area->GetItem(kKey); in TEST_F() [all …]
|
/external/chromium_org/extensions/browser/api/storage/ |
D | storage_api_unittest.cc | 92 const char kKey[] = "key"; in TEST_F() local 97 RunSetFunction(kKey, kValue); in TEST_F() 98 EXPECT_TRUE(RunGetFunction(kKey, &result)); in TEST_F() 114 batch.Put(kKey, "[{(.*+\"\'\\"); in TEST_F() 116 EXPECT_TRUE(leveldb_store->Get(kKey)->IsCorrupted()); in TEST_F() 120 RunSetFunction(kKey, kValue); in TEST_F() 121 EXPECT_TRUE(RunGetFunction(kKey, &result)); in TEST_F()
|
/external/chromium_org/chrome/browser/download/ |
D | download_status_updater.cc | 30 return item->GetUserData(kKey) != NULL; in Get() 34 item->RemoveUserData(kKey); in Clear() 38 item->SetUserData(kKey, this); in WasInProgressData() 42 static const char kKey[]; member in __anonc809b32c0111::WasInProgressData 46 const char WasInProgressData::kKey[] = member in __anonc809b32c0111::WasInProgressData
|
D | download_history.cc | 61 base::SupportsUserData::Data* data = item->GetUserData(kKey); in Get() 67 const base::SupportsUserData::Data* data = item->GetUserData(kKey); in Get() 75 item->SetUserData(kKey, this); in DownloadHistoryData() 102 static const char kKey[]; member in __anonedad05e60111::DownloadHistoryData 111 const char DownloadHistoryData::kKey[] = member in __anonedad05e60111::DownloadHistoryData
|
D | download_item_model.cc | 70 static const char kKey[]; member in __anon478b1a930111::DownloadItemModelData 74 const char DownloadItemModelData::kKey[] = "DownloadItemModelData key"; member in __anon478b1a930111::DownloadItemModelData 79 return static_cast<const DownloadItemModelData*>(download->GetUserData(kKey)); in Get() 86 static_cast<DownloadItemModelData*>(download->GetUserData(kKey)); in GetOrCreate() 89 download->SetUserData(kKey, data); in GetOrCreate()
|
/external/chromium_org/base/prefs/ |
D | scoped_user_pref_update_unittest.cc | 29 static const char kKey[]; member in ScopedUserPrefUpdateTest 38 const char ScopedUserPrefUpdateTest::kKey[] = "key"; member in ScopedUserPrefUpdateTest 44 expected_dictionary.SetString(kKey, kValue); in TEST_F() 51 value->SetString(kKey, kValue); in TEST_F()
|
/external/chromium_org/components/nacl/loader/ |
D | nacl_validation_query_unittest.cc | 18 const char kKey[] = "bogus key for HMAC..."; variable 104 query1.reset(new TestQuery(kKey, kVersion)); in SetUp() 105 query2.reset(new TestQuery(kKey, kVersion)); in SetUp() 272 query2.reset(new TestQuery(kKey, kVersionAlt)); in TEST_F()
|
/external/chromium_org/chrome/browser/browsing_data/ |
D | browsing_data_remover_unittest.cc | 647 static const void* kKey; member 651 const void* TestingDomainReliabilityServiceFactoryUserData::kKey = member in TestingDomainReliabilityServiceFactoryUserData 652 &TestingDomainReliabilityServiceFactoryUserData::kKey; 656 const void* kKey = TestingDomainReliabilityServiceFactoryUserData::kKey; in TestingDomainReliabilityServiceFactoryFunction() local 660 context->GetUserData(kKey)); in TestingDomainReliabilityServiceFactoryFunction() 685 const void* kKey = TestingDomainReliabilityServiceFactoryUserData::kKey; in AttachService() local 691 EXPECT_FALSE(profile_->GetUserData(kKey)); in AttachService() 692 profile_->SetUserData(kKey, data); in AttachService() 700 EXPECT_EQ(data, profile_->GetUserData(kKey)); in AttachService() 702 profile_->RemoveUserData(kKey); in AttachService()
|
/external/chromium_org/chrome/common/extensions/api/identity/ |
D | extension_manifests_auth_unittest.cc | 81 ext_manifest->SetString(keys::kKey, kExtensionKey); in CreateManifest() 107 ext_manifest.SetString(keys::kKey, kExtensionKey); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
D | omnibox_view_views.cc | 72 static const char kKey[]; member 90 const char OmniboxState::kKey[] = "OmniboxState"; member in __anon8836276e0111::OmniboxState 199 tab->SetUserData(OmniboxState::kKey, new OmniboxState( in SaveStateToTab() 207 web_contents->GetUserData(&OmniboxState::kKey)); in OnTabChanged()
|
/external/chromium_org/chrome/browser/extensions/api/downloads/ |
D | downloads_api.cc | 579 base::SupportsUserData::Data* data = download_item->GetUserData(kKey); in Get() 585 download_item->RemoveUserData(kKey); in Remove() 599 download_item->SetUserData(kKey, this); in ExtensionDownloadsEventRouterData() 783 static const char kKey[]; member in extensions::__anon72277c9c0111::ExtensionDownloadsEventRouterData 866 const char ExtensionDownloadsEventRouterData::kKey[] = member in extensions::__anon72277c9c0111::ExtensionDownloadsEventRouterData 968 const char DownloadedByExtension::kKey[] = member in extensions::DownloadedByExtension 973 base::SupportsUserData::Data* data = item->GetUserData(kKey); in Get() 984 item->SetUserData(kKey, this); in DownloadedByExtension()
|
D | downloads_api.h | 85 static const char kKey[];
|
/external/chromium_org/extensions/common/ |
D | manifest_constants.cc | 63 const char kKey[] = "key"; variable
|
D | manifest_constants.h | 72 extern const char kKey[];
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
D | input_method_manager_impl_unittest.cc | 801 const std::string kKey = "key"; in TEST_F() local 804 kKey, "label", false, false)); in TEST_F() 807 manager_->ActivateInputMethodMenuItem(kKey); in TEST_F() 808 EXPECT_EQ(kKey, mock_engine_handler_->last_activated_property()); in TEST_F() 812 EXPECT_EQ(kKey, mock_engine_handler_->last_activated_property()); in TEST_F()
|
/external/chromium_org/content/renderer/ |
D | v8_value_converter_impl_unittest.cc | 684 const char kKey[] = "key"; in TEST_F() local 691 leaf->Set(v8::String::NewFromUtf8(isolate_, kKey), new_object); in TEST_F() 706 ASSERT_TRUE(current_as_object->Get(kKey, ¤t)) << i; in TEST_F()
|
/external/chromium_org/chrome/browser/sync_file_system/ |
D | sync_file_system_service.cc | 684 extension->manifest()->HasKey(extensions::manifest_keys::kKey)) { in OnExtensionUninstalled()
|