Searched refs:observers_for_key (Results 1 – 2 of 2) sorted by relevance
101 const auto observers_for_key = observers_.find(key); in Delete() local102 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() local158 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() local183 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()[all …]
60 const auto observers_for_key = observers_.find(key); in SetString() local61 if (observers_for_key != observers_.end()) { in SetString()62 std::vector<ObserverInterface*> copy_observers(observers_for_key->second); in SetString()108 const auto observers_for_key = observers_.find(key); in Delete() local109 if (observers_for_key != observers_.end()) { in Delete()110 std::vector<ObserverInterface*> copy_observers(observers_for_key->second); in Delete()144 std::vector<ObserverInterface*>& observers_for_key = observers_[key]; in RemoveObserver() local146 std::find(observers_for_key.begin(), observers_for_key.end(), observer); in RemoveObserver()147 if (observer_it != observers_for_key.end()) in RemoveObserver()148 observers_for_key.erase(observer_it); in RemoveObserver()