Lines Matching refs:buf_size
1046 virtual bool Append(uint8_t* buf, size_t buf_size) override { in Append() argument
1047 if (size_ < buf_size || bytes_written_ > size_ - buf_size) { in Append()
1049 bytes_written_ + buf_size); in Append()
1053 memcpy(buf_ + bytes_written_, buf, buf_size); in Append()
1054 bytes_written_ += buf_size; in Append()
1136 virtual bool Append(uint8_t* buf, size_t buf_size) override { in Append() argument
1137 if (declared_length_ < buf_size || total_bytes_written_ > declared_length_ - buf_size) { in Append()
1139 total_bytes_written_ + buf_size); in Append()
1143 const bool result = android::base::WriteFully(fd_, buf, buf_size); in Append()
1145 total_bytes_written_ += buf_size; in Append()
1147 ALOGW("Zip: unable to write %zu bytes to file; %s", buf_size, strerror(errno)); in Append()
1428 virtual bool Append(uint8_t* buf, size_t buf_size) override { in Append() argument
1429 return proc_function_(buf, buf_size, cookie_); in Append()