Home
last modified time | relevance | path

Searched refs:recvd (Results 1 – 9 of 9) sorted by relevance

/third_party/elfutils/lib/
Dsystem.h150 ssize_t recvd = 0; in pwrite_retry() local
154 ssize_t ret = TEMP_FAILURE_RETRY (pwrite (fd, ((char *)buf) + recvd, len - recvd, in pwrite_retry()
155 off + recvd)); in pwrite_retry()
157 return ret < 0 ? ret : recvd; in pwrite_retry()
159 recvd += ret; in pwrite_retry()
161 while ((size_t) recvd < len); in pwrite_retry()
163 return recvd; in pwrite_retry()
169 ssize_t recvd = 0; in write_retry() local
173 ssize_t ret = TEMP_FAILURE_RETRY (write (fd, ((char *)buf) + recvd, len - recvd)); in write_retry()
175 return ret < 0 ? ret : recvd; in write_retry()
[all …]
/third_party/lwip/
D0075-adapt-read-write-for-rtc-mode.patch54 + recvd = do_lwip_read_from_lwip(sock, flags, apiflags);
55 + if (recvd <= 0) {
56 + return recvd;
71 - recvd = do_lwip_read_from_lwip(sock, flags, apiflags);
72 - if (recvd <= 0) {
73 - return recvd;
80 if ((recvd > 0) && !(flags & MSG_PEEK)) {
D0073-lstack_lwip-external-api-start-with-do_lwip_-prefix.patch82 - recvd = read_lwip_data(sock, flags, apiflags);
83 + recvd = do_lwip_read_from_lwip(sock, flags, apiflags);
84 if (recvd <= 0) {
85 return recvd;
D0024-refactor-pkt-read-send-performance.patch88 ssize_t recvd = 0;
102 recvd = read_lwip_data(sock, flags, apiflags);
103 if (recvd <= 0) {
104 return recvd;
D0016-lstack-support-mysql-mode.patch334 + ssize_t recvd = 0;
338 - ssize_t recvd = 0;
378 + recvd = read_lwip_data(sock, flags, apiflags);
379 + if (recvd <= 0) {
380 + return recvd;
384 if ((recvd > 0) && !(flags & MSG_PEEK)) {
386 netconn_tcp_recvd(sock->conn, (size_t)recvd);
398 return recvd;
D0053-cleancode-improve-lwipopts.h-readability.patch279 recvd = read_lwip_data(sock, flags, apiflags);
280 if (recvd <= 0) {
281 return recvd;
286 if ((recvd > 0) && !(flags & MSG_PEEK)) {
D0002-adapt-lstack.patch1015 ssize_t recvd = 0;
1036 - if ((recvd > 0) && !(flags & MSG_PEEK)) {
1038 - netconn_tcp_recvd(sock->conn, (size_t)recvd);
1043 + if ((recvd > 0) && !(flags & MSG_PEEK)) {
1045 + netconn_tcp_recvd(sock->conn, (size_t)recvd);
1056 return recvd;
/third_party/lwip/src/api/
Dsockets.c953 ssize_t recvd = 0; in lwip_recv_tcp() local
980 if (recvd > 0) { in lwip_recv_tcp()
1000 p->tot_len, (int)recv_left, (int)recvd)); in lwip_recv_tcp()
1007 if (recvd + copylen < recvd) { in lwip_recv_tcp()
1009 copylen = (u16_t)(SSIZE_MAX - recvd); in lwip_recv_tcp()
1014 pbuf_copy_partial(p, (u8_t *)mem + recvd, copylen, 0); in lwip_recv_tcp()
1016 recvd += copylen; in lwip_recv_tcp()
1042 if ((recvd > 0) && !(flags & MSG_PEEK)) { in lwip_recv_tcp()
1044 netconn_tcp_recvd(sock->conn, (size_t)recvd); in lwip_recv_tcp()
1047 return recvd; in lwip_recv_tcp()
/third_party/rust/crates/nix/src/sys/socket/
Dmod.rs1883 let mut recvd = 0; localVariable
1907 recvd += iov.len();
1909 assert_eq!(recvd, 400);