Home
last modified time | relevance | path

Searched refs:write_offset_ (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/
Dpickle.cc220 write_offset_(0) { in Pickle()
231 write_offset_(0) { in Pickle()
242 write_offset_(0) { in Pickle()
261 write_offset_(other.write_offset_) { in Pickle()
287 write_offset_ = other.write_offset_; in operator =()
317 DCHECK_LE(write_offset_, std::numeric_limits<uint32_t>::max() - data_len); in Reserve()
318 size_t new_size = write_offset_ + data_len; in Reserve()
410 DCHECK_LE(write_offset_, std::numeric_limits<uint32_t>::max() - data_len); in ClaimUninitializedBytesInternal()
411 size_t new_size = write_offset_ + data_len; in ClaimUninitializedBytesInternal()
420 char* write = mutable_payload() + write_offset_; in ClaimUninitializedBytesInternal()
[all …]
Dpickle.h320 size_t write_offset_; variable
/external/libchrome/mojo/core/
Ddata_pipe_producer_dispatcher.cc138 DCHECK_LE(write_offset_, options_.capacity_num_bytes); in WriteData()
140 std::min(options_.capacity_num_bytes - write_offset_, num_bytes_to_write); in WriteData()
144 memcpy(data + write_offset_, source, tail_bytes_to_write); in WriteData()
150 write_offset_ = in WriteData()
151 (write_offset_ + num_bytes_to_write) % options_.capacity_num_bytes; in WriteData()
179 *buffer_num_bytes = std::min(options_.capacity_num_bytes - write_offset_, in BeginWriteData()
185 *buffer = data + write_offset_; in BeginWriteData()
204 write_offset_ + num_bytes_written > options_.capacity_num_bytes) { in EndWriteData()
207 DCHECK_LE(num_bytes_written + write_offset_, options_.capacity_num_bytes); in EndWriteData()
209 write_offset_ = in EndWriteData()
[all …]
Ddata_pipe_producer_dispatcher.h110 uint32_t write_offset_ = 0; variable