Home
last modified time | relevance | path

Searched defs:scoped_test_env (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/support/
Dfilesystem_test_helper.hpp125 struct scoped_test_env struct
127 scoped_test_env() : test_root(random_env_path()) in scoped_test_env() function
130 ~scoped_test_env() in ~scoped_test_env() argument
136 fs::path make_env_path(std::string p) { return sanitize_path(p); } in make_env_path()
138 std::string sanitize_path(std::string raw) { in sanitize_path()
150 std::string create_file(std::string filename, std::size_t size = 0) { in create_file()
160 std::string create_dir(std::string filename) { in create_dir()
166 std::string create_symlink(std::string source, std::string to) { in create_symlink()
173 std::string create_hardlink(std::string source, std::string to) { in create_hardlink()
180 std::string create_fifo(std::string file) { in create_fifo()
[all …]
/external/llvm-project/libcxx/test/support/
Dfilesystem_test_helper.h115 struct scoped_test_env struct
117 scoped_test_env() : test_root(available_cwd_path()) { in scoped_test_env() argument
135 ~scoped_test_env() { in ~scoped_test_env() argument
152 scoped_test_env & operator=(scoped_test_env const &) = delete; argument
154 fs::path make_env_path(std::string p) { return sanitize_path(p); } in make_env_path()
156 std::string sanitize_path(std::string raw) { in sanitize_path()
176 auto large_file_fopen = fopen;
177 auto large_file_ftruncate = utils::ftruncate;
178 using large_file_offset_t = off_t;
180 auto large_file_fopen = fopen64;
[all …]