Lines Matching refs:second

209       return it->second;  in GetFile()
610 s = backup_env_->NewDirectory(d.first, d.second); in Initialize()
692 Status s = backup_iter->second->LoadFromFile(options_.backup_dir, in Initialize()
699 std::make_pair(s, std::move(backup_iter->second)))); in Initialize()
708 backup_iter->second->GetInfoString().c_str()); in Initialize()
731 assert(backups_.begin()->second->Empty()); in Initialize()
817 assert(ret.second == true); in CreateNewBackupWithMetadata()
818 auto& new_backup = ret.first->second; in CreateNewBackupWithMetadata()
1061 auto s = backup->second->Delete(); in DeleteBackupInternal()
1071 auto s = corrupt->second.second->Delete(); in DeleteBackupInternal()
1083 if (itr.second->refs == 0) { in DeleteBackupInternal()
1115 if (!backup.second->Empty()) { in GetBackupInfo()
1117 backup.first, backup.second->GetTimestamp(), backup.second->GetSize(), in GetBackupInfo()
1118 backup.second->GetNumberFiles(), backup.second->GetAppMetadata())); in GetBackupInfo()
1140 return corrupt_itr->second.first; in RestoreDBFromBackup()
1146 auto& backup = backup_itr->second; in RestoreDBFromBackup()
1261 return corrupt_itr->second.first; in VerifyBackup()
1269 auto& backup = backup_itr->second; in VerifyBackup()
1636 child_itr->second->refs == 0) { in GarbageCollect()
1714 if (ret.second) { in AddFile()
1716 itr->second->refs = 1; in AddFile()
1722 if (itr->second->checksum_value != file_info->checksum_value) { in AddFile()
1727 ++itr->second->refs; // increase refcount if already present in AddFile()
1731 files_.push_back(itr->second); in AddFile()