Home
last modified time | relevance | path

Searched refs:FileExists (Results 1 – 25 of 54) sorted by relevance

123

/rocksdb-6.9/utilities/backupable/
Dbackupable_db_test.cc1000 ASSERT_OK(file_manager_->FileExists(backupdir_ + "/meta/2")); in TEST_F()
1002 ASSERT_OK(file_manager_->FileExists(backupdir_ + "/meta/2")); in TEST_F()
1007 ASSERT_OK(file_manager_->FileExists(backupdir_ + "/meta/1")); in TEST_F()
1008 ASSERT_OK(file_manager_->FileExists(backupdir_ + "/meta/2")); in TEST_F()
1009 ASSERT_OK(file_manager_->FileExists(backupdir_ + "/meta/3")); in TEST_F()
1010 ASSERT_OK(file_manager_->FileExists(backupdir_ + "/meta/4")); in TEST_F()
1011 ASSERT_OK(file_manager_->FileExists(backupdir_ + "/meta/5")); in TEST_F()
1026 file_manager_->FileExists(backupdir_ + "/meta/5")); in TEST_F()
1322 ASSERT_OK(file_manager_->FileExists(dir)); in TEST_F()
1326 ASSERT_OK(file_manager_->FileExists(file)); in TEST_F()
[all …]
Dbackupable_db.cc797 Status s = backup_env_->FileExists(private_dir); in CreateNewBackupWithMetadata()
1447 Status exist = backup_env_->FileExists(final_dest_path); in AddBackupFileWorkItem()
1575 Status status = env->FileExists(dir); in InsertPathnameToSizeBytes()
1611 auto s = backup_env_->FileExists(shared_path); in GarbageCollect()
1744 s = env_->FileExists(meta_filename_); in Delete()
/rocksdb-6.9/utilities/
Denv_mirror_test.cc42 ASSERT_EQ(Status::NotFound(), env_->FileExists("/dir/non_existent")); in TEST_F()
52 ASSERT_OK(env_->FileExists("/dir/f")); in TEST_F()
53 ASSERT_OK(a_->FileExists("/dir/f")); in TEST_F()
54 ASSERT_OK(b_->FileExists("/dir/f")); in TEST_F()
83 ASSERT_EQ(Status::NotFound(), env_->FileExists("/dir/f")); in TEST_F()
84 ASSERT_OK(env_->FileExists("/dir/g")); in TEST_F()
87 ASSERT_OK(a_->FileExists("/dir/g")); in TEST_F()
90 ASSERT_OK(b_->FileExists("/dir/g")); in TEST_F()
107 ASSERT_EQ(Status::NotFound(), env_->FileExists("/dir/g")); in TEST_F()
Denv_librados_test.cc117 ASSERT_EQ(Status::NotFound(), env_->FileExists("/dir/non_existent")); in TEST_F()
127 ASSERT_OK(env_->FileExists("/dir/f")); in TEST_F()
148 ASSERT_EQ(Status::NotFound(), env_->FileExists("/dir/f")); in TEST_F()
149 ASSERT_OK(env_->FileExists("/dir/g")); in TEST_F()
166 ASSERT_EQ(Status::NotFound(), env_->FileExists("/dir/g")); in TEST_F()
816 ASSERT_EQ(Status::NotFound(), env_->FileExists(dir_non_existent.c_str())); in TEST_F()
826 ASSERT_OK(env_->FileExists(dir_f.c_str())); in TEST_F()
847 ASSERT_EQ(Status::NotFound(), env_->FileExists(dir_f.c_str())); in TEST_F()
848 ASSERT_OK(env_->FileExists(dir_g.c_str())); in TEST_F()
865 ASSERT_EQ(Status::NotFound(), env_->FileExists(dir_g.c_str())); in TEST_F()
Denv_timed.cc62 Status FileExists(const std::string& fname) override { in FileExists() function in ROCKSDB_NAMESPACE::TimedEnv
64 return EnvWrapper::FileExists(fname); in FileExists()
/rocksdb-6.9/env/
Denv_basic_test.cc138 ASSERT_EQ(Status::NotFound(), env_->FileExists(test_dir_ + "/non_existent")); in TEST_P()
149 ASSERT_OK(env_->FileExists(test_dir_ + "/f")); in TEST_P()
176 ASSERT_EQ(Status::NotFound(), env_->FileExists(test_dir_ + "/f1")); in TEST_P()
177 ASSERT_OK(env_->FileExists(test_dir_ + "/g")); in TEST_P()
201 ASSERT_EQ(Status::NotFound(), env_->FileExists(test_dir_ + "/g")); in TEST_P()
299 ASSERT_OK(env_->FileExists(test_dir_ + "/j")); in TEST_P()
307 ASSERT_EQ(Status::NotFound(), env_->FileExists(test_dir_ + "/j")); in TEST_P()
316 ASSERT_OK(env_->FileExists(test_dir_)); in TEST_P()
335 ASSERT_TRUE(!env_->FileExists(test_dir_).ok()); in TEST_P()
Denv_chroot.cc137 Status FileExists(const std::string& fname) override { in FileExists() function in ROCKSDB_NAMESPACE::ChrootEnv
142 return EnvWrapper::FileExists(status_and_enc_path.second); in FileExists()
339 if (!base_env->FileExists(chroot_dir).ok()) { in NewChrootEnv()
Dmock_env.h62 Status FileExists(const std::string& fname) override;
Dcomposite_env_wrapper.h388 Status FileExists(const std::string& f) override { in FileExists() function
391 return file_system_->FileExists(f, io_opts, &dbg); in FileExists()
949 IOStatus FileExists(const std::string& f, const IOOptions& /*io_opts*/, in FileExists() function
951 return status_to_io_status(target_->FileExists(f)); in FileExists()
/rocksdb-6.9/db/
Drepair_test.cc55 ASSERT_OK(env_->FileExists(manifest_path)); in TEST_F()
76 ASSERT_OK(env_->FileExists(manifest_path)); in TEST_F()
103 ASSERT_OK(env_->FileExists(new_manifest_path)); in TEST_F()
186 ASSERT_OK(env_->FileExists(manifest_path)); in TEST_F()
214 ASSERT_OK(env_->FileExists(manifest_path)); in TEST_F()
256 ASSERT_OK(env_->FileExists(manifest_path)); in TEST_F()
Dwal_manager.cc69 Status exists = env_->FileExists(archivedir); in GetSortedWalFiles()
317 if (env_->FileExists(archived_file).ok()) { in GetSortedWalsOfType()
319 if (!s.ok() && env_->FileExists(archived_file).IsNotFound()) { in GetSortedWalsOfType()
392 if (!s.ok() && env_->FileExists(fname).ok()) { in ReadFirstRecord()
406 if (!s.ok() && env_->FileExists(archived_file).IsNotFound()) { in ReadFirstRecord()
Ddeletefile_test.cc461 ASSERT_OK(env_->FileExists(wal_dir_ + "/" + alive_log->PathName())); in TEST_F()
465 ASSERT_OK(env_->FileExists(wal_dir_ + "/" + alive_log->PathName())); in TEST_F()
479 ASSERT_OK(env_->FileExists(wal_dir_ + "/" + archived_log->PathName())); in TEST_F()
484 env_->FileExists(wal_dir_ + "/" + archived_log->PathName())); in TEST_F()
Ddb_sst_test.cc275 ASSERT_EQ(Status::NotFound(), env_->FileExists(dbname_ + file_on_L2)); in TEST_F()
619 ASSERT_NOK(env_->FileExists(dbname_ + "/" + "001.sst.trash")); in TEST_F()
620 ASSERT_NOK(env_->FileExists(dbname_ + "/" + "002.sst.trash")); in TEST_F()
621 ASSERT_NOK(env_->FileExists(dbname_ + "/" + "003.sst.trash")); in TEST_F()
Dexternal_sst_file_basic_test.cc245 ASSERT_EQ(Status::NotFound(), env_->FileExists(file1)); in TEST_F()
249 ASSERT_OK(env_->FileExists(file2)); in TEST_F()
254 ASSERT_OK(env_->FileExists(file3)); in TEST_F()
/rocksdb-6.9/trace_replay/
Dblock_cache_tracer_test.cc169 ASSERT_OK(env_->FileExists(trace_file_path_)); in TEST_F()
193 ASSERT_OK(env_->FileExists(trace_file_path_)); in TEST_F()
218 ASSERT_OK(env_->FileExists(trace_file_path_)); in TEST_F()
237 ASSERT_OK(env_->FileExists(trace_file_path_)); in TEST_F()
299 ASSERT_OK(env_->FileExists(trace_file_path_)); in TEST_F()
341 ASSERT_OK(env_->FileExists(trace_file_path_)); in TEST_F()
/rocksdb-6.9/include/rocksdb/utilities/
Denv_mirror.h66 Status FileExists(const std::string& f) override { in FileExists() function
67 Status as = a_->FileExists(f); in FileExists()
68 Status bs = b_->FileExists(f); in FileExists()
Denv_librados.h74 Status FileExists(const std::string& fname) override;
/rocksdb-6.9/logging/
Dauto_roll_logger.cc44 if (env_->FileExists(log_fname_).ok()) { in AutoRollLogger()
88 } while (env_->FileExists(old_fname).ok()); in RollLogFile()
Dauto_roll_logger_test.cc219 ASSERT_EQ(Status::NotFound(), default_env->FileExists(kLogFile)); in TEST_F()
221 ASSERT_OK(default_env->FileExists(kLogFile)); in TEST_F()
656 ASSERT_OK(default_env->FileExists(kLogFile)); in TEST_F()
/rocksdb-6.9/utilities/checkpoint/
Dcheckpoint_impl.cc46 Status s = db_->GetEnv()->FileExists(full_private_path); in CleanStagingDirectory()
77 Status s = db_->GetEnv()->FileExists(checkpoint_dir); in CreateCheckpoint()
349 auto s = db_->GetEnv()->FileExists(export_dir); in ExportColumnFamily()
/rocksdb-6.9/port/win/
Denv_win.h121 virtual Status FileExists(const std::string& fname);
253 Status FileExists(const std::string& fname) override;
/rocksdb-6.9/tools/
Dtrace_analyzer_test.cc92 ASSERT_OK(env_->FileExists(trace_path)); in GenerateTrace()
123 ASSERT_OK(env_->FileExists(file_path)); in CheckFileContent()
172 Status s = env_->FileExists(trace_path); in AnalyzeTrace()
/rocksdb-6.9/hdfs/
Denv_hdfs.h72 Status FileExists(const std::string& fname) override;
275 virtual Status FileExists(const std::string& /*fname*/) override { in FileExists() function
/rocksdb-6.9/include/rocksdb/
Dfile_system.h311 virtual IOStatus FileExists(const std::string& fname,
352 if (FileExists(path, options, dbg).IsNotFound()) { in GetChildrenFileAttributes()
1067 IOStatus FileExists(const std::string& f, const IOOptions& io_opts, in FileExists() function
1069 return target_->FileExists(f, io_opts, dbg); in FileExists()
/rocksdb-6.9/db/db_impl/
Ddb_impl_files.cc275 } else if (env_->FileExists(fname).IsNotFound()) { in DeleteObsoleteFileImpl()
537 if (env_->FileExists(full_path_to_delete).IsNotFound()) { in PurgeObsoleteFiles()

123