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.cc209 void RingBuffer::AdvanceReadablePtr(int amount_to_consume) { in AdvanceReadablePtr() argument
210 CHECK_GE(amount_to_consume, 0); in AdvanceReadablePtr()
211 if (amount_to_consume >= bytes_used_) { in AdvanceReadablePtr()
215 read_idx_ += amount_to_consume; in AdvanceReadablePtr()
217 bytes_used_ -= amount_to_consume; in AdvanceReadablePtr()
/external/chromium/net/flip/
Dflip_framer.cc302 size_t amount_to_consume = std::min(remaining_control_payload_, len); in ProcessControlFramePayload() local
304 amount_to_consume); in ProcessControlFramePayload()
305 current_frame_len_ += amount_to_consume; in ProcessControlFramePayload()
306 data += amount_to_consume; in ProcessControlFramePayload()
307 len -= amount_to_consume; in ProcessControlFramePayload()
308 remaining_control_payload_ -= amount_to_consume; in ProcessControlFramePayload()
309 remaining_payload_ -= amount_to_consume; in ProcessControlFramePayload()