Home
last modified time | relevance | path

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

123456

/external/chromium_org/sync/internal_api/public/base/
Denum_set_unittest.cc39 EXPECT_FALSE(enums.Has(TEST_0)); in TEST_F()
40 EXPECT_FALSE(enums.Has(TEST_1)); in TEST_F()
41 EXPECT_FALSE(enums.Has(TEST_2)); in TEST_F()
42 EXPECT_FALSE(enums.Has(TEST_3)); in TEST_F()
43 EXPECT_FALSE(enums.Has(TEST_4)); in TEST_F()
50 EXPECT_FALSE(enums.Has(TEST_0)); in TEST_F()
51 EXPECT_FALSE(enums.Has(TEST_1)); in TEST_F()
52 EXPECT_FALSE(enums.Has(TEST_2)); in TEST_F()
53 EXPECT_TRUE(enums.Has(TEST_3)); in TEST_F()
54 EXPECT_FALSE(enums.Has(TEST_4)); in TEST_F()
[all …]
/external/chromium_org/sync/syncable/
Dnigori_util.cc79 (encrypted_types.Has(type) && in EntryNeedsEncryption()
88 if (!encrypted_types.Has(type)) in SpecificsNeedsEncryption()
248 encrypted_types.Has(BOOKMARKS)); in UpdateNigoriFromEncryptedTypes()
250 encrypted_types.Has(PREFERENCES)); in UpdateNigoriFromEncryptedTypes()
252 encrypted_types.Has(AUTOFILL_PROFILE)); in UpdateNigoriFromEncryptedTypes()
253 nigori->set_encrypt_autofill(encrypted_types.Has(AUTOFILL)); in UpdateNigoriFromEncryptedTypes()
254 nigori->set_encrypt_themes(encrypted_types.Has(THEMES)); in UpdateNigoriFromEncryptedTypes()
256 encrypted_types.Has(TYPED_URLS)); in UpdateNigoriFromEncryptedTypes()
258 encrypted_types.Has(EXTENSION_SETTINGS)); in UpdateNigoriFromEncryptedTypes()
260 encrypted_types.Has(EXTENSIONS)); in UpdateNigoriFromEncryptedTypes()
[all …]
Dsyncable_delete_journal.cc105 if (passive_delete_journal_types_.Has((*it)->GetServerModelType()) || in TakeSnapshotAndClear()
106 passive_delete_journal_types_.Has(GetModelTypeFromSpecifics( in TakeSnapshotAndClear()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dpacked-cache_test.cc44 CHECK(cache.Has(0)); in PackedCacheTest_basic()
47 CHECK(cache.Has(0) && cache.Has(19)); in PackedCacheTest_basic()
52 CHECK(!cache.Has(0)); in PackedCacheTest_basic()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dpacked-cache_test.cc44 CHECK(cache.Has(0)); in PackedCacheTest_basic()
47 CHECK(cache.Has(0) && cache.Has(19)); in PackedCacheTest_basic()
52 CHECK(!cache.Has(0)); in PackedCacheTest_basic()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_components_factory_impl.cc213 if (!disabled_types.Has(syncer::AUTOFILL)) { in RegisterCommonDataTypes()
221 if (!disabled_types.Has(syncer::AUTOFILL_PROFILE)) { in RegisterCommonDataTypes()
229 if (!disabled_types.Has(syncer::BOOKMARKS)) { in RegisterCommonDataTypes()
237 !disabled_types.Has(syncer::TYPED_URLS)) { in RegisterCommonDataTypes()
244 if (!disabled_types.Has(syncer::HISTORY_DELETE_DIRECTIVES)) { in RegisterCommonDataTypes()
255 if (!disabled_types.Has(syncer::PROXY_TABS)) { in RegisterCommonDataTypes()
265 if (!disabled_types.Has(syncer::FAVICON_IMAGES) && in RegisterCommonDataTypes()
266 !disabled_types.Has(syncer::FAVICON_TRACKING)) { in RegisterCommonDataTypes()
285 if (!disabled_types.Has(syncer::PASSWORDS)) { in RegisterCommonDataTypes()
336 if (!disabled_types.Has(syncer::APPS)) { in RegisterDesktopDataTypes()
[all …]
Dprofile_sync_service_android.cc352 if (types.Has(syncer::BOOKMARKS)) { in GetEnabledDataTypes()
355 if (types.Has(syncer::AUTOFILL)) { in GetEnabledDataTypes()
358 if (types.Has(syncer::AUTOFILL_PROFILE)) { in GetEnabledDataTypes()
361 if (types.Has(syncer::PASSWORDS)) { in GetEnabledDataTypes()
364 if (types.Has(syncer::TYPED_URLS)) { in GetEnabledDataTypes()
367 if (types.Has(syncer::SESSIONS)) { in GetEnabledDataTypes()
370 if (types.Has(syncer::HISTORY_DELETE_DIRECTIVES)) { in GetEnabledDataTypes()
373 if (types.Has(syncer::PROXY_TABS)) { in GetEnabledDataTypes()
376 if (types.Has(syncer::FAVICON_IMAGES)) { in GetEnabledDataTypes()
379 if (types.Has(syncer::FAVICON_TRACKING)) { in GetEnabledDataTypes()
[all …]
Dprofile_sync_service.cc384 DCHECK(!GetRegisteredNonBlockingDataTypes().Has( in RegisterDataTypeController()
581 DCHECK(encrypted_types.Has(syncer::PASSWORDS)); in IsEncryptedDatatypeEnabled()
627 DCHECK(syncer::UserTypes().Has(type)); in OnDataTypeRequestsSyncStartup()
634 if (!GetPreferredDataTypes().Has(type)) { in OnDataTypeRequestsSyncStartup()
995 if (!syncer::CoreTypes().Has(type) && !GetPreferredDataTypes().Has(type)) in ReenableDatatype()
1372 DCHECK(encrypted_types_.Has(syncer::PASSWORDS)); in OnEncryptedTypesChanged()
1376 if (GetActiveDataTypes().Has(syncer::HISTORY_DELETE_DIRECTIVES) && in OnEncryptedTypesChanged()
1377 encrypted_types_.Has(syncer::SESSIONS)) { in OnEncryptedTypesChanged()
1743 if (chosen_types.Has(type) && in UpdateSelectedTypesHistogram()
1744 (!HasSyncSetupCompleted() || !current_types.Has(type))) { in UpdateSelectedTypesHistogram()
[all …]
/external/chromium_org/components/sync_driver/
Dmodel_association_manager.cc168 (!desired_types_.Has(dtc->type()) || in StopDisabledTypes()
182 if (!desired_types_.Has(type)) in LoadEnabledTypes()
188 DCHECK(!loaded_types_.Has(dtc->type())); in LoadEnabledTypes()
189 DCHECK(!associated_types_.Has(dtc->type())); in LoadEnabledTypes()
233 if (!associating_types_.Has(type) || !loaded_types_.Has(type)) in StartAssociationAsync()
310 if (slow_types_.Has(type)) in ModelLoadCallback()
314 if (!desired_types_.Has(type)) in ModelLoadCallback()
317 DCHECK(!loaded_types_.Has(type)); in ModelLoadCallback()
330 if (associating_types_.Has(type) || slow_types_.Has(type)) { in ModelLoadCallback()
346 if (slow_types_.Has(type)) in TypeStartCallback()
[all …]
Dproxy_data_type_controller.cc15 DCHECK(syncer::ProxyTypes().Has(type_)); in ProxyDataTypeController()
42 DCHECK(syncer::ProxyTypes().Has(type_)); in type()
47 DCHECK(syncer::ProxyTypes().Has(type_)); in model_safe_group()
Dsync_prefs_unittest.cc94 EXPECT_FALSE(preferred_types.Has(syncer::PROXY_TABS)); in TEST_F()
95 EXPECT_TRUE(preferred_types.Has(syncer::HISTORY_DELETE_DIRECTIVES)); in TEST_F()
103 EXPECT_TRUE(preferred_types.Has(syncer::PROXY_TABS)); in TEST_F()
104 EXPECT_FALSE(preferred_types.Has(syncer::HISTORY_DELETE_DIRECTIVES)); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8HTMLCanvasElementCustom.cpp63 if (jsAttributes->Has(alpha) && !isUndefinedOrNull(jsAttributes->Get(alpha))) in getContextMethodCustom()
66 if (jsAttributes->Has(depth) && !isUndefinedOrNull(jsAttributes->Get(depth))) in getContextMethodCustom()
69 if (jsAttributes->Has(stencil) && !isUndefinedOrNull(jsAttributes->Get(stencil))) in getContextMethodCustom()
72 if (jsAttributes->Has(antialias) && !isUndefinedOrNull(jsAttributes->Get(antialias))) in getContextMethodCustom()
75 …if (jsAttributes->Has(premultipliedAlpha) && !isUndefinedOrNull(jsAttributes->Get(premultipliedAlp… in getContextMethodCustom()
78 …if (jsAttributes->Has(preserveDrawingBuffer) && !isUndefinedOrNull(jsAttributes->Get(preserveDrawi… in getContextMethodCustom()
81 …if (jsAttributes->Has(failIfMajorPerformanceCaveat) && !isUndefinedOrNull(jsAttributes->Get(failIf… in getContextMethodCustom()
90 if (jsAttributes->Has(alpha) && !isUndefinedOrNull(jsAttributes->Get(alpha))) in getContextMethodCustom()
/external/chromium_org/chrome/browser/chromeos/drive/
Djob_scheduler_unittest.cc57 bool Has(EventType type, JobType job_type) { in Has() function in drive::__anon8d44f6930111::JobListLogger
839 EXPECT_TRUE(logger.Has(JobListLogger::ADDED, TYPE_ADD_NEW_DIRECTORY)); in TEST_F()
840 EXPECT_TRUE(logger.Has(JobListLogger::ADDED, TYPE_GET_ABOUT_RESOURCE)); in TEST_F()
841 EXPECT_TRUE(logger.Has(JobListLogger::ADDED, TYPE_RENAME_RESOURCE)); in TEST_F()
842 EXPECT_TRUE(logger.Has(JobListLogger::ADDED, TYPE_DOWNLOAD_FILE)); in TEST_F()
843 EXPECT_FALSE(logger.Has(JobListLogger::DONE, TYPE_ADD_NEW_DIRECTORY)); in TEST_F()
844 EXPECT_FALSE(logger.Has(JobListLogger::DONE, TYPE_GET_ABOUT_RESOURCE)); in TEST_F()
845 EXPECT_FALSE(logger.Has(JobListLogger::DONE, TYPE_RENAME_RESOURCE)); in TEST_F()
846 EXPECT_FALSE(logger.Has(JobListLogger::DONE, TYPE_DOWNLOAD_FILE)); in TEST_F()
873 EXPECT_TRUE(logger.Has(JobListLogger::ADDED, TYPE_ADD_RESOURCE_TO_DIRECTORY)); in TEST_F()
[all …]
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_util_unittest.cpp205 EXPECT_FALSE(s.Has(0)); in TEST()
208 EXPECT_TRUE(s.Has(0)); in TEST()
220 EXPECT_FALSE(s.Has(-1)); in TEST()
221 EXPECT_TRUE(s.Has(0)); in TEST()
222 EXPECT_TRUE(s.Has(1)); in TEST()
223 EXPECT_TRUE(s.Has(2)); in TEST()
224 EXPECT_FALSE(s.Has(3)); in TEST()
Dcrazy_linker_util.h182 bool Has(T item) const { return IndexOf(item) >= 0; } in Has() function
269 bool Has(T item) const { return items_.Has(item); } in Has() function
/external/chromium_org/net/disk_cache/simple/
Dsimple_index_unittest.cc252 TEST_F(SimpleIndexTest, Has) { in TEST_F() argument
259 EXPECT_TRUE(index()->Has(kHash1)); in TEST_F()
261 EXPECT_TRUE(index()->Has(kHash1)); in TEST_F()
264 EXPECT_TRUE(index()->Has(kHash1)); in TEST_F()
269 EXPECT_FALSE(index()->Has(kHash1)); in TEST_F()
271 EXPECT_TRUE(index()->Has(kHash1)); in TEST_F()
407 EXPECT_FALSE(index()->Has(kHash1)); in TEST_F()
440 EXPECT_FALSE(index()->Has(kHash1)); in TEST_F()
491 EXPECT_FALSE(index()->Has(hashes_.at<1>())); in TEST_F()
499 EXPECT_FALSE(index()->Has(hashes_.at<3>())); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/webui/
Dsync_setup_handler_unittest.cc87 result.SetBoolean("appsSynced", types.Has(syncer::APPS)); in GetConfiguration()
88 result.SetBoolean("autofillSynced", types.Has(syncer::AUTOFILL)); in GetConfiguration()
89 result.SetBoolean("bookmarksSynced", types.Has(syncer::BOOKMARKS)); in GetConfiguration()
90 result.SetBoolean("extensionsSynced", types.Has(syncer::EXTENSIONS)); in GetConfiguration()
91 result.SetBoolean("passwordsSynced", types.Has(syncer::PASSWORDS)); in GetConfiguration()
92 result.SetBoolean("preferencesSynced", types.Has(syncer::PREFERENCES)); in GetConfiguration()
93 result.SetBoolean("tabsSynced", types.Has(syncer::PROXY_TABS)); in GetConfiguration()
94 result.SetBoolean("themesSynced", types.Has(syncer::THEMES)); in GetConfiguration()
95 result.SetBoolean("typedUrlsSynced", types.Has(syncer::TYPED_URLS)); in GetConfiguration()
134 CheckBool(dictionary, "appsSynced", types.Has(syncer::APPS)); in CheckConfigDataTypeArguments()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dcodec.cc51 bool FeedbackParams::Has(const FeedbackParam& param) const { in Has() function in cricket::FeedbackParams
59 if (Has(param)) { in Add()
70 if (!from.Has(*iter_to)) { in Intersect()
126 return feedback_params.Has(param); in HasFeedbackParam()
/external/iptables/extensions/
Dlibipt_CLUSTERIP.man11 Specify the hashing mode. Has to be one of
15 Specify the ClusterIP MAC address. Has to be a link\-layer multicast address
/external/chromium_org/chrome/browser/sync/test/integration/
Denable_disable_test.cc57 if (!syncer::ProxyTypes().Has(it.Get())) { in IN_PROC_BROWSER_TEST_F()
88 if (!syncer::ProxyTypes().Has(it.Get())) { in IN_PROC_BROWSER_TEST_F()
Dprofile_sync_service_harness.cc311 if (synced_datatypes.Has(datatype)) { in EnableSyncForDatatype()
343 if (!synced_datatypes.Has(datatype)) { in DisableSyncForDatatype()
439 return service()->GetPreferredDataTypes().Has(type); in IsTypePreferred()
Dsync_errors_test.cc202 ASSERT_TRUE(synced_datatypes.Has(syncer::TYPED_URLS)); in IN_PROC_BROWSER_TEST_F()
207 ASSERT_FALSE(synced_datatypes.Has(syncer::TYPED_URLS)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/sync/engine/
Dget_updates_delegate.cc23 if (gu_types.Has(it->first)) in NonPassiveApplyUpdates()
34 if (gu_types.Has(it->first)) in PassiveApplyUpdates()
/external/llvm/lib/Target/AArch64/
DAArch64.td37 "Has zero-cycle register moves">;
41 "Has zero-cycle zeroing instructions">;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRRuleReturnScope.m49 /** Has a value potentially if output=AST; */
55 /** Has a value potentially if output=template; Don't use StringTemplate

123456