Home
last modified time | relevance | path

Searched refs:kName (Results 1 – 25 of 117) sorted by relevance

12345

/external/chromium_org/content/common/
Ddatabase_connections_unittest.cc43 const base::string16 kName(ASCIIToUTF16("database_name")); in TEST() local
50 EXPECT_FALSE(connections.IsDatabaseOpened(kOriginId, kName)); in TEST()
53 connections.AddConnection(kOriginId, kName); in TEST()
55 EXPECT_TRUE(connections.IsDatabaseOpened(kOriginId, kName)); in TEST()
57 EXPECT_EQ(0, connections.GetOpenDatabaseSize(kOriginId, kName)); in TEST()
58 connections.SetOpenDatabaseSize(kOriginId, kName, kSize); in TEST()
59 EXPECT_EQ(kSize, connections.GetOpenDatabaseSize(kOriginId, kName)); in TEST()
61 connections.RemoveConnection(kOriginId, kName); in TEST()
63 EXPECT_FALSE(connections.IsDatabaseOpened(kOriginId, kName)); in TEST()
66 connections.AddConnection(kOriginId, kName); in TEST()
[all …]
/external/chromium_org/base/debug/
Dtrace_event_win_unittest.cc41 const char kName[] = "unittest.trace_name"; variable
43 const void* kId = kName;
220 TraceEventETWProvider::Trace(kName, in TEST_F()
221 strlen(kName), in TEST_F()
229 kName, strlen(kName), in TEST_F()
234 TraceEventETWProvider::Trace(static_cast<const char*>(kName), in TEST_F()
241 kName, strlen(kName), in TEST_F()
246 TraceEventETWProvider::Trace(static_cast<const char*>(kName), in TEST_F()
253 kName, strlen(kName), in TEST_F()
294 TRACE_EVENT_BEGIN_ETW(kName, kId, kExtra); in TEST_F()
[all …]
Dtrace_event_memory_unittest.cc151 const char kName[] = "name"; in TEST_F() local
154 << &kName; in TEST_F()
190 << &kName; in TEST_F()
/external/chromium_org/base/prefs/
Dpref_service_unittest.cc232 static const char kName[]; member in PrefServiceSetValueTest
241 const char PrefServiceSetValueTest::kName[] = "name"; member in PrefServiceSetValueTest
247 prefs_.registry()->RegisterStringPref(kName, default_string); in TEST_F()
251 registrar.Add(kName, observer_.GetCallback()); in TEST_F()
254 observer_.Expect(kName, &default_value); in TEST_F()
255 prefs_.Set(kName, default_value); in TEST_F()
259 prefs_.Set(kName, default_value); in TEST_F()
263 observer_.Expect(kName, &new_value); in TEST_F()
264 prefs_.Set(kName, new_value); in TEST_F()
269 prefs_.registry()->RegisterDictionaryPref(kName); in TEST_F()
[all …]
/external/chromium_org/content/browser/
Ddatabase_tracker_unittest.cc457 const base::string16 kName = ASCIIToUTF16("name"); in DatabaseTrackerQuotaIntegration() local
478 tracker->DatabaseOpened(kOriginId, kName, kDescription, 0, in DatabaseTrackerQuotaIntegration()
483 base::FilePath db_file(tracker->GetFullDBFilePath(kOriginId, kName)); in DatabaseTrackerQuotaIntegration()
486 tracker->DatabaseModified(kOriginId, kName); in DatabaseTrackerQuotaIntegration()
491 tracker->DatabaseModified(kOriginId, kName); in DatabaseTrackerQuotaIntegration()
495 tracker->DatabaseClosed(kOriginId, kName); in DatabaseTrackerQuotaIntegration()
498 kOriginId, kName, net::CompletionCallback())); in DatabaseTrackerQuotaIntegration()
506 tracker->DatabaseOpened(kOriginId, kName, kDescription, 0, in DatabaseTrackerQuotaIntegration()
511 db_file = tracker->GetFullDBFilePath(kOriginId, kName); in DatabaseTrackerQuotaIntegration()
514 tracker->DatabaseModified(kOriginId, kName); in DatabaseTrackerQuotaIntegration()
[all …]
/external/chromium_org/sandbox/win/src/
Dapp_container_unittest.cc16 const wchar_t kName[] = L"Test"; in TEST() local
22 EXPECT_EQ(SBOX_ALL_OK, CreateAppContainer(kValidSid, kName)); in TEST()
23 EXPECT_EQ(SBOX_ERROR_GENERIC, CreateAppContainer(kValidSid, kName)); in TEST()
24 EXPECT_EQ(kName, LookupAppContainer(kValidSid)); in TEST()
31 CreateAppContainer(L"Foo", kName)); in TEST()
/external/chromium_org/gpu/command_buffer/service/
Dgles2_cmd_decoder_unittest_3.cc41 const char kName[] = "test_command"; in TEST_P() local
42 SetBucketAsCString(kBucketId, kName); in TEST_P()
57 const char kName[] = "test_command"; in TEST_P() local
58 SetBucketAsCString(kBucketId, kName); in TEST_P()
/external/chromium_org/extensions/common/
Dextension_l10n_util_unittest.cc303 manifest.SetString(keys::kName, "no __MSG"); in TEST()
311 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
321 manifest.SetString(keys::kName, "__MSG_name__"); in TEST()
329 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
339 manifest.SetString(keys::kName, "name"); in TEST()
356 manifest.SetString(keys::kName, "name"); in TEST()
373 manifest.SetString(keys::kName, "__MSG_name_is_bad__"); in TEST()
382 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
393 manifest.SetString(keys::kName, "__MSG_name__"); in TEST()
407 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
[all …]
/external/chromium_org/content/browser/devtools/
Ddevtools_power_handler.cc15 RegisterCommandHandler(devtools::Power::start::kName, in DevToolsPowerHandler()
18 RegisterCommandHandler(devtools::Power::end::kName, in DevToolsPowerHandler()
21 RegisterCommandHandler(devtools::Power::canProfilePower::kName, in DevToolsPowerHandler()
49 SendNotification(devtools::Power::dataAvailable::kName, params); in OnPowerEvent()
Ddevtools_tracing_handler.cc52 RegisterCommandHandler(devtools::Tracing::start::kName, in DevToolsTracingHandler()
55 RegisterCommandHandler(devtools::Tracing::end::kName, in DevToolsTracingHandler()
58 RegisterCommandHandler(devtools::Tracing::getCategories::kName, in DevToolsTracingHandler()
104 SendNotification(devtools::Tracing::tracingComplete::kName, NULL); in ReadRecordingResult()
113 devtools::Tracing::dataCollected::kName, in OnTraceDataCollected()
200 SendNotification(devtools::Tracing::bufferUsage::kName, params); in OnBufferUsage()
Drenderer_overrides_handler.cc93 devtools::DOM::setFileInputFiles::kName, in RendererOverridesHandler()
98 devtools::Network::clearBrowserCache::kName, in RendererOverridesHandler()
103 devtools::Network::clearBrowserCookies::kName, in RendererOverridesHandler()
108 devtools::Page::disable::kName, in RendererOverridesHandler()
112 devtools::Page::handleJavaScriptDialog::kName, in RendererOverridesHandler()
117 devtools::Page::navigate::kName, in RendererOverridesHandler()
122 devtools::Page::reload::kName, in RendererOverridesHandler()
127 devtools::Page::getNavigationHistory::kName, in RendererOverridesHandler()
132 devtools::Page::navigateToHistoryEntry::kName, in RendererOverridesHandler()
137 devtools::Page::captureScreenshot::kName, in RendererOverridesHandler()
[all …]
/external/chromium_org/components/onc/
Donc_constants.cc42 const char kName[] = "Name"; variable
115 const char kName[] = "Name"; variable
119 const char kName[] = "Name"; variable
299 const char kName[] = "Name"; variable
303 const char kName[] = "name"; variable
Donc_constants.h66 ONC_EXPORT extern const char kName[];
132 ONC_EXPORT extern const char kName[];
136 ONC_EXPORT extern const char kName[];
317 ONC_EXPORT extern const char kName[];
321 ONC_EXPORT extern const char kName[];
/external/chromium_org/chrome/browser/extensions/
Dextension_sync_data_unittest.cc21 const char kName[] = "MyExtension"; variable
34 extension_specifics->set_name(kName); in TEST_F()
59 input_extension->set_name(kName); in TEST_F()
Dtest_extension_prefs.cc129 dictionary.SetString(manifest_keys::kName, name); in AddExtension()
136 dictionary.SetString(manifest_keys::kName, name); in AddApp()
155 EXPECT_TRUE(manifest.GetString(manifest_keys::kName, &name)); in AddExtensionWithManifestAndFlags()
Dapp_sync_data_unittest.cc15 const char kName[] = "MyExtension"; variable
32 extension_specifics->set_name(kName); in SetRequiredExtensionValues()
/external/chromium_org/chrome/common/extensions/api/networking_private/
Dnetworking_private_crypto_unittest.cc49 static const char kName[] = "eureka8997"; in TEST_F() local
88 "%s,%s,%s,%s,%s", kName, kSsdpUdn, kHotspotBssid, kPublicKey, kNonce); in TEST_F()
112 "%s,%s,%s,%s,%s", kName, kSsdpUdn, kHotspotBssid, kPublicKey, kBadNonce); in TEST_F()
/external/chromium_org/third_party/webrtc/modules/audio_device/dummy/
Dfile_audio_device.cc84 const char* kName = "dummy_device"; in PlayoutDeviceName() local
89 memcpy(name, kName, strlen(kName)); in PlayoutDeviceName()
99 const char* kName = "dummy_device"; in RecordingDeviceName() local
104 memcpy(name, kName, strlen(kName)); in RecordingDeviceName()
/external/chromium_org/chrome/installer/util/
Dwork_item_list_unittest.cc25 const wchar_t kName[] = L"name"; variable
77 std::wstring name(kName); in TEST_F()
137 std::wstring name(kName); in TEST_F()
200 std::wstring name(kName); in TEST_F()
261 std::wstring name(kName); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/bluetooth/
Dbluetooth_apitest.cc39 static const char* kName = "whatsinaname"; variable
119 .WillOnce(testing::Return(kName)); in IN_PROC_BROWSER_TEST_F()
139 EXPECT_EQ(kName, state.name); in IN_PROC_BROWSER_TEST_F()
258 .WillOnce(testing::Return(kName)); in IN_PROC_BROWSER_TEST_F()
320 .WillOnce(testing::Return(kName)); in IN_PROC_BROWSER_TEST_F()
332 .WillOnce(testing::Return(kName)); in IN_PROC_BROWSER_TEST_F()
344 .WillOnce(testing::Return(kName)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/third_party/skia/bench/
DStackBench.cpp34 virtual const char* onGetName() SK_OVERRIDE { return Impl::kName; } in onGetName()
39 struct name { static const char* const kName; static void bench(int); }; \
40 const char* const name::kName = #name; \
/external/skia/bench/
DStackBench.cpp34 virtual const char* onGetName() SK_OVERRIDE { return Impl::kName; } in onGetName()
39 struct name { static const char* const kName; static void bench(int); }; \
40 const char* const name::kName = #name; \
/external/lzma/CPP/7zip/Archive/7z/
D7zProperties.cpp22 { NID::kName, { NULL, kpidPath, VT_BSTR } },
111 CopyOneItem(fileInfoPopIDs, _fileInfoPopIDs, NID::kName); in FillPopIDs()
140 InsertToHead(_fileInfoPopIDs, NID::kName); in FillPopIDs()
/external/chromium_org/mojo/public/cpp/bindings/tests/
Dsample_service_unittest.cc105 const std::string kName("foopy"); in CheckFoo() local
107 EXPECT_EQ(kName.size(), foo.name.size()); in CheckFoo()
108 for (size_t i = 0; i < std::min(kName.size(), foo.name.size()); i++) { in CheckFoo()
110 EXPECT_EQ(kName[i], foo.name.at(i)) << i; in CheckFoo()
111 EXPECT_EQ(kName[i], foo.name[i]) << i; in CheckFoo()
113 EXPECT_EQ(kName, foo.name.get()); in CheckFoo()
/external/chromium_org/chrome/service/cloud_print/
Dconnector_settings.cc18 const char kName[] = "name"; variable
78 dictionary->GetString(kName, &name); in InitFrom()

12345