| /llvm-project-15.0.7/utils/bazel/ |
| H A D | overlay_directories.py | 74 rel_root = os.path.relpath(root, start=args.overlay) 79 relpath = os.path.join(rel_root, file) 80 _symlink_abs(os.path.join(args.overlay, relpath), 81 os.path.join(args.target, relpath)) 85 relpath = os.path.join(rel_root, src_entry) 86 _symlink_abs(os.path.join(args.src, relpath), 87 os.path.join(args.target, relpath))
|
| /llvm-project-15.0.7/llvm/utils/docker/scripts/llvm_checksum/ |
| H A D | project_tree.py | 17 def __init__(self, name, relpath): argument 19 self.relpath = relpath 24 return self.relpath.startswith(other_project.relpath) 40 ignored_paths.add(os.path.join(checkout_root, other_project.relpath)) 45 project_root = os.path.join(checkout_root, project.relpath)
|
| H A D | llvm_checksum.py | 98 project_root = os.path.join(root_path, proj.relpath) 100 logging.info("Folder %s doesn't exist, skipping project %s", proj.relpath, 124 file_path = os.path.relpath(file_path, project_root)
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | generate_formatted_state.py | 108 path = os.path.relpath(root, TOP_DIR) 126 relpath = os.path.relpath(file_path, TOP_DIR) variable 127 relpath = relpath.replace('\\', '/') variable 129 print(relpath, ":", "FAIL") 132 print(relpath, ":", "PASS") 134 cleanfiles.write(bytes(relpath + "\n"))
|
| H A D | dump_format_style.py | 178 return os.path.relpath(self.header.name)
|
| /llvm-project-15.0.7/third-party/benchmark/ |
| H A D | setup.py | 50 self.relpath, self.target_name = posixpath.relpath(bazel_target, "//").split( 101 ext.relpath, ext.target_name + shared_lib_suffix)
|
| /llvm-project-15.0.7/llvm/utils/gn/ |
| H A D | gn.py | 58 dotfile = os.path.relpath(os.path.join(THIS_DIR, '.gn'), cwd) 59 root = os.path.relpath(ROOT_DIR, cwd)
|
| /llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/ |
| H A D | compatibility.py | 65 relpath = _relpath_nt variable 67 relpath = _relpath_posix variable
|
| H A D | loader.py | 16 from os.path import relpath 18 from unittest2.compatibility import relpath 232 _relpath = relpath(path, self._top_level_dir)
|
| /llvm-project-15.0.7/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-15.0.7/compiler-rt/test/sanitizer_common/android_commands/ |
| H A D | android_common.py | 12 rel = os.path.relpath(path, "/")
|
| /llvm-project-15.0.7/lldb/scripts/ |
| H A D | analyze-project-deps.py | 67 relative = os.path.relpath(base, inc_dir) 76 relative = os.path.relpath(base, src_dir)
|
| /llvm-project-15.0.7/lldb/bindings/python/ |
| H A D | get-python-config.py | 10 rel = os.path.normpath(os.path.relpath(path, base))
|
| /llvm-project-15.0.7/llvm/utils/gn/build/ |
| H A D | write_vcsrevision.py | 76 os.path.relpath(os.path.join(git_dir, 'logs', 'HEAD'),
|
| /llvm-project-15.0.7/lldb/test/API/commands/platform/sdk/ |
| H A D | TestPlatformSDK.py | 86 rel_exe_path = os.path.relpath(os.path.realpath(exe), '/')
|
| /llvm-project-15.0.7/lldb/test/API/commands/process/attach/ |
| H A D | TestProcessAttach.py | 116 popen = self.spawnSubprocess(os.path.relpath(exe))
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/tools/ |
| H A D | TestToolBase.py | 149 test_name = os.path.relpath(test_path,
|
| /llvm-project-15.0.7/clang/tools/scan-view/share/ |
| H A D | ScanView.py | 706 relpath = '/'.join(components) 707 path = posixpath.join(self.server.root, relpath)
|
| /llvm-project-15.0.7/clang/tools/scan-build-py/lib/libscanbuild/ |
| H A D | report.py | 544 return filename if not len(prefix) else os.path.relpath(filename, prefix)
|
| /llvm-project-15.0.7/libcxx/utils/libcxx/test/ |
| H A D | dsl.py | 125 pathInSuite = [os.path.relpath(tmp.name, sourceRoot)]
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/elf-core/ |
| H A D | TestLinuxCore.py | 245 tmp_sysroot, os.path.relpath(exe_outside, "/"))
|
| /llvm-project-15.0.7/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-15.0.7/llvm/cmake/modules/ |
| H A D | AddLLVM.cmake | 1628 # ourselves. cmake has no relpath function, so use Python for that. 1636 def relpath(p):\n 1640 return os.path.relpath(p, base)\n 1642 sys.stdout.write(';'.join(relpath(p) for p in sys.argv[2].split(';')))"
|
| /llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/ |
| H A D | lldbtest.py | 520 return os.path.dirname(os.path.relpath(test_file, start=lldb_test_src))
|
| /llvm-project-15.0.7/openmp/runtime/doc/doxygen/ |
| H A D | config | 937 # $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
|