Searched refs:dst_file (Results 1 – 3 of 3) sorted by relevance
/bionic/tests/ |
D | sys_sendfile_test.cpp | 31 TemporaryFile dst_file; in TEST() local 35 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); in TEST() 39 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); in TEST() 42 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); in TEST() 50 TemporaryFile dst_file; in TEST() local 54 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); in TEST() 58 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); in TEST() 61 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); in TEST()
|
/bionic/libc/kernel/tools/ |
D | clean_header.py | 82 def cleanupFile(dst_file, src_file, rel_path, no_update = True): argument 182 dst_file = os.path.join(dst_dir, path) variable 184 new_data = cleanupFile(dst_file, src_file, path) 199 dst_file = os.path.join(dst_dir, path) variable 201 new_data = cleanupFile(dst_file, src_file, path, no_update) 205 b.readFile(dst_file) 206 r = b.editFile(dst_file, new_data)
|
D | 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)
|