/third_party/flutter/engine/flutter/sky/tools/roll/ |
D | roll.py | 92 def rev(source_dir, dest_dir, dirs_to_rev, name, revision_file=None): argument 101 system(["git", "rm", "-r", d], cwd=dest_dir) 115 dest_path = os.path.join(dest_dir, f) 118 system(["git", "add", d], cwd=dest_dir) 121 system(["git", "checkout", "HEAD", f], cwd=dest_dir) 129 system(["git", "add", "."], cwd=dest_dir) 130 commit("Update to %s %s" % (name, src_commit), cwd=dest_dir) 142 dest_dir = os.path.abspath(args.dest_dir) 145 rev(os.path.abspath(args.mojo_dir), dest_dir, dirs_from_mojo, 'mojo', 149 rev(os.path.abspath(args.chromium_dir), dest_dir, dirs_from_chromium, 'chromium') [all …]
|
D | patch.py | 10 def patch_and_filter(dest_dir, relative_patches_dir): argument 11 os.chdir(dest_dir) 17 patch(dest_dir, relative_patches_dir) 20 def patch(dest_dir, relative_patches_dir=os.curdir): argument 34 os.chdir(dest_dir)
|
/third_party/node/tools/inspector_protocol/ |
D | roll.py | 119 dest_dir = os.path.join(downstream, 'third_party/inspector_protocol') 120 print('Rolling %s into %s ...' % (src_dir, dest_dir)) 122 dest_files = set(FindFilesToSyncIn(dest_dir)) 127 os.path.join(src_dir, f), os.path.join(dest_dir, f)))] 146 open(os.path.join(dest_dir, f), 'w').write(contents) 147 shutil.copymode(os.path.join(src_dir, f), os.path.join(dest_dir, f)) 149 os.unlink(os.path.join(dest_dir, f)) 151 lines = open(os.path.join(dest_dir, 'README.v8')).readlines() 152 f = open(os.path.join(dest_dir, 'README.v8'), 'w')
|
/third_party/skia/tools/svg/ |
D | svg_downloader.py | 30 dest_dir = os.path.join(output_dir, os.path.dirname(rel_file)) 32 dest_dir = output_dir 34 dest_file = os.path.join(dest_dir, prefix + os.path.basename(file_url)) 35 if not os.path.exists(dest_dir): 36 os.makedirs(dest_dir)
|
/third_party/musl/scripts/ |
D | install.py | 18 dest_dir = os.path.dirname(dest) 19 if not os.path.exists(dest_dir): 20 os.makedirs(dest_dir)
|
/third_party/python/Doc/tools/extensions/ |
D | glossary_search.py | 52 dest_dir = os.path.join(app.outdir, STATIC_DIR) 53 os.makedirs(dest_dir, exist_ok=True) 55 with open(os.path.join(dest_dir, JSON), 'w') as f:
|
/third_party/flutter/skia/tools/skp/ |
D | webpages_playback.py | 367 self._local_skp_dir, dest_dir=dest_dir_name) 492 def upload_dir_contents(self, source_dir, dest_dir): argument 523 def upload_dir_contents(self, source_dir, dest_dir): argument 525 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))]) 541 def upload_dir_contents(self, source_dir, dest_dir): argument 542 def copytree(source_dir, dest_dir): argument 543 if not os.path.exists(dest_dir): 544 os.makedirs(dest_dir) 547 dest = os.path.join(dest_dir, item) 552 copytree(source_dir, os.path.join(self._base_dir, dest_dir))
|
/third_party/skia/tools/skp/ |
D | webpages_playback.py | 369 self._local_skp_dir, dest_dir=dest_dir_name) 493 def upload_dir_contents(self, source_dir, dest_dir): argument 524 def upload_dir_contents(self, source_dir, dest_dir): argument 526 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))]) 542 def upload_dir_contents(self, source_dir, dest_dir): argument 543 def copytree(source_dir, dest_dir): argument 544 if not os.path.exists(dest_dir): 545 os.makedirs(dest_dir) 548 dest = os.path.join(dest_dir, item) 553 copytree(source_dir, os.path.join(self._base_dir, dest_dir))
|
/third_party/e2fsprogs/debugfs/ |
D | dump.c | 330 char *dest_dir; in do_rdump() local 338 dest_dir = argv[argc - 1]; in do_rdump() 342 if (stat(dest_dir, &st) == -1) { in do_rdump() 343 com_err("rdump", errno, "while statting %s", dest_dir); in do_rdump() 347 com_err("rdump", 0, "%s is not a directory", dest_dir); in do_rdump() 367 rdump_inode(ino, &inode, basename, dest_dir); in do_rdump()
|
/third_party/skia/third_party/externals/zlib/google/ |
D | zip.cc | 175 bool Unzip(const base::FilePath& src_file, const base::FilePath& dest_dir) { in Unzip() argument 177 src_file, dest_dir, base::BindRepeating(&ExcludeNoFilesFilter), true); in Unzip() 181 const base::FilePath& dest_dir, in UnzipWithFilterCallback() argument 191 base::BindRepeating(&CreateFilePathWriterDelegate, dest_dir), in UnzipWithFilterCallback() 192 base::BindRepeating(&CreateDirectory, dest_dir), filter_cb, in UnzipWithFilterCallback()
|
D | zip.h | 157 const base::FilePath& dest_dir, 177 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
/third_party/node/deps/zlib/google/ |
D | zip.cc | 175 bool Unzip(const base::FilePath& src_file, const base::FilePath& dest_dir) { in Unzip() argument 177 src_file, dest_dir, base::BindRepeating(&ExcludeNoFilesFilter), true); in Unzip() 181 const base::FilePath& dest_dir, in UnzipWithFilterCallback() argument 191 base::BindRepeating(&CreateFilePathWriterDelegate, dest_dir), in UnzipWithFilterCallback() 192 base::BindRepeating(&CreateDirectory, dest_dir), filter_cb, in UnzipWithFilterCallback()
|
D | zip.h | 157 const base::FilePath& dest_dir, 177 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
/third_party/flutter/skia/third_party/externals/zlib/google/ |
D | zip.cc | 175 bool Unzip(const base::FilePath& src_file, const base::FilePath& dest_dir) { in Unzip() argument 176 return UnzipWithFilterCallback(src_file, dest_dir, in Unzip() 181 const base::FilePath& dest_dir, in UnzipWithFilterCallback() argument 191 base::BindRepeating(&CreateFilePathWriterDelegate, dest_dir), in UnzipWithFilterCallback() 192 base::BindRepeating(&CreateDirectory, dest_dir), filter_cb, in UnzipWithFilterCallback()
|
D | zip.h | 157 const base::FilePath& dest_dir, 177 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
/third_party/gn/src/gn/ |
D | filesystem_utils.cc | 708 const SourceDir& dest_dir, in RebasePath() argument 718 (!input_is_source_path || !dest_dir.is_source_absolute())) { in RebasePath() 728 if (dest_dir.is_source_absolute()) { in RebasePath() 731 dest_full.append(dest_dir.value(), 2, std::string::npos); in RebasePath() 736 const std::string& value = dest_dir.value(); in RebasePath() 738 dest_full.append(dest_dir.value().substr(1)); in RebasePath() 740 dest_full.append(dest_dir.value()); in RebasePath() 742 dest_full.append(dest_dir.value()); in RebasePath() 756 ret = MakeRelativePath(input, dest_dir.value()); in RebasePath()
|
D | filesystem_utils.h | 151 const SourceDir& dest_dir,
|
/third_party/grpc/third_party/py/ |
D | python_configure.bzl | 115 dest_dir, 126 dest_dir = _normalize_path(dest_dir) 138 # If we have only one file to link we do not want to use the dest_dir, as 140 dest = "$(@D)/" + dest_dir + dest_files[i] if len( 147 outs.append(' "' + dest_dir + dest_files[i] + '",')
|
/third_party/flutter/skia/infra/bots/ |
D | utils.py | 74 def git_clone(repo_url, dest_dir): argument 76 subprocess.check_call([GIT, 'clone', repo_url, dest_dir])
|
/third_party/skia/infra/bots/ |
D | utils.py | 77 def git_clone(repo_url, dest_dir): argument 79 subprocess.check_call([GIT, 'clone', repo_url, dest_dir])
|
/third_party/node/ |
D | BUILD.gn | 17 dest_dir = "$ndk_headers_out_dir"
|
/third_party/musl/ndk_script/ |
D | BUILD.gn | 35 dest_dir = "$ndk_darwin_toolchains_out_dir" 64 dest_dir = "$ndk_linux_toolchains_out_dir" 77 dest_dir = "$ndk_windows_toolchains_out_dir" 216 dest_dir = "$ndk_os_irrelevant_out_dir/sysroot/usr/include/arm-linux-ohos"
|
/third_party/mindspore/mindspore/lite/interfaces/kits/c/ |
D | BUILD.gn | 19 dest_dir = "$ndk_headers_out_dir/mindspore"
|
/third_party/openSLES/ |
D | BUILD.gn | 25 dest_dir = "$ndk_headers_out_dir/SLES"
|
/third_party/libuv/ |
D | BUILD.gn | 344 dest_dir = "$ndk_headers_out_dir" 349 dest_dir = "$ndk_headers_out_dir/uv"
|