Lines Matching refs:mHistory
259 mHistory.clear();
263 mHistory = other.mHistory;
269 for (const auto &[lkey, lhist] : mHistory) {
271 mHistory[lkey] = std::make_shared<KeyHistory>(*lhist);
291 auto it = mHistory.find(key);
292 if (it == mHistory.end()) {
304 mHistory[key] = keyHistory;
346 auto it = mHistory.find(remoteKey);
347 if (it == mHistory.end()) continue;
362 const auto it = mHistory.find(key);
363 if (it == mHistory.end()) return BAD_VALUE;
421 return mHistory.size(); in size()
429 mHistory.clear(); in clear()
451 for (auto it = prefix != nullptr ? mHistory.lower_bound(prefix) : mHistory.begin();
452 it != mHistory.end();
481 auto it = mHistory.upper_bound(url); in getKeyHistoryFromUrl()
482 if (it == mHistory.begin()) { in getKeyHistoryFromUrl()
509 if (mHistory.size() < mKeyHighWaterMark) return false; in gc()
516 for (auto it = mHistory.begin(); it != mHistory.end();) { in gc()
524 it = mHistory.erase(it); in gc()
531 if (mHistory.size() > mKeyLowWaterMark) { in gc()
532 const size_t toDelete = mHistory.size() - mKeyLowWaterMark; in gc()
535 auto it2 = mHistory.find(it->second); in gc()
537 mHistory.erase(it2); in gc()
546 mHistory.size()); in gc()
578 History mHistory GUARDED_BY(mLock);