Home
last modified time | relevance | path

Searched refs:dst_file (Results 1 – 21 of 21) sorted by relevance

/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_shutil_test.py174 dst_file = self.make_path('xyzzy_copy')
178 self.assertFalse(os.path.exists(dst_file))
179 shutil.copy(src_file, dst_file)
180 self.assertTrue(os.path.exists(dst_file))
181 self.assertEqual(os.stat(src_file).st_mode, os.stat(dst_file).st_mode)
186 dst_file = os.path.join(parent_directory, 'xyzzy')
192 self.assertFalse(os.path.exists(dst_file))
194 self.assertTrue(os.path.exists(dst_file))
195 self.assertEqual(os.stat(src_file).st_mode, os.stat(dst_file).st_mode)
201 dst_file = self.make_path('xyzzy_copy')
[all …]
/external/swiftshader/third_party/llvm-10.0/scripts/
Dupdate.py276 with open(dst, 'w') as dst_file:
279 print(line, file=dst_file, end='')
280 print('', file=dst_file)
282 file=dst_file)
283 print('#define __i386__ 1', file=dst_file)
284 print('#endif', file=dst_file)
285 print('', file=dst_file)
287 … '#if !defined(__x86_64__) && (defined(_M_AMD64) || defined (_M_X64))', file=dst_file)
288 print('#define __x86_64__ 1', file=dst_file)
289 print('#endif', file=dst_file)
[all …]
/external/snakeyaml/
Dpatch-android-src32 dst_file="$3"
33 dst_dir="$(dirname "$dst_file")"
84 cp "$src_file_with_prefix" "$dst_file"
85 if ! [[ -f "$dst_file" ]]; then
86 echo "File "$dst_file" does not exist; patching will fail" >&2
90 patch --quiet "$(basename "$dst_file")" "$patch_file_src"
/external/vulkan-validation-layers/build-android/
Dbuild.py30 dst_file = os.path.join(dst_dir, file_name)
32 print('Copying {} to {}...'.format(src_file, dst_file))
34 _install_dir(src_file, dst_file)
36 _install_symlink(src_file, dst_file)
38 _install_file(src_file, dst_file)
48 def _install_symlink(src_file, dst_file): argument
49 dirname = os.path.dirname(dst_file)
53 os.symlink(link_target, dst_file)
56 def _install_file(src_file, dst_file): argument
57 dirname = os.path.dirname(dst_file)
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h289 unsigned dst_file, in tgsi_transform_op1_inst() argument
300 inst.Dst[0].Register.File = dst_file, in tgsi_transform_op1_inst()
313 unsigned dst_file, in tgsi_transform_op2_inst() argument
327 inst.Dst[0].Register.File = dst_file, in tgsi_transform_op2_inst()
342 unsigned dst_file, in tgsi_transform_op3_inst() argument
357 inst.Dst[0].Register.File = dst_file, in tgsi_transform_op3_inst()
373 unsigned dst_file, in tgsi_transform_op1_swz_inst() argument
385 inst.Dst[0].Register.File = dst_file, in tgsi_transform_op1_swz_inst()
414 unsigned dst_file, in tgsi_transform_op2_swz_inst() argument
430 inst.Dst[0].Register.File = dst_file, in tgsi_transform_op2_swz_inst()
[all …]
/external/rust/crates/zip/examples/
Dwrite_dir.rs46 let dst_file = &*args[2]; in real_main() localVariable
51 match doit(src_dir, dst_file, method.unwrap()) { in real_main()
52 Ok(_) => println!("done: {} written to {}", src_dir, dst_file), in real_main()
104 dst_file: &str, in doit()
111 let path = Path::new(dst_file); in doit()
/external/crosvm/disk/src/
Ddisk.rs217 fn convert_reader<R>(reader: &mut R, dst_file: File, dst_type: ImageType) -> Result<()> in convert_reader()
227 dst_file.set_len(0).map_err(Error::SettingFileSize)?; in convert_reader()
231 let mut dst_writer = QcowFile::new(dst_file, src_size).map_err(Error::QcowError)?; in convert_reader()
235 let mut dst_writer = dst_file; in convert_reader()
250 pub fn convert(src_file: File, dst_file: File, dst_type: ImageType) -> Result<()> { in convert()
255 convert_reader(&mut src_reader, dst_file, dst_type) in convert()
260 convert_reader(&mut src_reader, dst_file, dst_type) in convert()
/external/puffin/src/
Dmain.cc159 DEFINE_string(dst_file, "", "Target file"); \
298 auto dst_file = FileStream::Open(FLAGS_dst_file, false, true); in Main() local
299 TEST_AND_RETURN_FALSE(dst_file); in Main()
302 auto dst_stream = PuffinStream::CreateForHuff(std::move(dst_file), huffer, in Main()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.h81 rc_register_file dst_file,
Dradeon_compiler_util.c316 rc_register_file dst_file, in rc_src_reads_dst_mask() argument
320 if (src_file != dst_file || src_idx != dst_idx) { in rc_src_reads_dst_mask()
Dradeon_dataflow.c683 rc_register_file dst_file, in get_readers_for_single_write() argument
698 d->DstFile = dst_file; in get_readers_for_single_write()
/external/autotest/server/site_tests/telemetry_Crosperf/
Dtelemetry_Crosperf.py389 dst_file = os.path.join(dst_dir, 'perf.data')
390 shutil.copyfile(src_file, dst_file)
/external/crosvm/qcow_utils/src/
Dqcow_img.rs293 let dst_file = match OpenOptions::new() in convert() localVariable
312 match disk::convert(src_file, dst_file, dst_type) { in convert()
/external/compiler-rt/cmake/Modules/
DAddCompilerRT.cmake313 set(dst_file "${COMPILER_RT_OUTPUT_DIR}/${file_name}") variable
314 add_custom_command(OUTPUT ${dst_file}
316 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src_file} ${dst_file}
318 add_custom_target(${target_name} DEPENDS ${dst_file})
/external/llvm-project/lldb/source/Target/
DPlatform.cpp598 FileSpec dst_file = rc_baton->dst; in RecurseCopy_Callback() local
599 if (!dst_file.GetFilename()) in RecurseCopy_Callback()
600 dst_file.GetFilename() = src.GetFilename(); in RecurseCopy_Callback()
610 rc_baton->platform_ptr->CreateSymlink(dst_file, src_resolved); in RecurseCopy_Callback()
620 FileSpec dst_file = rc_baton->dst; in RecurseCopy_Callback() local
621 if (!dst_file.GetFilename()) in RecurseCopy_Callback()
622 dst_file.GetFilename() = src.GetFilename(); in RecurseCopy_Callback()
623 Status err = rc_baton->platform_ptr->PutFile(src, dst_file); in RecurseCopy_Callback()
/external/python/cpython2/Lib/test/
Dtest_shutil.py668 self.dst_file = os.path.join(self.dst_dir, filename)
705 self._check_move_file(self.src_file, self.dst_file, self.dst_file)
709 self._check_move_file(self.src_file, self.dst_dir, self.dst_file)
772 with open(self.dst_file, "wb"):
/external/python/cpython3/Lib/test/
Dtest_shutil.py1225 dst_file = os.path.join(dst_dir, 'bar')
1228 rv = shutil.copyfile(src_file, dst_file)
1230 self.assertEqual(read_file(src_file), read_file(dst_file))
1886 self.dst_file = os.path.join(self.dst_dir, filename)
1906 self._check_move_file(self.src_file, self.dst_file, self.dst_file)
1910 self._check_move_file(self.src_file, self.dst_dir, self.dst_file)
1915 self._check_move_file(src, self.dst_dir, self.dst_file)
1920 self._check_move_file(self.src_file, dst, self.dst_file)
1966 with open(self.dst_file, "wb"):
2004 shutil.move(dst, self.dst_file)
[all …]
/external/llvm-project/compiler-rt/cmake/Modules/
DAddCompilerRT.cmake490 set(dst_file "${COMPILER_RT_OUTPUT_DIR}/share/${file_name}") variable
491 add_custom_command(OUTPUT ${dst_file}
493 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src_file} ${dst_file}
495 add_custom_target(${target_name} DEPENDS ${dst_file})
/external/mesa3d/src/intel/compiler/
Dbrw_eu_validate.c1754 enum brw_reg_file dst_file = brw_inst_dst_reg_file(devinfo, inst); in special_requirements_for_handling_double_precision_data_types() local
1864 (BRW_ARCHITECTURE_REGISTER_FILE == dst_file && in special_requirements_for_handling_double_precision_data_types()
Dbrw_eu_compact.c1630 enum brw_reg_file dst_file = brw_inst_dst_reg_file(devinfo, &inst); in precompact() local
1633 brw_inst_set_dst_file_type(devinfo, &inst, dst_file, BRW_REGISTER_TYPE_UD); in precompact()
/external/libchrome/base/files/
Dfile_util_unittest.cc1269 FilePath dst_file = dst.Append(FILE_PATH_LITERAL("src.txt")); in TEST_F() local
1274 ASSERT_FALSE(IsReadOnly(dst_file)); in TEST_F()