Searched refs:observers_for_key (Results 1 – 2 of 2) sorted by relevance
100 const auto observers_for_key = observers_.find(key); in Delete() local101 if (observers_for_key != observers_.end()) { in Delete()102 std::vector<ObserverInterface*> copy_observers(observers_for_key->second); in Delete()140 const auto observers_for_key = observers_.find(key); in SetValue() local141 if (observers_for_key != observers_.end()) { in SetValue()142 std::vector<ObserverInterface*> copy_observers(observers_for_key->second); in SetValue()164 std::vector<ObserverInterface*>& observers_for_key = observers_[key]; in RemoveObserver() local166 std::find(observers_for_key.begin(), observers_for_key.end(), observer); in RemoveObserver()167 EXPECT_NE(observer_it, observers_for_key.end()) in RemoveObserver()169 if (observer_it != observers_for_key.end()) in RemoveObserver()[all …]
58 const auto observers_for_key = observers_.find(key); in SetString() local59 if (observers_for_key != observers_.end()) { in SetString()60 std::vector<ObserverInterface*> copy_observers(observers_for_key->second); in SetString()106 const auto observers_for_key = observers_.find(key); in Delete() local107 if (observers_for_key != observers_.end()) { in Delete()108 std::vector<ObserverInterface*> copy_observers(observers_for_key->second); in Delete()124 std::vector<ObserverInterface*>& observers_for_key = observers_[key]; in RemoveObserver() local126 std::find(observers_for_key.begin(), observers_for_key.end(), observer); in RemoveObserver()127 if (observer_it != observers_for_key.end()) in RemoveObserver()128 observers_for_key.erase(observer_it); in RemoveObserver()