Home
last modified time | relevance | path

Searched refs:dest_file (Results 1 – 23 of 23) sorted by relevance

/external/chromium-trace/catapult/devil/devil/utils/
Dfile_utils.py8 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/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
Dcopy_file_large.pass.cpp88 std::ifstream dest_file(dest.native()); in TEST_CASE() local
89 TEST_REQUIRE(dest_file); in TEST_CASE()
90 dest_file.seekg(sendfile_size_limit); in TEST_CASE()
91 TEST_REQUIRE(dest_file); in TEST_CASE()
92 dest_file >> out_data; in TEST_CASE()
93 TEST_CHECK(dest_file.eof()); in TEST_CASE()
/external/autotest/server/hosts/
Dteststation_host.py139 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)
Dadb_host.py1148 dest_file = os.path.join(dest_dir, file)
1150 self.teststation.run('wget -q -O "%s" "%s"' % (dest_file, src_url))
1157 self.teststation.run('rm -f "%s"' % dest_file)
/external/toolchain-utils/cros_utils/
Dlogger.py87 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/skqp/tools/svg/
Dsvg_downloader.py22 dest_file = os.path.join(output_dir, prefix + os.path.basename(svg_url))
24 urllib.urlretrieve(svg_url, dest_file)
/external/skia/tools/svg/
Dsvg_downloader.py22 dest_file = os.path.join(output_dir, prefix + os.path.basename(svg_url))
24 urllib.urlretrieve(svg_url, dest_file)
/external/icu/tools/
Dicuutil.py164 def MakeAndCopyOverlayTzIcuData(icu_build_dir, dest_file): argument
234 shutil.copyfile(generated_dat_file, dest_file)
235 print('ICU overlay .dat can be found here: %s' % dest_file)
/external/python/cpython3/Lib/test/
Dtest_symbol.py17 def _copy_file_without_generated_symbols(self, source_file, dest_file): argument
20 with open(dest_file, 'w') as fp:
Dtest_keyword.py41 def _copy_file_without_generated_keywords(self, source_file, dest_file): argument
45 with open(dest_file, 'wb') as fp:
/external/autotest/server/cros/
Dsonic_extension_downloader.py54 def download_extension(dest_file): argument
62 with open(dest_file, 'w') as f:
/external/python/cpython3/Tools/importbench/
Dimportbench.py219 if options.dest_file:
220 with options.dest_file:
221 json.dump(new_results, options.dest_file, indent=2)
/external/tensorflow/tensorflow/tools/git/
Dgen_git_source.py252 spec, head_symlink, _, dest_file = arglist
265 write_version_info(dest_file, git_version)
/external/autotest/client/bin/
Dlocal_host_unittest.py197 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/vulkan-validation-layers/scripts/
Dhelper_file_generator.py148 dest_file = ''
149 dest_file += self.OutputDestFile()
151 if dest_file.endswith('\n'):
152 dest_file = dest_file[:-1]
153 write(dest_file, file=self.outFile);
/external/toolchain-utils/
Drepo_to_repo.py81 dest_file = os.path.join(dest_dir, f)
83 if os.path.exists(dest_file):
84 command = 'rm -rf %s' % dest_file
/external/u-boot/include/
Dqfw.h124 char dest_file[BIOS_LINKER_LOADER_FILESZ]; member
/external/autotest/contrib/
Dcoverage.py890 dest_file = os.path.join(directory,
894 dest_file = filename + ',cover'
895 dest = open(dest_file, 'w')
/external/autotest/client/common_lib/
Dutils_unittest.py457 dest_file = self.god.create_mock_class(file, "file")
461 utils.open.expect_call(dest, "wb").and_return(dest_file)
462 utils.shutil.copyfileobj.expect_call(src_file, dest_file)
463 dest_file.close.expect_call()
Dutils.py576 dest_file = open(filename, 'wb')
578 shutil.copyfileobj(src_file, dest_file)
580 dest_file.close()
/external/u-boot/drivers/misc/
Dqfw.c102 dest = qemu_fwcfg_find_file(entry->pointer.dest_file); in bios_linker_add_pointer()
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc601 FilePath dest_file(dest_subdir.AppendASCII("file")); in TEST_F() local
608 ASSERT_TRUE(SetupWatch(dest_file, &file_watcher, file_delegate.get(), false)); in TEST_F()
/external/toolchain-utils/crosperf/
Dresults_cache.py69 dest_file = os.path.join(
71 ret = self.ce.CopyFiles(file_to_copy, dest_file, recursive=False)