Home
last modified time | relevance | path

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

/external/chromium/net/tools/flip_server/
Dring_buffer.cc223 void RingBuffer::AdvanceReadablePtr(int amount_to_consume) { in AdvanceReadablePtr() argument
224 CHECK_GE(amount_to_consume, 0); in AdvanceReadablePtr()
225 if (amount_to_consume >= bytes_used_) { in AdvanceReadablePtr()
229 read_idx_ += amount_to_consume; in AdvanceReadablePtr()
231 bytes_used_ -= amount_to_consume; in AdvanceReadablePtr()
/external/chromium/net/spdy/
Dspdy_framer.cc716 size_t amount_to_consume = std::min(remaining_control_payload_, len); in ProcessControlFramePayload() local
718 amount_to_consume); in ProcessControlFramePayload()
719 current_frame_len_ += amount_to_consume; in ProcessControlFramePayload()
720 data += amount_to_consume; in ProcessControlFramePayload()
721 len -= amount_to_consume; in ProcessControlFramePayload()
722 remaining_control_payload_ -= amount_to_consume; in ProcessControlFramePayload()
723 remaining_payload_ -= amount_to_consume; in ProcessControlFramePayload()