| /llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/ |
| H A D | current_path.pass.cpp | 34 ASSERT_NOT_NOEXCEPT(current_path()); in current_path_signature_test() 35 ASSERT_NOT_NOEXCEPT(current_path(ec)); in current_path_signature_test() 36 ASSERT_NOT_NOEXCEPT(current_path(p)); in current_path_signature_test() 37 ASSERT_NOEXCEPT(current_path(p, ec)); in current_path_signature_test() 43 const path p = current_path(ec); in current_path_test() 48 const path p2 = current_path(); in current_path_test() 57 current_path(new_path); in current_path_after_change_test() 58 assert(current_path() == new_path); in current_path_after_change_test() 67 const path old_p = current_path(); in current_path_is_file_test() 68 current_path(p, ec); in current_path_is_file_test() [all …]
|
| /llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/ |
| H A D | weakly_canonical.pass.cpp | 34 fs::path root = fs::current_path().root_path(); in main() 40 {"", fs::current_path()}, in main() 41 {".", fs::current_path()}, in main() 46 {"a/b", fs::current_path() / "a/b"}, in main() 47 {"a", fs::current_path() / "a"}, in main() 48 {"a/b/", fs::current_path() / "a/b/"}, in main()
|
| /llvm-project/lldb/source/Utility/ |
| H A D | FileSpec.cpp | 425 llvm::SmallString<64> current_path; in CopyByRemovingLastPathComponent() local 426 GetPath(current_path, false); in CopyByRemovingLastPathComponent() 427 if (llvm::sys::path::has_parent_path(current_path, m_style)) in CopyByRemovingLastPathComponent() 428 return FileSpec(llvm::sys::path::parent_path(current_path, m_style), in CopyByRemovingLastPathComponent() 435 llvm::SmallString<64> current_path; in PrependPathComponent() local 436 GetPath(current_path, false); in PrependPathComponent() 438 llvm::sys::path::begin(current_path, m_style), in PrependPathComponent() 439 llvm::sys::path::end(current_path), m_style); in PrependPathComponent() 448 llvm::SmallString<64> current_path; in AppendPathComponent() local 449 GetPath(current_path, false); in AppendPathComponent() [all …]
|
| /llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/ |
| H A D | canonical.pass.cpp | 71 fs::current_path(TC.base); in test_canonical() 108 LIBCPP_ASSERT(err.path2() == current_path()); in test_exception_contains_paths() 110 fs::current_path(static_env.Dir); in test_exception_contains_paths()
|
| /llvm-project/libcxx/include/__filesystem/ |
| H A D | operations.h | 137 inline _LIBCPP_HIDE_FROM_ABI path current_path() { return __current_path(); } in current_path() function 138 inline _LIBCPP_HIDE_FROM_ABI path current_path(error_code& __ec) { return __current_path(&__ec); } in current_path() function 139 inline _LIBCPP_HIDE_FROM_ABI void current_path(const path& __p) { __current_path(__p); } in current_path() function 140 inline _LIBCPP_HIDE_FROM_ABI void current_path(const path& __p, error_code& __ec) noexcept { in current_path() function 246 return proximate(__p, current_path(), __ec); in proximate() 248 inline _LIBCPP_HIDE_FROM_ABI path proximate(const path& __p, const path& __base = current_path()) { 265 return relative(__p, current_path(), __ec); in relative() 267 inline _LIBCPP_HIDE_FROM_ABI path relative(const path& __p, const path& __base = current_path()) {
|
| /llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/ |
| H A D | relative.pass.cpp | 34 assert(output == fs::path::string_type(fs::current_path())); in test_signature_0() 40 assert(output == fs::path::string_type(fs::current_path())); in test_signature_1()
|
| /llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.absolute/ |
| H A D | absolute.pass.cpp | 38 const fs::path cwd = fs::current_path(); in basic_test()
|
| /llvm-project/libcxx/include/ |
| H A D | filesystem | 417 path current_path(); 418 path current_path(error_code& ec); 419 void current_path(const path& p); 420 void current_path(const path& p, error_code& ec) noexcept; 483 path proximate(const path& p, const path& base = current_path()); 490 path relative(const path& p, const path& base=current_path());
|
| /llvm-project/clang-tools-extra/modularize/ |
| H A D | CoverageChecker.cpp | 278 sys::fs::current_path(PathBuf); in collectUmbrellaHeaderHeaders() 302 sys::fs::current_path(PathBuf); in collectUmbrellaHeaderHeader()
|
| H A D | ModularizeUtilities.cpp | 139 llvm::sys::fs::current_path(CurrentDirectory); in loadSingleHeaderListsAndDependencies() 212 llvm::sys::fs::current_path(CurrentDirectory); in loadProblemHeaderList()
|
| H A D | ModuleAssistant.cpp | 227 llvm::sys::fs::current_path(CurrentDirectory); in loadModuleDescriptions()
|
| /llvm-project/clang/unittests/Frontend/ |
| H A D | CompilerInstanceTest.cpp | 32 sys::fs::current_path(CurrentPath); in TEST()
|
| H A D | CodeGenActionTest.cpp | 84 // VFS instead of calling \p llvm::sys::fs::current_path() directly. in TEST() 113 llvm::sys::fs::current_path(RealCWD); in TEST()
|
| /llvm-project/flang/unittests/Frontend/ |
| H A D | CompilerInstanceTest.cpp | 40 if (std::error_code ec = llvm::sys::fs::current_path(cwd)) in TEST()
|
| H A D | FrontendActionTest.cpp | 58 if (std::error_code ec = llvm::sys::fs::current_path(cwd)) in SetUp()
|
| /llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/ |
| H A D | proximate.pass.cpp | 53 const path cwd = fs::current_path(); in basic_test()
|
| /llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
| H A D | StdTsSymbolMap.inc | 14 SYMBOL(current_path, std::experimental::filesystem::, <experimental/filesystem>)
|
| /llvm-project/libcxx/modules/std/ |
| H A D | filesystem.inc | 73 using std::filesystem::current_path;
|
| /llvm-project/clang-tools-extra/clang-move/tool/ |
| H A D | ClangMove.cpp | 129 if (std::error_code EC = llvm::sys::fs::current_path(InitialDirectory)) in main()
|
| /llvm-project/lldb/source/Host/common/ |
| H A D | ProcessLaunchInfo.cpp | 274 if (! llvm::sys::fs::current_path(cwd)) in ConvertArgumentsForLaunchingInShell()
|
| /llvm-project/lldb/unittests/Interpreter/ |
| H A D | TestCompletion.cpp | 99 ASSERT_NO_ERROR(fs::current_path(OriginalWorkingDir)); in SetUpTestCase()
|
| /llvm-project/lldb/docs/use/ |
| H A D | python.rst | 209 >>> current_path = "" 210 >>> path = tree_utils.DFS (root, "Romeo", current_path) 244 current_path = "" 246 This line initializes the current_path from the root of the tree to our current 253 path = tree_utils.DFS (root, "Romeo", current_path)
|
| /llvm-project/flang/lib/Optimizer/Transforms/ |
| H A D | AddDebugInfo.cpp | 540 // obtain the current directory using 'current_path'. 553 if (!llvm::sys::fs::current_path(cwd))
|
| /llvm-project/lldb/tools/lldb-server/ |
| H A D | lldb-gdbserver.cpp | 151 if (std::error_code ec = llvm::sys::fs::current_path(cwd)) { in handle_launch()
|
| /llvm-project/clang/lib/Driver/ |
| H A D | Job.cpp | 176 std::error_code EC = fs::current_path(OutInc); in rewriteIncludes()
|