Searched refs:write_offset_ (Results 1 – 4 of 4) sorted by relevance
220 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 …]
320 size_t write_offset_; variable
138 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 …]
110 uint32_t write_offset_ = 0; variable