Lines Matching refs:str_
24 StringInputStream::StringInputStream(StringPiece str) : str_(str), offset_(0u) { in StringInputStream()
28 if (offset_ == str_.size()) { in Next()
32 *data = str_.data() + offset_; in Next()
33 *size = str_.size() - offset_; in Next()
34 offset_ = str_.size(); in Next()
51 return str_.size(); in TotalSize()
64 if (offset + byte_count > str_.size()) { in ReadFullyAtOffset()
67 memcpy(data, str_.data() + offset, byte_count); in ReadFullyAtOffset()
72 : str_(str), in StringOutputStream()
102 return str_->size() + buffer_offset_; in ByteCount()
112 str_->append(buffer_.get(), buffer_offset_); in FlushImpl()