Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dbionic_netlink.cpp78 ssize_t bytes_read; in ReadResponses() local
79 while ((bytes_read = TEMP_FAILURE_RETRY(recv(fd_.get(), data_, size_, 0))) > 0) { in ReadResponses()
81 for (; NLMSG_OK(hdr, static_cast<size_t>(bytes_read)); hdr = NLMSG_NEXT(hdr, bytes_read)) { in ReadResponses()
/bionic/tests/
Dfcntl_test.cpp188 …ssize_t bytes_read = splice(in, nullptr, pipe_fds[1], nullptr, 8*1024, SPLICE_F_MORE | SPLICE_F_MO… in TEST() local
189 ASSERT_NE(bytes_read, -1); in TEST()
191 …ssize_t bytes_written = splice(pipe_fds[0], nullptr, tf.fd, nullptr, bytes_read, SPLICE_F_MORE | S… in TEST()
192 ASSERT_EQ(bytes_read, bytes_written); in TEST()
237 …ssize_t bytes_read = splice(in, nullptr, pipe1[1], nullptr, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); in TEST() local
238 ASSERT_NE(bytes_read, -1); in TEST()
243 ASSERT_EQ(bytes_read, bytes_teed); in TEST()
Dutils.h236 ssize_t bytes_read; in Run() local
237 while ((bytes_read = TEMP_FAILURE_RETRY(read(fds[0], buf, sizeof(buf)))) > 0) { in Run()
238 output_.append(buf, bytes_read); in Run()
/bionic/libc/tzcode/
Dbionic.cpp117 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))); in __bionic_open_tzdata_path() local
118 if (bytes_read != sizeof(header)) { in __bionic_open_tzdata_path()
120 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read"); in __bionic_open_tzdata_path()
159 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read"); in __bionic_open_tzdata_path()
/bionic/libc/arch-arm/
Ddynamic_function_dispatch.cpp112 int bytes_read, total_read = 0; in init_cpu_variant() local
114 (bytes_read = ifunc_read(fd, name + total_read, in init_cpu_variant()
116 total_read += bytes_read; in init_cpu_variant()
120 if (bytes_read != 0) { in init_cpu_variant()
/bionic/libc/stdio/
Dstdio.cpp1137 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread_unlocked() local
1138 if (bytes_read <= 0) { in fread_unlocked()
1139 fp->_flags |= (bytes_read == 0) ? __SEOF : __SERR; in fread_unlocked()
1142 dst += bytes_read; in fread_unlocked()
1143 total -= bytes_read; in fread_unlocked()