Lines Matching full:rx_length
123 // |rx_length|. On failure, returns -1 and fills |error| on failure.
125 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) {
229 rx_length, attempts, error);
235 } else if (static_cast<size_t>(bytes) < rx_length) {
237 rx_length -= bytes;
240 rx_length = 0;
254 size_t rx_length, const int attempts, std::string* error) {
292 size_t rx_data_bytes = std::min<size_t>(bytes - kHeaderSize, rx_length);
296 rx_length -= rx_data_bytes;