/external/autotest/client/bin/ |
D | local_host_unittest.py | 211 dest_dir = os.path.join(self.tmpdir.name, 'dest') 213 host.get_file(source_dir, dest_dir) 215 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file'))) 226 dest_dir = os.path.join(self.tmpdir.name, 'dest') 227 os.mkdir(dest_dir) 229 host.get_file(source_dir, dest_dir) 231 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file'))) 242 dest_dir = os.path.join(self.tmpdir.name, 'dest') 243 os.mkdir(dest_dir) 244 os.mkdir(os.path.join(dest_dir, 'dir')) [all …]
|
D | site_sysinfo.py | 204 def _copy_new_data_in_file(self, file_path, src_dir, dest_dir): argument 228 target_path = os.path.join(dest_dir, 239 def _log_diff(self, src_dir, dest_dir): argument 250 dest_dir = os.path.join(dest_dir, dir) 252 if not os.path.exists(dest_dir): 253 os.makedirs(dest_dir) 256 self._copy_new_data_in_file(src_file, src_dir, dest_dir)
|
/external/tensorflow/tensorflow/lite/experimental/micro/tools/make/ |
D | download_dependencies.sh | 92 local dest_dir=${am_dir}/boards/apollo3_evb/examples/hello_world/gcc_patched 94 rm -rf ${dest_dir} 95 mkdir ${dest_dir} 97 cp "${src_dir}/startup_gcc.c" "${dest_dir}/startup_gcc.c" 98 cp "${src_dir}/hello_world.ld" "${dest_dir}/apollo3evb.ld" 100 sed -i -e '114s/1024/1024\*20/g' "${dest_dir}/startup_gcc.c" 103 sed -i -e '3s/hello_world.ld/apollo3evb.ld/g' "${dest_dir}/apollo3evb.ld" 104 sed -i -e '3s/startup_gnu/startup_gcc/g' "${dest_dir}/apollo3evb.ld" 105 …\* XXX Currently not doing anything for global destructors. \*\/\\\n/g' "${dest_dir}/apollo3evb.ld" 106 ….o)\\\n \* to denote the HEAP start.\\\n \*\/\\\n end = .;/g' "${dest_dir}/apollo3evb.ld"
|
/external/mesa3d/src/gallium/targets/xvmc/ |
D | Makefile.am | 73 $(AM_V_GEN)dest_dir=$(DESTDIR)/$(xvmcdir); \ 78 ln -f $${dest_dir}/$${j}.$(XVMC_MAJOR).$(XVMC_MINOR).0 \ 79 $${dest_dir}/$${l}; \ 81 $${dest_dir}/$${k}.$(XVMC_MAJOR).$(XVMC_MINOR); \ 83 $${dest_dir}/$${k}.$(XVMC_MAJOR); \ 85 $${dest_dir}/$${k}; \ 87 $(RM) $${dest_dir}/libXvMCgallium.*; \ 88 $(RM) -d $${dest_dir} &>/dev/null || true
|
/external/python/oauth2client/scripts/ |
D | fetch_gae_sdk.py | 53 dest_dir = argv[1] if len(argv) > 1 else '.' 54 if not os.path.exists(dest_dir): 55 os.makedirs(dest_dir) 57 if os.path.exists(os.path.join(dest_dir, 'google_appengine')): 58 print('GAE SDK already installed at {0}, exiting.'.format(dest_dir)) 78 zip_contents.extractall(dest_dir)
|
/external/mesa3d/src/gallium/targets/vdpau/ |
D | Makefile.am | 112 $(AM_V_GEN)dest_dir=$(DESTDIR)/$(vdpaudir); \ 117 ln -f $${dest_dir}/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \ 118 $${dest_dir}/$${l}; \ 120 $${dest_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \ 122 $${dest_dir}/$${k}.$(VDPAU_MAJOR); \ 124 $${dest_dir}/$${k}; \ 126 $(RM) $${dest_dir}/libvdpau_gallium.*; \ 127 $(RM) -d $${dest_dir} &>/dev/null || true
|
/external/vulkan-validation-layers/build-android/ |
D | build.py | 253 dest_dir = os.path.join(installdir, properties['dest_dir']) 256 dst = os.path.join(dest_dir, d) 261 print(source_dir, ':', dest_dir, ":", f) 266 install_file(f, source_dir, dest_dir) 268 print(source_dir, ':', dest_dir, ":", f, "SKIPPED") 315 dest_dir = os.path.join(installdir, properties['dest_dir']) 317 dst = os.path.join(dest_dir, d)
|
/external/toolchain-utils/ |
D | remote_gcc_build.py | 236 def ReplaceSysroot(chromeos_root, dest_dir, target): argument 245 command = 'sudo mv {0} {1}'.format(dest_dir, board_dir) 307 dest_dir): argument 312 local_flag = '--local -r {0}'.format(dest_dir) 438 args.chrome_version, args.dest_dir) 439 if args.local or not args.dest_dir: 450 dest_dir = misc.CanonicalizePath(args.dest_dir) 461 DownloadImage(target, build_id, dest_dir, chromeos_version) 462 ret = UnpackImage(dest_dir) 469 ret = ReplaceSysroot(chromeos_root, args.dest_dir, target)
|
D | repo_to_repo.py | 77 def _RsyncExcludingRepoDirs(self, source_dir, dest_dir): argument 81 dest_file = os.path.join(dest_dir, f) 86 command = 'rsync -a %s %s' % (source_file, dest_dir) 90 def MapSources(self, dest_dir): argument 92 return self._RsyncExcludingRepoDirs(self._root_dir, dest_dir)
|
/external/autotest/client/cros/video/ |
D | chameleon_screenshot_capturer.py | 23 def __init__(self, chameleon_board, interface, display_facade, dest_dir, argument 39 self.dest_dir = dest_dir 97 fullpath = os.path.join(self.dest_dir, filename)
|
/external/skqp/tools/skp/ |
D | webpages_playback.py | 327 self._local_skp_dir, dest_dir=dest_dir_name) 440 def upload_dir_contents(self, source_dir, dest_dir): argument 471 def upload_dir_contents(self, source_dir, dest_dir): argument 473 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))]) 489 def upload_dir_contents(self, source_dir, dest_dir): argument 490 def copytree(source_dir, dest_dir): argument 491 if not os.path.exists(dest_dir): 492 os.makedirs(dest_dir) 495 dest = os.path.join(dest_dir, item) 500 copytree(source_dir, os.path.join(self._base_dir, dest_dir))
|
/external/toolchain-utils/fdo_scripts/ |
D | profile_cycler.py | 68 dest_dir = os.path.join(self._profile_dir, 71 if os.path.exists(dest_dir): 72 command = 'rm -rf %s' % dest_dir 79 command = 'mkdir -p %s' % dest_dir 82 dest_dir,
|
/external/tensorflow/tensorflow/tools/pip_package/ |
D | build_pip_package.sh | 30 local dest_dir=$2 35 mkdir -p "${dest_dir}/$(dirname ${f})" 36 cp "${f}" "${dest_dir}/$(dirname ${f})/" 40 mkdir -p "${dest_dir}/local_config_cuda/cuda/cuda/" 41 …cp "${src_dir}/local_config_cuda/cuda/cuda/cuda_config.h" "${dest_dir}/local_config_cuda/cuda/cuda…
|
/external/skia/tools/skp/ |
D | webpages_playback.py | 328 self._local_skp_dir, dest_dir=dest_dir_name) 446 def upload_dir_contents(self, source_dir, dest_dir): argument 477 def upload_dir_contents(self, source_dir, dest_dir): argument 479 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))]) 495 def upload_dir_contents(self, source_dir, dest_dir): argument 496 def copytree(source_dir, dest_dir): argument 497 if not os.path.exists(dest_dir): 498 os.makedirs(dest_dir) 501 dest = os.path.join(dest_dir, item) 506 copytree(source_dir, os.path.join(self._base_dir, dest_dir))
|
/external/clang/tools/scan-build-py/tests/unit/ |
D | test_intercept.py | 54 def create_csrutil(dest_dir, status): argument 55 filename = os.path.join(dest_dir, 'csrutil') 59 def create_sestatus(dest_dir, status): argument 60 filename = os.path.join(dest_dir, 'sestatus')
|
/external/autotest/utils/ |
D | packager.py | 90 def get_build_dir(name, dest_dir, pkg_type): argument 105 base_build_dir = os.path.join(dest_dir, 'client') 115 action, dest_dir=None): argument 145 build_dir = get_build_dir(name, dest_dir, pkg_type) 374 action=cur_action, dest_dir=options.output_dir) 378 action=cur_action, dest_dir=options.output_dir) 382 action=cur_action, dest_dir=options.output_dir)
|
/external/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()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | data_utils_test.py | 41 dest_dir = self.get_temp_dir() 60 untar=True, cache_subdir=dest_dir) 66 untar=True, cache_subdir=dest_dir) 69 extract=True, cache_subdir=dest_dir) 83 extract=True, cache_subdir=dest_dir) 86 extract=True, cache_subdir=dest_dir)
|
/external/autotest/client/common_lib/ |
D | packages.py | 822 def tar_package(self, pkg_name, src_dir, dest_dir, exclude_string=None): argument 828 tarball_path = os.path.join(dest_dir, pkg_name) 848 def untar_required(self, tarball_path, dest_dir): argument 854 checksum_path = os.path.join(dest_dir, '.checksum') 866 def untar_pkg(self, tarball_path, dest_dir): argument 875 (tarball_path, dest_dir)) 879 pkg_checksum_path = os.path.join(dest_dir,
|
/external/autotest/server/cros/servo/ |
D | servo.py | 24 def _extract_image_from_tarball(tarball, dest_dir, image_candidates): argument 36 ('tar xf %s -C %s %s' % (tarball, dest_dir, image)), 871 dest_dir = os.path.dirname(tarball_path) 872 image = _extract_image_from_tarball(tarball_path, dest_dir, 886 self.program_ec(os.path.join(dest_dir, image), rw_only) 888 self.program_bios(os.path.join(dest_dir, image), rw_only)
|
/external/grpc-grpc/third_party/py/ |
D | python_configure.bzl | 106 dest_dir, 117 dest_dir = _normalize_path(dest_dir) 127 # If we have only one file to link we do not want to use the dest_dir, as 129 dest = '$(@D)/' + dest_dir + dest_files[i] if len( 134 outs.append(' "' + dest_dir + dest_files[i] + '",')
|
/external/toolchain-utils/crosperf/ |
D | results_cache.py | 63 def CopyFilesTo(self, dest_dir, files_to_copy): argument 66 if not os.path.isdir(dest_dir): 67 command = 'mkdir -p %s' % dest_dir 70 dest_dir, ('%s.%s' % (os.path.basename(file_to_copy), file_index))) 75 def CopyResultsTo(self, dest_dir): argument 76 self.CopyFilesTo(dest_dir, self.perf_data_files) 77 self.CopyFilesTo(dest_dir, self.perf_report_files) 79 self._logger.LogOutput('Perf results files stored in %s.' % dest_dir)
|
/external/toolchain-utils/automation/common/ |
D | command.py | 223 def UnTar(tar_file, dest_dir): argument 225 MakeDir(dest_dir), Shell('tar', '-x', '-f', tar_file, '-C', dest_dir))
|
/external/autotest/client/cros/chameleon/ |
D | chameleon_video_capturer.py | 124 def write_images(self, frame_indices, dest_dir, image_format): argument 140 path = os.path.join(dest_dir, str(i) + '.' + image_format)
|
/external/autotest/client/bin/result_tools/ |
D | runner.py | 162 dest_dir = dest_path if os.path.isdir(dest_path) else dest_path 180 os.path.join(dest_dir, os.path.basename(summary_file)),
|