/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 | 342 int nfs_findnode(struct nfsmount *nmp, const char *relpath, in nfs_findnode() argument 347 const char *path = relpath; in nfs_findnode() 393 relpath, buffer, error); in nfs_findnode() 403 relpath, buffer, error); in nfs_findnode() 451 int nfs_finddir(struct nfsmount *nmp, const char *relpath, in nfs_finddir() argument 455 const char *path = relpath; in nfs_finddir() 487 relpath, filename, error); in nfs_finddir() 511 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/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/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, 130 int tmpfs_mkdir(struct Vnode *parent, const char *relpath, mode_t mode, struct Vnode **vpp); 132 int tmpfs_unlink(struct Vnode *parent, struct Vnode *node, const char *relpath); 514 const char *relpath, in tmpfs_create_file() argument 526 copy = strdup(relpath); in tmpfs_create_file() 657 const char *relpath, in tmpfs_create_directory() argument [all …]
|
/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/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/NuttX/fs/driver/ |
D | fs_devsyslog.c | 240 const char *relpath = NULL; in syslog_initialize() local 280 relpath = desc.relpath; in syslog_initialize() 325 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/benchmark/ |
D | setup.py | 50 self.relpath, self.target_name = posixpath.relpath(bazel_target, "//").split( 101 ext.relpath, ext.target_name + shared_lib_suffix)
|
/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/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/flutter/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/icu/icu4c/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/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()
|
/third_party/flutter/skia/infra/bots/ |
D | zip_utils.py | 38 zi.filename = os.path.relpath(filepath, target_dir) 57 z.write(dirpath, os.path.relpath(dirpath, target_dir))
|
/third_party/skia/infra/bots/ |
D | zip_utils.py | 39 zi.filename = os.path.relpath(filepath, target_dir) 58 z.write(dirpath, os.path.relpath(dirpath, target_dir))
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/ |
D | main.go | 106 writeFile := func(relpath, body string) error { 112 abspath := filepath.Join(filepath.Dir(tmplPath), relpath)
|
/third_party/gn/build/ |
D | gen.py | 297 os.path.relpath( 339 os.path.relpath(os.path.join(SCRIPT_DIR, 'gen.py'), 341 os.path.relpath(template_filename, os.path.dirname(path)) + '\n') 367 os.path.relpath(os.path.join(REPO_ROOT, 'src'), os.path.dirname(path)),
|