Lines Matching refs:AutoCFRelease

79 template<typename CFRef> class AutoCFRelease : private SkNoncopyable {
81 explicit AutoCFRelease(CFRef cfRef = NULL) : fCFRef(cfRef) { }
82 ~AutoCFRelease() { CFSafeRelease(fCFRef); }
90 AutoCFRelease& operator =(CFRef that) {
118 AutoCFRelease<CFDataRef> fCFData;
310 AutoCFRelease<CGColorSpaceRef> colorspace(CGColorSpaceCreateDeviceRGB());
311 AutoCFRelease<CGContextRef> cgContext(CGBitmapContextCreate(&rgb, 1, 1, 8, 4,
339 AutoCFRelease<CGColorSpaceRef> fRGBSpace;
342 AutoCFRelease<CGContextRef> fCG;
389 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(fontRef, NULL));
449 AutoCFRelease<CTFontRef> fFontRef;
498 AutoCFRelease<CFStringRef> cfFontName(make_CFString(familyName));
500 AutoCFRelease<CFNumberRef> cfFontTraits(
503 AutoCFRelease<CFMutableDictionaryRef> cfAttributes(
508 AutoCFRelease<CFMutableDictionaryRef> cfTraits(
520 AutoCFRelease<CTFontDescriptorRef> ctFontDesc(
701 AutoCFRelease<CTFontRef> fCTFont;
710 AutoCFRelease<CTFontRef> fCTVerticalFont;
712 AutoCFRelease<CGFontRef> fCGFont;
743 AutoCFRelease<CTFontDescriptorRef> ctFontDesc;
745 AutoCFRelease<CFMutableDictionaryRef> cfAttributes(CFDictionaryCreateMutable(
751 AutoCFRelease<CFNumberRef> cfVertical(CFNumberCreate(
1033 AutoCFRelease<CGPathRef> path(CTFontCreatePathForGlyph(fCTFont, cgGlyph, NULL));
1355 AutoCFRelease<CGPathRef> cgPath(CTFontCreatePathForGlyph(font, cgGlyph, NULL));
1439 AutoCFRelease<CGFontRef> cg(CGFontCreateWithDataProvider(provider));
1473 AutoCFRelease<CFCharacterSetRef> charSet(CTFontCopyCharacterSet(ctFont));
1479 AutoCFRelease<CFDataRef> bitmap(CFCharacterSetCreateBitmapRepresentation(kCFAllocatorDefault,
1541 AutoCFRelease<CTFontRef> ctFont(CTFontCreateCopyWithAttributes(
1546 AutoCFRelease<CFStringRef> fontName(CTFontCopyPostScriptName(ctFont));
1649 AutoCFRelease<CFNumberRef> fontFormatRef(
1749 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(fFontRef, NULL));
1757 AutoCFRelease<CFStringRef> cfLanguage;
1758 AutoCFRelease<CFStringRef> cfFamilyName(
1784 AutoCFRelease<CGFontRef> cgFont(CTFontCopyGraphicsFont(ctFont, NULL));
1791 AutoCFRelease<CFArrayRef> cfArray(CTFontCopyAvailableTables(fFontRef,
1808 AutoCFRelease<CFDataRef> srcData(copyTableFromFont(fFontRef, tag));
1982 AutoCFRelease<CFStringRef> ref((CFStringRef)CTFontDescriptorCopyAttribute(desc, name));
2032 AutoCFRelease<CFDictionaryRef> dict(
2082 AutoCFRelease<CTFontRef> ctNamed(CTFontCreateWithName(cfFamilyName, 1, NULL));
2193 AutoCFRelease<CFMutableDictionaryRef> cfAttr(
2200 AutoCFRelease<CTFontDescriptorRef> desc(
2236 AutoCFRelease<CFStringRef> cfName(make_CFString(familyName));
2252 AutoCFRelease<CGDataProviderRef> pr(SkCreateDataProviderFromData(data));
2261 AutoCFRelease<CGDataProviderRef> pr(SkCreateDataProviderFromStream(stream));
2270 AutoCFRelease<CGDataProviderRef> pr(CGDataProviderCreateWithFilename(path));
2294 AutoCFRelease<CGDataProviderRef> provider(SkCreateDataProviderFromStream(stream));
2302 AutoCFRelease<CGDataProviderRef> provider(CGDataProviderCreateWithFilename(path));