| /src/external/bsd/zstd/dist/build/single_file_libs/ |
| combine.sh | 123 local relpath="$(realpath --relative-to . "$root/$inc" 2>/dev/null)" 124 if [ "$relpath" != "" ]; then # not all realpaths support --relative-to 125 echo "$relpath" 128 local relpath="$(realpath "$root/$inc" 2>/dev/null)" 129 if [ "$relpath" != "" ]; then # not all distros have realpath... 130 echo "$relpath" 134 local relpath=$(python -c "import os,sys; print os.path.relpath(sys.argv[1])" "$root/$inc" 2>/dev/null) 135 if [ "$relpath" != "" ]; then # not all distros have realpath... 136 echo "$relpath" [all...] |
| /src/external/apache2/llvm/dist/libcxx/utils/ |
| generate_header_tests.py | 99 relpath = os.path.relpath(p, include_path) 100 relpath = posixpath.join(*os.path.split(relpath)) 101 if relpath in exclusions: 107 def produce_include(relpath, indent_level, post_include=None): 108 relpath = posixpath.join(*os.path.split(relpath)) 115 markup = header_markup.get(relpath, None) 131 include=relpath, [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/docker/scripts/llvm_checksum/ |
| project_tree.py | 17 def __init__(self, name, relpath): 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)
|
| 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)
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| copyright.py | 71 relpath = "%s/%s" % (root, filename) 74 or relpath in EXCLUDE_LIST 75 or relpath in NOT_FSF_LIST 76 or relpath in BY_HAND 81 result.append(relpath)
|
| /src/external/apache2/llvm/dist/clang/docs/tools/ |
| generate_formatted_state.py | 103 path = os.path.relpath(root, TOP_DIR) 121 relpath = os.path.relpath(file_path, TOP_DIR) 122 relpath = relpath.replace('\\', '/') 124 print(relpath, ":", "FAIL") 127 print(relpath, ":", "PASS")
|
| /src/usr.sbin/dev_mkdb/ |
| dev_mkdb.c | 89 cdb_add_entry(dev_t dev, mode_t type, const char *relpath) 94 len = strlen(relpath) + 1; 98 memcpy(buf + 10, relpath, len); 131 compat_add_entry(dev_t dev, mode_t type, const char *relpath) 152 data.data = __UNCONST(relpath); 153 data.size = strlen(relpath) + 1; 170 data.data = __UNCONST(relpath); 171 data.size = strlen(relpath) + 1;
|
| /src/external/apache2/llvm/dist/llvm/utils/gn/ |
| gn.py | 58 dotfile = os.path.relpath(os.path.join(THIS_DIR, '.gn'), cwd) 59 root = os.path.relpath(ROOT_DIR, cwd)
|
| /src/external/apache2/llvm/dist/llvm/utils/gn/secondary/libcxx/utils/ |
| gen_link_script.py | 30 libcxx = os.path.relpath(args.input, os.path.dirname(args.output))
|
| /src/external/mpl/bind/dist/bin/tests/ |
| convert_trs_to_junit.py | 65 sub_dir = os.path.relpath(cur_dir, source_dir) 77 "rel_log_path": os.path.relpath(full_log_path, source_dir),
|
| /src/external/mit/libuv/dist/src/win/ |
| fs-event.c | 68 WCHAR** relpath) { 76 *relpath = uv__malloc((relpathlen + 1) * sizeof(WCHAR)); 77 if (!*relpath) 79 wcsncpy(*relpath, filename + dirlen + 1, relpathlen); 80 (*relpath)[relpathlen] = L'\0';
|
| /src/external/apache2/llvm/dist/llvm/utils/gn/build/ |
| write_vcsrevision.py | 78 os.path.relpath(os.path.join(git_dir, 'logs', 'HEAD'),
|
| /src/external/cddl/osnet/dist/cmd/zinject/ |
| translate.c | 83 * and 'relpath' must be at least MAXPATHLEN characters. We also pass a stat64 87 parse_pathname(const char *inpath, char *dataset, char *relpath, 137 (void) strcpy(relpath, rel);
|
| /src/external/gpl3/gcc/dist/gcc/ |
| regenerate-opt-urls.py | 377 rel_path = os.path.relpath(opt_path, args.src_gcc_dir)
|
| /src/external/cddl/osnet/dist/lib/libzfs/common/ |
| libzfs_dataset.c | 2330 const char *relpath; local 2340 relpath = ""; 2342 relpath = zhp->zfs_name + strlen(source); 2343 if (relpath[0] == '/') 2344 relpath++; 2365 relpath[0] != '\0')) 2368 if (relpath[0] == '\0') 2373 root, str, relpath[0] == '@' ? "" : "/", 2374 relpath);
|
| /src/external/apache2/llvm/dist/clang/tools/scan-view/share/ |
| ScanView.py | 706 relpath = '/'.join(components) 707 path = posixpath.join(self.server.root, relpath)
|
| /src/external/bsd/zstd/dist/tests/cli-tests/ |
| run.py | 241 os.path.relpath(test_filename, start=self._opts.test_dir) 457 rel_test_dir = os.path.relpath(test_directory, start=self._opts.test_dir)
|
| /src/external/apache2/llvm/dist/libcxx/utils/libcxx/test/ |
| dsl.py | 80 pathInSuite = [os.path.relpath(tmp.name, sourceRoot)]
|
| /src/external/mpl/bind/dist/bin/tests/system/ |
| conftest.py | 471 symlink_dst.symlink_to(os.path.relpath(testdir, start=system_test_root))
|
| /src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/ |
| msan_test.cc | 1422 const char* relpath = "."; local 1424 char* res = realpath(relpath, path); 1430 const char* relpath = "."; local 1431 char* res = realpath(relpath, NULL); 1440 const char* relpath = "."; local 1441 char* res = canonicalize_file_name(relpath);
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| file.d | 4987 size_t equalEntries(string relpath, SpanMode mode) 4990 auto len = enforce(walkLength(dirEntries(absolutePath(relpath), mode))); 4991 assert(walkLength(dirEntries(relpath, mode)) == len); 4993 map!((return a) => absolutePath(a.name))(dirEntries(relpath, mode)), 4994 map!(a => a.name)(dirEntries(absolutePath(relpath), mode))));
|