/external/chromium_org/net/base/ |
D | expiring_cache_unittest.cc | 122 EXPECT_TRUE(ContainsKey(cache.entries_, "valid0")); in TEST() 123 EXPECT_TRUE(ContainsKey(cache.entries_, "valid1")); in TEST() 124 EXPECT_TRUE(ContainsKey(cache.entries_, "valid2")); in TEST() 125 EXPECT_TRUE(ContainsKey(cache.entries_, "valid3")); in TEST() 126 EXPECT_TRUE(ContainsKey(cache.entries_, "valid4")); in TEST() 127 EXPECT_TRUE(ContainsKey(cache.entries_, "expired0")); in TEST() 128 EXPECT_TRUE(ContainsKey(cache.entries_, "expired1")); in TEST() 129 EXPECT_TRUE(ContainsKey(cache.entries_, "expired2")); in TEST() 130 EXPECT_TRUE(ContainsKey(cache.entries_, "negative0")); in TEST() 131 EXPECT_TRUE(ContainsKey(cache.entries_, "negative1")); in TEST() [all …]
|
/external/chromium_org/content/public/test/ |
D | mock_special_storage_policy.cc | 16 return ContainsKey(protected_, origin); in IsStorageProtected() 22 return ContainsKey(unlimited_, origin); in IsStorageUnlimited() 26 return ContainsKey(session_only_, origin); in IsStorageSessionOnly() 30 return ContainsKey(can_query_disk_size_, origin); in CanQueryDiskSize() 34 return ContainsKey(file_handlers_, extension_id); in IsFileHandler() 38 return ContainsKey(isolated_, origin); in HasIsolatedStorage()
|
D | test_launcher.cc | 217 while (ContainsKey(all_test_names_, pre_test_name)) { in RunTests() 220 DCHECK(!ContainsKey(dependent_test_map_, pre_test_name)); in RunTests() 223 DCHECK(!ContainsKey(reverse_dependent_test_map_, full_name)); in RunTests() 237 if (!ContainsKey(user_data_dir_map_, full_name)) { in RunTests() 245 while (ContainsKey(reverse_dependent_test_map_, full_name)) in RunTests() 267 while (ContainsKey(reverse_dependent_test_map_, test_name)) { in RetryTests() 293 if (!ContainsKey(user_data_dir_map_, test_name_no_pre)) { in RetryTests() 306 if (!ContainsKey(test_names_set, pre_test_name)) in RetryTests() 370 if (ContainsKey(dependent_test_map_, test_name)) { in RunDependentTest() 400 if (ContainsKey(dependent_test_map_, test_name)) { in GTestCallback() [all …]
|
/external/chromium_org/chrome/browser/browsing_data/ |
D | browsing_data_file_system_helper_unittest.cc | 219 EXPECT_FALSE(ContainsKey(info->usage_map, kPersistent)); in TEST_F() 220 EXPECT_TRUE(ContainsKey(info->usage_map, kTemporary)); in TEST_F() 226 EXPECT_TRUE(ContainsKey(info->usage_map, kPersistent)); in TEST_F() 227 EXPECT_FALSE(ContainsKey(info->usage_map, kTemporary)); in TEST_F() 232 EXPECT_TRUE(ContainsKey(info->usage_map, kPersistent)); in TEST_F() 233 EXPECT_TRUE(ContainsKey(info->usage_map, kTemporary)); in TEST_F() 259 EXPECT_TRUE(ContainsKey(info.usage_map, kPersistent)); in TEST_F() 260 EXPECT_TRUE(ContainsKey(info.usage_map, kTemporary)); in TEST_F() 287 EXPECT_TRUE(ContainsKey(info->usage_map, kPersistent)); in TEST_F() 288 EXPECT_FALSE(ContainsKey(info->usage_map, kTemporary)); in TEST_F() [all …]
|
D | browsing_data_appcache_helper_unittest.cc | 65 EXPECT_TRUE(ContainsKey(collection, manifest1.GetOrigin())); in TEST_F() 69 EXPECT_TRUE(ContainsKey(collection, manifest2.GetOrigin())); in TEST_F() 74 EXPECT_TRUE(ContainsKey(manifest_results, manifest2)); in TEST_F() 75 EXPECT_TRUE(ContainsKey(manifest_results, manifest3)); in TEST_F() 97 EXPECT_TRUE(ContainsKey(collection, manifest.GetOrigin())); in TEST_F()
|
/external/chromium_org/components/url_matcher/ |
D | regex_set_matcher_unittest.cc | 29 EXPECT_TRUE(ContainsKey(result1, 42)); in TEST() 30 EXPECT_TRUE(ContainsKey(result1, 239)); in TEST() 35 EXPECT_TRUE(ContainsKey(result2, 17)); in TEST() 36 EXPECT_TRUE(ContainsKey(result2, 42)); in TEST() 59 EXPECT_TRUE(ContainsKey(result2, 57)); in TEST()
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
D | metadata_database_index.cc | 171 if (ContainsKey(visited_trackers, tracker->tracker_id())) { in RemoveUnreachableItems() 189 if (ContainsKey(referred_file_ids, metadata->file_id())) { in RemoveUnreachableItems() 503 DCHECK(!ContainsKey(app_root_by_app_id_, new_tracker.app_id())); in AddToAppIDIndex() 515 DCHECK(ContainsKey(app_root_by_app_id_, old_tracker.app_id())); in UpdateInAppIDIndex() 523 DCHECK(!ContainsKey(app_root_by_app_id_, new_tracker.app_id())); in UpdateInAppIDIndex() 535 DCHECK(ContainsKey(app_root_by_app_id_, tracker.app_id())); in RemoveFromAppIDIndex() 550 DVLOG_IF(3, !ContainsKey(multi_tracker_file_ids_, new_tracker.file_id())) in AddToFileIDIndexes() 563 DCHECK(ContainsKey(trackers_by_file_id_, file_id)); in UpdateInFileIDIndexes() 585 DVLOG_IF(3, ContainsKey(multi_tracker_file_ids_, tracker.file_id())) in RemoveFromFileIDIndexes() 606 DVLOG_IF(3, !ContainsKey(multi_backing_file_paths_, in AddToPathIndexes() [all …]
|
D | tracker_id_set.cc | 41 DCHECK(ContainsKey(tracker_ids_, tracker_id)); in Erase() 50 DCHECK(ContainsKey(tracker_ids_, tracker_id)); in Activate() 56 DCHECK(ContainsKey(tracker_ids_, tracker_id)); in Deactivate()
|
/external/chromium_org/chrome/browser/media_galleries/ |
D | gallery_watch_manager.cc | 85 if (ContainsKey(watchers_, path)) { in AddFileWatch() 169 DCHECK(!ContainsKey(observers_, browser_context)); in AddObserver() 201 if (ContainsKey(watches_, owner)) { in AddWatch() 210 if (!ContainsKey(preferences->known_galleries(), gallery_id)) { in AddWatch() 217 if (!ContainsKey(permitted, gallery_id)) { in AddWatch() 231 if (!ContainsKey(observed_preferences_, preferences)) { in AddWatch() 239 if (ContainsKey(watched_paths_, path)) { in AddWatch() 352 if (ContainsKey(observers_, profile)) in OnFilePathChanged() 388 DCHECK(ContainsKey(watches_, *it)); in OnFilePathChanged() 389 if (ContainsKey(observers_, it->browser_context)) { in OnFilePathChanged() [all …]
|
/external/chromium_org/chrome/browser/sync_file_system/local/ |
D | local_file_sync_service.cc | 67 if (!ContainsKey(disabled_origins_, *origin)) in NextOriginToProcess() 77 if (ContainsKey(disabled_origins_, iter->first)) in GetTotalChangeCount() 163 DCHECK(ContainsKey(origin_to_contexts_, origin)); in ProcessLocalChange() 188 if (!ContainsKey(origin_to_contexts_, url.origin())) { in HasPendingLocalChanges() 216 DCHECK(ContainsKey(origin_to_contexts_, url.origin())); in GetLocalFileMetadata() 226 if (!ContainsKey(origin_to_contexts_, url.origin())) { in PrepareForProcessRemoteChange() 264 DCHECK(ContainsKey(origin_to_contexts_, url.origin())); in PrepareForProcessRemoteChange() 276 DCHECK(ContainsKey(origin_to_contexts_, url.origin())); in ApplyRemoteChange() 293 DCHECK(ContainsKey(origin_to_contexts_, url.origin())); in FinalizeRemoteSync() 303 DCHECK(ContainsKey(origin_to_contexts_, url.origin())); in RecordFakeLocalChange() [all …]
|
D | local_file_change_tracker.cc | 93 if (ContainsKey(changes_, url) || ContainsKey(demoted_changes_, url)) in OnStartUpdate() 177 DCHECK(!ContainsKey(mirror_changes_, url)); in CreateFreshMirrorForURL() 189 if (ContainsKey(changes_, url) || ContainsKey(demoted_changes_, url)) in RemoveMirrorAndCommitChangesForURL() 205 if (ContainsKey(demoted_changes_, url)) { in ResetToMirrorAndCommitChangesForURL() 206 DCHECK(!ContainsKey(changes_, url)); in ResetToMirrorAndCommitChangesForURL() 209 DCHECK(!ContainsKey(demoted_changes_, url)); in ResetToMirrorAndCommitChangesForURL() 223 DCHECK(!ContainsKey(demoted_changes_, url)); in DemoteChangesForURL() 240 DCHECK(!ContainsKey(change_seqs_, iter->second.change_seq)); in PromoteDemotedChangesForURL() 241 DCHECK(!ContainsKey(changes_, url)); in PromoteDemotedChangesForURL() 416 if (ContainsKey(demoted_changes_, url)) { in RecordChange() [all …]
|
D | syncable_file_system_unittest.cc | 202 EXPECT_TRUE(ContainsKey(urls, URL(kPath0))); in TEST_F() 203 EXPECT_TRUE(ContainsKey(urls, URL(kPath1))); in TEST_F() 204 EXPECT_TRUE(ContainsKey(urls, URL(kPath2))); in TEST_F() 236 EXPECT_TRUE(ContainsKey(urls, URL(kPath0))); in TEST_F() 237 EXPECT_TRUE(ContainsKey(urls, URL(kPath1))); in TEST_F() 238 EXPECT_TRUE(ContainsKey(urls, URL(kPath2))); in TEST_F()
|
D | local_file_change_tracker_unittest.cc | 178 EXPECT_TRUE(ContainsKey(urls, URL(kPath1))); in TEST_F() 179 EXPECT_TRUE(ContainsKey(urls, URL(kPath2))); in TEST_F() 180 EXPECT_TRUE(ContainsKey(urls, URL(kPath3))); in TEST_F() 181 EXPECT_TRUE(ContainsKey(urls, URL(kPath4))); in TEST_F() 182 EXPECT_TRUE(ContainsKey(urls, URL(kPath5))); in TEST_F() 185 EXPECT_FALSE(ContainsKey(urls, URL(kPath0))); in TEST_F() 670 EXPECT_TRUE(ContainsKey(urls, URL(kPath1))); in TEST_F() 671 EXPECT_TRUE(ContainsKey(urls, URL(kPath2))); in TEST_F() 694 EXPECT_TRUE(ContainsKey(urls, URL(kPath0))); in TEST_F() 695 EXPECT_TRUE(ContainsKey(urls, URL(kPath1))); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
D | iphoto_data_provider_browsertest.cc | 305 EXPECT_TRUE(ContainsKey(photos, "path1.jpg")); in StartTest() 306 EXPECT_FALSE(ContainsKey(photos, "path2.jpg")); in StartTest() 307 EXPECT_TRUE(ContainsKey(photos, "path3.jpg")); in StartTest() 308 EXPECT_TRUE(ContainsKey(photos, "path3(4).jpg")); in StartTest() 317 EXPECT_TRUE(ContainsKey(photos, "path2.jpg")); in StartTest() 326 EXPECT_TRUE(ContainsKey(originals, "path2.jpg")); in StartTest() 327 EXPECT_FALSE(ContainsKey(originals, "path1.jpg")); in StartTest()
|
/external/chromium_org/third_party/re2/util/ |
D | sparse_array_test.cc | 83 TEST_F(SparseArrayStringTest, ContainsKey) { in TEST_F() argument 84 EXPECT_TRUE(ContainsKey(str_map_, 1)); in TEST_F() 85 EXPECT_TRUE(ContainsKey(str_map_, 2)); in TEST_F() 86 EXPECT_FALSE(ContainsKey(str_map_, 3)); in TEST_F() 90 EXPECT_FALSE(ContainsKey(str_map_, 3)); in TEST_F()
|
/external/regex-re2/util/ |
D | sparse_array_test.cc | 83 TEST_F(SparseArrayStringTest, ContainsKey) { in TEST_F() argument 84 EXPECT_TRUE(ContainsKey(str_map_, 1)); in TEST_F() 85 EXPECT_TRUE(ContainsKey(str_map_, 2)); in TEST_F() 86 EXPECT_FALSE(ContainsKey(str_map_, 3)); in TEST_F() 90 EXPECT_FALSE(ContainsKey(str_map_, 3)); in TEST_F()
|
/external/chromium_org/cc/animation/ |
D | animation_registrar.cc | 25 if (!ContainsKey(all_animation_controllers_, id)) { in GetAnimationControllerForId() 42 if (ContainsKey(active_animation_controllers_, controller->id())) in DidDeactivateAnimationController() 53 if (ContainsKey(all_animation_controllers_, controller->id())) in UnregisterAnimationController()
|
/external/chromium_org/net/socket/ |
D | client_socket_pool_manager_impl.cc | 223 DCHECK(ContainsKey(transport_socket_pools_for_socks_proxies_, socks_proxy)); in GetSocketPoolForSOCKSProxy() 227 DCHECK(!ContainsKey(transport_socket_pools_for_socks_proxies_, socks_proxy)); in GetSocketPoolForSOCKSProxy() 261 DCHECK(ContainsKey(transport_socket_pools_for_http_proxies_, http_proxy)); in GetSocketPoolForHTTPProxy() 262 DCHECK(ContainsKey(transport_socket_pools_for_https_proxies_, http_proxy)); in GetSocketPoolForHTTPProxy() 263 DCHECK(ContainsKey(ssl_socket_pools_for_https_proxies_, http_proxy)); in GetSocketPoolForHTTPProxy() 267 DCHECK(!ContainsKey(transport_socket_pools_for_http_proxies_, http_proxy)); in GetSocketPoolForHTTPProxy() 268 DCHECK(!ContainsKey(transport_socket_pools_for_https_proxies_, http_proxy)); in GetSocketPoolForHTTPProxy() 269 DCHECK(!ContainsKey(ssl_socket_pools_for_https_proxies_, http_proxy)); in GetSocketPoolForHTTPProxy()
|
/external/chromium_org/extensions/common/permissions/ |
D | permissions_info.cc | 82 DCHECK(ContainsKey(name_map_, name)); in RegisterAlias() 83 DCHECK(!ContainsKey(name_map_, alias)); in RegisterAlias() 88 DCHECK(!ContainsKey(id_map_, permission->id())); in RegisterPermission() 89 DCHECK(!ContainsKey(name_map_, permission->name())); in RegisterPermission()
|
/external/chromium_org/chrome/browser/extensions/ |
D | install_verifier.cc | 250 return signature_.get() && (ContainsKey(signature_->ids, id) || in IsKnownId() 251 ContainsKey(signature_->invalid_ids, id)); in IsKnownId() 255 return ((signature_.get() && ContainsKey(signature_->invalid_ids, id))); in IsInvalid() 307 if (ContainsKey(signature_->ids, *i) || in RemoveMany() 308 ContainsKey(signature_->invalid_ids, *i)) { in RemoveMany() 385 if (ContainsKey(InstallSigner::GetForcedNotFromWebstore(), extension->id())) { in MustRemainDisabled() 400 !ContainsKey(signature_->invalid_ids, extension->id())) { in MustRemainDisabled() 527 return ((signature_.get() && ContainsKey(signature_->ids, id)) || in IsVerified() 528 ContainsKey(provisional_, id)); in IsVerified() 547 if (ContainsKey(ids_to_sign, *i)) in BeginFetch()
|
/external/chromium_org/google_apis/gaia/ |
D | account_tracker.cc | 183 if (!ContainsKey(accounts_, account_key)) { in StartTrackingAccount() 195 if (ContainsKey(accounts_, account_key)) { in StopTrackingAccount() 204 if (ContainsKey(user_info_requests_, account_key)) in StopTrackingAccount() 214 if (ContainsKey(user_info_requests_, account_key)) in StartFetchingUserInfo() 230 DCHECK(ContainsKey(accounts_, account_key)); in OnUserInfoFetchSuccess() 252 DCHECK(ContainsKey(user_info_requests_, account_key)); in DeleteFetcher()
|
/external/chromium_org/device/media_transfer_protocol/ |
D | media_transfer_protocol_manager.cc | 131 if (!ContainsKey(storage_info_map_, storage_name) || !mtp_client_) { in OpenStorage() 149 if (!ContainsKey(handles_, storage_handle) || !mtp_client_) { in CloseStorage() 167 if (!ContainsKey(handles_, storage_handle) || !mtp_client_) { in ReadDirectory() 191 if (!ContainsKey(handles_, storage_handle) || !mtp_client_) { in ReadFileChunk() 208 if (!ContainsKey(handles_, storage_handle) || !mtp_client_) { in GetFileInfo() 274 if (ContainsKey(storage_info_map_, storage_names[i])) { in OnEnumerateStorages() 285 if (ContainsKey(storage_info_map_, storage_name)) { in OnGetStorageInfo() 306 if (!ContainsKey(handles_, handle)) { in OnOpenStorage() 324 if (ContainsKey(handles_, handle)) { in OnCloseStorage()
|
/external/chromium_org/components/storage_monitor/ |
D | transient_device_ids.cc | 24 if (!ContainsKey(device_id_map_, device_id)) { in GetTransientIdForDeviceId() 28 } while (ContainsKey(transient_id_map_, transient_id)); in GetTransientIdForDeviceId()
|
/external/chromium_org/content/browser/service_worker/ |
D | service_worker_database_unittest.cc | 292 EXPECT_TRUE(ContainsKey(origins, origin1)); in TEST() 293 EXPECT_TRUE(ContainsKey(origins, origin2)); in TEST() 294 EXPECT_TRUE(ContainsKey(origins, origin3)); in TEST() 309 EXPECT_TRUE(ContainsKey(origins, origin1)); in TEST() 310 EXPECT_TRUE(ContainsKey(origins, origin2)); in TEST() 311 EXPECT_TRUE(ContainsKey(origins, origin3)); in TEST() 324 EXPECT_TRUE(ContainsKey(origins, origin1)); in TEST() 325 EXPECT_TRUE(ContainsKey(origins, origin2)); in TEST() 532 EXPECT_TRUE(ContainsKey(purgeable_ids_out, resources[0].resource_id)); in TEST() 533 EXPECT_TRUE(ContainsKey(purgeable_ids_out, resources[1].resource_id)); in TEST() [all …]
|
D | embedded_worker_registry.cc | 105 DCHECK(!ContainsKey(worker_process_map_, process_id) || in OnWorkerStarted() 169 DCHECK(!ContainsKey(worker_process_map_, process_id)); in AddChildProcessSender() 182 DCHECK(ContainsKey(worker_map_, embedded_worker_id)); in RemoveChildProcessSender() 224 DCHECK(ContainsKey(process_sender_map_, process_id)); in SendStartWorker() 243 DCHECK(ContainsKey(worker_map_, embedded_worker_id)); in RemoveWorker()
|