Searched refs:bytes_read (Results 1 - 2 of 2) sorted by relevance

/bionic/tests/
H A Dfcntl_test.cpp166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); local
167 ASSERT_NE(bytes_read, -1);
169 ssize_t bytes_written = splice(pipe_fds[0], NULL, tf.fd, 0, bytes_read, SPLICE_F_MORE | SPLICE_F_MOVE);
170 ASSERT_EQ(bytes_read, bytes_written);
215 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); local
216 ASSERT_NE(bytes_read, -1);
221 ASSERT_EQ(bytes_read, bytes_teed);
/bionic/libc/tzcode/
H A Dlocaltime.c2157 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))); local
2158 if (bytes_read != sizeof(header)) {
2160 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read");
2201 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read");

Completed in 71 milliseconds