Lines Matching refs:observers_for_key
101 const auto observers_for_key = observers_.find(key); in Delete() local
102 if (observers_for_key != observers_.end()) { in Delete()
103 std::vector<ObserverInterface*> copy_observers(observers_for_key->second); in Delete()
157 const auto observers_for_key = observers_.find(key); in SetValue() local
158 if (observers_for_key != observers_.end()) { in SetValue()
159 std::vector<ObserverInterface*> copy_observers(observers_for_key->second); in SetValue()
181 std::vector<ObserverInterface*>& observers_for_key = observers_[key]; in RemoveObserver() local
183 std::find(observers_for_key.begin(), observers_for_key.end(), observer); in RemoveObserver()
184 EXPECT_NE(observer_it, observers_for_key.end()) in RemoveObserver()
186 if (observer_it != observers_for_key.end()) in RemoveObserver()
187 observers_for_key.erase(observer_it); in RemoveObserver()
188 if (observers_for_key.empty()) in RemoveObserver()