/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_shutil.py | 154 dst_dir = os.path.join(tempfile.mkdtemp(), 'destination')
162 shutil.copytree(src_dir, dst_dir)
163 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt')))
164 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir')))
165 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir',
167 actual = read_data(os.path.join(dst_dir, 'test.txt'))
169 actual = read_data(os.path.join(dst_dir, 'test_dir', 'test.txt'))
174 os.path.join(dst_dir, 'test.txt'),
176 os.path.join(dst_dir, 'test_dir', 'test.txt'),
181 os.path.dirname(dst_dir)
[all...] |
/external/python/cpython2/Lib/test/ |
test_shutil.py | 156 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...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_shutil.py | 155 dst_dir = os.path.join(tempfile.mkdtemp(), 'destination') 163 shutil.copytree(src_dir, dst_dir) 164 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt'))) 165 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir'))) 166 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir', 168 actual = read_data(os.path.join(dst_dir, 'test.txt')) 170 actual = read_data(os.path.join(dst_dir, 'test_dir', 'test.txt')) 175 os.path.join(dst_dir, 'test.txt'), 177 os.path.join(dst_dir, 'test_dir', 'test.txt'), 182 os.path.dirname(dst_dir) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_shutil.py | 155 dst_dir = os.path.join(tempfile.mkdtemp(), 'destination') 163 shutil.copytree(src_dir, dst_dir) 164 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt'))) 165 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir'))) 166 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir', 168 actual = read_data(os.path.join(dst_dir, 'test.txt')) 170 actual = read_data(os.path.join(dst_dir, 'test_dir', 'test.txt')) 175 os.path.join(dst_dir, 'test.txt'), 177 os.path.join(dst_dir, 'test_dir', 'test.txt'), 182 os.path.dirname(dst_dir) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 155 dst_dir = os.path.join(tempfile.mkdtemp(), 'destination') 163 shutil.copytree(src_dir, dst_dir) 164 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt'))) 165 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir'))) 166 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir', 168 actual = read_data(os.path.join(dst_dir, 'test.txt')) 170 actual = read_data(os.path.join(dst_dir, 'test_dir', 'test.txt')) 175 os.path.join(dst_dir, 'test.txt'), 177 os.path.join(dst_dir, 'test_dir', 'test.txt'), 182 os.path.dirname(dst_dir) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 155 dst_dir = os.path.join(tempfile.mkdtemp(), 'destination') 163 shutil.copytree(src_dir, dst_dir) 164 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt'))) 165 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir'))) 166 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir', 168 actual = read_data(os.path.join(dst_dir, 'test.txt')) 170 actual = read_data(os.path.join(dst_dir, 'test_dir', 'test.txt')) 175 os.path.join(dst_dir, 'test.txt'), 177 os.path.join(dst_dir, 'test_dir', 'test.txt'), 182 os.path.dirname(dst_dir) [all...] |
/external/libffi/ |
generate-darwin-source-and-headers.py | 100 def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''): 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=None): 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=platform.prefix, suffix=platform.suffix)
|
/external/python/cpython2/Modules/_ctypes/libffi/ |
generate-darwin-source-and-headers.py | 100 def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''): 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=None): 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=platform.prefix, suffix=platform.suffix)
|
/external/python/cpython3/Modules/_ctypes/libffi/ |
generate-darwin-source-and-headers.py | 100 def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''): 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=None): 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=platform.prefix, suffix=platform.suffix)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_file_util.py | 73 dst_dir = self.mkdtemp()
74 copy_file(foo, dst_dir)
75 self.assertTrue(os.path.exists(os.path.join(dst_dir, 'foo')))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_file_util.py | 73 dst_dir = self.mkdtemp() 74 copy_file(foo, dst_dir) 75 self.assertTrue(os.path.exists(os.path.join(dst_dir, 'foo')))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_file_util.py | 73 dst_dir = self.mkdtemp() 74 copy_file(foo, dst_dir) 75 self.assertTrue(os.path.exists(os.path.join(dst_dir, 'foo')))
|
/external/python/cpython3/Lib/test/ |
test_shutil.py | 622 dst_dir = os.path.join(tempfile.mkdtemp(), 'destination') 624 self.addCleanup(shutil.rmtree, os.path.dirname(dst_dir)) 629 shutil.copytree(src_dir, dst_dir) 630 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt'))) 631 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir'))) 632 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir', 634 actual = read_file((dst_dir, 'test.txt')) 636 actual = read_file((dst_dir, 'test_dir', 'test.txt')) 643 dst_dir = os.path.join(tmp_dir, 'dst') 649 dst_link = os.path.join(dst_dir, 'sub/link' [all...] |
/external/snakeyaml/ |
patch-android-src | 33 dst_dir="$(dirname "$dst_file")" 83 mkdir -p "$dst_dir" 89 cd "$dst_dir"
|
/external/clang/tools/scan-build-py/libear/ |
__init__.py | 20 def build_libear(compiler, dst_dir): 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/vulkan-validation-layers/build-android/ |
build.py | 28 def install_file(file_name, src_dir, dst_dir): 30 dst_file = os.path.join(dst_dir, file_name) 41 def _install_dir(src_dir, dst_dir): 42 parent_dir = os.path.normpath(os.path.join(dst_dir, '..')) 45 shutil.copytree(src_dir, dst_dir, symlinks=True)
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/build-android/ |
build.py | 28 def install_file(file_name, src_dir, dst_dir): 30 dst_file = os.path.join(dst_dir, file_name) 41 def _install_dir(src_dir, dst_dir): 42 parent_dir = os.path.normpath(os.path.join(dst_dir, '..')) 45 shutil.copytree(src_dir, dst_dir, symlinks=True)
|
/bionic/libc/kernel/tools/ |
clean_header.py | 155 dst_dir = get_kernel_dir() variable 165 dst_dir = arg 172 dst_file = os.path.join(dst_dir, path) 184 dst_file = os.path.join(dst_dir, path)
|
/external/deqp/ |
CMakeLists.txt | 234 macro (add_data_dir MODULE_NAME SRC_DIR DST_DIR) 236 add_custom_command(TARGET "${MODULE_NAME}${MODULE_DATA_TARGET_POSTFIX}" POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/${SRC_DIR} ${CMAKE_CURRENT_BINARY_DIR}/${DST_DIR}) 239 add_custom_command(TARGET "${MODULE_NAME}${MODULE_DATA_TARGET_POSTFIX}" POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/${SRC_DIR} ${CMAKE_BINARY_DIR}/assets/${DST_DIR}) 242 add_custom_command(TARGET "${MODULE_NAME}${MODULE_DATA_TARGET_POSTFIX}" POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/${SRC_DIR} ${CMAKE_BINARY_DIR}/\${CONFIGURATION}\${EFFECTIVE_PLATFORM_NAME}/deqp.app/${DST_DIR})
|
/external/python/cpython2/Lib/distutils/tests/ |
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')))
|
/test/vts-testcase/fuzz/template/iface_fuzzer_test/ |
iface_fuzzer_test.py | 51 dst_dir = os.path.join(self._VTS_SPEC_DIR_TARGET, hal_name_dir, 61 self._dut.adb.push(src_dir, dst_dir)
|
/system/core/adb/ |
file_sync_client.cpp | 978 std::string dst_dir = dst; 989 if (dst_dir.back() != '/') [all...] |
/bionic/tools/versioner/src/ |
Preprocessor.cpp | 417 bool preprocessHeaders(const std::string& dst_dir, const std::string& src_dir, 460 std::string dst_path = dst_dir + "/" + rel_path; 498 std::string output_path = (llvm::Twine(dst_dir) + rel_path).str();
|
/external/autotest/site_utils/lxc/ |
container.py | 556 # Create the dst dir. mkdir -p will not fail if dst_dir exists. 557 dst_dir = os.path.dirname(dst) 563 (dst_dir, src, dst))
|