HomeSort by relevance Sort by last modified time
    Searched refs:kKey (Results 1 - 25 of 25) sorted by null

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

Completed in 1733 milliseconds