/external/elfutils/lib/ |
D | system.h | 103 ssize_t recvd = 0; in pwrite_retry() local 107 ssize_t ret = TEMP_FAILURE_RETRY (pwrite (fd, buf + recvd, len - recvd, in pwrite_retry() 108 off + recvd)); in pwrite_retry() 110 return ret < 0 ? ret : recvd; in pwrite_retry() 112 recvd += ret; in pwrite_retry() 114 while ((size_t) recvd < len); in pwrite_retry() 116 return recvd; in pwrite_retry() 122 ssize_t recvd = 0; in write_retry() local 126 ssize_t ret = TEMP_FAILURE_RETRY (write (fd, buf + recvd, len - recvd)); in write_retry() 128 return ret < 0 ? ret : recvd; in write_retry() [all …]
|
/external/tpm2-tss/src/util/ |
D | io.c | 43 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/curl/lib/vquic/ |
D | quiche.c | 347 ssize_t recvd; in process_ingress() local 356 recvd = recv(sockfd, buf, bufsize, 0); in process_ingress() 357 if((recvd < 0) && ((SOCKERRNO == EAGAIN) || (SOCKERRNO == EWOULDBLOCK))) in process_ingress() 360 if(recvd < 0) { in process_ingress() 362 "(errno: %d, socket %d)", recvd, SOCKERRNO, sockfd); in process_ingress() 366 recvd = quiche_conn_recv(qs->conn, buf, recvd); in process_ingress() 367 if(recvd == QUICHE_ERR_DONE) in process_ingress() 370 if(recvd < 0) { in process_ingress() 371 failf(conn->data, "quiche_conn_recv() == %d", recvd); in process_ingress() 456 ssize_t recvd = -1; in h3_stream_recv() local [all …]
|
D | ngtcp2.c | 1721 ssize_t recvd; in ng_process_ingress() local 1733 while((recvd = recvfrom(sockfd, buf, bufsize, 0, in ng_process_ingress() 1738 if(recvd == -1) { in ng_process_ingress() 1742 failf(conn->data, "ngtcp2: recvfrom() unexpectedly returned %d", recvd); in ng_process_ingress() 1751 rv = ngtcp2_conn_read_pkt(qs->qconn, &path, &pi, buf, recvd, ts); in ng_process_ingress()
|
/external/libese/examples/ |
D | ese_nxp_sample.c | 88 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/ |
D | ese_hw_echo.c | 31 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/esed/ |
D | utils.h | 97 const size_t recvd = static_cast<size_t>(ret); variable 100 if (recvd > MAX_RESPONSE_SIZE) { 104 responseBuffer.resize(recvd);
|
/external/libese/libese/ |
D | ese.c | 101 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/libese-hw/nxp/pn80t/ |
D | common.c | 311 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/libese/libese-teq1/ |
D | teq1.c | 94 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/scapy/scapy/layers/ |
D | tftp.py | 189 recvd = pkt[conf.raw_layer].load 191 recvd = "" 192 self.res += recvd 194 if len(recvd) == self.blocksize:
|