Searched refs:bytes_read (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/bionic/ |
D | bionic_netlink.cpp | 78 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/libc/tzcode/ |
D | bionic.cpp | 123 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))); in __bionic_open_tzdata_path() local 124 if (bytes_read != sizeof(header)) { in __bionic_open_tzdata_path() 126 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read"); in __bionic_open_tzdata_path() 164 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read"); in __bionic_open_tzdata_path()
|
/bionic/tests/ |
D | fcntl_test.cpp | 188 …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()
|
D | utils.h | 253 ssize_t bytes_read; in Run() local 254 while ((bytes_read = TEMP_FAILURE_RETRY(read(fds[0], buf, sizeof(buf)))) > 0) { in Run() 255 output_.append(buf, bytes_read); in Run()
|
/bionic/libc/arch-arm/ |
D | dynamic_function_dispatch.cpp | 112 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/ |
D | stdio.cpp | 1132 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread_unlocked() local 1133 if (bytes_read <= 0) { in fread_unlocked() 1134 fp->_flags |= (bytes_read == 0) ? __SEOF : __SERR; in fread_unlocked() 1137 dst += bytes_read; in fread_unlocked() 1138 total -= bytes_read; in fread_unlocked()
|