Home
last modified time | relevance | path

Searched refs:database_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_database_unittest.cc245 database_.reset(new SafeBrowsingDatabaseNew); in SetUp()
248 database_->Init(database_filename_); in SetUp()
252 database_.reset(); in TearDown()
259 EXPECT_TRUE(database_->UpdateStarted(lists)); in GetListsInfo()
260 database_->UpdateFinished(true); in GetListsInfo()
273 database_->DeleteChunks(deletes); in DelChunk()
287 scoped_ptr<SafeBrowsingDatabaseNew> database_; member in SafeBrowsingDatabaseTest
302 EXPECT_TRUE(database_->UpdateStarted(&lists)); in TEST_F()
303 database_->InsertChunks(safe_browsing_util::kMalwareList, chunks); in TEST_F()
310 database_->InsertChunks(safe_browsing_util::kMalwareList, chunks); in TEST_F()
[all …]
Dsafe_browsing_service.cc161 : database_(NULL), in SafeBrowsingService()
257 return database_->ContainsCsdWhitelistedUrl(url); in MatchCsdWhitelistUrl()
283 database_->ContainsBrowseUrl(url, &list, &prefix_hits, in CheckBrowseUrl()
401 database_->CacheHashResults(prefixes, full_hashes); in HandleGetHashResults()
651 return !closing_database_ && (database_ != NULL); in DatabaseAvailable()
666 if (database_) in GetDatabase()
667 return database_; in GetDatabase()
685 database_ = database; in GetDatabase()
693 return database_; in GetDatabase()
748 if (database_->UpdateStarted(&lists)) { in GetAllChunksFromDatabase()
[all …]
Dsafe_browsing_service.h415 SafeBrowsingDatabase* database_; variable
/external/protobuf/src/google/protobuf/
Ddescriptor_database_unittest.cc102 return &database_; in GetDatabase()
105 return database_.Add(file); in AddToDatabase()
109 SimpleDescriptorDatabase database_; member in google::protobuf::__anonf317dd7e0111::SimpleDescriptorDatabaseTestCase
122 return &database_; in GetDatabase()
127 return database_.AddCopy(data.data(), data.size()); in AddToDatabase()
131 EncodedDescriptorDatabase database_; member in google::protobuf::__anonf317dd7e0111::EncodedDescriptorDatabaseTestCase
141 DescriptorPoolDatabaseTestCase() : database_(pool_) {} in DescriptorPoolDatabaseTestCase()
145 return &database_; in GetDatabase()
153 DescriptorPoolDatabase database_; member in google::protobuf::__anonf317dd7e0111::DescriptorPoolDatabaseTestCase
163 database_ = test_case_->GetDatabase(); in SetUp()
[all …]
Ddescriptor_unittest.cc3580 SimpleDescriptorDatabase database_; member in google::protobuf::descriptor_unittest::DatabaseBackedPoolTest
3583 AddToDatabase(&database_, in SetUp()
3588 AddToDatabase(&database_, in SetUp()
3699 DescriptorPool pool(&database_); in TEST_F()
3713 DescriptorPool pool(&database_); in TEST_F()
3732 DescriptorPool pool(&database_); in TEST_F()
3751 DescriptorPool pool(&database_); in TEST_F()
3762 DescriptorPool pool(&database_); in TEST_F()
3773 DescriptorPool pool(&database_); in TEST_F()
3787 DescriptorPool pool(&database_); in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dimporter.cc187 : database_(source_tree), in Importer()
188 pool_(&database_, database_.GetValidationErrorCollector()) { in Importer()
189 database_.RecordErrorsTo(error_collector); in Importer()
Dimporter.h170 SourceTreeDescriptorDatabase database_;