Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/
H A Dcurrent_path.pass.cpp34 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 DFileSpec.cpp406 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 Dweakly_canonical.pass.cpp30 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 Dcanonical.pass.cpp69 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 Doperations.h91 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 Dfilesystem123 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 Drelative.pass.cpp34 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 Dabsolute.pass.cpp38 const fs::path cwd = fs::current_path(); in TEST_CASE()
/llvm-project-15.0.7/flang/unittests/Frontend/
H A DCompilerInstanceTest.cpp40 if (std::error_code ec = llvm::sys::fs::current_path(cwd)) in TEST()
H A DFrontendActionTest.cpp58 if (std::error_code ec = llvm::sys::fs::current_path(cwd)) in SetUp()
/llvm-project-15.0.7/clang-tools-extra/modularize/
H A DCoverageChecker.cpp278 sys::fs::current_path(PathBuf); in collectUmbrellaHeaderHeaders()
302 sys::fs::current_path(PathBuf); in collectUmbrellaHeaderHeader()
H A DModularizeUtilities.cpp140 llvm::sys::fs::current_path(CurrentDirectory); in loadSingleHeaderListsAndDependencies()
213 llvm::sys::fs::current_path(CurrentDirectory); in loadProblemHeaderList()
H A DModuleAssistant.cpp225 llvm::sys::fs::current_path(CurrentDirectory); in loadModuleDescriptions()
/llvm-project-15.0.7/clang/unittests/Frontend/
H A DCompilerInstanceTest.cpp31 sys::fs::current_path(CurrentPath); in TEST()
H A DCodeGenActionTest.cpp111 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 Dproximate.pass.cpp52 const path cwd = fs::current_path(); in TEST_CASE()
/llvm-project-15.0.7/clang-tools-extra/clang-move/tool/
H A DClangMove.cpp129 if (std::error_code EC = llvm::sys::fs::current_path(InitialDirectory)) in main()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DDebugTranslation.cpp188 llvm::sys::fs::current_path(currentWorkingDir); in translateFile()
/llvm-project-15.0.7/lldb/unittests/Interpreter/
H A DTestCompletion.cpp99 ASSERT_NO_ERROR(fs::current_path(OriginalWorkingDir)); in SetUpTestCase()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DProcessLaunchInfo.cpp278 if (! llvm::sys::fs::current_path(cwd)) in ConvertArgumentsForLaunchingInShell()
/llvm-project-15.0.7/lldb/docs/use/
H A Dpython.rst212 >>> 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 Dlldb-gdbserver.cpp148 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 DRepresentation.cpp334 llvm::sys::fs::current_path(SourceRootDir); in ClangDocContext()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DReproducerProvider.h174 if (std::error_code EC = llvm::sys::fs::current_path(cwd)) in WorkingDirectoryProvider()
/llvm-project-15.0.7/clang/lib/Driver/
H A DJob.cpp172 std::error_code EC = fs::current_path(OutInc); in rewriteIncludes()

123