Home | History | Annotate | Download | only in spdy

Lines Matching refs:bytes_to_read

380   size_t bytes_to_read = std::min(*len, max_bytes);
381 DCHECK_GE(current_frame_capacity_, current_frame_len_ + bytes_to_read);
382 memcpy(&current_frame_buffer_[current_frame_len_], *data, bytes_to_read);
383 current_frame_len_ += bytes_to_read;
384 *data += bytes_to_read;
385 *len -= bytes_to_read;
386 return bytes_to_read;