Searched refs:amount_read (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/rtc_base/ |
D | ifaddrs_android.cc | 160 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local 161 while (amount_read > 0) { in getifaddrs() 163 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs() 207 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
|
/external/selinux/libsemanage/src/ |
D | semanage_store.c | 712 int in, out, retval = 0, amount_read, n, errsv = errno; in semanage_copy_file() local 737 while (retval == 0 && (amount_read = read(in, buf, sizeof(buf))) > 0) { in semanage_copy_file() 738 if (write(out, buf, amount_read) < 0) { in semanage_copy_file() 743 if (amount_read < 0) { in semanage_copy_file() 1986 ssize_t amount_read; in semanage_direct_get_serial() local 2011 amount_read = read(fd, buf, sizeof(buf)); in semanage_direct_get_serial() 2012 if (amount_read == -1) { in semanage_direct_get_serial()
|