Home
last modified time | relevance | path

Searched refs:dst_dir (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_shutil.py157 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/python/cpython3/Lib/test/
Dtest_shutil.py620 dst_dir = os.path.join(tempfile.mkdtemp(), 'destination')
622 self.addCleanup(shutil.rmtree, os.path.dirname(dst_dir))
627 shutil.copytree(src_dir, dst_dir)
628 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt')))
629 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir')))
630 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir',
632 actual = read_file((dst_dir, 'test.txt'))
634 actual = read_file((dst_dir, 'test_dir', 'test.txt'))
641 dst_dir = os.path.join(tmp_dir, 'dst')
647 dst_link = os.path.join(dst_dir, 'sub/link')
[all …]
/external/skia/bin/
Ddroid11 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/skqp/bin/
Ddroid11 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/python/cpython2/Modules/_ctypes/libffi/
Dgenerate-darwin-source-and-headers.py100 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/
Dgenerate-darwin-source-and-headers.py100 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/snakeyaml/
Dpatch-android-src33 dst_dir="$(dirname "$dst_file")"
83 mkdir -p "$dst_dir"
89 cd "$dst_dir"
/external/vulkan-validation-layers/build-android/
Dbuild.py28 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__.py20 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/python/cpython2/Lib/distutils/tests/
Dtest_file_util.py78 dst_dir = self.mkdtemp()
79 copy_file(foo, dst_dir)
80 self.assertTrue(os.path.exists(os.path.join(dst_dir, 'foo')))
/external/python/setuptools/setuptools/
Dwheel.py31 def unpack(src_dir, dst_dir): argument
37 dst = os.path.join(dst_dir, subdir, f)
41 dst = os.path.join(dst_dir, subdir, d)
/external/autotest/server/cros/faft/
Dfingerprint_test.py411 def copy_files_to_dut(self, src_dir, dst_dir): argument
413 logging.info('Copying files from (%s) to (%s).', src_dir, dst_dir)
414 self.host.send_file(src_dir, dst_dir, delete_dest=True)
/external/autotest/site_utils/lxc/
Dcontainer.py604 dst_dir = os.path.dirname(dst)
610 (dst_dir, src, dst))