| /minix3/external/bsd/kyua-testers/dist/ |
| H A D | fs.c | 277 recursive_unmount(const char* current_path, const void* raw_parent_sb) in recursive_unmount() argument 282 bool ok = try_stat(current_path, ¤t_sb); in recursive_unmount() 286 ok &= try_iterate_directory(current_path, recursive_unmount, in recursive_unmount() 291 ok &= try_unmount(current_path); in recursive_unmount() 311 recursive_cleanup(const char* current_path, const void* raw_parent_sb) in recursive_cleanup() argument 316 bool ok = try_stat(current_path, ¤t_sb); in recursive_cleanup() 326 try_unprotect_symlink(current_path); in recursive_cleanup() 328 try_unprotect(current_path); in recursive_cleanup() 331 ok &= recursive_unmount(current_path, parent_sb); in recursive_cleanup() 333 ok &= recursive_cleanup(current_path, parent_sb); in recursive_cleanup() [all …]
|
| /minix3/external/bsd/kyua-cli/dist/utils/fs/ |
| H A D | operations_test.cpp | 98 const fs::path previous = fs::current_path(); in ATF_TEST_CASE_BODY() 101 const fs::path cwd = fs::current_path(); in ATF_TEST_CASE_BODY() 110 const fs::path previous = fs::current_path(); in ATF_TEST_CASE_BODY() 115 (void)fs::current_path(); in ATF_TEST_CASE_BODY() 156 const fs::path dir = fs::current_path() / "bin"; in ATF_TEST_CASE_BODY() 169 const fs::path dir1 = fs::current_path() / "dir1"; in ATF_TEST_CASE_BODY() 170 const fs::path dir2 = fs::current_path() / "dir2"; in ATF_TEST_CASE_BODY() 286 const fs::path tmpdir = fs::current_path() / "tmp"; in ATF_TEST_CASE_BODY() 300 const fs::path tmpdir = fs::current_path() / "tmp"; in ATF_TEST_CASE_BODY()
|
| H A D | operations.cpp | 95 fs::current_path(void) in current_path() function in fs 143 const optional< std::string > current_path = utils::getenv("PATH"); in find_in_path() local 144 if (!current_path || current_path.get().empty()) in find_in_path() 147 std::istringstream path_input(current_path.get() + ":"); in find_in_path()
|
| H A D | operations.hpp | 49 path current_path(void);
|
| H A D | auto_cleaners_test.cpp | 84 utils::setenv("TMPDIR", (fs::current_path() / "tmp").str()); in ATF_TEST_CASE_BODY() 141 utils::setenv("TMPDIR", (fs::current_path() / "tmp").str()); in ATF_TEST_CASE_BODY()
|
| H A D | path.cpp | 154 return fs::current_path() / *this; in to_absolute()
|
| /minix3/external/bsd/kyua-cli/dist/engine/ |
| H A D | testers_test.cpp | 83 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str()); in create_mock_tester_exit() 112 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str()); in create_mock_tester_signal() 306 utils::setenv("KYUA_TESTERSDIR", (fs::current_path() / "testers").str()); in ATF_TEST_CASE_BODY() 326 utils::setenv("KYUA_TESTERSDIR", (fs::current_path() / "testers").str()); in ATF_TEST_CASE_BODY() 341 utils::setenv("KYUA_TESTERSDIR", (fs::current_path() / "testers").str()); in ATF_TEST_CASE_BODY() 351 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str()); in ATF_TEST_CASE_BODY()
|
| H A D | test_case_test.cpp | 387 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str()); in create_mock_tester_signal() 583 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 598 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 617 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 632 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 646 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 733 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 849 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 865 helper.set_config("control_dir", fs::current_path()); in ATF_TEST_CASE_BODY() 1004 helper.set("CONTROL_DIR", fs::current_path()); in ATF_TEST_CASE_BODY() [all …]
|
| H A D | context.cpp | 93 return context(fs::current_path(), utils::getallenv()); in current()
|
| H A D | context_test.cpp | 60 ATF_REQUIRE_EQ(fs::current_path(), context.cwd()); in ATF_TEST_CASE_BODY()
|
| H A D | test_program_test.cpp | 71 utils::setenv("KYUA_TESTERSDIR", fs::current_path().str()); in create_mock_tester_signal() 88 ATF_REQUIRE_EQ(fs::current_path() / "root/binary", in ATF_TEST_CASE_BODY()
|
| H A D | metadata_test.cpp | 644 .add_required_file(fs::current_path() / "test-file") in ATF_TEST_CASE_BODY() 705 utils::setenv("PATH", (fs::current_path() / "bin").str()); in ATF_TEST_CASE_BODY() 733 utils::setenv("PATH", (fs::current_path() / "bin").str()); in ATF_TEST_CASE_BODY()
|
| /minix3/external/bsd/kyua-cli/dist/cli/ |
| H A D | config_test.cpp | 78 utils::setenv("KYUA_CONFDIR", (fs::current_path() / "system-dir").str()); in mock_system_config() 92 utils::setenv("HOME", (fs::current_path() / "user-dir").str()); in mock_user_config() 278 utils::setenv("KYUA_CONFDIR", fs::current_path().str()); in ATF_TEST_CASE_BODY() 319 utils::setenv("KYUA_CONFDIR", fs::current_path().str()); in ATF_TEST_CASE_BODY()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/MC/ |
| H A D | MCContext.cpp | 42 std::error_code EC = llvm::sys::fs::current_path(CompilationDir); in MCContext()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Support/Windows/ |
| H A D | Path.inc | 82 CurPathLen = 0; // No contribution from current_path needed. 95 if (std::error_code EC = llvm::sys::fs::current_path(CurPath)) 167 std::error_code current_path(SmallVectorImpl<char> &result) {
|
| /minix3/external/bsd/llvm/dist/clang/lib/Tooling/ |
| H A D | Tooling.cpp | 316 if (std::error_code EC = llvm::sys::fs::current_path(InitialDirectory)) in run()
|
| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 185 llvm::sys::fs::current_path(DirName); in ReportDiag()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Support/ |
| H A D | FileSystem.h | 315 std::error_code current_path(SmallVectorImpl<char> &result);
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Support/ |
| H A D | Path.cpp | 759 if (std::error_code ec = current_path(current_dir)) in make_absolute()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Support/Unix/ |
| H A D | Path.inc | 187 std::error_code current_path(SmallVectorImpl<char> &result) {
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | toy.cpp | 676 sys::fs::current_path(CacheDir); in MCJITObjectCache()
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | toy.cpp | 695 sys::fs::current_path(CacheDir); in MCJITObjectCache()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 448 if (sys::fs::current_path(CurPath)) return FName; in mangleName()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Driver/ |
| H A D | Driver.cpp | 1790 llvm::sys::fs::current_path(Result); in GetNamedOutputPath()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 301 llvm::sys::fs::current_path(CWD); in getCurrentDirname()
|