Lines Matching refs:size_
53 size_(size), in PartitionInstaller()
118 if (size_ < 0) { in PerformSanityChecks()
119 LOG(ERROR) << "image size " << size_ << " is negative"; in PerformSanityChecks()
137 if (free_space <= (size_)) { in PerformSanityChecks()
166 service_->StartAsyncOperation("create " + name_, size_); in Preallocate()
167 if (!CreateImage(file, size_)) { in Preallocate()
193 service_->StartAsyncOperation("write " + name_, size_); in CommitGsiChunk()
224 int new_progress = ((size_ - remaining) * 1000) / size_; in CommitGsiChunk()
226 service_->UpdateProgress(IGsiService::STATUS_WORKING, size_ - remaining); in CommitGsiChunk()
230 service_->UpdateProgress(IGsiService::STATUS_COMPLETE, size_); in CommitGsiChunk()
235 return gsi_bytes_written_ == size_; in IsFinishedWriting()
243 if (static_cast<uint64_t>(bytes) > size_ - gsi_bytes_written_) { in CommitGsiChunk()
245 LOG(ERROR) << "chunk size " << bytes << " exceeds remaining image size (" << size_ in CommitGsiChunk()
312 if (readOnly_ && gsi_bytes_written_ != size_) { in Finish()
314 LOG(ERROR) << "image incomplete; expected " << size_ << " bytes, waiting for " in Finish()
315 << (size_ - gsi_bytes_written_) << " bytes"; in Finish()