Searched refs:TrackedRef (Results 1 – 3 of 3) sorted by relevance
72 class TrackedRef {75 TrackedRef(TrackedRef<T>&& other) in TrackedRef() function81 TrackedRef(const TrackedRef<T>& other) in TrackedRef() function89 TrackedRef& operator=(TrackedRef<T>&& other) = delete;90 TrackedRef& operator=(const TrackedRef<T>& other) = delete;92 ~TrackedRef() { in ~TrackedRef()109 TrackedRef(T* ptr, TrackedRefFactory<T>* factory) in TrackedRef() function123 : ptr_(ptr), self_ref_(WrapUnique(new TrackedRef<T>(ptr_, this))) { in TrackedRefFactory()138 TrackedRef<T> GetTrackedRef() { in GetTrackedRef()144 return TrackedRef<T>(ptr_, this); in GetTrackedRef()[all …]
27 TrackedRef<ObjectWithTrackedRefs> GetTrackedRef() { in GetTrackedRef()59 [](TrackedRef<ObjectWithTrackedRefs> obj) { in TEST()94 [](TrackedRef<ObjectWithTrackedRefs> obj) { in TEST()116 void ConsumesTrackedRef(TrackedRef<ObjectWithTrackedRefs> obj) {} in ConsumesTrackedRef()136 TrackedRef<Foo> plain = foo.factory.GetTrackedRef(); in TEST()139 TrackedRef<Foo> copy_constructed(plain); in TEST()142 TrackedRef<Foo> moved_constructed(std::move(copy_constructed)); in TEST()
171 TrackedRef<TaskTracker> task_tracker, in SchedulerWorkerPool()