Lines Matching refs:CFStringRef
70 static SkUniqueCFRef<CFStringRef> make_CFString(const char s[]) { in make_CFString()
71 return SkUniqueCFRef<CFStringRef>(CFStringCreateWithCString(nullptr, s, kCFStringEncodingUTF8)); in make_CFString()
158 SkUniqueCFRef<CFStringRef> cfFontName = make_CFString(familyName); in create_descriptor()
278 static bool find_desc_str(CTFontDescriptorRef desc, CFStringRef name, SkString* value) { in find_desc_str()
279 SkUniqueCFRef<CFStringRef> ref((CFStringRef)CTFontDescriptorCopyAttribute(desc, name)); in find_desc_str()
393 return CFStringCompare((CFStringRef)a, (CFStringRef)b, 0) == kCFCompareLessThan; in SkCopyAvailableFontFamilyNames()
425 CFStringRef getFamilyNameAt(int index) const { in getFamilyNameAt()
427 return (CFStringRef)CFArrayGetValueAtIndex(fNames.get(), index); in getFamilyNameAt()
430 static SkFontStyleSet* CreateSet(CFStringRef cfFamilyName) { in CreateSet()
477 SkUniqueCFRef<CFStringRef> cfName = make_CFString(familyName); in onMatchFamily()
501 SkUniqueCFRef<CFStringRef> string(CFStringCreateWithBytes( in onMatchFamilyStyleCharacter()