Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_shutil.py156 dst_dir = os.path.join(tempfile.mkdtemp(), 'destination')
164 shutil.copytree(src_dir, dst_dir)
165 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt')))
166 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir')))
167 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir',
169 actual = read_data(os.path.join(dst_dir, 'test.txt'))
171 actual = read_data(os.path.join(dst_dir, 'test_dir', 'test.txt'))
176 os.path.join(dst_dir, 'test.txt'),
178 os.path.join(dst_dir, 'test_dir', 'test.txt'),
183 os.path.dirname(dst_dir)
[all …]
/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/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')))