/external/chromium-trace/catapult/devil/devil/utils/ |
D | file_utils.py | 8 def MergeFiles(dest_file, source_files): argument 16 if not os.path.exists(os.path.dirname(dest_file)): 17 os.makedirs(os.path.dirname(dest_file)) 19 with open(dest_file, 'w') as dest_f: 26 os.remove(dest_file)
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
D | file_utils.py | 8 def MergeFiles(dest_file, source_files): argument 16 if not os.path.exists(os.path.dirname(dest_file)): 17 os.makedirs(os.path.dirname(dest_file)) 19 with open(dest_file, 'w') as dest_f: 26 os.remove(dest_file)
|
/external/autotest/server/hosts/ |
D | teststation_host.py | 139 def download_file(self, src_url, dest_file, unzip=False, unzip_dest=None): argument 151 self.run('wget -q -O "%s" "%s"' % (dest_file, src_url)) 153 readlink_result = self.run('readlink -f "%s"' % dest_file) 158 self.run('unzip "%s" -x -d "%s"' % (dest_file, unzip_dest)) 163 self.run('rm -f "%s"' % dest_file)
|
D | adb_host.py | 1324 dest_file = os.path.join(dest_dir, file) 1326 self.teststation.run('wget -q -O "%s" "%s"' % (dest_file, src_url)) 1333 self.teststation.run('rm -f "%s"' % dest_file)
|
/external/skia/tools/svg/ |
D | svg_downloader.py | 22 dest_file = os.path.join(output_dir, os.path.basename(svg_url)) 24 urllib.urlretrieve(svg_url, dest_file)
|
/external/toolchain-utils/cros_utils/ |
D | logger.py | 87 dest_file = '%s.%s' % (basename, extension) 88 if os.path.exists(dest_file): 89 os.remove(dest_file) 90 os.symlink(src_file, dest_file) 253 dest_file = '%s.%s' % (basename, extension) 254 print('MockLogger: Calling os.symlink(%s, %s)' % (src_file, dest_file))
|
/external/icu/tools/ |
D | icuutil.py | 148 def MakeAndCopyOverlayTzIcuData(icu_build_dir, dest_file): argument 218 shutil.copyfile(generated_dat_file, dest_file) 219 print 'ICU overlay .dat can be found here: %s' % dest_file
|
/external/autotest/server/cros/ |
D | sonic_extension_downloader.py | 54 def download_extension(dest_file): argument 62 with open(dest_file, 'w') as f:
|
/external/devlib/devlib/utils/ |
D | ssh.py | 446 dest_file = os.path.basename(filename) 447 logger.debug("pull_file {} {}".format(filename, dest_file)) 457 dest_file)) 459 self._gem5_shell("ls -la {}".format(dest_file)) 461 self._gem5_util("writefile {}".format(dest_file)) 465 dest_file)): 469 if os.path.exists(os.path.join(dest, dest_file)): 472 .format(dest_file)) 474 shutil.move(os.path.join(self.gem5_out_dir, dest_file), dest)
|
/external/autotest/client/bin/ |
D | local_host_unittest.py | 197 dest_file = os.path.join(self.tmpdir.name, 'dest') 199 host.get_file(source_file, dest_file) 200 self.assertTrue(os.path.isfile(dest_file))
|
/external/toolchain-utils/ |
D | repo_to_repo.py | 80 dest_file = os.path.join(dest_dir, f) 82 if os.path.exists(dest_file): 83 command = 'rm -rf %s' % dest_file
|
/external/autotest/client/common_lib/ |
D | utils_unittest.py | 451 dest_file = self.god.create_mock_class(file, "file") 455 utils.open.expect_call(dest, "wb").and_return(dest_file) 456 utils.shutil.copyfileobj.expect_call(src_file, dest_file) 457 dest_file.close.expect_call()
|
D | utils.py | 563 dest_file = open(filename, 'wb') 565 shutil.copyfileobj(src_file, dest_file) 567 dest_file.close()
|
/external/autotest/contrib/ |
D | coverage.py | 890 dest_file = os.path.join(directory, 894 dest_file = filename + ',cover' 895 dest = open(dest_file, 'w')
|
/external/libchrome/base/files/ |
D | file_path_watcher_unittest.cc | 628 FilePath dest_file(dest_subdir.AppendASCII("file")); in TEST_F() local 635 ASSERT_TRUE(SetupWatch(dest_file, &file_watcher, file_delegate.get(), false)); in TEST_F()
|
/external/toolchain-utils/crosperf/ |
D | results_cache.py | 70 dest_file = os.path.join(dest_dir, 73 ret = self.ce.CopyFiles(file_to_copy, dest_file, recursive=False)
|
/external/lisa/libs/utils/ |
D | env.py | 772 def platform_dump(self, dest_dir, dest_file='platform.json'): argument 773 plt_file = os.path.join(dest_dir, dest_file)
|