Searched refs:amount_read (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/webrtc/base/ |
D | ifaddrs-android.cc | 155 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local 156 while (amount_read > 0) { in getifaddrs() 158 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs() 202 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
|
/external/selinux/libsemanage/src/ |
D | semanage_store.c | 673 int in, out, retval = 0, amount_read, n, errsv = errno; in semanage_copy_file() local 698 while (retval == 0 && (amount_read = read(in, buf, sizeof(buf))) > 0) { in semanage_copy_file() 699 if (write(out, buf, amount_read) < 0) { in semanage_copy_file() 704 if (amount_read < 0) { in semanage_copy_file() 1896 ssize_t amount_read; in semanage_direct_get_serial() local 1921 amount_read = read(fd, buf, sizeof(buf)); in semanage_direct_get_serial() 1922 if (amount_read == -1) { in semanage_direct_get_serial()
|