/external/chromium_org/build/linux/ |
install-chromeos-fonts.py | 38 dest_dir = os.path.join(FONTS_DIR, 'chromeos') 42 stamp = os.path.join(dest_dir, ".stamp02") 46 print "Chrome OS fonts already up-to-date in %s." % dest_dir 49 if os.path.isdir(dest_dir): 50 shutil.rmtree(dest_dir) 51 os.mkdir(dest_dir) 52 os.chmod(dest_dir, 0755) 54 print "Installing Chrome OS fonts to %s." % dest_dir 55 tarball = os.path.join(dest_dir, URL_FILE) 58 '-xf', tarball, '-C', dest_dir]) [all...] |
/frameworks/webview/chromium/tools/ |
merge_to_master.py | 41 dest_dir = os.path.join(merge_common.REPOSITORY_ROOT, path) 43 'goog', 'history'], cwd=dest_dir) 46 '-t', 'goog/' + target], cwd=dest_dir) 49 cwd=dest_dir) 52 cwd=dest_dir).strip() 54 cwd=dest_dir).strip() 56 merge_log = os.path.join(dest_dir, '.merged-revisions') 59 os.path.join(dest_dir, '.git', 'info', 'grafts')) 61 'HEAD..' + merge_sha1], cwd=dest_dir): 66 cwd=dest_dir, ignore_errors=True [all...] |
merge_from_chromium.py | 173 dest_dir = os.path.join(merge_common.REPOSITORY_ROOT, path) 181 cwd=dest_dir) 184 merge_common.GetCommandStdout(['git', 'fetch', url, sha1], cwd=dest_dir) 186 cwd=dest_dir): 190 cwd=dest_dir, ignore_errors=True) 193 cwd=dest_dir, unattended=unattended) 229 dest_dir = os.path.join(merge_common.REPOSITORY_ROOT, path) 231 exclude_list, cwd=dest_dir) 232 if _ModifiedFilesInIndex(dest_dir): 235 cwd=dest_dir) [all...] |
/external/chromium/chrome/common/ |
zip.h | 19 // Unzip the contents of zip_file into dest_dir. 20 bool Unzip(const FilePath& zip_file, const FilePath& dest_dir);
|
zip.cc | 22 // Extract the 'current' selected file from the zip into dest_dir. 25 const FilePath& dest_dir) { 54 FilePath dest_file(dest_dir); 159 bool Unzip(const FilePath& src_file, const FilePath& dest_dir) { 186 if (!ExtractCurrentFile(zip_file, dest_dir)) {
|
/external/chromium_org/chrome/test/webdriver/test/ |
continuous_archive.py | 23 def DownloadChromeDriver(revision, dest_dir): 28 dest_dir: the directory to download ChromeDriver to. 43 path = os.path.join(dest_dir, 'chromedriver') 52 def DownloadChrome(revision, dest_dir): 57 dest_dir: the directory to download Chrome to. 76 zip_path = os.path.join(dest_dir, 'chrome-%s.zip' % revision) 82 util.Unzip(zip_path, dest_dir) 83 return os.path.join(dest_dir, GetZipName(), GetChromePathFromPackage())
|
/external/chromium_org/chrome/test/chromedriver/ |
archive.py | 35 def DownloadChrome(revision, dest_dir, site=Site.CONTINUOUS): 40 dest_dir: the directory to download Chrome to. 60 zip_path = os.path.join(dest_dir, 'chrome-%s.zip' % revision) 66 util.Unzip(zip_path, dest_dir) 67 return os.path.join(dest_dir, GetZipName(), GetChromePathFromPackage())
|
/cts/tools/vm-tests-tf/src/util/build/ |
DasmBuildStep.java | 94 String dest_dir = outputFile.folder.getAbsolutePath(); local 97 if (dest_dir != null) { 98 dest_dir = dest_dir + File.separator + class_dir; 100 dest_dir = class_dir; 106 if (dest_dir == null) { 109 out_file = new File(dest_dir, class_name + ".dex"); 111 // check that dest_dir exists 112 File dest = new File(dest_dir); 118 System.err.println("Cannot create directory " + dest_dir); [all...] |
/external/chromium/base/test/ |
test_file_util.h | 33 const FilePath& dest_dir);
|
test_file_util_posix.cc | 30 const FilePath& dest_dir) { 38 FilePath real_to_path = dest_dir; 57 // dest_dir may not exist yet, start the loop with dest_dir 68 // the suffix after source_dir onto dest_dir to create the target_path. 75 const FilePath target_path = dest_dir.Append(suffix);
|
test_file_util_win.cc | 126 const FilePath& dest_dir) { 128 if (!CreateDirectory(dest_dir)) { 149 FilePath cur_dest_path = dest_dir.Append(cur_file);
|
/cts/tools/dasm/src/dasm/ |
Main.java | 115 String dest_dir = destPath; local 119 if (dest_dir != null) { 120 dest_dir = dest_dir + File.separator + class_dir; 122 dest_dir = class_dir; 129 if (dest_dir == null) { 133 out_file = new File(dest_dir, class_name + ".dex"); 134 hr_file = new File(dest_dir, class_name + ".dxt"); 136 // check that dest_dir exists 137 File dest = new File(dest_dir); [all...] |
/external/skia/tools/ |
svndiff.py | 212 def SvnDiff(path_to_skdiff, dest_dir, source_dir): 216 @param dest_dir existing directory within which to write results 221 if not dest_dir: 222 dest_dir = tempfile.mkdtemp() 223 dest_dir = os.path.abspath(dest_dir) 229 modified_flattened_dir = os.path.join(dest_dir, 'modified_flattened') 230 original_flattened_dir = os.path.join(dest_dir, 'original_flattened') 231 diff_dir = os.path.join(dest_dir, 'diffs') 298 SvnDiff(path_to_skdiff=options.path_to_skdiff, dest_dir=options.dest_dir [all...] |
download_baselines.py | 95 def CopyMatchingFiles(source_dir, dest_dir, filename_pattern, only_copy_updates=False): 97 original filenames) in dest_dir. 100 @param dest_dir where to save the copied files 103 @param only_copy_updates if True, only copy files that are already present in dest_dir 109 dest_path = os.path.join(dest_dir, filename) 151 dest_dir=os.path.join(gm_dir, baseline_subdir),
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
zip.h | 39 // Unzip the contents of zip_file into dest_dir. 40 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
zip.cc | 98 bool Unzip(const base::FilePath& src_file, const base::FilePath& dest_dir) { 114 if (!reader.ExtractCurrentEntryIntoDirectory(dest_dir)) {
|
/external/chromium_org/third_party/zlib/google/ |
zip.h | 39 // Unzip the contents of zip_file into dest_dir. 40 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
zip.cc | 98 bool Unzip(const base::FilePath& src_file, const base::FilePath& dest_dir) { 114 if (!reader.ExtractCurrentEntryIntoDirectory(dest_dir)) {
|
/external/chromium_org/tools/ |
update_reference_build.py | 137 def _UnzipFile(self, dl_file, dest_dir): 143 dest = os.path.join(dest_dir, content[content.find('/')+1:]) 171 dest_dir = os.path.join('reference_builds', 'reference_builds', 173 self._ClearDir(dest_dir) 177 if not self._UnzipFile(dl_file, dest_dir): 178 logging.info('Copying %s to %s' % (dl_file, dest_dir)) 179 shutil.copy(dl_file, dest_dir)
|
/pdk/build/ |
pdk_utils.py | 70 dest_dir = os.path.dirname(dest_file) 71 if not os.path.isdir(dest_dir): 72 os.makedirs(dest_dir) 78 def copy_file_new_name_if_exists(src_full_name, dest_dir, dest_file): 79 """copy src_full_name (including dir + file name) to dest_dir/dest_file 84 dest_full_name = dest_dir + "/" + dest_file 85 if not os.path.isdir(dest_dir): 86 os.makedirs(dest_dir)
|
/external/chromium_org/chrome/test/functional/perf/ |
endure_result_parser.py | 67 def SetupBaseGraphDirIfNeeded(webapp_name, test_name, dest_dir): 73 dest_dir: The name of the destination directory that needs to be set up. 75 if not os.path.exists(dest_dir): 76 os.mkdir(dest_dir) # Test name directory. 77 os.chmod(dest_dir, 0755) 80 config_file = os.path.join(dest_dir, 'config.js') 91 link_file = os.path.join(dest_dir, 'index.html') 94 link_file = os.path.join(dest_dir, 'endure_plotter.js') 97 link_file = os.path.join(dest_dir, 'js') 131 def OutputPerfData(revision, graph_name, values, units, units_x, dest_dir, [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
file_system_operation_impl_unittest.cc | 307 FileSystemURL dest_dir(CreateDirectory("src/dest")); 309 operation_runner()->Move(src_dir, dest_dir, RecordStatusCallback()); 318 FileSystemURL dest_dir(CreateDirectory("dest")); 331 FileSystemURL dest_dir(CreateDirectory("dest")); 334 operation_runner()->Move(src_dir, dest_dir, RecordStatusCallback()); 344 FileSystemURL dest_dir(CreateDirectory("dest")); 346 operation_runner()->Move(src_file, dest_dir, RecordStatusCallback()); 393 FileSystemURL dest_dir(CreateDirectory("dest")); 395 operation_runner()->Move(src_dir, dest_dir, RecordStatusCallback()); 404 // Make sure we've overwritten but not moved the source under the |dest_dir| [all...] |
/development/build/tools/ |
mk_sources_zip.py | 198 dest_dir = os.path.dirname(dest_path) 199 if not os.path.isdir(dest_dir): 200 os.makedirs(dest_dir)
|
/external/chromium_org/chrome/tools/build/win/ |
resedit.py | 153 dest_dir = os.path.join(extract_to, res_type_str, res_lang_str) 154 dest_file = os.path.join(dest_dir, res_name_str) 160 os.makedirs(dest_dir)
|
/external/chromium_org/tools/gn/ |
ninja_target_writer.cc | 138 const std::string& dest_dir = target_->destdir().value(); local 139 DCHECK(StartsWithASCII(dest_dir, output_dir, true)); 140 std::string relative_dest_dir(&dest_dir[output_dir.size()], 141 dest_dir.size() - output_dir.size());
|