Searched refs:bytes_read (Results 1 – 6 of 6) sorted by relevance
| /bionic/libc/bionic/ |
| D | bionic_netlink.cpp | 82 ssize_t bytes_read; in ReadResponses() local 83 while ((bytes_read = TEMP_FAILURE_RETRY(recv(fd_, data_, size_, 0))) > 0) { in ReadResponses() 85 for (; NLMSG_OK(hdr, static_cast<size_t>(bytes_read)); hdr = NLMSG_NEXT(hdr, bytes_read)) { in ReadResponses()
|
| /bionic/tests/ |
| D | fcntl_test.cpp | 176 …ssize_t bytes_read = splice(in, nullptr, pipe_fds[1], nullptr, 8*1024, SPLICE_F_MORE | SPLICE_F_MO… in TEST() local 177 ASSERT_NE(bytes_read, -1); in TEST() 179 …ssize_t bytes_written = splice(pipe_fds[0], nullptr, tf.fd, nullptr, bytes_read, SPLICE_F_MORE | S… in TEST() 180 ASSERT_EQ(bytes_read, bytes_written); in TEST() 225 …ssize_t bytes_read = splice(in, nullptr, pipe1[1], nullptr, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); in TEST() local 226 ASSERT_NE(bytes_read, -1); in TEST() 231 ASSERT_EQ(bytes_read, bytes_teed); in TEST()
|
| D | utils.h | 238 ssize_t bytes_read; in Run() local 239 while ((bytes_read = TEMP_FAILURE_RETRY(read(fds[0], buf, sizeof(buf)))) > 0) { in Run() 240 output_.append(buf, bytes_read); in Run()
|
| /bionic/libc/tzcode/ |
| D | bionic.cpp | 117 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/ |
| D | dynamic_function_dispatch.cpp | 124 int bytes_read, total_read = 0; in init_cpu_variant() local 126 (bytes_read = ifunc_read(fd, name + total_read, in init_cpu_variant() 128 total_read += bytes_read; in init_cpu_variant() 132 if (bytes_read != 0) { in init_cpu_variant()
|
| /bionic/libc/stdio/ |
| D | stdio.cpp | 1139 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread_unlocked() local 1140 if (bytes_read <= 0) { in fread_unlocked() 1141 fp->_flags |= (bytes_read == 0) ? __SEOF : __SERR; in fread_unlocked() 1144 dst += bytes_read; in fread_unlocked() 1145 total -= bytes_read; in fread_unlocked()
|