Searched refs:bytes_to_consume (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/net/quic/
H A Diovector.h123 size_t bytes_to_consume = length;
126 for (; iter < end && bytes_to_consume >= iter->iov_len; ++iter) {
127 bytes_to_consume -= iter->iov_len;
130 if (iovec_.size() > 0 && bytes_to_consume != 0) {
132 static_cast<char*>(iovec_[0].iov_base) + bytes_to_consume;
133 iovec_[0].iov_len -= bytes_to_consume;
136 if (iovec_.size() == 0 && bytes_to_consume > 0) {
137 LOG(DFATAL) << "Attempting to consume " << bytes_to_consume
140 // At this point bytes_to_consume is the number of wanted bytes left over
142 return length - bytes_to_consume;
[all...]
H A Dreliable_quic_stream.cc471 uint64 bytes_to_consume = flow_controller_.highest_received_byte_offset() - local
473 AddBytesConsumed(bytes_to_consume);

Completed in 85 milliseconds