Home
last modified time | relevance | path

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

/external/chromium/base/debug/
Dtrace_event_win_unittest.cc38 const char kName[] = "unittest.trace_name"; variable
40 const void* kId = kName;
214 TraceLog::Trace(kName, in TEST_F()
215 strlen(kName), in TEST_F()
223 kName, strlen(kName), in TEST_F()
228 TraceLog::Trace(static_cast<const char*>(kName), in TEST_F()
235 kName, strlen(kName), in TEST_F()
240 TraceLog::Trace(static_cast<const char*>(kName), in TEST_F()
247 kName, strlen(kName), in TEST_F()
288 TRACE_EVENT_BEGIN(kName, kId, kExtra); in TEST_F()
[all …]
/external/chromium/chrome/browser/prefs/
Dpref_service_unittest.cc354 static const char kName[]; member in PrefServiceSetValueTest
361 const char PrefServiceSetValueTest::kName[] = "name"; member in PrefServiceSetValueTest
367 prefs_.RegisterStringPref(kName, default_string); in TEST_F()
371 registrar.Add(kName, &observer_); in TEST_F()
374 observer_.Expect(&prefs_, kName, &default_value); in TEST_F()
375 prefs_.Set(kName, default_value); in TEST_F()
379 prefs_.Set(kName, default_value); in TEST_F()
383 observer_.Expect(&prefs_, kName, &new_value); in TEST_F()
384 prefs_.Set(kName, new_value); in TEST_F()
389 prefs_.RegisterDictionaryPref(kName); in TEST_F()
[all …]
/external/chromium/chrome/common/extensions/
Dextension_l10n_util_unittest.cc265 manifest.SetString(keys::kName, "no __MSG"); in TEST()
273 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
283 manifest.SetString(keys::kName, "__MSG_name__"); in TEST()
291 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
301 manifest.SetString(keys::kName, "__MSG_name_is_bad__"); in TEST()
310 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
321 manifest.SetString(keys::kName, "__MSG_name__"); in TEST()
335 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
349 manifest.SetString(keys::kName, "__MSG_name__"); in TEST()
360 ASSERT_TRUE(manifest.GetString(keys::kName, &result)); in TEST()
[all …]
Dextension_unittest.cc168 input_value->Remove(keys::kName, NULL); in TEST()
173 input_value->SetInteger(keys::kName, 42); in TEST()
336 action->SetString(keys::kName, "MyExtensionActionName"); in TEST()
395 input_value.SetString(keys::kName, "my extension"); in TEST()
467 input_value.SetString(keys::kName, WideToUTF16Hack(name)); in TEST()
477 input_value.SetString(keys::kName, WideToUTF16Hack(name)); in TEST()
501 input_value.SetString(keys::kName, "my extension"); in TEST()
541 input.SetString(keys::kName, name); in TEST()
576 copy->Remove(keys::kName, NULL); in TEST()
611 input.SetString(keys::kName, name); in TEST()
[all …]
Dextension_l10n_util.cc85 if (!manifest->GetString(keys::kName, &result)) { in LocalizeManifest()
89 if (!LocalizeManifestValue(keys::kName, messages, manifest, error)) { in LocalizeManifest()
Dextension_constants.cc38 const char* kName = "name"; variable
Dextension_constants.h46 extern const char* kName;
Dextension_messages.cc35 extension_manifest_keys::kName, in ExtensionMsg_Loaded_Params()
Dextension.cc85 keys::kName,
960 } else if (extension_action->HasKey(keys::kName)) { in LoadExtensionActionHelper()
961 if (!extension_action->GetString(keys::kName, &title)) { in LoadExtensionActionHelper()
1719 if (!source.GetString(keys::kName, &localized_name)) { in InitFromValue()
/external/chromium/chrome/browser/ui/views/
Dgeneric_info_view_unittest.cc36 const string16 kName = ASCIIToUTF16("Name"); in TEST_F() local
45 view1->SetName(0, kName); in TEST_F()
47 EXPECT_EQ(kName, view1->name_views_[0]->GetText()); in TEST_F()
/external/chromium/chrome/browser/sync/glue/
Dextension_util_unittest.cc39 const char kName[] = "MyExtension"; variable
52 source.SetString(extension_manifest_keys::kName, in MakeExtension()
273 dest_specifics.set_name(kName); in TEST_F()
289 EXPECT_EQ(kName, dest_specifics.name()); in TEST_F()
299 dest_specifics.set_name(kName); in TEST_F()
390 source.SetString(extension_manifest_keys::kName, name); in MakeSyncableExtension()
410 kValidVersion, kValidUpdateUrl1, kName, file_path)); in TEST_F()
418 EXPECT_EQ(kName, specifics.name()); in TEST_F()
Dtheme_util_unittest.cc32 source.SetString(extension_manifest_keys::kName, name); in MakeThemeExtension()
/external/chromium/chrome/browser/extensions/
Dextension_special_storage_policy_unittest.cc22 manifest.SetString(keys::kName, "Protected"); in CreateProtectedApp()
44 manifest.SetString(keys::kName, "Unlimited"); in CreateUnlimitedApp()
69 manifest.SetString(keys::kName, "Component"); in CreateComponentApp()
96 manifest.SetString(keys::kName, "Handler"); in CreateHandlerApp()
Dtest_extension_prefs.cc99 dictionary.SetString(extension_manifest_keys::kName, name); in AddExtension()
107 EXPECT_TRUE(manifest.GetString(extension_manifest_keys::kName, &name)); in AddExtensionWithManifest()
Dconvert_user_script.cc83 root->SetString(keys::kName, script.name()); in ConvertUserScriptToExtension()
85 root->SetString(keys::kName, original_url.ExtractFileName()); in ConvertUserScriptToExtension()
Dconvert_web_app.cc103 root->SetString(keys::kName, UTF16ToUTF8(web_app.title)); in ConvertWebAppToExtension()
Dextension_info_map_unittest.cc41 manifest.SetString(keys::kName, name); in CreateExtension()
Dextension_prefs_unittest.cc622 manifest.SetString(keys::kName, "unused"); in Initialize()
665 simple_dict.SetString(keys::kName, "unused"); in ExtensionPrefsPreferencesBase()
Dextension_updater_unittest.cc160 manifest.SetString(extension_manifest_keys::kName, in CreateTestExtensions()
/external/chromium/chrome/browser/sync/util/
Dextensions_activity_monitor_unittest.cc74 input.SetString(keys::kName, kTestExtensionName); in NewEvent()
133 input.SetString(keys::kName, kTestExtensionName); in GetExtensionIdForPath()
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_installed_bubble_controller_unittest.mm87 extension_input_value.SetString(keys::kName, "page action extension");
96 extension_input_value.SetString(keys::kName, "browser action extension");
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJDKPKCS12KeyStore.java1181 ASN1EncodableVector kName = new ASN1EncodableVector(); in doStore() local
1217 kName.add(new DERSequence(kSeq)); in doStore()
1232 kName.add(new DERSequence(kSeq)); in doStore()
1239 kName.add(new DERSequence(kSeq)); in doStore()
1242 … kBag = new SafeBag(pkcs8ShroudedKeyBag, kInfo.toASN1Primitive(), new DERSet(kName)); in doStore()
/external/chromium/chrome/browser/sync/syncable/
Dsyncable_unittest.cc319 static const char kName[]; member in syncable::SyncableDirectoryTest
329 ASSERT_TRUE(OPENED == dir_->Open(file_path_, kName)); in SetUp()
343 ASSERT_TRUE(OPENED == dir_->Open(file_path_, kName)); in ReloadDir()
680 const char SyncableDirectoryTest::kName[] = "Foo"; member in syncable::SyncableDirectoryTest
1111 ASSERT_TRUE(OPENED == dir_->Open(file_path_, kName)); in TEST_F()
1202 ASSERT_TRUE(OPENED == dir_->Open(FilePath(kFilePath), kName)); in TEST_F()
1275 ASSERT_TRUE(OPENED == dir_->Open(FilePath(kFilePath), kName)); in TEST_F()
/external/chromium/chrome/browser/
Dbackground_application_list_model_unittest.cc84 manifest.SetString(extension_manifest_keys::kName, name); in CreateExtension()
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_model_unittest.cc1122 const char kName[] = "test1"; in TEST_F() local
1126 SetManagedDefaultSearchPreferences(true, kName, kSearchURL, "", kIconURL, in TEST_F()
1187 SetManagedDefaultSearchPreferences(true, kName, kSearchURL, "", kIconURL, in TEST_F()