Lines Matching refs:unref
24 When an owner wants to release its reference, it calls unref(). When the
25 shared object's reference count goes to zero as the result of an unref()
53 // until previous owners are all totally done calling unref().
59 /** Increment the reference count. Must be balanced by a call to unref().
71 void unref() const {
122 void deref() const { this->unref(); }
146 /** Check if the argument is non-null, and if so, call obj->unref()
150 obj->unref();
172 // - unref() needs a release barrier, and an acquire if it's going to call delete.
176 void unref() const {
183 void deref() const { this->unref(); }
187 // least 'threadIsolatedTestCnt' refs for which no other thread may make a balancing unref()
209 * Shared pointer class to wrap classes that support a ref()/unref() interface.
213 * may have its ref/unref be thread-safe, but that is not assumed/imposed by sk_sp.
234 * No call to ref() or unref() will be made.
243 * No call to ref() or unref() will be made.
248 * Calls unref() on the underlying object pointer.
259 * sk_sp previously had a reference to an object (i.e. not null) it will call unref() on that
277 * a reference to another object, unref() will be called on that object. No call to ref()
302 * Adopt the new bare pointer, and call unref() on any previously held object (if not null).
306 // Calling fPtr->unref() may call this->~() or this->reset(T*).
317 * No call to unref() will be made.