/external/snakeyaml/ |
patch-android-src | 33 dst_dir="$(dirname "$dst_file")" 83 mkdir -p "$dst_dir" 89 cd "$dst_dir"
|
/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...] |
/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...] |
/development/ndk/ |
unify_all.py | 63 dst_dir = os.path.join(dst, subdir) 64 if not os.path.exists(dst_dir): 65 os.makedirs(dst_dir) 74 dst_file = os.path.join(dst_dir, d) 78 new_dir = os.path.join(dst_dir, d) 87 dst_file = os.path.join(dst_dir, f) 92 shutil.copy2(src_file, dst_dir)
|
/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')))
|
/bionic/libc/kernel/tools/ |
clean_header.py | 158 dst_dir = get_kernel_dir() variable 168 dst_dir = arg 175 dst_file = os.path.join(dst_dir, path) 187 dst_file = os.path.join(dst_dir, path)
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
fake_filesystem_shutil.py | 110 dst_dir = os.path.dirname(dst) 111 if dst_dir: 112 if not self.filesystem.Exists(dst_dir): 114 dst_dir_object = self.filesystem.GetObject(dst_dir) 116 raise IOError(errno.EACCES, 'Permission denied', dst_dir)
|
fake_filesystem_shutil_test.py | 261 dst_dir = '/tmp/foo' 262 dst_file = '%s/%s' % (dst_dir, src_file) 265 self.filesystem.CreateDirectory(dst_dir, perm_bits=0o555) 267 self.assertTrue(self.filesystem.Exists(dst_dir)) 295 dst_dir = '/tmp/foo' 298 self.filesystem.CreateDirectory(dst_dir) 300 self.assertTrue(self.filesystem.Exists(dst_dir)) 301 self.assertRaises(IOError, self.shutil.copyfile, src_file, dst_dir)
|
/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)
|
/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)
|
/system/core/adb/ |
file_sync_client.cpp | 967 std::string dst_dir = dst; 978 if (dst_dir.back() != '/') { 979 dst_dir.push_back('/'); 981 dst_dir.append(android::base::Basename(src_path)); 984 success &= copy_local_dir_remote(sc, src_path, dst_dir.c_str(), false, false); [all...] |
/bionic/tools/versioner/src/ |
Preprocessor.cpp | 416 bool preprocessHeaders(const std::string& dst_dir, const std::string& src_dir, 459 std::string dst_path = dst_dir + "/" + rel_path; 497 std::string output_path = (llvm::Twine(dst_dir) + rel_path).str();
|