/external/zstd/build/single_file_libs/ |
D | 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/… 135 if [ "$relpath" != "" ]; then # not all distros have realpath... 136 echo "$relpath"
|
/external/libchrome/build/ |
D | get_syzygy_binaries.py | 100 for (relpath, md5) in c.items(): 101 if not isinstance(relpath, basestring) or len(relpath) == 0: 118 for relpath, md5 in stored['contents'].items(): 119 abspath = os.path.abspath(os.path.join(output_dir, relpath)) 122 contents[relpath] = m 136 for relpath, md5 in cont_stored.items(): 137 if relpath not in cont_actual: 138 _LOGGER.debug('Missing content: %s', relpath) 140 if md5 != cont_actual[relpath]: 141 _LOGGER.debug('Modified content: %s', relpath) [all …]
|
D | print_python_deps.py | 52 root = os.path.relpath(options.root, _SRC_ROOT) 56 args.extend(('--output', os.path.relpath(options.output, _SRC_ROOT))) 58 args.extend(('--whitelist', os.path.relpath(whitelist, _SRC_ROOT))) 59 args.append(os.path.relpath(options.module, _SRC_ROOT)) 99 paths = [os.path.relpath(p, options.root) for p in paths_set]
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
D | mkdirat01.c | 43 static char relpath[256]; variable 55 {&dir_fd, relpath, 0, 0}, 57 {&fd_atcwd, relpath, 0, 0}, 58 {&fd, relpath, -1, ENOTDIR}, 59 {&fd_invalid, relpath, -1, EBADF}, 93 sprintf(relpath, "mkdiratrelpath%d_%d", getpid(), i); in setup_iteration()
|
/external/python/cpython3/Lib/test/test_tools/ |
D | test_makefile.py | 61 relpath = os.path.relpath(dirpath, support.STDLIB_DIR) 62 with self.subTest(relpath=relpath): 64 relpath, 71 used.add(relpath)
|
/external/cronet/tot/build/rust/ |
D | run_rs_bindings_from_cc.py | 14 CHROMIUM_SRC_DIR = os.path.relpath(os.path.join(THIS_DIR, os.pardir, os.pardir)) 61 generator_args.append("--rs_out={0}".format(os.path.relpath(args.rs_out))) 62 generator_args.append("--cc_out={0}".format(os.path.relpath(args.cc_out))) 65 os.path.relpath(args.rs_out).replace(".rs", ".ir"))) 69 [os.path.relpath(hdr) for hdr in args.public_headers.split(",")]))) 78 hdrs[i] = os.path.relpath(hdrs[i]) 95 params_file_path = os.path.relpath(args.rs_out).replace(".rs", ".params")
|
/external/cronet/stable/build/rust/ |
D | run_rs_bindings_from_cc.py | 14 CHROMIUM_SRC_DIR = os.path.relpath(os.path.join(THIS_DIR, os.pardir, os.pardir)) 61 generator_args.append("--rs_out={0}".format(os.path.relpath(args.rs_out))) 62 generator_args.append("--cc_out={0}".format(os.path.relpath(args.cc_out))) 65 os.path.relpath(args.rs_out).replace(".rs", ".ir"))) 69 [os.path.relpath(hdr) for hdr in args.public_headers.split(",")]))) 78 hdrs[i] = os.path.relpath(hdrs[i]) 95 params_file_path = os.path.relpath(args.rs_out).replace(".rs", ".params")
|
/external/angle/build/rust/ |
D | run_rs_bindings_from_cc.py | 14 CHROMIUM_SRC_DIR = os.path.relpath(os.path.join(THIS_DIR, os.pardir, os.pardir)) 61 generator_args.append("--rs_out={0}".format(os.path.relpath(args.rs_out))) 62 generator_args.append("--cc_out={0}".format(os.path.relpath(args.cc_out))) 65 os.path.relpath(args.rs_out).replace(".rs", ".ir"))) 69 [os.path.relpath(hdr) for hdr in args.public_headers.split(",")]))) 78 hdrs[i] = os.path.relpath(hdrs[i]) 95 params_file_path = os.path.relpath(args.rs_out).replace(".rs", ".params")
|
/external/cronet/stable/build/gn_ast/ |
D | gn_editor.py | 70 return OperationResult(path=os.path.relpath(path, start=root), 84 return OperationResult(path=os.path.relpath(path, start=root), 129 relpath = os.path.relpath(filepath, start=root) 130 logging.info('[%d/%d] Checking %s', idx, num_total, relpath) 144 def _calculate_targets_for_file(relpath: str, arg_extra_targets: List[str], 146 if os.path.basename(relpath) != 'BUILD.gn': 150 dirpath = os.path.dirname(relpath) 230 relpath = os.path.relpath(filepath, start=root) 231 logging.info('[%d/%d] Checking %s', idx, num_total, relpath) 232 if relpath not in known_build_files: [all …]
|
D | utils.py | 19 relpath = os.path.relpath(filepath, root) 21 if relpath == bad_filepath:
|
/external/cronet/tot/build/gn_ast/ |
D | gn_editor.py | 70 return OperationResult(path=os.path.relpath(path, start=root), 84 return OperationResult(path=os.path.relpath(path, start=root), 129 relpath = os.path.relpath(filepath, start=root) 130 logging.info('[%d/%d] Checking %s', idx, num_total, relpath) 144 def _calculate_targets_for_file(relpath: str, arg_extra_targets: List[str], 146 if os.path.basename(relpath) != 'BUILD.gn': 150 dirpath = os.path.dirname(relpath) 230 relpath = os.path.relpath(filepath, start=root) 231 logging.info('[%d/%d] Checking %s', idx, num_total, relpath) 232 if relpath not in known_build_files: [all …]
|
D | utils.py | 19 relpath = os.path.relpath(filepath, root) 21 if relpath == bad_filepath:
|
/external/angle/build/gn_ast/ |
D | gn_editor.py | 70 return OperationResult(path=os.path.relpath(path, start=root), 84 return OperationResult(path=os.path.relpath(path, start=root), 129 relpath = os.path.relpath(filepath, start=root) 130 logging.info('[%d/%d] Checking %s', idx, num_total, relpath) 144 def _calculate_targets_for_file(relpath: str, arg_extra_targets: List[str], 146 if os.path.basename(relpath) != 'BUILD.gn': 150 dirpath = os.path.dirname(relpath) 230 relpath = os.path.relpath(filepath, start=root) 231 logging.info('[%d/%d] Checking %s', idx, num_total, relpath) 232 if relpath not in known_build_files: [all …]
|
D | utils.py | 19 relpath = os.path.relpath(filepath, root) 21 if relpath == bad_filepath:
|
/external/python/cpython3/Lib/test/ |
D | test_posixpath.py | 487 os.symlink(posixpath.relpath(ABSTFN+"1"), ABSTFN) 763 self.assertRaises(TypeError, posixpath.relpath, None) 764 self.assertRaises(ValueError, posixpath.relpath, "") 765 self.assertEqual(posixpath.relpath("a"), "a") 766 self.assertEqual(posixpath.relpath(posixpath.abspath("a")), "a") 767 self.assertEqual(posixpath.relpath("a/b"), "a/b") 768 self.assertEqual(posixpath.relpath("../a/b"), "../a/b") 769 self.assertEqual(posixpath.relpath("a", "../b"), "../"+curdir+"/a") 770 self.assertEqual(posixpath.relpath("a/b", "../c"), 772 self.assertEqual(posixpath.relpath("a", "b/c"), "../../a") [all …]
|
/external/eigen/doc/ |
D | eigen_navtree_hacks.js | 85 function initNavTree(toroot,relpath) argument 98 o.node.relpath = relpath; 102 o.node.plus_img.src = relpath+"ftv2pnode.png"; 109 showSyncOff(navSync,relpath); 112 showSyncOn(navSync,relpath); 114 navSync.click(function(){ toggleSyncButton(relpath); }); 117 navTo(o,toroot,window.location.hash,relpath); 132 navTo(o,link,$(location).attr('hash'),relpath); 137 navTo(o,toroot,window.location.hash,relpath);
|
/external/angle/build/android/gyp/util/ |
D | md5_check_test.py | 39 zip_paths = [os.path.relpath(input_file2.name)] 109 os.path.relpath(input_file1.name), 116 os.path.relpath(input_file1.name), 123 os.path.relpath(input_file1.name), 148 (os.path.relpath(input_file2.name), 'path/1.txt'), 155 (os.path.relpath(input_file2.name), 'path/1.txt'), 163 (os.path.relpath(input_file2.name), 'path/1.txt'),
|
/external/angle/build/android/gyp/ |
D | jinja_template.py | 35 self.loaded_templates.add(os.path.relpath(filename)) 53 input_rel_path = os.path.relpath(input_filename, self.loader_base_dir) 82 relpath = os.path.relpath(os.path.abspath(input_filename), 84 if relpath.startswith(os.pardir): 88 output_filename = os.path.join(temp_dir, relpath) 92 path_info.AddMapping(relpath, input_filename)
|
/external/cronet/tot/build/android/gyp/ |
D | jinja_template.py | 35 self.loaded_templates.add(os.path.relpath(filename)) 53 input_rel_path = os.path.relpath(input_filename, self.loader_base_dir) 82 relpath = os.path.relpath(os.path.abspath(input_filename), 84 if relpath.startswith(os.pardir): 88 output_filename = os.path.join(temp_dir, relpath) 92 path_info.AddMapping(relpath, input_filename)
|
/external/cronet/stable/build/android/gyp/ |
D | jinja_template.py | 35 self.loaded_templates.add(os.path.relpath(filename)) 53 input_rel_path = os.path.relpath(input_filename, self.loader_base_dir) 82 relpath = os.path.relpath(os.path.abspath(input_filename), 84 if relpath.startswith(os.pardir): 88 output_filename = os.path.join(temp_dir, relpath) 92 path_info.AddMapping(relpath, input_filename)
|
/external/perfetto/tools/ |
D | test_data | 41 def relpath(path): function 42 return os.path.relpath(path, ROOT_DIR) 89 '[%d/%d] %-60s' % (done, len(files), relpath(fs.path)[-60:]), 132 print('\n'.join(relpath(f.path) for f in files_to_upload)) 166 print('\n'.join(relpath(f) for f in files_to_clean)) 187 print('\n'.join(relpath(f.path) for f in modified)) 203 (len(files_to_download), relpath(args.dir))) 233 file_by_status[fs.status].append(relpath(fs.path)) 246 (num_files, relpath(dir)))
|
D | gen_amalgamated_sql.py | 106 relpath = os.path.relpath(file_name, root_dir) 111 assert '../' not in relpath 112 sql_outputs[relpath] = f.read()
|
/external/pigweed/pw_cli/py/pw_cli/ |
D | file_filter.py | 93 def relpath(path): function 94 return Path(os.path.relpath(path, relative_to)) 98 def relpath(path): function 102 if not any(e.search(relpath(path).as_posix()) for e in exclusions):
|
/external/swiftshader/tests/regres/cov/ |
D | import.go | 175 relpath, err := filepath.Rel(e.RootDir, f.Name) 179 if strings.HasPrefix(relpath, "..") { 182 file := File{Path: relpath} 222 relpath, err := filepath.Rel(e.RootDir, path) 226 if strings.HasPrefix(relpath, "..") { 230 file := File{Path: relpath}
|
/external/angle/build/ |
D | print_python_deps.py | 60 root = os.path.relpath(options.root, _SRC_ROOT) 64 args.extend(('--output', os.path.relpath(options.output, _SRC_ROOT))) 68 args.extend(('--allowlist', os.path.relpath(allowlist, _SRC_ROOT))) 69 args.append(os.path.relpath(options.module, _SRC_ROOT)) 174 paths = [os.path.relpath(p, options.root) for p in paths_set]
|