/external/snakeyaml/ |
patch-android-src | 32 dst_file="$3" 33 dst_dir="$(dirname "$dst_file")" 84 cp "$src_file_with_prefix" "$dst_file" 85 if ! [[ -f "$dst_file" ]]; then 86 echo "File "$dst_file" does not exist; patching will fail" >&2 90 patch "$(basename "$dst_file")" "$patch_file_src" 91 echo "Successfully applied patch $patch_file_src into copy of file $dst_file"
|
/bionic/tests/ |
sys_sendfile_test.cpp | 30 TemporaryFile dst_file; local 34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); 38 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); 41 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); 49 TemporaryFile dst_file; local 53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); 57 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); 60 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2)));
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
fake_filesystem_shutil_test.py | 48 dst_file = 'xyzzy_copy' 52 self.assertFalse(self.filesystem.Exists(dst_file)) 53 self.shutil.copy(src_file, dst_file) 54 self.assertTrue(self.filesystem.Exists(dst_file)) 55 dst_obj = self.filesystem.GetObject(dst_file) 61 dst_file = '%s/%s' % (parent_directory, src_file) 67 self.assertFalse(self.filesystem.Exists(dst_file)) 69 self.assertTrue(self.filesystem.Exists(dst_file)) 70 dst_obj = self.filesystem.GetObject(dst_file) 75 dst_file = 'xyzzy_copy [all...] |
/system/media/camera/docs/ |
metadata-generate | 122 local dst_file="$2" 126 local start_line="$(grep -n -F "${start_delim}" "${dst_file}" | cut -d: -f1)" 127 local end_line="$(grep -n -F "${end_delim}" "${dst_file}" | cut -d: -f1)" 136 echo "No starting delimiter found in ${dst_file}" >& 2 137 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 142 echo "No ending delimiter found in ${dst_file}" >& 2 143 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 149 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 157 head -n "$start_line" "${dst_file}" > "${tmp_name}" 159 tail -n "+${end_line}" "${dst_file}" >> "${tmp_name} [all...] |
/external/vulkan-validation-layers/build-android/ |
build.py | 30 dst_file = os.path.join(dst_dir, file_name) 32 print('Copying {} to {}...'.format(src_file, dst_file)) 34 _install_dir(src_file, dst_file) 36 _install_symlink(src_file, dst_file) 38 _install_file(src_file, dst_file) 48 def _install_symlink(src_file, dst_file): 49 dirname = os.path.dirname(dst_file) 53 os.symlink(link_target, dst_file) 56 def _install_file(src_file, dst_file): 57 dirname = os.path.dirname(dst_file) [all...] |
/test/vts/compilation_tools/vtsc/ |
VtsCompilerMain.cpp | 129 string dst_file = android::vts::RemoveBaseDir( local 133 dst_file = android::vts::PathJoin(dst_file.c_str(), ".h"); 135 dst_file = android::vts::PathJoin(dst_file.c_str(), ".cpp"); 140 cout << "-> " << dst_file.c_str() << endl; 143 mode, src_file.c_str(), dst_file.c_str(), type);
|
/bionic/libc/kernel/tools/ |
update_all.py | 52 dst_file = os.path.join(update_dir, rel_path) 53 new_data = clean_header.cleanupFile(dst_file, src_file, rel_path) 56 updater.readFile(dst_file) 57 ret_val = updater.editFile(dst_file, new_data)
|
clean_header.py | 82 def cleanupFile(dst_file, src_file, rel_path, no_update = True): 175 dst_file = os.path.join(dst_dir, path) 177 new_data = cleanupFile(dst_file, src_file, path) 187 dst_file = os.path.join(dst_dir, path) 189 new_data = cleanupFile(dst_file, src_file, path, no_update)
|
/external/toolchain-utils/fdo_scripts/ |
divide_and_merge_profiles.py | 62 dst_file = os.path.join(output_dir, f) 63 if not os.path.isdir(os.path.dirname(dst_file)): 64 command = 'mkdir -p %s' % os.path.dirname(dst_file) 66 command = 'cp %s %s' % (src_file, dst_file)
|
/development/ndk/ |
unify_all.py | 74 dst_file = os.path.join(dst_dir, d) 75 logger().debug('Symlinking %s to %s', dst_file, linkto) 76 os.symlink(linkto, dst_file) 87 dst_file = os.path.join(dst_dir, f) 88 logger().debug('Symlinking %s to %s', dst_file, linkto) 89 os.symlink(linkto, dst_file)
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_compiler_util.h | 54 rc_register_file dst_file,
|
radeon_compiler_util.c | 316 rc_register_file dst_file, 320 if (src_file != dst_file || src_idx != dst_idx) {
|
radeon_dataflow.c | 683 rc_register_file dst_file, 698 d->DstFile = dst_file;
|
/tools/repohooks/rh/ |
git.py | 124 status=None, score=None, src_file=None, dst_file=None, file=None) 132 r'(?P<src_file>[^\t]+)\t?(?P<dst_file>[^\t]+)?') 157 diff.file = diff.dst_file if diff.dst_file else diff.src_file
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_shutil.py | 572 self.dst_file = os.path.join(self.dst_dir, filename)
609 self._check_move_file(self.src_file, self.dst_file, self.dst_file)
613 self._check_move_file(self.src_file, self.dst_dir, self.dst_file)
671 with open(self.dst_file, "wb"):
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_shutil.py | 606 self.dst_file = os.path.join(self.dst_dir, filename) 643 self._check_move_file(self.src_file, self.dst_file, self.dst_file) 647 self._check_move_file(self.src_file, self.dst_dir, self.dst_file) 705 with open(self.dst_file, "wb"):
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_shutil.py | 606 self.dst_file = os.path.join(self.dst_dir, filename) 643 self._check_move_file(self.src_file, self.dst_file, self.dst_file) 647 self._check_move_file(self.src_file, self.dst_dir, self.dst_file) 705 with open(self.dst_file, "wb"):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 606 self.dst_file = os.path.join(self.dst_dir, filename) 643 self._check_move_file(self.src_file, self.dst_file, self.dst_file) 647 self._check_move_file(self.src_file, self.dst_dir, self.dst_file) 705 with open(self.dst_file, "wb"):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 606 self.dst_file = os.path.join(self.dst_dir, filename) 643 self._check_move_file(self.src_file, self.dst_file, self.dst_file) 647 self._check_move_file(self.src_file, self.dst_dir, self.dst_file) 705 with open(self.dst_file, "wb"):
|