/third_party/python/Lib/test/ |
D | test_posixpath.py | 376 os.symlink(posixpath.relpath(ABSTFN+"1"), ABSTFN) 573 self.assertRaises(ValueError, posixpath.relpath, "") 574 self.assertEqual(posixpath.relpath("a"), "a") 575 self.assertEqual(posixpath.relpath(posixpath.abspath("a")), "a") 576 self.assertEqual(posixpath.relpath("a/b"), "a/b") 577 self.assertEqual(posixpath.relpath("../a/b"), "../a/b") 578 self.assertEqual(posixpath.relpath("a", "../b"), "../"+curdir+"/a") 579 self.assertEqual(posixpath.relpath("a/b", "../c"), 581 self.assertEqual(posixpath.relpath("a", "b/c"), "../../a") 582 self.assertEqual(posixpath.relpath("a", "a"), ".") [all …]
|
/third_party/ltp/testcases/kernel/syscalls/mkdirat/ |
D | mkdirat01.c | 44 static char relpath[256]; variable 56 {&dir_fd, relpath, 0, 0}, 58 {&fd_atcwd, relpath, 0, 0}, 59 {&fd, relpath, -1, ENOTDIR}, 60 {&fd_invalid, relpath, -1, EBADF}, 94 sprintf(relpath, "mkdiratrelpath%d_%d", getpid(), i); in setup_iteration()
|
/third_party/NuttX/fs/nfs/ |
D | nfs_util.c | 366 int nfs_findnode(struct nfsmount *nmp, const char *relpath, in nfs_findnode() argument 371 const char *path = relpath; in nfs_findnode() 417 relpath, buffer, error); in nfs_findnode() 427 relpath, buffer, error); in nfs_findnode() 475 int nfs_finddir(struct nfsmount *nmp, const char *relpath, in nfs_finddir() argument 479 const char *path = relpath; in nfs_finddir() 511 relpath, filename, error); in nfs_finddir() 535 relpath, filename, error); in nfs_finddir()
|
D | nfs.h | 143 extern int nfs_findnode(struct nfsmount *nmp, const char *relpath, 147 extern int nfs_finddir(struct nfsmount *nmp, const char *relpath,
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
D | antora-prep.py | 171 self.relpath = None 245 self.relpath = os.path.relpath(self.srcpath, root) 274 self.dstpath = Path(self.component) / Partials / self.relpath 277 self.dstpath = Path(self.component) / Partials / self.relpath 278 self.dstlink = Path(self.component) / Pages / self.relpath 284 self.dstpath = Path(self.component) / self.relpath 537 pageInfo[docFile.relpath] = docFile 541 pageMap[docFile.titleAnchor] = docFile.relpath
|
/third_party/icu/tools/scripts/cpysearch/ |
D | cpyscan.pl | 38 my $relpath = substr($_, $icu_src_len + 1); 39 return if should_ignore($relpath); 46 print "$relpath\n";
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/ |
D | import.go | 180 relpath, err := filepath.Rel(e.RootDir, f.Name) 184 if strings.HasPrefix(relpath, "..") { 187 file := File{Path: relpath} 227 relpath, err := filepath.Rel(e.RootDir, path) 231 if strings.HasPrefix(relpath, "..") { 235 file := File{Path: relpath}
|
/third_party/NuttX/fs/tmpfs/ |
D | fs_tmpfs.c | 88 const char *relpath, 94 const char *relpath, 99 const char *relpath, struct tmpfs_object_s **object, 102 const char *relpath, 106 const char *relpath, 131 int tmpfs_mkdir(struct Vnode *parent, const char *relpath, mode_t mode, struct Vnode **vpp); 133 int tmpfs_unlink(struct Vnode *parent, struct Vnode *node, const char *relpath); 515 const char *relpath, in tmpfs_create_file() argument 527 copy = strdup(relpath); in tmpfs_create_file() 658 const char *relpath, in tmpfs_create_directory() argument [all …]
|
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
D | shrinkwrap.js | 79 const relpath = require('./relpath.js') constant 136 const rel = relpath(path, dir) 161 seen.add(relpath(path, child)) 163 if (tstat?.isDirectory() && !seen.has(relpath(path, target))) { 220 resolved: relpath(path, node.realpath), 468 const rel = relpath(this.path, this.filename) 624 return relpath(this.path, resolve(this.path, path)) 685 const target = relpath(this.path, spec.fetchSpec) 798 const loc = relpath(this.path, node.path) 1012 lock.version = `file:${relpath(this.path, node.realpath).replace(/#/g, '%23')}` [all …]
|
D | consistent-resolve.js | 6 const relpath = require('./relpath.js') constant 25 return `file:${relpath(toPath, cleanFetchSpec)}`
|
D | link.js | 1 const relpath = require('./relpath.js') constant 102 ? `file:${relpath(dirname(this.path), this.realpath).replace(/#/g, '%23')}`
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | libcpuset.c | 2013 static int cr_or_mod(const char *relpath, const struct cpuset *cp, int new) in cr_or_mod() argument 2027 fullpath(buf, sizeof(buf), relpath); in cr_or_mod() 2038 if (cpuset_query(cp_sav, relpath) < 0) in cr_or_mod() 2064 int cpuset_create(const char *relpath, const struct cpuset *cp) in cpuset_create() argument 2066 return cr_or_mod(relpath, cp, 1); in cpuset_create() 2070 int cpuset_delete(const char *relpath) in cpuset_delete() argument 2077 fullpath(buf, sizeof(buf), relpath); in cpuset_delete() 2087 int cpuset_query(struct cpuset *cp, const char *relpath) in cpuset_query() argument 2094 fullpath(buf, sizeof(buf), relpath); in cpuset_query() 2171 int cpuset_modify(const char *relpath, const struct cpuset *cp) in cpuset_modify() argument [all …]
|
D | cpuinfo.c | 316 static int find_domain_cpusets(char *relpath) in find_domain_cpusets() argument 322 if (relpath == NULL) { in find_domain_cpusets() 333 if (cpuset_query(cp, relpath)) { in find_domain_cpusets() 348 while_each_childdir(cpuset_mountpoint(), relpath, c_relpath, in find_domain_cpusets()
|
/third_party/node/deps/v8/tools/ |
D | generate-header-include-checks.py | 105 header_dir = os.path.relpath(split[0], V8_DIR) 116 rel_cc_file_name = os.path.relpath(cc_file_name, V8_DIR) 130 printv('Generating file "{}"'.format(os.path.relpath(gni_file, V8_DIR))) 142 gn.write(' "{}",\n'.format(os.path.relpath(cc_file_name, V8_DIR)))
|
/third_party/NuttX/fs/driver/ |
D | fs_devsyslog.c | 243 const char *relpath = NULL; in syslog_initialize() local 283 relpath = desc.relpath; in syslog_initialize() 328 ret = inode_ptr->u.i_mops->open(&g_sysdev.sl_file, relpath, in syslog_initialize()
|
/third_party/jerryscript/tools/runners/ |
D | run-test-suite.py | 126 summary_list = [os.path.relpath(args.engine)] 130 summary_list.append(os.path.relpath(args.test_dir)) 132 summary_list.append(os.path.relpath(args.test_list)) 149 test_path = os.path.relpath(test) 188 test_path = os.path.relpath(test)
|
D | run-unittests.py | 66 test_path = os.path.relpath(test) 79 … util.print_test_summary(os.path.join(os.path.relpath(args.path), "unit-*"), total, passed, failed)
|
/third_party/skia/build/fuchsia/skqp/ |
D | append_assets_to_manifest | 40 relative_path = os.path.relpath(args.manifest, root_build_dir) 54 relative_path = os.path.relpath(base_line_rhs, root_build_dir) 69 relative_path = os.path.relpath(source, root_build_dir)
|
/third_party/python/Tools/c-analyzer/c_common/ |
D | fsutil.py | 64 relpath = os.path.relpath(filename, relroot) 65 if os.path.join(relroot, relpath) != filename: 94 filename = os.path.relpath(filename) 101 filename = os.path.relpath(filename, relroot) 281 filename = os.path.relpath(filename, relparent)
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | test_shaders.py | 599 def reference_path(directory, relpath, opt): argument 603 return os.path.join(reference_dir, relpath) 794 def test_shader_file(relpath, stats, args, backend): argument 798 test_shader_msl(stats, (args.folder, relpath), args, paths) 800 test_shader_hlsl(stats, (args.folder, relpath), args, paths) 802 test_shader_reflect(stats, (args.folder, relpath), args, paths) 804 test_shader(stats, (args.folder, relpath), args, paths) 815 relpath = os.path.relpath(path, args.folder) 816 all_files.append(relpath)
|
/third_party/icu/icu4c/source/tools/tzcode/ |
D | zdump.c | 1036 static void getzones(char * basedir, char * relpath, struct listentry ** last, int * count) { in getzones() argument 1042 if (relpath != NULL) { in getzones() 1044 strcat(path, relpath); in getzones() 1049 if (strstr(relpath, ".tab") == NULL && strcmp(relpath, "Etc/Unknown") != 0) { in getzones() 1053 if ((pzonename = malloc(strlen(relpath) + 1)) == NULL) { in getzones() 1056 strcpy(pzonename, relpath); in getzones() 1077 if (relpath != NULL) { in getzones() 1078 strcpy(subpath, relpath); in getzones()
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
D | zdump.c | 1042 static void getzones(char * basedir, char * relpath, struct listentry ** last, int * count) { in getzones() argument 1048 if (relpath != NULL) { in getzones() 1050 strcat(path, relpath); in getzones() 1055 if (strstr(relpath, ".tab") == NULL && strcmp(relpath, "Etc/Unknown") != 0) { in getzones() 1059 if ((pzonename = malloc(strlen(relpath) + 1)) == NULL) { in getzones() 1062 strcpy(pzonename, relpath); in getzones() 1083 if (relpath != NULL) { in getzones() 1084 strcpy(subpath, relpath); in getzones()
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/gen/ |
D | generate.go | 41 type WriteFile func(relpath, content string) error 79 …"WriteFile": func(relpath, content string) (string, error) { return "", writeFile(relp…
|
/third_party/node/deps/uv/src/win/ |
D | fs-event.c | 68 WCHAR** relpath) { in uv__relative_path() argument 76 *relpath = uv__malloc((relpathlen + 1) * sizeof(WCHAR)); in uv__relative_path() 77 if (!*relpath) in uv__relative_path() 79 wcsncpy(*relpath, filename + dirlen + 1, relpathlen); in uv__relative_path() 80 (*relpath)[relpathlen] = L'\0'; in uv__relative_path()
|
/third_party/libuv/src/win/ |
D | fs-event.c | 68 WCHAR** relpath) { in uv__relative_path() argument 76 *relpath = uv__malloc((relpathlen + 1) * sizeof(WCHAR)); in uv__relative_path() 77 if (!*relpath) in uv__relative_path() 79 wcsncpy(*relpath, filename + dirlen + 1, relpathlen); in uv__relative_path() 80 (*relpath)[relpathlen] = L'\0'; in uv__relative_path()
|