/external/chromium_org/third_party/leveldatabase/src/db/ |
autocompact_test.cc | 15 std::string dbname_; member in class:leveldb::AutoCompactTest 21 dbname_ = test::TmpDir() + "/autocompact_test"; 24 DestroyDB(dbname_, options_); 27 ASSERT_OK(DB::Open(options_, dbname_, &db_)); 32 DestroyDB(dbname_, Options());
|
repair.cc | 48 : dbname_(dbname), 57 table_cache_ = new TableCache(dbname_, &options_, 10); 87 dbname_.c_str(), 100 std::string const dbname_; member in class:leveldb::__anon11695::Repairer::std 118 Status status = env_->GetChildren(dbname_, &filenames); 123 return Status::IOError(dbname_, "repair found no files"); 151 std::string logname = LogFileName(dbname_, logs_[i]); 177 std::string logname = LogFileName(dbname_, log); 227 status = BuildTable(dbname_, env_, options_, table_cache_, iter, &meta); 262 std::string fname = TableFileName(dbname_, number) [all...] |
table_cache.h | 52 const std::string dbname_; member in class:leveldb::TableCache
|
table_cache.cc | 36 dbname_(dbname), 53 std::string fname = TableFileName(dbname_, file_number); 58 std::string old_fname = SSTTableFileName(dbname_, file_number);
|
corruption_test.cc | 30 std::string dbname_; member in class:leveldb::CorruptionTest 39 dbname_ = test::TmpDir() + "/db_test"; 40 DestroyDB(dbname_, options_); 50 DestroyDB(dbname_, Options()); 57 return DB::Open(options_, dbname_, &db_); 67 ASSERT_OK(::leveldb::RepairDB(dbname_, options_)); 129 ASSERT_OK(env_.GetChildren(dbname_, &filenames)); 138 fname = dbname_ + "/" + filenames[i];
|
db_impl.cc | 124 dbname_(dbname), 142 table_cache_ = new TableCache(dbname_, &options_, table_cache_size); 144 versions_ = new VersionSet(dbname_, &options_, table_cache_, 184 const std::string manifest = DescriptorFileName(dbname_, 1); 202 s = SetCurrentFile(env_, dbname_, 1); 230 env_->GetChildren(dbname_, &filenames); // Ignoring errors on purpose 268 env_->DeleteFile(dbname_ + "/" + filenames[i]); 280 env_->CreateDir(dbname_); 282 Status s = env_->LockFile(LockFileName(dbname_), &db_lock_); 287 if (!env_->FileExists(CurrentFileName(dbname_))) { [all...] |
db_impl.h | 128 const std::string dbname_; member in class:leveldb::DBImpl
|
db_test.cc | 203 std::string dbname_; member in class:leveldb::DBTest 212 dbname_ = test::TmpDir() + "/db_test"; 213 DestroyDB(dbname_, Options()); 220 DestroyDB(dbname_, Options()); 269 DestroyDB(dbname_, Options()); 285 return DB::Open(opts, dbname_, &db_); 413 env_->GetChildren(dbname_, &files); 475 ASSERT_OK(env_->GetChildren(dbname_, &filenames)); 480 ASSERT_OK(env_->DeleteFile(TableFileName(dbname_, number))); 490 ASSERT_OK(env_->GetChildren(dbname_, &filenames)) [all...] |
version_set.h | 296 const std::string dbname_; member in class:leveldb::VersionSet
|
version_set.cc | 785 dbname_(dbname), 856 new_manifest_file = DescriptorFileName(dbname_, manifest_file_number_); 885 s = SetCurrentFile(env_, dbname_, manifest_file_number_); 920 Status s = ReadFileToString(env_, CurrentFileName(dbname_), ¤t); 929 std::string dscname = dbname_ + "/" + current; [all...] |