/external/python/cpython2/Lib/test/ |
D | test_shutil.py | 157 dst_dir = os.path.join(tempfile.mkdtemp(), 'destination') 165 shutil.copytree(src_dir, dst_dir) 166 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt'))) 167 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir'))) 168 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir', 170 actual = read_data(os.path.join(dst_dir, 'test.txt')) 172 actual = read_data(os.path.join(dst_dir, 'test_dir', 'test.txt')) 177 os.path.join(dst_dir, 'test.txt'), 179 os.path.join(dst_dir, 'test_dir', 'test.txt'), 184 os.path.dirname(dst_dir) [all …]
|
/external/skia/bin/ |
D | droid | 11 dst_dir=/data/local/tmp 27 adb shell "cd \"$dst_dir\"; mkdir -p $dirs" 28 adb push --sync resources "${dst_dir}/" 29 adb push --sync "$path" "${dst_dir}/${name}" 30 adb shell "cd \"$dst_dir\"; chmod +x \"$name\"; \"./$name\" $*"
|
/external/swiftshader/tests/ |
D | rundroid.sh | 15 dst_dir=/data/local/tmp 28 adb push --sync "$lib" "${dst_dir}/${lib}" 31 …k-bundle/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libc++_shared.so" "${dst_dir}/libc++_shared.so" 33 adb push --sync "$path" "${dst_dir}/${name}" 34 adb shell "cd \"$dst_dir\"; chmod +x \"$name\"; LD_LIBRARY_PATH=. ./$name $*"
|
/external/python/cpython3/Lib/test/ |
D | test_shutil.py | 448 dst_dir = os.path.join(self.mkdtemp(), 'destination') 450 self.addCleanup(shutil.rmtree, os.path.dirname(dst_dir)) 455 shutil.copytree(src_dir, dst_dir) 456 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt'))) 457 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir'))) 458 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir', 460 actual = read_file((dst_dir, 'test.txt')) 462 actual = read_file((dst_dir, 'test_dir', 'test.txt')) 467 dst_dir = self.mkdtemp() 469 self.addCleanup(shutil.rmtree, dst_dir) [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/ |
D | generate-darwin-source-and-headers.py | 100 def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''): argument 101 mkdir_p(dst_dir) 109 with open(os.path.join(dst_dir, out_filename), 'w') as out_file: 125 def copy_files(src_dir, dst_dir, pattern=None, filelist=None, file_suffix=None, prefix=None, suffix… argument 127 move_file(src_dir, dst_dir, filename, file_suffix=file_suffix, prefix=prefix, suffix=suffix) 132 dst_dir = os.path.join(platform.directory, 'src', platform.src_dir) 133 …copy_files(src_dir, dst_dir, filelist=platform.src_files, file_suffix=platform.arch, prefix=platfo…
|
/external/libffi/ |
D | generate-darwin-source-and-headers.py | 98 def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''): argument 99 mkdir_p(dst_dir) 110 with open(os.path.join(dst_dir, out_filename), 'w') as out_file: 126 def copy_files(src_dir, dst_dir, pattern=None, filelist=None, file_suffix=None, prefix=None, suffix… argument 128 move_file(src_dir, dst_dir, filename, file_suffix=file_suffix, prefix=prefix, suffix=suffix) 133 dst_dir = os.path.join(platform.directory, 'src', platform.src_dir) 134 …copy_files(src_dir, dst_dir, filelist=platform.src_files, file_suffix=platform.arch, prefix=platfo…
|
/external/snakeyaml/ |
D | patch-android-src | 33 dst_dir="$(dirname "$dst_file")" 83 mkdir -p "$dst_dir" 89 cd "$dst_dir"
|
/external/vulkan-validation-layers/build-android/ |
D | build.py | 28 def install_file(file_name, src_dir, dst_dir): argument 30 dst_file = os.path.join(dst_dir, file_name) 41 def _install_dir(src_dir, dst_dir): argument 42 parent_dir = os.path.normpath(os.path.join(dst_dir, '..')) 45 shutil.copytree(src_dir, dst_dir, symlinks=True)
|
/external/clang/tools/scan-build-py/libear/ |
D | __init__.py | 20 def build_libear(compiler, dst_dir): argument 46 os.path.join(dst_dir, 'config.h')) 49 target.add_include(dst_dir) 53 target.build_release(dst_dir) 55 return os.path.join(dst_dir, target.name)
|
/external/freetype/src/tools/ |
D | make_distribution_archives.py | 135 dst_dir = os.path.dirname(dst) 136 if not os.path.exists(dst_dir): 137 os.makedirs(dst_dir)
|
/external/python/asn1crypto/dev/ |
D | deps.py | 305 dst_dir = os.path.dirname(dst_path) 306 if not os.path.exists(dst_dir): 307 os.makedirs(dst_dir) 351 dst_dir = os.path.dirname(dst_path) 352 if not os.path.exists(dst_dir): 353 os.makedirs(dst_dir)
|
/external/tensorflow/tensorflow/tools/pip_package/ |
D | build_pip_package.sh | 46 local dst_dir=$2 66 mkdir -p "${dst_dir}/${dn}" 67 cp $file "${dst_dir}/${file}" 72 cp tensorflow/tools/pip_package/xla_build/CMakeLists.txt "${dst_dir}"
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_file_util.py | 78 dst_dir = self.mkdtemp() 79 copy_file(foo, dst_dir) 80 self.assertTrue(os.path.exists(os.path.join(dst_dir, 'foo')))
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_filesystem_shutil_test.py | 453 dst_dir = self.make_path('tmp', 'foo') 454 dst_file = os.path.join(dst_dir, 'xyzzy') 457 self.create_dir(dst_dir) 458 os.chmod(dst_dir, 0o555) 460 self.assertTrue(os.path.exists(dst_dir)) 503 dst_dir = self.make_path('tmp', 'foo') 506 self.create_dir(dst_dir) 508 self.assertTrue(os.path.exists(dst_dir)) 510 shutil.copyfile(src_file, dst_dir)
|
/external/python/setuptools/setuptools/ |
D | wheel.py | 30 def unpack(src_dir, dst_dir): argument 36 dst = os.path.join(dst_dir, subdir, f) 40 dst = os.path.join(dst_dir, subdir, d)
|
/external/autotest/server/site_tests/telemetry_Crosperf/ |
D | telemetry_Crosperf.py | 386 dst_dir = os.path.join(self.profdir, ''.join( 388 os.makedirs(dst_dir) 389 dst_file = os.path.join(dst_dir, 'perf.data')
|
/external/icing/icing/file/ |
D | filesystem_test.cc | 477 const std::string dst_dir = temp_dir_ + "/dst_dir"; in TEST_F() local 478 EXPECT_TRUE(filesystem.CopyDirectory(src_dir.c_str(), dst_dir.c_str(), in TEST_F() 486 EXPECT_TRUE(filesystem.ListDirectory(dst_dir.c_str(), /*exclude=*/{}, in TEST_F() 493 ASSERT_TRUE(filesystem.DeleteDirectoryRecursively(dst_dir.c_str())); in TEST_F()
|
D | filesystem.cc | 487 bool Filesystem::CopyDirectory(const char* src_dir, const char* dst_dir, in CopyDirectory() argument 504 std::string full_dst_path = absl_ports::StrCat(dst_dir, "/", p->d_name); in CopyDirectory() 517 std::string dst_sub_dir = absl_ports::StrCat(dst_dir, "/", p->d_name); in CopyDirectory()
|
D | filesystem.h | 88 virtual bool CopyDirectory(const char* src_dir, const char* dst_dir,
|
/external/oss-fuzz/infra/cifuzz/filestore/github_actions/ |
D | github_actions_test.py | 90 dst_dir = 'local-dir' 91 self.assertFalse(filestore.download_corpus(name, dst_dir))
|
/external/pigweed/pw_docgen/py/pw_docgen/ |
D | docgen.py | 73 dst_dir: str,
|
/external/autotest/site_utils/lxc/ |
D | container.py | 596 dst_dir = os.path.dirname(dst) 602 (dst_dir, src, dst))
|
/external/autotest/server/cros/faft/ |
D | fingerprint_test.py | 862 def copy_files_to_dut(self, src_dir, dst_dir): argument 864 logging.info('Copying files from (%s) to (%s).', src_dir, dst_dir) 865 self.host.send_file(src_dir, dst_dir, delete_dest=True)
|
/external/zstd/contrib/freestanding_lib/ |
D | freestanding.py | 487 dst_dir = os.path.join(self._dst_lib, subdir) 490 os.makedirs(dst_dir, exist_ok=True)
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/ |
D | gcs_filesystem.cc | 1016 std::string dst_dir = dst; in RenameFile() local 1018 MaybeAppendSlash(&dst_dir); in RenameFile() 1020 RenameObject(filesystem, src_dir + children, dst_dir + children, status); in RenameFile()
|