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

/external/chromium_org/net/websockets/
H A Dwebsocket_inflater.cc92 size_t num_bytes_copied = 0; local
94 while (num_bytes_copied < size && output_buffer_.Size() > 0) {
96 std::min(output_buffer_.Size(), size - num_bytes_copied);
97 output_buffer_.Read(&buffer->data()[num_bytes_copied], num_bytes_to_copy);
98 num_bytes_copied += num_bytes_to_copy;
103 buffer->Shrink(num_bytes_copied);
190 size_t num_bytes_copied = 0; local
194 memcpy(&dest[num_bytes_copied], &buffer_[head_], num_bytes_to_copy);
196 num_bytes_copied += num_bytes_to_copy;
199 if (num_bytes_copied
[all...]

Completed in 31 milliseconds