Searched defs:num_bytes_to_copy (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/net/websockets/
H A Dwebsocket_inflater.cc95 size_t num_bytes_to_copy = local
97 output_buffer_.Read(&buffer->data()[num_bytes_copied], num_bytes_to_copy);
98 num_bytes_copied += num_bytes_to_copy;
192 size_t num_bytes_to_copy = std::min(size, buffer_.size() - head_); local
194 memcpy(&dest[num_bytes_copied], &buffer_[head_], num_bytes_to_copy);
195 AdvanceHead(num_bytes_to_copy);
196 num_bytes_copied += num_bytes_to_copy;
202 size_t num_bytes_to_copy = size - num_bytes_copied; local
203 DCHECK_LE(num_bytes_to_copy, tail_ - head_);
205 memcpy(&dest[num_bytes_copied], &buffer_[head_], num_bytes_to_copy);
274 size_t num_bytes_to_copy = std::min(size, capacity_ - tail_of_last_buffer_); local
[all...]

Completed in 76 milliseconds