/external/libese/apps/boot/ |
D | boot.c | 71 int rx_len; in ese_boot_session_open() local 81 rx_len = ese_transceive(ese, kManageChannelOpen, sizeof(kManageChannelOpen), in ese_boot_session_open() 88 if (rx_len < 0) { in ese_boot_session_open() 89 ALOGE("transceive error: rx_len: %d", rx_len); in ese_boot_session_open() 92 if (rx_len < 2) { in ese_boot_session_open() 97 ret = check_apdu_status(&rx_buf[rx_len - 2]); in ese_boot_session_open() 100 rx_buf[rx_len - 2], rx_buf[rx_len - 1]); in ese_boot_session_open() 103 if (rx_len < 3) { in ese_boot_session_open() 108 session->channel_id = rx_buf[rx_len - 3]; in ese_boot_session_open() 118 rx_len = ese_transceive_sg(ese, tx, 2, &rx, 1); in ese_boot_session_open() [all …]
|
/external/libese/apps/weaver/ |
D | weaver.c | 79 int rx_len; in ese_weaver_session_open() local 89 rx_len = ese_transceive(ese, kManageChannelOpen, sizeof(kManageChannelOpen), in ese_weaver_session_open() 96 if (rx_len < 0) { in ese_weaver_session_open() 97 ALOGE("transceive error: rx_len: %d", rx_len); in ese_weaver_session_open() 100 if (rx_len < 2) { in ese_weaver_session_open() 105 ret = check_apdu_status(&rx_buf[rx_len - 2]); in ese_weaver_session_open() 108 rx_buf[rx_len - 2], rx_buf[rx_len - 1]); in ese_weaver_session_open() 111 if (rx_len < 3) { in ese_weaver_session_open() 116 session->channel_id = rx_buf[rx_len - 3]; in ese_weaver_session_open() 126 rx_len = ese_transceive_sg(ese, tx, 2, &rx, 1); in ese_weaver_session_open() [all …]
|
/external/libese/tools/ese_relay/ |
D | ese_relay.c | 88 uint32_t rx_len; in main() local 149 rx_len = 0; in main() 161 rx_len = kAtrLength; in main() 162 printf("Filling card RX buf with fake ATR (%u)\n", rx_len); in main() 163 memcpy(rx_buf, kAtr, rx_len); in main() 164 printf("Sending back ATR of length %u\n", rx_len); in main() 169 if (!rx_len) in main() 172 rx_len = ese_transceive(&ese, tx_buf, tx_len, rx_buf, sizeof(rx_buf)); in main() 179 if (rx_len > 0) { in main() 181 printf("Read %d bytes from card\n", rx_len); in main() [all …]
|
/external/libese/libese-hw/nxp/pn80t/ |
D | common.c | 246 uint32_t rx_len) { in nxp_pn80t_handle_interface_call() argument 273 return ese_sg_from_buf(rx_buf, rx_len, 0, sizeof(ok), ok); in nxp_pn80t_handle_interface_call() 288 return ese_sg_from_buf(rx_buf, rx_len, 0, sizeof(ok), ok); in nxp_pn80t_handle_interface_call() 298 return ese_sg_from_buf(rx_buf, rx_len, 0, sizeof(reply), reply); in nxp_pn80t_handle_interface_call() 305 struct EseSgBuffer *rx_buf, uint32_t rx_len) { in nxp_pn80t_transceive() argument 308 nxp_pn80t_handle_interface_call(ese, tx_buf, tx_len, rx_buf, rx_len); in nxp_pn80t_transceive() 312 return teq1_transceive(ese, &kTeq1Options, tx_buf, tx_len, rx_buf, rx_len); in nxp_pn80t_transceive()
|
/external/syslinux/gpxe/src/drivers/net/ |
D | rtl8139.c | 412 unsigned int rx_len; in rtl_poll() local 438 rx_len = * ( ( uint16_t * ) in rtl_poll() 442 "%x+%x\n", rtl, rtl->rx.offset, rx_len ); in rtl_poll() 444 rx_iob = alloc_iob ( rx_len ); in rtl_poll() 451 wrapped_len = ( ( rtl->rx.offset + 4 + rx_len ) in rtl_poll() 456 memcpy ( iob_put ( rx_iob, rx_len - wrapped_len ), in rtl_poll() 458 rx_len - wrapped_len ); in rtl_poll() 465 "len %d)\n", rtl, rx_status, rx_len ); in rtl_poll() 468 rtl->rx.offset = ( ( ( rtl->rx.offset + 4 + rx_len + 3 ) & ~3 ) in rtl_poll()
|
D | natsemi.c | 505 unsigned int rx_len; in natsemi_poll() local 548 rx_len = (rx_status & DSIZE) - CRC_SIZE; in natsemi_poll() 551 np->rx_cur, rx_status, rx_len); in natsemi_poll() 566 rx_iob = alloc_iob (rx_len); in natsemi_poll() 569 memcpy (iob_put (rx_iob, rx_len), in natsemi_poll() 570 np->iobuf[np->rx_cur]->data, rx_len); in natsemi_poll()
|
D | eepro100.c | 844 unsigned int rx_len; in ifec_rx_process() local 851 rx_len = rfd->count & RFDMaskCount; in ifec_rx_process() 853 DBG2 ( "Got a packet: Len = %d, cur_rx = %d.\n", rx_len, in ifec_rx_process() 863 iob_put ( iob, rx_len ); in ifec_rx_process() 864 DBG2 ( "Received packet: %p, len: %d\n", iob, rx_len ); in ifec_rx_process()
|
D | r8169.c | 1749 uint16_t rx_len; in rtl8169_process_rx_packets() local 1771 rx_len = rx_status & 0x3fff; in rtl8169_process_rx_packets() 1775 DBG ( "rx_len = %d\n", rx_len ); in rtl8169_process_rx_packets() 1789 iob_put ( tp->rx_iobuf[tp->rx_curr], rx_len ); in rtl8169_process_rx_packets()
|
/external/syslinux/gpxe/src/net/tcp/ |
D | http.c | 82 size_t rx_len; member 118 ( http->content_length != http->rx_len ) ) { in http_done() 120 http, http->rx_len, http->content_length ); in http_done() 334 http->rx_len += iob_len ( iobuf ); in http_rx_data() 342 ( http->rx_len >= http->content_length ) ) { in http_rx_data()
|
D | iscsi.c | 970 iscsi->rx_buffer = malloc ( iscsi->rx_len ); in iscsi_rx_buffered_data() 976 assert ( ( iscsi->rx_offset + len ) <= iscsi->rx_len ); in iscsi_rx_buffered_data() 1038 iscsi->rx_len ) ) != 0 ) in iscsi_rx_login_response() 1405 iscsi->rx_len = sizeof ( iscsi->rx_bhs ); in iscsi_socket_deliver_raw() 1410 iscsi->rx_len = 4 * ISCSI_AHS_LEN ( common->lengths ); in iscsi_socket_deliver_raw() 1415 iscsi->rx_len = ISCSI_DATA_LEN ( common->lengths ); in iscsi_socket_deliver_raw() 1420 iscsi->rx_len = ISCSI_DATA_PAD_LEN ( common->lengths ); in iscsi_socket_deliver_raw() 1428 frag_len = iscsi->rx_len - iscsi->rx_offset; in iscsi_socket_deliver_raw() 1431 remaining = iscsi->rx_len - iscsi->rx_offset - frag_len; in iscsi_socket_deliver_raw() 1447 if ( iscsi->rx_offset != iscsi->rx_len ) in iscsi_socket_deliver_raw()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_winpcap.c | 60 size_t rx_len; member 114 l2->rx_len = hdr->caplen; in l2_packet_receive_cb() 117 l2->rx_len = hdr->caplen - sizeof(*ethhdr); in l2_packet_receive_cb() 155 l2->rx_len); in l2_packet_rx_event()
|
D | l2_packet_ndis.c | 282 size_t rx_len; in l2_packet_callback() local 290 rx_len = l2->rx_written; in l2_packet_callback() 293 rx_len = l2->rx_written - sizeof(*ethhdr); in l2_packet_callback() 297 l2->rx_callback(l2->rx_callback_ctx, rx_src, rx_buf, rx_len); in l2_packet_callback()
|
/external/libese/libese-hw/ |
D | ese_hw_echo.c | 157 struct EseSgBuffer *rx_buf, uint32_t rx_len) { in echo_transceive() argument 158 return teq1_transceive(ese, &kTeq1Options, tx_buf, tx_len, rx_buf, rx_len); in echo_transceive()
|
/external/libpcap/ |
D | pcap-dos.c | 225 int rx_len = 0; in pcap_read_one() local 256 rx_len = (*dev->peek_rx_buf) (&p->buffer); in pcap_read_one() 260 rx_len = (*dev->copy_rx_buf) (p->buffer, p->snapshot); in pcap_read_one() 263 if (rx_len > 0) /* got a packet */ in pcap_read_one() 269 pcap.caplen = min (rx_len, p->snapshot); in pcap_read_one() 270 pcap.len = rx_len; in pcap_read_one() 328 if (rx_len < 0) /* receive error */ in pcap_read_one()
|
/external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/ |
D | common.h | 37 struct EseSgBuffer *rx_buf, uint32_t rx_len);
|
/external/syslinux/gpxe/src/drivers/net/e1000/ |
D | e1000.c | 695 uint32_t rx_len; in e1000_poll() local 765 rx_len = rx_curr_desc->length; in e1000_poll() 768 i, rx_status, rx_len ); in e1000_poll() 772 iob_put ( adapter->rx_iobuf[i], rx_len ); in e1000_poll()
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | iscsi.h | 608 size_t rx_len; member
|
/external/valgrind/coregrind/m_debuginfo/ |
D | image.c | 588 ULong rx_session_id = 0, rx_off = 0, rx_len = 0, rx_zdata_len = 0; in set_CEnt() local 599 &rx_len, &rx_data, &rx_zdata_len)) in set_CEnt() 602 || rx_off != off || rx_len != len || rx_data == NULL) in set_CEnt()
|