Searched refs:num_bytes_to_copy (Results 1 – 1 of 1) sorted by relevance
95 size_t num_bytes_to_copy = in GetOutput() local97 output_buffer_.Read(&buffer->data()[num_bytes_copied], num_bytes_to_copy); in GetOutput()98 num_bytes_copied += num_bytes_to_copy; in GetOutput()192 size_t num_bytes_to_copy = std::min(size, buffer_.size() - head_); in Read() local194 memcpy(&dest[num_bytes_copied], &buffer_[head_], num_bytes_to_copy); in Read()195 AdvanceHead(num_bytes_to_copy); in Read()196 num_bytes_copied += num_bytes_to_copy; in Read()202 size_t num_bytes_to_copy = size - num_bytes_copied; in Read() local203 DCHECK_LE(num_bytes_to_copy, tail_ - head_); in Read()205 memcpy(&dest[num_bytes_copied], &buffer_[head_], num_bytes_to_copy); in Read()[all …]