Home
last modified time | relevance | path

Searched refs:read_offset_ (Results 1 – 2 of 2) sorted by relevance

/external/libmojo/mojo/edk/system/
Ddata_pipe_consumer_dispatcher.cc182 DCHECK_LE(read_offset_, options_.capacity_num_bytes); in ReadData()
184 std::min(options_.capacity_num_bytes - read_offset_, bytes_to_read); in ReadData()
187 memcpy(destination, data + read_offset_, tail_bytes_to_copy); in ReadData()
195 read_offset_ = (read_offset_ + bytes_to_read) % options_.capacity_num_bytes; in ReadData()
227 DCHECK_LT(read_offset_, options_.capacity_num_bytes); in BeginReadData()
229 options_.capacity_num_bytes - read_offset_); in BeginReadData()
236 *buffer = data + read_offset_; in BeginReadData()
260 read_offset_ = in EndReadData()
261 (read_offset_ + num_bytes_read) % options_.capacity_num_bytes; in EndReadData()
345 state->read_offset = read_offset_; in EndSerialize()
[all …]
Ddata_pipe_consumer_dispatcher.h117 uint32_t read_offset_ = 0; variable