ChromiumEnv 332 third_party/leveldatabase/env_chromium.cc base::FilePath ChromiumEnv::CreateFilePath(const std::string& file_path) { ChromiumEnv 340 third_party/leveldatabase/env_chromium.cc bool ChromiumEnv::MakeBackup(const std::string& fname) { ChromiumEnv 347 third_party/leveldatabase/env_chromium.cc bool ChromiumEnv::HasTableExtension(const base::FilePath& path) ChromiumEnv 352 third_party/leveldatabase/env_chromium.cc ChromiumEnv::ChromiumEnv() ChromiumEnv 360 third_party/leveldatabase/env_chromium.cc ChromiumEnv::~ChromiumEnv() { ChromiumEnv 366 third_party/leveldatabase/env_chromium.cc bool ChromiumEnv::FileExists(const std::string& fname) { ChromiumEnv 370 third_party/leveldatabase/env_chromium.cc const char* ChromiumEnv::FileErrorString(::base::File::Error error) { ChromiumEnv 413 third_party/leveldatabase/env_chromium.cc base::FilePath ChromiumEnv::RestoreFromBackup(const base::FilePath& base_name) { ChromiumEnv 425 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::RestoreIfNecessary(const std::string& dir, ChromiumEnv 466 third_party/leveldatabase/env_chromium.cc Status ChromiumEnv::GetChildren(const std::string& dir_string, ChromiumEnv 488 third_party/leveldatabase/env_chromium.cc Status ChromiumEnv::DeleteFile(const std::string& fname) { ChromiumEnv 503 third_party/leveldatabase/env_chromium.cc Status ChromiumEnv::CreateDir(const std::string& name) { ChromiumEnv 516 third_party/leveldatabase/env_chromium.cc Status ChromiumEnv::DeleteDir(const std::string& name) { ChromiumEnv 526 third_party/leveldatabase/env_chromium.cc Status ChromiumEnv::GetFileSize(const std::string& fname, uint64_t* size) { ChromiumEnv 539 third_party/leveldatabase/env_chromium.cc Status ChromiumEnv::RenameFile(const std::string& src, const std::string& dst) { ChromiumEnv 563 third_party/leveldatabase/env_chromium.cc Status ChromiumEnv::LockFile(const std::string& fname, FileLock** lock) { ChromiumEnv 625 third_party/leveldatabase/env_chromium.cc Status ChromiumEnv::UnlockFile(FileLock* lock) { ChromiumEnv 641 third_party/leveldatabase/env_chromium.cc Status ChromiumEnv::GetTestDirectory(std::string* path) { ChromiumEnv 657 third_party/leveldatabase/env_chromium.cc uint64_t ChromiumEnv::NowMicros() { ChromiumEnv 661 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::SleepForMicroseconds(int micros) { ChromiumEnv 666 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::RecordErrorAt(MethodID method) const { ChromiumEnv 670 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::RecordLockFileAncestors(int num_missing_ancestors) const { ChromiumEnv 674 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::RecordOSError(MethodID method, ChromiumEnv 681 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::RecordOSError(MethodID method, int error) const { ChromiumEnv 687 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::RecordBackupResult(bool result) const { ChromiumEnv 694 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetOSErrorHistogram(MethodID method, ChromiumEnv 703 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetMethodIOErrorHistogram() const { ChromiumEnv 710 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetMaxFDHistogram( ChromiumEnv 723 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetLockFileAncestorHistogram() const { ChromiumEnv 734 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetRetryTimeHistogram(MethodID method) const { ChromiumEnv 749 third_party/leveldatabase/env_chromium.cc base::HistogramBase* ChromiumEnv::GetRecoveredFromErrorHistogram( ChromiumEnv 777 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::Schedule(void (*function)(void*), void* arg) { ChromiumEnv 783 third_party/leveldatabase/env_chromium.cc StartThread(&ChromiumEnv::BGThreadWrapper, this); ChromiumEnv 800 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::BGThread() { ChromiumEnv 820 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::StartThread(void (*function)(void* arg), void* arg) { ChromiumEnv 829 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::DidCreateNewFile(const std::string& filename) { ChromiumEnv 834 third_party/leveldatabase/env_chromium.cc bool ChromiumEnv::DoesDirNeedSync(const std::string& filename) { ChromiumEnv 839 third_party/leveldatabase/env_chromium.cc void ChromiumEnv::DidSyncDir(const std::string& filename) { ChromiumEnv 101 third_party/leveldatabase/env_chromium.h class ChromiumEnv : public leveldb::Env, ChromiumEnv 110 third_party/leveldatabase/env_chromium.h virtual ~ChromiumEnv(); ChromiumEnv 131 third_party/leveldatabase/env_chromium.h ChromiumEnv(); ChromiumEnv 174 third_party/leveldatabase/env_chromium.h reinterpret_cast<ChromiumEnv*>(arg)->BGThread(); ChromiumEnv 150 third_party/leveldatabase/env_chromium_stdio.cc else if (ChromiumEnv::HasTableExtension(path)) ChromiumEnv 154 third_party/leveldatabase/env_chromium_stdio.cc parent_dir_ = FilePathToString(ChromiumEnv::CreateFilePath(fname).DirName()); ChromiumEnv 240 third_party/leveldatabase/env_chromium_stdio.cc bool success = ChromiumEnv::MakeBackup(filename_); ChromiumEnv 277 third_party/leveldatabase/env_chromium_stdio.cc ::base::File file(ChromiumEnv::CreateFilePath(fname), flags); ChromiumEnv 355 third_party/leveldatabase/env_chromium_stdio.cc result->push_back(ChromiumEnv::CreateFilePath(dent->d_name)); ChromiumEnv 42 third_party/leveldatabase/env_chromium_stdio.h class ChromiumEnvStdio : public ChromiumEnv { ChromiumEnv 93 third_party/leveldatabase/env_chromium_unittest.cc ChromiumEnv::DidSyncDir(fname); ChromiumEnv 173 third_party/leveldatabase/env_chromium_unittest.cc TEST(ChromiumEnv, BackupTables) { ChromiumEnv 222 third_party/leveldatabase/env_chromium_unittest.cc TEST(ChromiumEnv, GetChildrenEmptyDir) { ChromiumEnv 234 third_party/leveldatabase/env_chromium_unittest.cc TEST(ChromiumEnv, GetChildrenPriorResults) { ChromiumEnv 155 third_party/leveldatabase/env_chromium_win.cc else if (ChromiumEnv::HasTableExtension(path)) ChromiumEnv 159 third_party/leveldatabase/env_chromium_win.cc parent_dir_ = FilePathToString(ChromiumEnv::CreateFilePath(fname).DirName()); ChromiumEnv 228 third_party/leveldatabase/env_chromium_win.cc bool success = ChromiumEnv::MakeBackup(filename_); ChromiumEnv 268 third_party/leveldatabase/env_chromium_win.cc ::base::File file(ChromiumEnv::CreateFilePath(fname), flags); ChromiumEnv 47 third_party/leveldatabase/env_chromium_win.h class ChromiumEnvWin : public ChromiumEnv {