Home | History | Annotate | Download | only in mac

Lines Matching refs:Retain

16 // of a reference to any type that is maintained by Retain and Release methods.
18 // The Traits structure must provide the Retain and Release methods for type T.
25 // void Retain(CGLContextObj object) { CGLContextRetain(object); }
39 // ownership of the object (and should not call Retain in initialization) or if
41 // Retain in initialization). This behavior is based on the |policy| parameter,
42 // with |ASSUME| for the former and |RETAIN| for the latter. The default policy
57 if (object_ && policy == base::scoped_policy::RETAIN)
58 Traits::Retain(object_);
64 Traits::Retain(object_);
73 reset(that.get(), base::scoped_policy::RETAIN);
88 if (object && policy == base::scoped_policy::RETAIN)
89 Traits::Retain(object);