/external/chromium_org/components/copresence/ |
D | timed_map_unittest.cc | 39 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/ |
D | dom_distiller_json_converter.h | 21 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/ |
D | external_cache_unittest.cc | 183 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/ |
D | notification_service_impl.cc | 37 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/ |
D | plugin_finder_unittest.cc | 28 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/ |
D | tts_engine_manifest_handler.cc | 59 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/ |
D | tts_extension_api.cc | 155 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 …]
|
D | tts_engine_extension_api.cc | 154 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/ |
D | spellcheck_handler.cc | 36 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/ |
D | jtl_interpreter_unittest.cc | 82 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/ |
D | action_info.cc | 64 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()
|
D | page_action_handler.cc | 30 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/ |
D | kiosk_mode_info.cc | 49 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/ |
D | cros_language_options_handler_unittest.cc | 60 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/ |
D | synthesize_browser_action_handler.cc | 28 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/ |
D | screen_context_unittest.cc | 36 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/ |
D | image_store_unittest.cc | 136 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/ |
D | invalidation_benchmark.cc | 38 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/ |
D | ppb_var_dictionary_thunk.cc | 52 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/ |
D | language_options_handler_unittest.cc | 16 EXPECT_TRUE(dictionary->HasKey("en-US")); in TEST() 26 EXPECT_TRUE(dictionary->HasKey("en-US")); in TEST()
|
/external/chromium_org/extensions/browser/api/runtime/ |
D | runtime_apitest.cc | 54 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/ |
D | manifest.cc | 115 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/ |
D | audio_directive_handler.cc | 126 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/ |
D | experience_sampling_private_api_unittest.cc | 24 ASSERT_TRUE(result->HasKey("variations")); in TEST_F() 37 ASSERT_TRUE(result->HasKey("variations")); in TEST_F()
|
/external/chromium_org/chromeos/network/onc/ |
D | onc_validator.cc | 404 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()
|