Home
last modified time | relevance | path

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

/external/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 …]
/external/curl/lib/vquic/
Dcurl_quiche.c346 ssize_t recvd = 0; in h3_process_event() local
364 recvd = -1; in h3_process_event()
367 recvd = headers.nlen; in h3_process_event()
369 stream3_id, recvd)); in h3_process_event()
375 recvd = cf_recv_body(cf, data, buf, len, err); in h3_process_event()
376 if(recvd < 0) { in h3_process_event()
379 recvd = 0; in h3_process_event()
407 return recvd; in h3_process_event()
417 ssize_t recvd = 0, erecvd; in h3_process_pending() local
433 recvd += erecvd; in h3_process_pending()
[all …]
Dcurl_ngtcp2.c1764 ssize_t recvd; in cf_process_ingress() local
1777 while((recvd = recvfrom(ctx->q.sockfd, (char *)buf, bufsize, 0, in cf_process_ingress()
1782 if(recvd == -1) { in cf_process_ingress()
1797 recvd, SOCKERRNO); in cf_process_ingress()
1801 if(recvd > 0 && !ctx->got_first_byte) { in cf_process_ingress()
1807 total_recvd += recvd; in cf_process_ingress()
1814 rv = ngtcp2_conn_read_pkt(ctx->qconn, &path, &pi, buf, recvd, ts); in cf_process_ingress()
/external/tpm2-tss/src/util/
Dio.c43 ssize_t recvd; in read_all() local
50 TEMP_RETRY (recvd, recv (fd, (char *) &data [recvd_total], size, 0)); in read_all()
51 if (recvd < 0) { in read_all()
57 TEMP_RETRY (recvd, read (fd, &data [recvd_total], size)); in read_all()
58 if (recvd < 0) { in read_all()
64 if (recvd == 0) { in read_all()
69 LOGBLOB_DEBUG (&data [recvd_total], recvd, "read %zd bytes from fd %d:", recvd, fd); in read_all()
70 recvd_total += recvd; in read_all()
71 size -= recvd; in read_all()
/external/libese/examples/
Dese_nxp_sample.c88 int recvd; in main() local
109 recvd = ese_transceive(&ese, (uint8_t *)apdu->bytes, apdu->length, rx_buf, in main()
116 if (recvd > 0) { in main()
118 printf("Read %d bytes from card\n", recvd); in main()
120 for (i = 0; i < recvd; ++i) in main()
/external/libese/libese-hw/
Dese_hw_echo.c31 int recvd; member
53 es->recvd = 0; in echo_open()
71 if (!es->recvd) { in echo_receive()
84 es->recvd = 0; in echo_receive()
99 es->recvd = complete; in echo_transmit()
/external/libese/libese/
Dese.c101 uint32_t recvd = 0; in ese_transceive_sg() local
109 recvd = ese->ops->transceive(ese, tx_bufs, tx_segs, rx_bufs, rx_segs); in ese_transceive_sg()
110 return ese_error(ese) ? -1 : recvd; in ese_transceive_sg()
/external/libese/esed/
Dutils.h97 const size_t recvd = static_cast<size_t>(ret); variable
100 if (recvd > MAX_RESPONSE_SIZE) {
104 responseBuffer.resize(recvd);
/external/libese/libese-teq1/
Dteq1.c94 uint32_t recvd = 0; in teq1_dump_buf() local
95 for (recvd = 0; recvd < len; ++recvd) in teq1_dump_buf()
96 ALOGV("%s[%u]: %.2X", prefix, recvd, buf[recvd]); in teq1_dump_buf()
/external/libese/libese-hw/nxp/pn80t/
Dcommon.c311 const uint32_t recvd = in nxp_pn80t_transceive() local
313 if (recvd > 0) { in nxp_pn80t_transceive()
314 return recvd; in nxp_pn80t_transceive()
/external/rust/crates/tokio/tests/
Dsync_mpsc_weak.rs38 let recvd = rx.recv().await; in weak_sender() localVariable
40 match recvd { in weak_sender()
299 let recvd = rx.recv().await; in weak_unbounded_sender() localVariable
301 match recvd { in weak_unbounded_sender()
/external/scapy/scapy/layers/
Dtftp.py189 recvd = pkt[conf.raw_layer].load
191 recvd = ""
192 self.res += recvd
194 if len(recvd) == self.blocksize:
/external/rust/crates/nix/src/sys/socket/
Dmod.rs1883 let mut recvd = 0; localVariable
1907 recvd += iov.len();
1909 assert_eq!(recvd, 400);