Searched refs:allocation_observers_ (Results 1 – 2 of 2) sorted by relevance
27 DCHECK_EQ(allocation_observers_.end(), in RegisterObserver()28 std::find(allocation_observers_.begin(), in RegisterObserver()29 allocation_observers_.end(), observer)); in RegisterObserver()30 allocation_observers_.push_back(observer); in RegisterObserver()34 auto it = std::find(allocation_observers_.begin(), in UnregisterObserver()35 allocation_observers_.end(), observer); in UnregisterObserver()36 DCHECK_NE(allocation_observers_.end(), it); in UnregisterObserver()
360 std::vector<AllocationObserver*> allocation_observers_; variable380 for (size_t i = 0; i < allocation_observers_.size(); ++i) { in ForAllAllocationObservers()381 auto* observer = allocation_observers_[i]; in ForAllAllocationObservers()387 allocation_observers_.erase( in ForAllAllocationObservers()388 std::remove(allocation_observers_.begin(), allocation_observers_.end(), in ForAllAllocationObservers()390 allocation_observers_.end()); in ForAllAllocationObservers()