Lines Matching refs:current_

792       current_(NULL) {  in VersionSet()
797 current_->Unref(); in ~VersionSet()
806 assert(v != current_); in AppendVersion()
807 if (current_ != NULL) { in AppendVersion()
808 current_->Unref(); in AppendVersion()
810 current_ = v; in AppendVersion()
837 Builder builder(this, current_); in LogAndApply()
939 Builder builder(this, current_); in Recover()
1120 const std::vector<FileMetaData*>& files = current_->files_[level]; in WriteSnapshot()
1135 return current_->files_[level].size(); in NumLevelFiles()
1143 int(current_->files_[0].size()), in LevelSummary()
1144 int(current_->files_[1].size()), in LevelSummary()
1145 int(current_->files_[2].size()), in LevelSummary()
1146 int(current_->files_[3].size()), in LevelSummary()
1147 int(current_->files_[4].size()), in LevelSummary()
1148 int(current_->files_[5].size()), in LevelSummary()
1149 int(current_->files_[6].size())); in LevelSummary()
1201 return TotalFileSize(current_->files_[level]); in NumLevelBytes()
1208 for (size_t i = 0; i < current_->files_[level].size(); i++) { in MaxNextLevelOverlappingBytes()
1209 const FileMetaData* f = current_->files_[level][i]; in MaxNextLevelOverlappingBytes()
1210 current_->GetOverlappingInputs(level+1, &f->smallest, &f->largest, in MaxNextLevelOverlappingBytes()
1297 const bool size_compaction = (current_->compaction_score_ >= 1); in PickCompaction()
1298 const bool seek_compaction = (current_->file_to_compact_ != NULL); in PickCompaction()
1300 level = current_->compaction_level_; in PickCompaction()
1306 for (size_t i = 0; i < current_->files_[level].size(); i++) { in PickCompaction()
1307 FileMetaData* f = current_->files_[level][i]; in PickCompaction()
1316 c->inputs_[0].push_back(current_->files_[level][0]); in PickCompaction()
1319 level = current_->file_to_compact_level_; in PickCompaction()
1321 c->inputs_[0].push_back(current_->file_to_compact_); in PickCompaction()
1326 c->input_version_ = current_; in PickCompaction()
1336 current_->GetOverlappingInputs(0, &smallest, &largest, &c->inputs_[0]); in PickCompaction()
1350 current_->GetOverlappingInputs(level+1, &smallest, &largest, &c->inputs_[1]); in SetupOtherInputs()
1360 current_->GetOverlappingInputs(level, &all_start, &all_limit, &expanded0); in SetupOtherInputs()
1370 current_->GetOverlappingInputs(level+1, &new_start, &new_limit, in SetupOtherInputs()
1394 current_->GetOverlappingInputs(level + 2, &all_start, &all_limit, in SetupOtherInputs()
1418 current_->GetOverlappingInputs(level, begin, end, &inputs); in CompactRange()
1441 c->input_version_ = current_; in CompactRange()