Searched refs:partition_weight_ (Results 1 – 5 of 5) sorted by relevance
106 partition_weight_.clear(); in PerformAction()107 partition_weight_.reserve(install_plan_.partitions.size() + 1); in PerformAction()108 partition_weight_.push_back(0); in PerformAction()110 partition_weight_.push_back(part.target_size); in PerformAction()112 std::partial_sum(partition_weight_.begin(), in PerformAction()113 partition_weight_.end(), in PerformAction()114 partition_weight_.begin(), in PerformAction()163 UpdateProgress((partition_weight_[partition_index_] * (1 - progress) + in UpdatePartitionProgress()164 partition_weight_[partition_index_ + 1] * progress) / in UpdatePartitionProgress()165 partition_weight_.back()); in UpdatePartitionProgress()
139 partition_weight_.resize(install_plan_.partitions.size()); in PerformAction()152 partition_weight_[i] = partition.run_postinstall; in PerformAction()153 total_weight_ += partition_weight_[i]; in PerformAction()363 if (current_partition_ >= partition_weight_.size() || total_weight_ == 0) { in ReportProgress()372 (accumulated_weight_ + partition_weight_[current_partition_] * frac) / in ReportProgress()426 accumulated_weight_ += partition_weight_[current_partition_]; in Cleanup()
118 std::vector<double> partition_weight_; variable
182 std::vector<size_t> partition_weight_; variable
254 action.partition_weight_ = {1, 2, 5}; in TEST_F()