Home
last modified time | relevance | path

Searched refs:eraseEnd (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/services/mediametrics/include/mediametricsservice/
DTransactionLog.h225 auto eraseEnd = mLog.begin(); in gc() local
233 stale.emplace_back(std::move(eraseEnd->second)); in gc()
234 ++eraseEnd; // amortized O(1) in gc()
237 const int64_t timeToErase = eraseEnd->first; in gc()
238 while (eraseEnd != mLog.end()) { in gc()
239 auto it = eraseEnd; in gc()
244 stale.emplace_back(std::move(eraseEnd->second)); in gc()
245 ++eraseEnd; in gc()
248 mLog.erase(mLog.begin(), eraseEnd); // O(ptr_diff) in gc()