Searched refs:write_offset_ (Results 1 – 6 of 6) sorted by relevance
27 write_offset_(0) { in BufferedCopier()37 if (write_offset_ < bytes_read_) in AddToWriteSet()58 if (write_offset_ >= bytes_read_) // Nothing to write. in TryWrite()60 int ret = socket_to_->Write(buffer_ + write_offset_, in TryWrite()61 bytes_read_ - write_offset_); in TryWrite()63 write_offset_ += ret; in TryWrite()64 if (write_offset_ == bytes_read_) { in TryWrite()65 write_offset_ = 0; in TryWrite()81 int write_offset_; member in forwarder2::__anond18d55320111::BufferedCopier
168 write_offset_(0) { in Pickle()177 write_offset_(0) { in Pickle()188 write_offset_(0) { in Pickle()207 write_offset_(other.write_offset_) { in Pickle()235 write_offset_ = other.write_offset_; in operator =()277 DCHECK_LE(write_offset_, kuint32max - data_len); in Reserve()278 size_t new_size = write_offset_ + data_len; in Reserve()326 DCHECK_LE(write_offset_, kuint32max - data_len); in WriteBytesCommon()327 size_t new_size = write_offset_ + data_len; in WriteBytesCommon()332 char* write = mutable_payload() + write_offset_; in WriteBytesCommon()[all …]
330 size_t write_offset_; variable
22 write_offset_(offset_) { in Segment()79 DCHECK(write_offset_ + size <= summary_offset_); in WriteData()80 if (!storage_->Write(buffer, size, write_offset_)) in WriteData()82 write_offset_ += size; in WriteData()119 write_offset_ + size <= summary_offset_; in CanHold()
70 int32 write_offset() const { return write_offset_; } in write_offset()110 int32 write_offset_; // Current write offset. variable
43 write_offset_(0) { in Buffer()51 return write_offset_ < bytes_read_; in CanWrite()67 ret = HANDLE_EINTR(write(fd, buffer_ + write_offset_, in Write()68 bytes_read_ - write_offset_)); in Write()70 write_offset_ += ret; in Write()71 if (write_offset_ == bytes_read_) { in Write()72 write_offset_ = 0; in Write()84 int write_offset_; member in __anone12055a00111::Buffer