Home
last modified time | relevance | path

Searched refs:relative_path (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project/llvm/utils/mlgo-utils/mlgo/corpus/
H A Dmake_corpus_lib.py46 for relative_path in relative_paths:
47 base_path = os.path.join(bitcode_base_dir, relative_path + BITCODE_EXTENSION)
48 destination_path = os.path.join(output_dir, relative_path + BITCODE_EXTENSION)
/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/
H A Dpath.decompose.pass.cpp74 std::string relative_path; member
167 assert(p.relative_path() == TC.relative_path); in decompPathTest()
168 assert(p.has_relative_path() != TC.relative_path.empty()); in decompPathTest()
/llvm-project/libc/cmake/modules/
H A DLLVMLibCHeaderRules.cmake27 file(RELATIVE_PATH relative_path ${LIBC_INCLUDE_SOURCE_DIR} ${absolute_path})
28 set(dest_file ${LIBC_INCLUDE_DIR}/${relative_path})
96 file(RELATIVE_PATH relative_path ${LIBC_INCLUDE_SOURCE_DIR} ${absolute_path})
97 set(out_file ${LIBC_INCLUDE_DIR}/${relative_path})
127 set(decl_out_file ${LIBC_INCLUDE_DIR}/llvm-libc-decls/${relative_path})
/llvm-project/llvm/utils/mlgo-utils/tests/corpus/
H A Dmake_corpus_test.py24 for relative_path in relative_paths:
25 print(relative_path)
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp71 llvm::SmallString<32> relative_path(Suffix); in DefaultComputeClangResourceDirectory() local
72 llvm::sys::path::native(relative_path); in DefaultComputeClangResourceDirectory()
73 llvm::sys::path::append(clang_dir, relative_path); in DefaultComputeClangResourceDirectory()
/llvm-project/clang/test/Analysis/
H A Dunix-fns.c94 void test_open_at(int directory_fd, const char *relative_path) { in test_open_at() argument
96 fd = openat(directory_fd, relative_path, O_RDONLY); // no-warning in test_open_at()
100 …fd = openat(directory_fd, relative_path, O_CREAT); // expected-warning{{Call to 'openat' requires … in test_open_at()
/llvm-project/third-party/unittest/googletest/src/
H A Dgtest-filepath.cc243 const FilePath& relative_path) { in ConcatPaths() argument
244 if (directory.IsEmpty()) return relative_path; in ConcatPaths()
246 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
/llvm-project/third-party/unittest/googletest/include/gtest/internal/
H A Dgtest-filepath.h103 const FilePath& relative_path);
/llvm-project/lld/Common/
H A DReproduce.cpp40 path::append(res, path::relative_path(abs)); in relativeToRoot()
/llvm-project/clang-tools-extra/clangd/support/
H A DPath.cpp27 if (llvm::sys::path::relative_path(Path).empty()) { in absoluteParent()
/llvm-project/flang/lib/Frontend/
H A DTextDiagnosticPrinter.cpp77 llvm::SmallString<128> absPath = llvm::sys::path::relative_path(tokens[1]); in printLocForRemarks()
/llvm-project/libc/include/
H A DCMakeLists.txt738 file(RELATIVE_PATH relative_path ${LIBC_INCLUDE_DIR} ${header_file})
739 get_filename_component(nested_dir ${relative_path} DIRECTORY)
752 file(RELATIVE_PATH relative_path ${LIBC_INCLUDE_DIR} ${decls_file})
753 get_filename_component(nested_dir ${relative_path} DIRECTORY)
/llvm-project/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp153 path::append(CacheDst, path::relative_path(Paths.CopyFrom)); in copyToRoot()
/llvm-project/llvm/lib/Support/
H A DPath.cpp413 StringRef relative_path(StringRef path, Style style) {
640 return !relative_path(p, style).empty(); in has_relative_path()
942 StringRef bRelativePath = path::relative_path(current_dir); in make_absolute()
943 StringRef pRelativePath = path::relative_path(p); in make_absolute()
414 StringRef relative_path(StringRef path, Style style) { relative_path() function
H A DFileCollector.cpp126 sys::path::append(DstPath, sys::path::relative_path(Paths.CopyFrom)); in addFileImpl()
/llvm-project/llvm/include/llvm/Support/
H A DPath.h337 StringRef relative_path(StringRef path LLVM_LIFETIME_BOUND,
471 /// relative_path != ""
/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.cpp45 sys::path::append(FullPath, sys::path::relative_path(ParentPath)); in getOutputPath()
H A DSourceCoverageViewHTML.cpp572 SmallString<128> LinkTextStr(sys::path::relative_path(FCS.Name)); in emitColumnLabelsForIndex()
/llvm-project/llvm/unittests/Support/
H A DFileCollectorTest.cpp152 llvm::sys::path::relative_path(subdir.path())); in TEST()
/llvm-project/clang-tools-extra/clang-doc/
H A DRepresentation.cpp150 return llvm::sys::path::relative_path(FilePath); in calculateRelativeFilePath()
H A DMDGenerator.cpp62 << llvm::sys::path::relative_path(L.Filename) << "#" in writeFileDefinition()
/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp466 llvm::sys::path::append(DebugPath, llvm::sys::path::relative_path(OrigDir), in findDebugBinary()
/llvm-project/clang-tools-extra/clangd/
H A DConfigCompile.cpp307 llvm::StringRef Rel = llvm::sys::path::relative_path(*Path); in compile()
/llvm-project/libcxx/include/__filesystem/
H A Dpath.h807 _LIBCPP_HIDE_FROM_ABI path relative_path() const { return string_type(__relative_path()); }
/llvm-project/libcxx/include/
H A Dfilesystem123 path relative_path() const;

12