Searched refs:write_offset_ (Results 1 – 4 of 4) sorted by relevance
259 write_offset_(0) { in Pickle()270 write_offset_(0) { in Pickle()281 write_offset_(0) { in Pickle()300 write_offset_(other.write_offset_) { in Pickle()327 write_offset_ = other.write_offset_; in operator =()361 DCHECK_LE(write_offset_, std::numeric_limits<uint32_t>::max() - data_len); in Reserve()362 size_t new_size = write_offset_ + data_len; in Reserve()458 DCHECK_LE(write_offset_, std::numeric_limits<uint32_t>::max() - data_len); in ClaimUninitializedBytesInternal()459 size_t new_size = write_offset_ + data_len; in ClaimUninitializedBytesInternal()468 char* write = mutable_payload() + write_offset_; in ClaimUninitializedBytesInternal()[all …]
360 size_t write_offset_; variable
164 DCHECK_LE(write_offset_, options_.capacity_num_bytes); in WriteData()166 std::min(options_.capacity_num_bytes - write_offset_, in WriteData()171 memcpy(data + write_offset_, source, tail_bytes_to_write); in WriteData()177 write_offset_ = (write_offset_ + num_bytes_to_write) % in WriteData()208 *buffer_num_bytes = std::min(options_.capacity_num_bytes - write_offset_, in BeginWriteData()214 *buffer = data + write_offset_; in BeginWriteData()236 write_offset_ + num_bytes_written > options_.capacity_num_bytes) { in EndWriteData()239 DCHECK_LE(num_bytes_written + write_offset_, options_.capacity_num_bytes); in EndWriteData()241 write_offset_ = (write_offset_ + num_bytes_written) % in EndWriteData()324 state->write_offset = write_offset_; in EndSerialize()[all …]
120 uint32_t write_offset_ = 0; variable