/external/chromium_org/chrome/browser/safe_browsing/ |
D | safe_browsing_database_unittest.cc | 262 database_.reset(new SafeBrowsingDatabaseNew); in SetUp() 265 database_->Init(database_filename_); in SetUp() 269 database_.reset(); in TearDown() 276 ASSERT_TRUE(database_->UpdateStarted(lists)); in GetListsInfo() 277 database_->UpdateFinished(true); in GetListsInfo() 290 database_->DeleteChunks(deletes); in DelChunk() 304 scoped_ptr<SafeBrowsingDatabaseNew> database_; member in SafeBrowsingDatabaseTest 318 ASSERT_TRUE(database_->UpdateStarted(&lists)); in TEST_F() 319 database_->InsertChunks(safe_browsing_util::kMalwareList, chunks.get()); in TEST_F() 320 database_->UpdateFinished(true); in TEST_F() [all …]
|
D | database_manager.cc | 212 database_(NULL), in SafeBrowsingDatabaseManager() 343 return database_->ContainsSideEffectFreeWhitelistUrl(url); in CheckSideEffectFreeWhitelistUrl() 352 return database_->ContainsMalwareIP(ip_address); in MatchMalwareIP() 364 return database_->ContainsCsdWhitelistedUrl(url); in MatchCsdWhitelistUrl() 372 return database_->ContainsDownloadWhitelistedUrl(url); in MatchDownloadWhitelistUrl() 381 return database_->ContainsDownloadWhitelistedString(str); in MatchDownloadWhitelistString() 389 return database_->IsMalwareIPMatchKillSwitchOn(); in IsMalwareKillSwitchOn() 397 return database_->IsCsdWhitelistKillSwitchOn(); in IsCsdWhitelistKillSwitchOn() 428 database_->ContainsBrowseUrl(url, &prefix_hits, &cache_hits); in CheckBrowseUrl() 500 database_->CacheHashResults(prefixes, full_hashes, cache_lifetime); in HandleGetHashResults() [all …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
D | descriptor_database_unittest.cc | 102 return &database_; in GetDatabase() 105 return database_.Add(file); in AddToDatabase() 109 SimpleDescriptorDatabase database_; member in google::protobuf::__anon0dec80240111::SimpleDescriptorDatabaseTestCase 122 return &database_; in GetDatabase() 127 return database_.AddCopy(data.data(), data.size()); in AddToDatabase() 131 EncodedDescriptorDatabase database_; member in google::protobuf::__anon0dec80240111::EncodedDescriptorDatabaseTestCase 141 DescriptorPoolDatabaseTestCase() : database_(pool_) {} in DescriptorPoolDatabaseTestCase() 145 return &database_; in GetDatabase() 153 DescriptorPoolDatabase database_; member in google::protobuf::__anon0dec80240111::DescriptorPoolDatabaseTestCase 163 database_ = test_case_->GetDatabase(); in SetUp() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_database_unittest.cc | 102 return &database_; in GetDatabase() 105 return database_.Add(file); in AddToDatabase() 109 SimpleDescriptorDatabase database_; member in google::protobuf::__anonfca173b10111::SimpleDescriptorDatabaseTestCase 122 return &database_; in GetDatabase() 127 return database_.AddCopy(data.data(), data.size()); in AddToDatabase() 131 EncodedDescriptorDatabase database_; member in google::protobuf::__anonfca173b10111::EncodedDescriptorDatabaseTestCase 141 DescriptorPoolDatabaseTestCase() : database_(pool_) {} in DescriptorPoolDatabaseTestCase() 145 return &database_; in GetDatabase() 153 DescriptorPoolDatabase database_; member in google::protobuf::__anonfca173b10111::DescriptorPoolDatabaseTestCase 163 database_ = test_case_->GetDatabase(); in SetUp() [all …]
|
/external/chromium_org/content/browser/indexed_db/ |
D | indexed_db_connection.cc | 12 : database_(database), callbacks_(callbacks) {} in IndexedDBConnection() 19 database_->Close(this, false /* forced */); in Close() 20 database_ = NULL; in Close() 27 database_->Close(this, true /* forced */); in ForceClose() 28 database_ = NULL; in ForceClose() 34 if (!database_.get()) in VersionChangeIgnored() 36 database_->VersionChangeIgnored(); in VersionChangeIgnored() 40 return database_.get() != NULL; in IsConnected()
|
D | indexed_db_transaction.cc | 67 database_(database), in IndexedDBTransaction() 72 database_->transaction_coordinator().DidCreateTransaction(this); in IndexedDBTransaction() 169 database_->transaction_coordinator().DidFinishTransaction(this); in Abort() 171 DCHECK(!database_->transaction_coordinator().IsActive(this)); in Abort() 177 database_->TransactionFinished(this, false); in Abort() 179 database_ = NULL; in Abort() 311 database_->transaction_coordinator().DidFinishTransaction(this); in CommitPhaseTwo() 316 database_->TransactionFinished(this, true); in CommitPhaseTwo() 325 database_->TransactionFinished(this, false); in CommitPhaseTwo() 326 database_->TransactionCommitFailed(s); in CommitPhaseTwo() [all …]
|
D | indexed_db_connection.h | 29 IndexedDBDatabase* database() { return database_.get(); } in database() 34 scoped_refptr<IndexedDBDatabase> database_;
|
D | indexed_db_transaction.h | 76 IndexedDBDatabase* database() const { return database_.get(); } in NON_EXPORTED_BASE() 123 scoped_refptr<IndexedDBDatabase> database_; in NON_EXPORTED_BASE() local
|
/external/chromium_org/chromeos/ |
D | cert_loader.cc | 53 database_(NULL), in CertLoader() 64 CHECK(!database_); in StartWithNSSDB() 65 database_ = database; in StartWithNSSDB() 90 if (!database_) in IsHardwareBacked() 92 crypto::ScopedPK11Slot slot(database_->GetPrivateSlot()); in IsHardwareBacked() 100 if (!database_) in IsCertificateHardwareBacked() 102 return database_->IsHardwareBacked(cert); in IsCertificateHardwareBacked() 106 return database_ && !certificates_loaded_; in CertificatesLoading() 155 database_->ListCerts( in LoadCertificates()
|
/external/chromium_org/content/browser/appcache/ |
D | appcache_storage_impl.cc | 138 : storage_(storage), database_(storage->database_), in DatabaseTask() 172 AppCacheDatabase* database_; member in content::AppCacheStorageImpl::DatabaseTask 186 if (!storage_->database_) in Schedule() 208 if (!database_->is_disabled()) { in CallRun() 214 if (database_->was_corruption_detected()) { in CallRun() 216 database_->Disable(); in CallRun() 218 if (database_->is_disabled()) { in CallRun() 294 database_->Disable(); // This triggers OnFatalError handling. in Run() 299 database_->FindLastStorageIds( in Run() 302 database_->GetAllOriginUsage(&usage_map_); in Run() [all …]
|
/external/chromium_org/components/autofill/core/browser/ |
D | autocomplete_history_manager.cc | 41 database_(autofill_client->GetDatabase()), in AutocompleteHistoryManager() 102 if (database_.get()) { in OnGetAutocompleteSuggestions() 103 pending_query_handle_ = database_->GetFormValuesForElementName( in OnGetAutocompleteSuggestions() 138 if (!values.empty() && database_.get()) in OnFormSubmitted() 139 database_->AddFormFields(values); in OnFormSubmitted() 144 if (database_.get()) in OnRemoveAutocompleteEntry() 145 database_->RemoveFormValueForElementName(name, value); in OnRemoveAutocompleteEntry() 155 if (database_.get()) in CancelPendingQuery() 156 database_->CancelRequest(pending_query_handle_); in CancelPendingQuery()
|
D | personal_data_manager.cc | 150 : database_(NULL), in PersonalDataManager() 163 database_ = database; in Init() 171 if (!database_.get()) in Init() 177 database_->AddObserver(this); in Init() 184 if (database_.get()) in ~PersonalDataManager() 185 database_->RemoveObserver(this); in ~PersonalDataManager() 387 if (!database_.get()) in AddProfile() 395 database_->AddAutofillProfile(profile); in AddProfile() 418 if (!database_.get()) in UpdateProfile() 422 database_->UpdateAutofillProfile(profile); in UpdateProfile() [all …]
|
D | personal_data_manager.h | 306 database_ = database; 314 scoped_refptr<AutofillWebDataService> database_;
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
D | ad_network_database.cc | 23 scoped_ptr<AdNetworkDatabase> database_; member in extensions::__anon3eb4abb40111::AdNetworkDatabaseFactory 31 if (!database_.get()) in GetDatabase() 32 database_.reset(new HashedAdNetworkDatabase()); in GetDatabase() 34 return database_.get(); in GetDatabase() 39 database_.reset(database.release()); in SetDatabase()
|
D | hashed_ad_network_database_unittest.cc | 35 AdNetworkDatabase* database() { return database_.get(); } in database() 48 scoped_ptr<HashedAdNetworkDatabase> database_; member in extensions::HashedAdNetworkDatabaseUnitTest 53 database_.reset(new HashedAdNetworkDatabase()); in SetUp() 54 database_->set_entries_for_testing(ad_networks_, kNumAdNetworkHosts); in SetUp()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
D | acm_codec_database.cc | 111 const CodecInst ACMCodecDB::database_[] = { member in webrtc::acm2::ACMCodecDB 396 memcpy(codec_inst, &database_[codec_id], sizeof(CodecInst)); in Codec() 427 if (STR_CASE_CMP(database_[codec_id].plname, "CN") == 0) { in CodecNumber() 433 if (STR_CASE_CMP(database_[codec_id].plname, "red") == 0) { in CodecNumber() 519 name_match = (STR_CASE_CMP(database_[id].plname, payload_name) == 0); in CodecId() 520 frequency_match = (frequency == database_[id].plfreq) || (frequency == -1); in CodecId() 523 channels_match = (channels == database_[id].channels); in CodecId() 564 return database_[codec_id].plfreq; in CodecFreq() 585 if (STR_CASE_CMP(database_[codec_id].plname, "isac") == 0) { in MirrorID() 829 if (database_[codec_id].rate == rate) { in IsRateValid()
|
D | audio_coding_module_impl.cc | 66 return (IsCodecRED(&ACMCodecDB::database_[index])); in IsCodecRED() 74 return (IsCodecCN(&ACMCodecDB::database_[index])); in IsCodecCN() 188 red_pltype_ = static_cast<uint8_t>(ACMCodecDB::database_[i].pltype); in AudioCodingModuleImpl() 190 if (ACMCodecDB::database_[i].plfreq == 8000) { in AudioCodingModuleImpl() 191 cng_nb_pltype_ = static_cast<uint8_t>(ACMCodecDB::database_[i].pltype); in AudioCodingModuleImpl() 192 } else if (ACMCodecDB::database_[i].plfreq == 16000) { in AudioCodingModuleImpl() 193 cng_wb_pltype_ = static_cast<uint8_t>(ACMCodecDB::database_[i].pltype); in AudioCodingModuleImpl() 194 } else if (ACMCodecDB::database_[i].plfreq == 32000) { in AudioCodingModuleImpl() 195 cng_swb_pltype_ = static_cast<uint8_t>(ACMCodecDB::database_[i].pltype); in AudioCodingModuleImpl() 196 } else if (ACMCodecDB::database_[i].plfreq == 48000) { in AudioCodingModuleImpl() [all …]
|
/external/chromium_org/components/dom_distiller/core/ |
D | dom_distiller_store.cc | 30 : database_(database.Pass()), in DomDistillerStore() 33 database_->Init(database_dir, base::Bind(&DomDistillerStore::OnDatabaseInit, in DomDistillerStore() 41 : database_(database.Pass()), in DomDistillerStore() 45 database_->Init(database_dir, base::Bind(&DomDistillerStore::OnDatabaseInit, in DomDistillerStore() 246 database_.reset(); in OnDatabaseInit() 249 database_->LoadEntries(base::Bind(&DomDistillerStore::OnDatabaseLoad, in OnDatabaseInit() 257 database_.reset(); in OnDatabaseLoad() 277 database_.reset(); in OnDatabaseSave() 324 database_->UpdateEntries(entries_to_save.Pass(), keys_to_remove.Pass(), in ApplyChangesToDatabase()
|
/external/chromium_org/chrome/browser/search/suggestions/ |
D | image_manager_impl.cc | 33 database_(database.Pass()), in ImageManagerImpl() 36 database_->Init(database_dir, base::Bind(&ImageManagerImpl::OnDatabaseInit, in ImageManagerImpl() 72 if (database_.get() && !database_ready_) { in GetImageForURL() 202 database_->UpdateEntries(entries_to_save.Pass(), keys_to_remove.Pass(), in SaveImage() 211 database_.reset(); in OnDatabaseInit() 215 database_->LoadEntries(base::Bind(&ImageManagerImpl::OnDatabaseLoad, in OnDatabaseInit() 223 database_.reset(); in OnDatabaseLoad() 236 database_.reset(); in OnDatabaseSave()
|
/external/chromium_org/components/signin/core/browser/ |
D | test_signin_client.cc | 39 return database_; in GetDatabase() 71 database_ = new TokenWebData(web_database, in LoadDatabase() 75 database_->Init(); in LoadDatabase()
|
D | test_signin_client.h | 90 scoped_refptr<TokenWebData> database_; variable
|
/external/chromium_org/content/browser/service_worker/ |
D | service_worker_storage_unittest.cc | 580 storage()->database_->GetUncommittedResourceIds(&verify_ids)); in SetUp() 596 storage()->database_->GetUncommittedResourceIds(&verify_ids)); in SetUp() 643 base::Unretained(storage()->database_.get()), in TEST_F() 653 storage()->database_->GetPurgeableResourceIds(&verify_ids)); in TEST_F() 672 base::Unretained(storage()->database_.get()), in TEST_F() 682 storage()->database_->GetPurgeableResourceIds(&verify_ids)); in TEST_F() 695 storage()->database_->GetPurgeableResourceIds(&verify_ids)); in TEST_F() 724 base::Unretained(storage()->database_.get()), in TEST_F() 735 storage()->database_->GetPurgeableResourceIds(&verify_ids)); in TEST_F() 746 storage()->database_->GetPurgeableResourceIds(&verify_ids)); in TEST_F() [all …]
|
D | service_worker_storage.cc | 222 database_task_runner_->DeleteSoon(FROM_HERE, database_.release()); in ~ServiceWorkerStorage() 288 database_.get(), in FindRegistrationForDocument() 327 database_.get(), in FindRegistrationForPattern() 388 database_.get(), in FindRegistrationForId() 413 base::Unretained(database_.get()), in GetAllRegistrations() 452 database_.get(), in StoreRegistration() 477 base::Unretained(database_.get()), in UpdateToActiveState() 497 base::Unretained(database_.get()), in UpdateLastUpdateCheckTime() 524 database_.get(), in DeleteRegistration() 561 base::Unretained(database_.get()), in StoreUncommittedResponseId() [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 187 : database_(source_tree), in Importer() 188 pool_(&database_, database_.GetValidationErrorCollector()) { in Importer() 189 database_.RecordErrorsTo(error_collector); in Importer()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 187 : database_(source_tree), in Importer() 188 pool_(&database_, database_.GetValidationErrorCollector()) { in Importer() 189 database_.RecordErrorsTo(error_collector); in Importer()
|