/llvm-project/utils/bazel/ |
H A D | overlay_directories.py | 79 rel_root = os.path.relpath(root, start=args.overlay) 84 relpath = os.path.join(rel_root, file) 86 os.path.join(args.overlay, relpath), os.path.join(args.target, relpath) 91 relpath = os.path.join(rel_root, src_entry) 93 os.path.join(args.src, relpath), os.path.join(args.target, relpath)
|
/llvm-project/llvm/utils/docker/scripts/llvm_checksum/ |
H A D | project_tree.py | 16 def __init__(self, name, relpath): argument 18 self.relpath = relpath 22 return self.relpath.startswith(other_project.relpath) 38 ignored_paths.add(os.path.join(checkout_root, other_project.relpath)) 43 project_root = os.path.join(checkout_root, project.relpath)
|
H A D | llvm_checksum.py | 102 project_root = os.path.join(root_path, proj.relpath) 105 "Folder %s doesn't exist, skipping project %s", proj.relpath, proj.name 129 file_path = os.path.relpath(file_path, project_root)
|
/llvm-project/clang/docs/tools/ |
H A D | generate_formatted_state.py | 109 path = os.path.relpath(root, TOP_DIR) 127 relpath = os.path.relpath(file_path, TOP_DIR) 128 relpath = relpath.replace("\\", "/") 130 print(relpath, ":", "FAIL") variable 133 print(relpath, ":", "PASS") 135 cleanfiles.write(bytes(relpath + "\n")) 129 relpath = os.path.relpath(file_path, TOP_DIR) global() variable
|
H A D | dump_format_style.py | 40 f"`git checkout -- {os.path.relpath(PLURALS_FILE)}` " 227 return os.path.relpath(self.header.name)
|
/llvm-project/llvm/utils/gn/ |
H A D | gn.py | 65 dotfile = os.path.relpath(os.path.join(THIS_DIR, ".gn"), cwd) 66 root = os.path.relpath(ROOT_DIR, cwd)
|
/llvm-project/third-party/benchmark/ |
H A D | setup.py | 47 self.relpath, self.target_name = stripped_target.split(":") 108 temp_path / "bazel-bin" / ext.relpath / ext_name
|
/llvm-project/llvm/utils/gn/secondary/libcxx/utils/ |
H A D | gen_link_script.py | 30 libcxx = os.path.relpath(args.input, os.path.dirname(args.output))
|
/llvm-project/lldb/scripts/ |
H A D | analyze-project-deps.py | 80 relative = os.path.relpath(base, inc_dir) 89 relative = os.path.relpath(base, src_dir)
|
/llvm-project/compiler-rt/test/sanitizer_common/android_commands/ |
H A D | android_common.py | 13 rel = os.path.relpath(path, "/")
|
/llvm-project/llvm/utils/mlgo-utils/mlgo/corpus/ |
H A D | make_corpus_lib.py | 32 return [os.path.relpath(full_path, start=bitcode_base_dir) for full_path in paths]
|
H A D | extract_ir_lib.py | 291 obj_relative_path=os.path.relpath(obj_file, start=obj_base_dir), 311 obj_relative_path=os.path.relpath(obj_file, start=obj_base_dir)[:-12],
|
/llvm-project/lldb/bindings/python/ |
H A D | get-python-config.py | 10 rel = os.path.normpath(os.path.relpath(path, base))
|
/llvm-project/llvm/utils/gn/build/ |
H A D | write_vcsrevision.py | 103 os.path.relpath(os.path.join(git_dir, "logs", "HEAD"), build_dir),
|
/llvm-project/lldb/test/API/commands/platform/sdk/ |
H A D | TestPlatformSDK.py | 92 rel_exe_path = os.path.relpath(os.path.realpath(exe), "/")
|
/llvm-project/lldb/test/API/commands/process/attach/ |
H A D | TestProcessAttach.py | 114 popen = self.spawnSubprocess(os.path.relpath(exe))
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/tools/ |
H A D | TestToolBase.py | 135 test_name = os.path.relpath(test_path, self.context.options.test_path)
|
/llvm-project/clang/tools/scan-view/share/ |
H A D | ScanView.py | 782 relpath = "/".join(components) 783 path = posixpath.join(self.server.root, relpath)
|
/llvm-project/clang/tools/scan-build-py/lib/libscanbuild/ |
H A D | report.py | 631 return filename if not len(prefix) else os.path.relpath(filename, prefix)
|
/llvm-project/libcxx/utils/libcxx/test/ |
H A D | dsl.py | 120 pathInSuite = [os.path.relpath(tmp.name, sourceRoot)]
|
/llvm-project/lldb/test/API/functionalities/postmortem/elf-core/ |
H A D | TestLinuxCore.py | 319 exe_inside = os.path.join(tmp_sysroot, os.path.relpath(exe_outside, "/"))
|
/llvm-project/compiler-rt/lib/msan/tests/ |
H A D | msan_test.cpp | 1413 const char* relpath = "."; in TEST() local 1415 char* res = realpath(relpath, path); in TEST() 1421 const char* relpath = "."; in TEST() local 1422 char* res = realpath(relpath, NULL); in TEST() 1431 const char* relpath = "."; in TEST() local 1432 char* res = canonicalize_file_name(relpath); in TEST()
|
/llvm-project/llvm/cmake/modules/ |
H A D | AddLLVM.cmake | 1844 # ourselves. cmake has no relpath function, so use Python for that. 1852 def relpath(p):\n 1856 return os.path.relpath(p, base)\n 1858 sys.stdout.write(';'.join(relpath(p) for p in sys.argv[2].split(';')))"
|
/llvm-project/lldb/packages/Python/lldbsuite/test/ |
H A D | lldbtest.py | 555 return os.path.dirname(os.path.relpath(test_file, start=lldb_test_src))
|
/llvm-project/openmp/runtime/doc/doxygen/ |
H A D | config | 937 # $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
|