Searched refs:cfstr (Results 1 – 5 of 5) sorted by relevance
19 const CFStringRef cfstr, std::string& cppstr) { in p_convertHostCFStringRefToCPPString() argument23 if (NULL != cfstr) { in p_convertHostCFStringRefToCPPString()26 if (CFGetTypeID(cfstr) == CFStringGetTypeID()) { in p_convertHostCFStringRefToCPPString()31 unsigned length = CFStringGetLength(cfstr); in p_convertHostCFStringRefToCPPString()33 if (CFStringGetCString(cfstr, buf, 1 + length, kCFStringEncodingASCII)) { in p_convertHostCFStringRefToCPPString()
25 bool p_convertHostCFStringRefToCPPString(const CFStringRef cfstr,
37 CFStringRef cfstr;38 …NSString *str = (NSString *)cfstr; // expected-error {{cast of C pointer type 'CFStringRef' (aka '…
101 CFStringRef cfstr;102 …NSString *str = (NSString *)cfstr; // expected-error {{cast of C pointer type 'CFStringRef' (aka '…336 CFStringRef cfstr; field350 …NSString *str = (NSString *)cfstr; // expected-error {{cast of C pointer type 'CFStringRef' (aka '…
1183 cfstr; /* Localized text as a CF string */ in _cupsMessageLookup() local1190 cfstr = cfm ? CFDictionaryGetValue(dict, cfm) : NULL; in _cupsMessageLookup()1192 if (cfstr) in _cupsMessageLookup()1196 CFStringGetCString(cfstr, buffer, sizeof(buffer), kCFStringEncodingUTF8); in _cupsMessageLookup()