Searched refs:num_bytes_copied (Results 1 – 1 of 1) sorted by relevance
92 size_t num_bytes_copied = 0; in GetOutput() local94 while (num_bytes_copied < size && output_buffer_.Size() > 0) { in GetOutput()96 std::min(output_buffer_.Size(), size - num_bytes_copied); in GetOutput()97 output_buffer_.Read(&buffer->data()[num_bytes_copied], num_bytes_to_copy); in GetOutput()98 num_bytes_copied += num_bytes_to_copy; in GetOutput()103 buffer->Shrink(num_bytes_copied); in GetOutput()190 size_t num_bytes_copied = 0; in Read() local194 memcpy(&dest[num_bytes_copied], &buffer_[head_], num_bytes_to_copy); in Read()196 num_bytes_copied += num_bytes_to_copy; in Read()199 if (num_bytes_copied == size) in Read()[all …]