Searched refs:used_ (Results 1 – 2 of 2) sorted by relevance
24 : OutputStream(out->GetLocation()), out_(out), used_(0) {} in BufferedOutputStream()31 if (used_ + byte_count > kBufferSize) { in WriteFully()38 memcpy(&buffer_[used_], src, byte_count); in WriteFully()39 used_ += byte_count; in WriteFully()45 if (used_ > 0) { in Flush()46 success = out_->WriteFully(&buffer_[0], used_); in Flush()47 used_ = 0; in Flush()
48 size_t used_; variable