Home | History | Annotate | Download | only in core

Lines Matching refs:ref

20     objects. When an existing owner wants to share a reference, it calls ref().
50 void ref() const {
75 * Alias for ref(), for compatibility with scoped_refptr.
77 void AddRef() { this->ref(); }
100 * Called when the ref count goes to 0.
119 null in on each side of the assignment, and ensuring that ref() is called
124 if (src) src->ref(); \
130 /** Call obj->ref() and return obj. The obj must not be NULL.
134 obj->ref();
138 /** Check if the argument is non-null, and if so, call obj->ref() and return obj.
142 obj->ref();
192 * and makes ref and unref private.
197 void ref() const;
205 * SkAutoTUnref assumes ownership of the ref. As a result, it is an error
206 * for the user to ref or unref through SkAutoTUnref. Therefore
208 * skAutoTUnrefInstance->ref() and skAutoTUnrefInstance->unref().
232 /** Wrapper class for SkRefCnt pointers. This manages ref/unref of a pointer to