Searched refs:dst_file (Results 1 - 1 of 1) sorted by relevance
/bionic/tests/ |
H A D | 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)));
|
Completed in 58 milliseconds