Searched refs:AutoCFRelease (Results 1 – 2 of 2) sorted by relevance
63 template<typename CFRef> class AutoCFRelease : private SkNoncopyable { class65 explicit AutoCFRelease(CFRef cfRef = NULL) : fCFRef(cfRef) { } in AutoCFRelease() function in AutoCFRelease66 ~AutoCFRelease() { CFSafeRelease(fCFRef); } in ~AutoCFRelease()74 AutoCFRelease& operator =(CFRef that) { in operator =()97 AutoCFRelease<CFDataRef> fCFData;305 AutoCFRelease<CGColorSpaceRef> colorspace(CGColorSpaceCreateDeviceRGB()); in supports_LCD()306 AutoCFRelease<CGContextRef> cgContext(CGBitmapContextCreate(&rgb, 1, 1, 8, 4, in supports_LCD()334 AutoCFRelease<CGColorSpaceRef> fRGBSpace;337 AutoCFRelease<CGContextRef> fCG;383 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(fontRef, NULL)); in CTFontRef_to_SkFontID()[all …]
41 class AutoCFRelease : SkNoncopyable { class43 AutoCFRelease(CFTypeRef obj) : fObj(obj) {} in AutoCFRelease() function in AutoCFRelease44 ~AutoCFRelease() { CFSafeRelease(fObj); } in ~AutoCFRelease()1934 AutoCFRelease ar(cfArray); in CountTables()1946 AutoCFRelease ar(cfArray); in GetTableTags()1978 AutoCFRelease ar(srcData); in GetTableSize()1990 AutoCFRelease ar(srcData); in GetTableData()