Home
last modified time | relevance | path

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

123456789

/external/chromium_org/components/copresence/
Dtimed_map_unittest.cc39 EXPECT_FALSE(map.HasKey(0)); in TEST_F()
43 EXPECT_TRUE(map.HasKey(0x1337)); in TEST_F()
47 EXPECT_TRUE(map.HasKey(0xbaad)); in TEST_F()
52 EXPECT_TRUE(map.HasKey(0x1234)); in TEST_F()
53 EXPECT_TRUE(map.HasKey(0xbaad)); in TEST_F()
54 EXPECT_TRUE(map.HasKey(0x1337)); in TEST_F()
65 EXPECT_TRUE(map.HasKey(0x1337)); in TEST_F()
69 EXPECT_TRUE(map.HasKey(0xbaad)); in TEST_F()
73 EXPECT_TRUE(map.HasKey(0x1337)); in TEST_F()
81 EXPECT_TRUE(two_element_map.HasKey(0x1337)); in TEST_F()
[all …]
/external/chromium_org/third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js/
Ddom_distiller_json_converter.h21 if (dict->HasKey("1")) { in ReadFromValue()
48 if (dict->HasKey("1")) { in ReadFromValue()
55 if (dict->HasKey("2")) { in ReadFromValue()
62 if (dict->HasKey("3")) { in ReadFromValue()
95 if (dict->HasKey("1")) { in ReadFromValue()
102 if (dict->HasKey("2")) { in ReadFromValue()
109 if (dict->HasKey("3")) { in ReadFromValue()
116 if (dict->HasKey("4")) { in ReadFromValue()
123 if (dict->HasKey("5")) { in ReadFromValue()
170 if (dict->HasKey("1")) { in ReadFromValue()
[all …]
/external/chromium_org/chrome/browser/chromeos/extensions/
Dexternal_cache_unittest.cc183 EXPECT_FALSE(entry1->HasKey( in TEST_F()
185 EXPECT_TRUE(entry1->HasKey( in TEST_F()
187 EXPECT_TRUE(entry1->HasKey( in TEST_F()
197 EXPECT_FALSE(entry3->HasKey( in TEST_F()
199 EXPECT_TRUE(entry3->HasKey( in TEST_F()
201 EXPECT_TRUE(entry3->HasKey( in TEST_F()
203 EXPECT_FALSE(entry3->HasKey( in TEST_F()
223 EXPECT_FALSE(entry2->HasKey( in TEST_F()
225 EXPECT_TRUE(entry2->HasKey( in TEST_F()
227 EXPECT_TRUE(entry2->HasKey( in TEST_F()
[all …]
/external/chromium_org/content/browser/
Dnotification_service_impl.cc37 bool NotificationServiceImpl::HasKey(const NotificationSourceMap& map, in HasKey() function in content::NotificationServiceImpl
58 if (HasKey(observers_[type], source)) { in AddObserver()
80 CHECK(HasKey(observers_[type], source)); in RemoveObserver()
106 if (HasKey(observers_[NOTIFICATION_ALL], AllSources()) && in Notify()
114 if (HasKey(observers_[NOTIFICATION_ALL], source)) { in Notify()
121 if (HasKey(observers_[type], AllSources()) && in Notify()
129 if (HasKey(observers_[type], source)) { in Notify()
/external/chromium_org/chrome/browser/plugins/
Dplugin_finder_unittest.cc28 if (plugin->HasKey("lang")) in TEST()
30 if (plugin->HasKey("url")) in TEST()
33 if (plugin->HasKey("help_url")) in TEST()
35 if (plugin->HasKey("displayurl")) in TEST()
37 if (plugin->HasKey("requires_authorization")) in TEST()
/external/chromium_org/chrome/common/extensions/api/speech/
Dtts_engine_manifest_handler.cc59 if (!tts_dict->HasKey(keys::kTtsVoices)) in Parse()
76 if (one_tts_voice->HasKey(keys::kTtsVoicesVoiceName)) { in Parse()
83 if (one_tts_voice->HasKey(keys::kTtsVoicesLang)) { in Parse()
91 if (one_tts_voice->HasKey(keys::kTtsVoicesGender)) { in Parse()
100 if (one_tts_voice->HasKey(keys::kTtsVoicesRemote)) { in Parse()
107 if (one_tts_voice->HasKey(keys::kTtsVoicesEventTypes)) { in Parse()
/external/chromium_org/chrome/browser/speech/extension_api/
Dtts_extension_api.cc155 if (options->HasKey(constants::kVoiceNameKey)) { in RunAsync()
161 if (options->HasKey(constants::kLangKey)) in RunAsync()
170 if (options->HasKey(constants::kGenderKey)) in RunAsync()
185 if (options->HasKey(constants::kRateKey)) { in RunAsync()
195 if (options->HasKey(constants::kPitchKey)) { in RunAsync()
205 if (options->HasKey(constants::kVolumeKey)) { in RunAsync()
215 if (options->HasKey(constants::kEnqueueKey)) { in RunAsync()
221 if (options->HasKey(constants::kRequiredEventTypesKey)) { in RunAsync()
233 if (options->HasKey(constants::kDesiredEventTypesKey)) { in RunAsync()
245 if (options->HasKey(constants::kExtensionIdKey)) { in RunAsync()
[all …]
Dtts_engine_extension_api.cc154 if (options->HasKey(constants::kRequiredEventTypesKey)) in Speak()
156 if (options->HasKey(constants::kDesiredEventTypesKey)) in Speak()
158 if (sends_end_event && options->HasKey(constants::kEnqueueKey)) in Speak()
160 if (options->HasKey(constants::kSrcIdKey)) in Speak()
162 if (options->HasKey(constants::kIsFinalEventKey)) in Speak()
164 if (options->HasKey(constants::kOnEventKey)) in Speak()
170 if (!options->HasKey(constants::kVoiceNameKey)) in Speak()
172 if (!options->HasKey(constants::kLangKey)) in Speak()
254 if (event->HasKey(constants::kCharIndexKey)) { in RunSync()
/external/chromium_org/chrome/common/extensions/api/spellcheck/
Dspellcheck_handler.cc36 if (!spellcheck_value->HasKey(keys::kSpellcheckDictionaryLanguage) || in Parse()
42 if (!spellcheck_value->HasKey(keys::kSpellcheckDictionaryLocale) || in Parse()
48 if (!spellcheck_value->HasKey(keys::kSpellcheckDictionaryFormat) || in Parse()
54 if (!spellcheck_value->HasKey(keys::kSpellcheckDictionaryPath) || in Parse()
/external/chromium_org/chrome/browser/profile_resetter/
Djtl_interpreter_unittest.cc82 EXPECT_FALSE(interpreter.working_memory()->HasKey(VAR_HASH_1)); in TEST()
102 EXPECT_FALSE(interpreter.working_memory()->HasKey(VAR_HASH_1)); in TEST()
185 EXPECT_FALSE(interpreter.working_memory()->HasKey(VAR_HASH_2)); in TEST()
207 EXPECT_FALSE(interpreter.working_memory()->HasKey(VAR_HASH_2)); in TEST()
238 EXPECT_FALSE(interpreter.working_memory()->HasKey(VAR_HASH_1)); in TEST()
286 EXPECT_FALSE(interpreter.working_memory()->HasKey(VAR_HASH_1)); in TEST()
302 EXPECT_FALSE(interpreter.working_memory()->HasKey(VAR_HASH_1)); in TEST()
336 EXPECT_FALSE(interpreter.working_memory()->HasKey(VAR_HASH_1)); in TEST()
337 EXPECT_FALSE(interpreter.working_memory()->HasKey(VAR_HASH_2)); in TEST()
387 EXPECT_FALSE(interpreter.working_memory()->HasKey(VAR_HASH_2)); in TEST()
[all …]
/external/chromium_org/chrome/common/extensions/api/extension_action/
Daction_info.cc64 if (dict->HasKey(keys::kPageActionIcons) && in Load()
78 if (dict->HasKey(keys::kPageActionId)) { in Load()
90 if (dict->HasKey(keys::kPageActionDefaultIcon)) { in Load()
122 if (dict->HasKey(keys::kPageActionDefaultTitle)) { in Load()
128 } else if (extension->manifest_version() == 1 && dict->HasKey(keys::kName)) { in Load()
137 if (dict->HasKey(keys::kPageActionDefaultPopup)) in Load()
141 dict->HasKey(keys::kPageActionPopup)) { in Load()
Dpage_action_handler.cc30 if (extension->manifest()->HasKey(keys::kPageActions)) { in Parse()
51 } else if (extension->manifest()->HasKey(keys::kPageAction)) { in Parse()
60 if (extension->manifest()->HasKey(keys::kBrowserAction)) { in Parse()
/external/chromium_org/extensions/common/manifest_handlers/
Dkiosk_mode_info.cc49 DCHECK(manifest->HasKey(keys::kKioskEnabled) || in Parse()
50 manifest->HasKey(keys::kKioskOnly)); in Parse()
53 if (manifest->HasKey(keys::kKioskEnabled) && in Parse()
60 if (manifest->HasKey(keys::kKioskOnly) && in Parse()
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Dcros_language_options_handler_unittest.cc60 ASSERT_TRUE(language_code_set->HasKey("en-US")); in TEST_F()
69 ASSERT_TRUE(language_code_set->HasKey("fr")); in TEST_F()
78 ASSERT_TRUE(language_code_set->HasKey("fr")); in TEST_F()
87 ASSERT_TRUE(language_code_set->HasKey("is")); in TEST_F()
/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dsynthesize_browser_action_handler.cc28 if (extension->manifest()->HasKey(manifest_keys::kSynthesizeBrowserAction)) in Parse()
31 if (!extension->manifest()->HasKey(manifest_keys::kBrowserAction) && in Parse()
32 !extension->manifest()->HasKey(manifest_keys::kPageAction)) in Parse()
/external/chromium_org/chrome/browser/chromeos/login/screens/
Dscreen_context_unittest.cc36 ASSERT_FALSE(context().HasKey("key0")); in TEST_F()
40 ASSERT_TRUE(context().HasKey("key0")); in TEST_F()
50 ASSERT_TRUE(context().HasKey("key0")); in TEST_F()
55 ASSERT_FALSE(context().HasKey("key1")); in TEST_F()
60 ASSERT_TRUE(context().HasKey("key1")); in TEST_F()
/external/chromium_org/components/enhanced_bookmarks/
Dimage_store_unittest.cc136 EXPECT_TRUE(this->store_->HasKey(GURL("foo://bar"))); in TYPED_TEST()
161 EXPECT_FALSE(this->store_->HasKey(url)); in TYPED_TEST()
175 EXPECT_FALSE(this->store_->HasKey(url_foo)); in TYPED_TEST()
176 EXPECT_FALSE(this->store_->HasKey(url_bar)); in TYPED_TEST()
194 EXPECT_TRUE(this->store_->HasKey(url)); in TYPED_TEST()
214 EXPECT_TRUE(this->store_->HasKey(GURL("foo://bar"))); in TYPED_TEST()
223 EXPECT_FALSE(this->store_->HasKey(GURL("foo://bar"))); in TYPED_TEST()
/external/chromium_org/cc/debug/
Dinvalidation_benchmark.cc38 if (settings->HasKey("mode")) in InvalidationBenchmark()
43 CHECK(settings->HasKey("width")) in InvalidationBenchmark()
45 CHECK(settings->HasKey("height")) in InvalidationBenchmark()
120 if (message->HasKey("notify_done")) { in ProcessMessage()
/external/chromium_org/ppapi/thunk/
Dppb_var_dictionary_thunk.cc52 PP_Bool HasKey(PP_Var dict, PP_Var key) { in HasKey() function
58 return dict_var->HasKey(key); in HasKey()
75 &HasKey,
/external/chromium_org/chrome/browser/ui/webui/options/
Dlanguage_options_handler_unittest.cc16 EXPECT_TRUE(dictionary->HasKey("en-US")); in TEST()
26 EXPECT_TRUE(dictionary->HasKey("en-US")); in TEST()
/external/chromium_org/extensions/browser/api/runtime/
Druntime_apitest.cc54 EXPECT_TRUE(dict->HasKey("os")); in IN_PROC_BROWSER_TEST_F()
55 EXPECT_TRUE(dict->HasKey("arch")); in IN_PROC_BROWSER_TEST_F()
56 EXPECT_TRUE(dict->HasKey("nacl_arch")); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/extensions/common/
Dmanifest.cc115 if (value_->HasKey(keys::kTheme)) { in Manifest()
117 } else if (value_->HasKey(keys::kExport)) { in Manifest()
119 } else if (value_->HasKey(keys::kApp)) { in Manifest()
179 bool Manifest::HasKey(const std::string& key) const { in HasKey() function in extensions::Manifest
180 return CanAccessKey(key) && value_->HasKey(key); in HasKey()
/external/chromium_org/components/copresence/handlers/audio/
Daudio_directive_handler.cc126 samples_cache_audible_.HasKey(current_token_audible_)) { in ProcessNextTransmit()
145 samples_cache_inaudible_.HasKey(current_token_inaudible_)) { in ProcessNextTransmit()
183 if (audible && samples_cache_audible_.HasKey(valid_token)) { in PlayToken()
186 } else if (!audible && samples_cache_inaudible_.HasKey(valid_token)) { in PlayToken()
/external/chromium_org/chrome/browser/extensions/api/experience_sampling_private/
Dexperience_sampling_private_api_unittest.cc24 ASSERT_TRUE(result->HasKey("variations")); in TEST_F()
37 ASSERT_TRUE(result->HasKey("variations")); in TEST_F()
/external/chromium_org/chromeos/network/onc/
Donc_validator.cc404 if (dict.HasKey(field_name)) in RequireField()
445 onc_object.HasKey(::onc::toplevel_config::kGlobalNetworkConfiguration)) { in IsGlobalNetworkConfigInUserImport()
627 if (result->HasKey(kServerCARefs) && result->HasKey(kServerCARef)) { in ValidateIPsec()
644 result->HasKey(kServerCARefs) || result->HasKey(kServerCARef); in ValidateIPsec()
689 if (result->HasKey(kServerCARefs) && result->HasKey(kServerCARef)) { in ValidateOpenVPN()
724 if (!result->HasKey(kSubject) && !result->HasKey(kIssuer) && in ValidateCertificatePattern()
725 !result->HasKey(kIssuerCARef)) { in ValidateCertificatePattern()
785 if (result->HasKey(kServerCARefs) && result->HasKey(kServerCARef)) { in ValidateEAP()

123456789