Lines Matching refs:plist
1216 /* Load the SystemVersion.plist or ServerVersion.plist file into a
1218 ServerVersion.plist. */
1223 "/System/Library/CoreServices/ServerVersion.plist";
1225 "/System/Library/CoreServices/SystemVersion.plist";
1228 CFPropertyListRef plist = NULL;
1235 /* Try to open the plist files to get the data */
1278 plist = CFPropertyListCreateWithData(kCFAllocatorDefault, resource,
1283 plist = CFPropertyListCreateFromXMLData(kCFAllocatorDefault, resource,
1291 if (!plist)
1294 if (CFDictionaryGetTypeID() != CFGetTypeID(plist))
1297 CFRelease(plist);
1301 return plist;
1306 value_from_dict(CFDictionaryRef plist, CFStringRef key, apr_pool_t *pool)
1313 if (!CFDictionaryGetValueIfPresent(plist, key, &valptr))
1402 "SystemVersion.plist" file (or ServerVersion.plist, for Mac Os
1408 CFDictionaryRef plist = system_version_plist(&server, pool);
1410 if (plist)
1412 const char *osname = value_from_dict(plist, CFSTR("ProductName"), pool);
1413 const char *osver = value_from_dict(plist,
1416 const char *build = value_from_dict(plist,
1423 osver = value_from_dict(plist, CFSTR("ProductVersion"), pool);
1428 CFRelease(plist);