• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/configd-596.15/SystemConfiguration.fproj/

Lines Matching defs:newDict

168 	CFMutableDictionaryRef	newDict;
195 newDict = CFDictionaryCreateMutableCopy(NULL, 0, dict);
197 newDict = CFDictionaryCreateMutable(NULL,
204 CFDictionarySetValue(newDict, kSCPropSystemComputerName, name);
207 CFDictionarySetValue(newDict, kSCPropSystemComputerNameEncoding, num);
210 CFDictionaryRemoveValue(newDict, kSCPropSystemComputerNameRegion);
218 CFDictionarySetValue(newDict, kSCPropSystemComputerNameRegion, num);
223 CFDictionaryRemoveValue(newDict, kSCPropSystemComputerName);
224 CFDictionaryRemoveValue(newDict, kSCPropSystemComputerNameEncoding);
225 CFDictionaryRemoveValue(newDict, kSCPropSystemComputerNameRegion);
228 if (CFDictionaryGetCount(newDict) > 0) {
229 ok = SCPreferencesPathSetValue(prefs, path, newDict);
235 CFRelease(newDict);
280 CFMutableDictionaryRef newDict;
306 newDict = CFDictionaryCreateMutableCopy(NULL, 0, dict);
308 newDict = CFDictionaryCreateMutable(NULL,
315 CFDictionarySetValue(newDict, kSCPropSystemHostName, name);
317 CFDictionaryRemoveValue(newDict, kSCPropSystemHostName);
320 if (CFDictionaryGetCount(newDict) > 0) {
321 ok = SCPreferencesPathSetValue(prefs, path, newDict);
327 CFRelease(newDict);
507 CFMutableDictionaryRef newDict;
544 newDict = CFDictionaryCreateMutableCopy(NULL, 0, dict);
546 newDict = CFDictionaryCreateMutable(NULL,
553 CFDictionarySetValue(newDict, kSCPropNetLocalHostName, name);
555 CFDictionaryRemoveValue(newDict, kSCPropNetLocalHostName);
558 if (CFDictionaryGetCount(newDict) > 0) {
559 ok = SCPreferencesPathSetValue(prefs, path, newDict);
565 CFRelease(newDict);