Lines Matching refs:it
74 auto it = entries_.emplace(std::forward<_Args>(__args)...); in Emplace() local
75 return it->second; in Emplace()
81 auto it = entries_.find(key); in Find() local
82 if (it == entries_.end()) { in Find()
86 return std::pair { true, it->second }; in Find()
99 auto it = entries_.insert_or_assign(key, std::forward<_Obj>(obj)); in InsertOrAssign() local
100 return it.second; in InsertOrAssign()
106 auto it = entries_.insert(value_type { key, value }); in Insert() local
107 return it.second; in Insert()
147 for (auto it = entries_.begin(); it != entries_.end();) { in EraseIf() local
148 if (action((*it).first, (*it).second)) { in EraseIf()
149 it = entries_.erase(it); in EraseIf()
151 ++it; in EraseIf()
198 auto it = entries_.find(key); in Compute() local
199 if (it == entries_.end()) { in Compute()
201 it = result.second ? result.first : entries_.end(); in Compute()
203 if (it == entries_.end()) { in Compute()
206 if (!action(it->first, it->second)) { in Compute()
219 auto it = entries_.find(key); in ComputeIfPresent() local
220 if (it == entries_.end()) { in ComputeIfPresent()
223 if (!action(key, it->second)) { in ComputeIfPresent()
235 auto it = entries_.find(key); in ComputeIfAbsent() local
236 if (it != entries_.end()) { in ComputeIfAbsent()