Lines Matching refs:write_offset_
164 DCHECK_LE(write_offset_, options_.capacity_num_bytes);
166 std::min(options_.capacity_num_bytes - write_offset_,
171 memcpy(data + write_offset_, source, tail_bytes_to_write);
177 write_offset_ = (write_offset_ + num_bytes_to_write) %
208 *buffer_num_bytes = std::min(options_.capacity_num_bytes - write_offset_,
214 *buffer = data + write_offset_;
236 write_offset_ + num_bytes_written > options_.capacity_num_bytes) {
239 DCHECK_LE(num_bytes_written + write_offset_, options_.capacity_num_bytes);
241 write_offset_ = (write_offset_ + num_bytes_written) %
324 state->write_offset = write_offset_;
402 dispatcher->write_offset_ = state->write_offset;