Lines Matching refs:size_
52 size_(size), in PartitionInstaller()
115 if (size_ < 0) { in PerformSanityChecks()
116 LOG(ERROR) << "image size " << size_ << " is negative"; in PerformSanityChecks()
133 if (free_space <= (size_)) { in PerformSanityChecks()
142 if (free_space < size_ + *free_space_threshold) { in PerformSanityChecks()
143 LOG(ERROR) << "post-installation free space (" << free_space << " - " << size_ in PerformSanityChecks()
164 service_->StartAsyncOperation("create " + name_, size_); in Preallocate()
165 if (!CreateImage(file, size_)) { in Preallocate()
191 service_->StartAsyncOperation("write " + name_, size_); in CommitGsiChunk()
222 int new_progress = ((size_ - remaining) * 1000) / size_; in CommitGsiChunk()
224 service_->UpdateProgress(IGsiService::STATUS_WORKING, size_ - remaining); in CommitGsiChunk()
228 service_->UpdateProgress(IGsiService::STATUS_COMPLETE, size_); in CommitGsiChunk()
233 return gsi_bytes_written_ == size_; in IsFinishedWriting()
241 if (static_cast<uint64_t>(bytes) > size_ - gsi_bytes_written_) { in CommitGsiChunk()
243 LOG(ERROR) << "chunk size " << bytes << " exceeds remaining image size (" << size_ in CommitGsiChunk()
315 LOG(ERROR) << "image incomplete; expected " << size_ << " bytes, waiting for " in CheckInstallState()
316 << (size_ - gsi_bytes_written_) << " bytes"; in CheckInstallState()