Home | History | Annotate | Download | only in spdy

Lines Matching defs:bytes_to_read

376   size_t bytes_to_read = std::min(*len, max_bytes);
377 DCHECK_GE(current_frame_capacity_, current_frame_len_ + bytes_to_read);
378 memcpy(&current_frame_buffer_[current_frame_len_], *data, bytes_to_read);
379 current_frame_len_ += bytes_to_read;
380 *data += bytes_to_read;
381 *len -= bytes_to_read;
382 return bytes_to_read;