Home | History | Annotate | Download | only in base

Lines Matching defs:observers_

114   size_t size() const { return observers_.size(); }
123 ListType observers_;
138 : list->observers_.size()) {
152 ListType& observers = list_->observers_;
163 if (ContainsValue(observers_, obs)) {
167 observers_.push_back(obs);
174 std::find(observers_.begin(), observers_.end(), obs);
175 if (it != observers_.end()) {
179 observers_.erase(it);
187 for (size_t i = 0; i < observers_.size(); ++i) {
188 if (observers_[i] == observer)
197 for (typename ListType::iterator it = observers_.begin();
198 it != observers_.end(); ++it) {
202 observers_.clear();
208 observers_.erase(
209 std::remove(observers_.begin(), observers_.end(), nullptr),
210 observers_.end());