Home
last modified time | relevance | path

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

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