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.cc456 const base::string16 kName = ASCIIToUTF16("name"); in DatabaseTrackerQuotaIntegration() local
477 tracker->DatabaseOpened(kOriginId, kName, kDescription, 0, in DatabaseTrackerQuotaIntegration()
482 base::FilePath db_file(tracker->GetFullDBFilePath(kOriginId, kName)); in DatabaseTrackerQuotaIntegration()
485 tracker->DatabaseModified(kOriginId, kName); in DatabaseTrackerQuotaIntegration()
490 tracker->DatabaseModified(kOriginId, kName); in DatabaseTrackerQuotaIntegration()
494 tracker->DatabaseClosed(kOriginId, kName); in DatabaseTrackerQuotaIntegration()
497 kOriginId, kName, net::CompletionCallback())); in DatabaseTrackerQuotaIntegration()
505 tracker->DatabaseOpened(kOriginId, kName, kDescription, 0, in DatabaseTrackerQuotaIntegration()
510 db_file = tracker->GetFullDBFilePath(kOriginId, kName); in DatabaseTrackerQuotaIntegration()
513 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.cc294 manifest.SetString(keys::kName, "no __MSG"); in TEST()
302 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
312 manifest.SetString(keys::kName, "__MSG_name__"); in TEST()
320 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
330 manifest.SetString(keys::kName, "name"); in TEST()
347 manifest.SetString(keys::kName, "name"); in TEST()
364 manifest.SetString(keys::kName, "__MSG_name_is_bad__"); in TEST()
373 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
384 manifest.SetString(keys::kName, "__MSG_name__"); in TEST()
398 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
[all …]
/external/chromium_org/content/browser/devtools/
Ddevtools_power_handler.cc16 RegisterCommandHandler(devtools::Power::start::kName, in DevToolsPowerHandler()
19 RegisterCommandHandler(devtools::Power::end::kName, in DevToolsPowerHandler()
22 RegisterCommandHandler(devtools::Power::canProfilePower::kName, in DevToolsPowerHandler()
25 RegisterCommandHandler(devtools::Power::getAccuracyLevel::kName, in DevToolsPowerHandler()
54 SendNotification(devtools::Power::dataAvailable::kName, params); in OnPowerEvent()
Ddevtools_tracing_handler.cc60 RegisterCommandHandler(devtools::Tracing::start::kName, in DevToolsTracingHandler()
63 RegisterCommandHandler(devtools::Tracing::end::kName, in DevToolsTracingHandler()
66 RegisterCommandHandler(devtools::Tracing::getCategories::kName, in DevToolsTracingHandler()
80 devtools::Tracing::dataCollected::kName, in OnTraceDataCollected()
89 SendNotification(devtools::Tracing::tracingComplete::kName, NULL); in OnTraceComplete()
187 SendNotification(devtools::Tracing::bufferUsage::kName, params); in OnBufferUsage()
Drenderer_overrides_handler.cc85 devtools::DOM::setFileInputFiles::kName, in RendererOverridesHandler()
90 devtools::Network::canEmulateNetworkConditions::kName, in RendererOverridesHandler()
95 devtools::Network::clearBrowserCache::kName, in RendererOverridesHandler()
100 devtools::Network::clearBrowserCookies::kName, in RendererOverridesHandler()
105 devtools::Page::enable::kName, in RendererOverridesHandler()
109 devtools::Page::disable::kName, in RendererOverridesHandler()
113 devtools::Page::handleJavaScriptDialog::kName, in RendererOverridesHandler()
118 devtools::Page::navigate::kName, in RendererOverridesHandler()
123 devtools::Page::reload::kName, in RendererOverridesHandler()
128 devtools::Page::getNavigationHistory::kName, in RendererOverridesHandler()
[all …]
/external/chromium_org/components/onc/
Donc_constants.cc45 const char kName[] = "Name"; variable
129 const char kName[] = "Name"; variable
134 const char kName[] = "Name"; variable
336 const char kName[] = "Name"; variable
340 const char kName[] = "name"; variable
Donc_constants.h68 ONC_EXPORT extern const char kName[];
147 ONC_EXPORT extern const char kName[];
152 ONC_EXPORT extern const char kName[];
354 ONC_EXPORT extern const char kName[];
358 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.cc131 dictionary.SetString(manifest_keys::kName, name); in AddExtension()
138 dictionary.SetString(manifest_keys::kName, name); in AddApp()
157 EXPECT_TRUE(manifest.GetString(manifest_keys::kName, &name)); in AddExtensionWithManifestAndFlags()
Dapp_sync_data_unittest.cc15 const char kName[] = "MyExtension"; variable
33 extension_specifics->set_name(kName); in SetRequiredExtensionValues()
Dextension_web_ui_unittest.cc62 manifest.Set(manifest_keys::kName, "ext1") in TEST_F()
82 manifest2.Set(manifest_keys::kName, "ext2") in TEST_F()
/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()
111 "%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.cc26 const wchar_t kName[] = L"name"; variable
69 std::wstring name(kName); in TEST_F()
129 std::wstring name(kName); in TEST_F()
192 std::wstring name(kName); in TEST_F()
253 std::wstring name(kName); in TEST_F()
/external/chromium_org/extensions/browser/api/bluetooth/
Dbluetooth_apitest.cc42 static const char* kName = "whatsinaname"; variable
122 .WillOnce(testing::Return(kName)); in IN_PROC_BROWSER_TEST_F()
142 EXPECT_EQ(kName, state.name); in IN_PROC_BROWSER_TEST_F()
261 .WillOnce(testing::Return(kName)); in IN_PROC_BROWSER_TEST_F()
323 .WillOnce(testing::Return(kName)); in IN_PROC_BROWSER_TEST_F()
335 .WillOnce(testing::Return(kName)); in IN_PROC_BROWSER_TEST_F()
347 .WillOnce(testing::Return(kName)); in IN_PROC_BROWSER_TEST_F()
/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/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/chromium_org/mojo/public/cpp/bindings/tests/
Dsample_service_unittest.cc106 const std::string kName("foopy"); in CheckFoo() local
108 EXPECT_EQ(kName.size(), foo.name.size()); in CheckFoo()
109 for (size_t i = 0; i < std::min(kName.size(), foo.name.size()); i++) { in CheckFoo()
111 EXPECT_EQ(kName[i], foo.name.at(i)) << i; in CheckFoo()
112 EXPECT_EQ(kName[i], foo.name[i]) << i; in CheckFoo()
114 EXPECT_EQ(kName, foo.name.get()); in CheckFoo()
/external/chromium_org/chrome/browser/devtools/device/
Dport_forwarding_controller.cc339 SerializeChanges(tethering::unbind::kName, in UpdateForwardingMap()
341 SerializeChanges(tethering::bind::kName, in UpdateForwardingMap()
368 if (method == tethering::bind::kName) { in SendCommand()
371 DCHECK_EQ(tethering::unbind::kName, method); in SendCommand()
376 if (method == tethering::bind::kName) { in SendCommand()
464 SerializeChanges(tethering::bind::kName, ForwardingMap(), forwarding_map_); in OnSocketOpened()
482 if (notification->method() != tethering::accepted::kName) in OnFrameRead()

12345