Home | History | Annotate | Download | only in core

Lines Matching refs:unref

19     When an owner wants to release its reference, it calls unref(). When the
20 shared object's reference count goes to zero as the result of an unref()
52 // until previous owners are all totally done calling unref().
58 /** Increment the reference count. Must be balanced by a call to unref().
77 void unref() const {
137 before unref(), in case the two pointers point to the same object.
151 if (old_dst) old_dst->unref(); \
164 if (dst) dst->unref(); \
188 /** Check if the argument is non-null, and if so, call obj->unref()
192 obj->unref();
198 obj->unref();
206 void operator()(T* t) { t->unref(); }
210 * Utility class that simply unref's its argument in the destructor.
238 // - unref() needs a release barrier, and an acquire if it's going to call delete.
242 void unref() const {
248 void deref() const { this->unref(); }