/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)));
|
/system/media/camera/docs/ |
metadata-generate | 110 local dst_file="$2" 114 local start_line="$(grep -n -F "${start_delim}" "${dst_file}" | cut -d: -f1)" 115 local end_line="$(grep -n -F "${end_delim}" "${dst_file}" | cut -d: -f1)" 124 echo "No starting delimiter found in ${dst_file}" >& 2 125 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 130 echo "No ending delimiter found in ${dst_file}" >& 2 131 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 137 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 145 head -n "$start_line" "${dst_file}" > "${tmp_name}" 147 tail -n "+${end_line}" "${dst_file}" >> "${tmp_name} [all...] |
/external/chromium_org/remoting/host/installer/ |
build-installer-archive.py | 115 dst_file = os.path.join(dst_root, src_file) 117 dst_dir = os.path.dirname(dst_file) 120 return dst_file 123 def copyFileWithDefs(src_file, dst_file, defs): 124 """Copies from src_file to dst_file, performing variable substitution. 131 dst_file: Relative path (and filename) where src_file should be copied. 140 open(dst_file, 'w').write(data) 141 shutil.copystat(src_file, dst_file) 190 dst_file = remapSrcFile(temp_dir, source_file_roots, f) 196 copyFileWithDefs(f, dst_file, defs [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/ |
generate_make.py | 175 dst_file = os.path.join(dst_dir, src_name) 176 if os.path.exists(dst_file): 177 if os.stat(src_file).st_mtime <= os.stat(dst_file).st_mtime: 179 src_file, dst_file)) 181 dst_path = os.path.dirname(dst_file) 184 buildbot_common.CopyFile(src_file, dst_file)
|
/external/chromium_org/tools/protoc_wrapper/ |
protoc_wrapper.py | 52 with open(os.path.join(wrapper_dir, filename), 'w') as dst_file: 61 dst_file.write(line)
|
/external/chromium_org/third_party/mesa/src/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;
|
/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;
|
/external/chromium_org/third_party/android_crazy_linker/src/tests/ |
test_util.h | 233 ScopedFILE dst_file; local 234 dst_file.Open(dst_path.c_str(), "wb"); 240 size_t written = fwrite(buffer, 1, read, dst_file.file());
|
/ndk/sources/android/crazy_linker/tests/ |
test_util.h | 233 ScopedFILE dst_file; local 234 dst_file.Open(dst_path.c_str(), "wb"); 240 size_t written = fwrite(buffer, 1, read, dst_file.file());
|
/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"):
|
/external/chromium_org/base/ |
file_util_unittest.cc | 1429 FilePath dst_file = dst.Append(FILE_PATH_LITERAL("src.txt")); local [all...] |