| /llvm-project-15.0.7/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 TEST_CASE() 36 ASSERT_NOT_NOEXCEPT(current_path(p)); in TEST_CASE() 43 const path p = current_path(ec); in TEST_CASE() 48 const path p2 = current_path(); in TEST_CASE() 57 current_path(new_path); in TEST_CASE() 67 const path old_p = current_path(); in TEST_CASE() 68 current_path(p, ec); in TEST_CASE() 78 current_path(base); in TEST_CASE() 81 current_path(p, ec); in TEST_CASE() 92 const path old_p = current_path(); in TEST_CASE() [all …]
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | FileSpec.cpp | 406 llvm::SmallString<64> current_path; in CopyByRemovingLastPathComponent() local 407 GetPath(current_path, false); in CopyByRemovingLastPathComponent() 415 llvm::SmallString<64> current_path; in GetLastPathComponent() local 416 GetPath(current_path, false); in GetLastPathComponent() 423 GetPath(current_path, false); in PrependPathComponent() 436 GetPath(current_path, false); in AppendPathComponent() 438 SetFile(current_path, m_style); in AppendPathComponent() 447 GetPath(current_path, false); in RemoveLastPathComponent() 480 GetPath(current_path, false); in IsAbsolute() 483 if (current_path.empty()) in IsAbsolute() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/ |
| H A D | weakly_canonical.pass.cpp | 30 fs::path root = fs::current_path().root_path(); in main() 36 {"", fs::current_path()}, in main() 37 {".", fs::current_path()}, in main() 42 {"a/b", fs::current_path() / "a/b"}, in main() 43 {"a", fs::current_path() / "a"}, in main() 44 {"a/b/", fs::current_path() / "a/b/"}, in main()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/ |
| H A D | canonical.pass.cpp | 69 fs::current_path(TC.base); in TEST_CASE() 106 LIBCPP_ONLY(TEST_CHECK(err.path2() == current_path())); in TEST_CASE() 108 fs::current_path(static_env.Dir); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/include/__filesystem/ |
| H A D | operations.h | 91 inline _LIBCPP_HIDE_FROM_ABI path current_path() { return __current_path(); } in current_path() function 92 inline _LIBCPP_HIDE_FROM_ABI path current_path(error_code& __ec) { return __current_path(&__ec); } in current_path() function 93 inline _LIBCPP_HIDE_FROM_ABI void current_path(const path& __p) { __current_path(__p); } in current_path() function 94 inline _LIBCPP_HIDE_FROM_ABI void current_path(const path& __p, error_code& __ec) noexcept { __curr… in current_path() function 158 … path proximate(const path& __p, error_code& __ec) { return proximate(__p, current_path(), __ec); } in proximate() 159 inline _LIBCPP_HIDE_FROM_ABI path proximate(const path& __p, const path& __base = current_path()) {… 173 …BI path relative(const path& __p, error_code& __ec) { return relative(__p, current_path(), __ec); } in relative() 174 inline _LIBCPP_HIDE_FROM_ABI path relative(const path& __p, const path& __base = current_path()) { …
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | filesystem | 123 path current_path(); 124 path current_path(error_code& ec); 125 void current_path(const path& p); 126 void current_path(const path& p, error_code& ec) noexcept; 189 path proximate(const path& p, const path& base = current_path()); 196 path relative(const path& p, const path& base=current_path());
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/ |
| H A D | relative.pass.cpp | 34 TEST_CHECK(output == fs::path::string_type(fs::current_path())); in TEST_CASE() 40 TEST_CHECK(output == fs::path::string_type(fs::current_path())); in TEST_CASE()
|
| /llvm-project-15.0.7/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 TEST_CASE()
|
| /llvm-project-15.0.7/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-15.0.7/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 | 140 llvm::sys::fs::current_path(CurrentDirectory); in loadSingleHeaderListsAndDependencies() 213 llvm::sys::fs::current_path(CurrentDirectory); in loadProblemHeaderList()
|
| H A D | ModuleAssistant.cpp | 225 llvm::sys::fs::current_path(CurrentDirectory); in loadModuleDescriptions()
|
| /llvm-project-15.0.7/clang/unittests/Frontend/ |
| H A D | CompilerInstanceTest.cpp | 31 sys::fs::current_path(CurrentPath); in TEST()
|
| H A D | CodeGenActionTest.cpp | 111 llvm::sys::fs::current_path(RealCWD); in TEST()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/ |
| H A D | proximate.pass.cpp | 52 const path cwd = fs::current_path(); in TEST_CASE()
|
| /llvm-project-15.0.7/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-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | DebugTranslation.cpp | 188 llvm::sys::fs::current_path(currentWorkingDir); in translateFile()
|
| /llvm-project-15.0.7/lldb/unittests/Interpreter/ |
| H A D | TestCompletion.cpp | 99 ASSERT_NO_ERROR(fs::current_path(OriginalWorkingDir)); in SetUpTestCase()
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | ProcessLaunchInfo.cpp | 278 if (! llvm::sys::fs::current_path(cwd)) in ConvertArgumentsForLaunchingInShell()
|
| /llvm-project-15.0.7/lldb/docs/use/ |
| H A D | python.rst | 212 >>> current_path = "" 213 >>> path = tree_utils.DFS (root, "Romeo", current_path) 247 current_path = "" 249 This line initializes the current_path from the root of the tree to our current 256 path = tree_utils.DFS (root, "Romeo", current_path)
|
| /llvm-project-15.0.7/lldb/tools/lldb-server/ |
| H A D | lldb-gdbserver.cpp | 148 if (std::error_code ec = llvm::sys::fs::current_path(cwd)) { in handle_launch()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-doc/ |
| H A D | Representation.cpp | 334 llvm::sys::fs::current_path(SourceRootDir); in ClangDocContext()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | ReproducerProvider.h | 174 if (std::error_code EC = llvm::sys::fs::current_path(cwd)) in WorkingDirectoryProvider()
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Job.cpp | 172 std::error_code EC = fs::current_path(OutInc); in rewriteIncludes()
|