Home
last modified time | relevance | path

Searched refs:rx_length (Results 1 – 2 of 2) sorted by relevance

/system/core/fastboot/
Dudp.cpp125 size_t rx_length, int attempts, std::string* error);
130 uint8_t* rx_data, size_t rx_length, int attempts,
207 size_t rx_length, int attempts, std::string* error) { in SendData() argument
229 rx_length, attempts, error); in SendData()
235 } else if (static_cast<size_t>(bytes) < rx_length) { in SendData()
237 rx_length -= bytes; in SendData()
240 rx_length = 0; in SendData()
254 size_t rx_length, const int attempts, std::string* error) { in SendSinglePacketHelper() argument
292 size_t rx_data_bytes = std::min<size_t>(bytes - kHeaderSize, rx_length); in SendSinglePacketHelper()
296 rx_length -= rx_data_bytes; in SendSinglePacketHelper()
/system/nfc/halimpl/bcm2079x/adaptation/
Duserial_linux.c731 int rx_length; in userial_read_thread() local
752 rx_length = my_read(linux_cb.sock, current_packet, READ_LIMIT); in userial_read_thread()
759 rx_length = 0; /* paranoia setting */ in userial_read_thread()
763 if (rx_length > 0) { in userial_read_thread()
767 if (rx_length > sRxLength) sRxLength = rx_length; in userial_read_thread()
768 p_buf->len = (uint16_t)rx_length; in userial_read_thread()
774 p_buf, Userial_in_q.count, rx_length); in userial_read_thread()
783 if (rx_length == -EAGAIN) in userial_read_thread()
785 else if (rx_length == -1) { in userial_read_thread()
788 } else if (rx_length == 0 && !isWake(-1)) in userial_read_thread()
[all …]