Lines Matching refs:fCFRef
99 explicit AutoCFRelease(CFRef cfRef = nullptr) : fCFRef(cfRef) { } in AutoCFRelease()
100 ~AutoCFRelease() { CFSafeRelease(fCFRef); } in ~AutoCFRelease()
103 if (that != fCFRef) { in reset()
104 CFSafeRelease(fCFRef); in reset()
105 fCFRef = that; in reset()
110 CFRef self = fCFRef; in detach()
111 fCFRef = nullptr; in detach()
115 operator CFRef() const { return fCFRef; } in operator CFRef()
116 CFRef get() const { return fCFRef; } in get()
118 CFRef* operator&() { SkASSERT(fCFRef == nullptr); return &fCFRef; } in operator &()
120 CFRef fCFRef; member in AutoCFRelease