Searched refs:cfstr (Results 1 – 1 of 1) sorted by relevance
382 static char * CFString_to_cstr(CFStringRef cfstr) { in CFString_to_cstr() argument385 if (cfstr != NULL) { in CFString_to_cstr()386 const char *tmp = CFStringGetCStringPtr(cfstr, kCFStringEncodingUTF8); in CFString_to_cstr()387 CFIndex n = CFStringGetLength(cfstr) + 1 /* for the terminating NULL */; in CFString_to_cstr()392 if (!CFStringGetCString(cfstr, ret, n, kCFStringEncodingUTF8)) { in CFString_to_cstr()