Home | History | Annotate | Download | only in source

Lines Matching refs:get

38     // Running as root, get all processes
74 // Get the process id for the app (if there is one)
77 ::CFDictionarySetValue (appInfoDict.get(), DTSERVICES_APP_PID_KEY, pidCFNumber.get());
80 ::CFDictionarySetValue (appInfoDict.get(), DTSERVICES_APP_FRONTMOST_KEY, kCFBooleanFalse);
105 if (cf_pid_path.get())
106 ::CFDictionarySetValue (appInfoDict.get(), DTSERVICES_APP_PATH_KEY, cf_pid_path.get());
112 ::CFDictionarySetValue (appInfoDict.get(), DTSERVICES_APP_DISPLAY_NAME_KEY, pid_name.get());
116 ::CFArrayAppendValue (plistMutableArray, appInfoDict.get());
139 result = GetPrcoesses (plistMutableArray.get(), all_users);
147 CFIndex count = sbsAppIDs.get() ? ::CFArrayGetCount (sbsAppIDs.get()) : 0;
151 CFStringRef displayIdentifier = (CFStringRef)::CFArrayGetValueAtIndex (sbsAppIDs.get(), i);
156 // Get the process id for the app (if there is one)
161 ::CFDictionarySetValue (appInfoDict.get(), DTSERVICES_APP_PID_KEY, pidCFNumber.get());
165 if (sbsFrontAppID.get() && displayIdentifier && (::CFStringCompare (sbsFrontAppID.get(), displayIdentifier, 0) == kCFCompareEqualTo))
166 ::CFDictionarySetValue (appInfoDict.get(), DTSERVICES_APP_FRONTMOST_KEY, kCFBooleanTrue);
168 ::CFDictionarySetValue (appInfoDict.get(), DTSERVICES_APP_FRONTMOST_KEY, kCFBooleanFalse);
172 if (executablePath.get() != NULL)
174 ::CFDictionarySetValue (appInfoDict.get(), DTSERVICES_APP_PATH_KEY, executablePath.get());
178 if (iconImagePath.get() != NULL)
180 ::CFDictionarySetValue (appInfoDict.get(), DTSERVICES_APP_ICON_PATH_KEY, iconImagePath.get());
184 if (localizedDisplayName.get() != NULL)
186 ::CFDictionarySetValue (appInfoDict.get(), DTSERVICES_APP_DISPLAY_NAME_KEY, localizedDisplayName.get());
190 ::CFArrayAppendValue (plistMutableArray.get(), appInfoDict.get());
196 result = GetPrcoesses (plistMutableArray.get(), all_users);
199 CFReleaser<CFDataRef> plistData (::CFPropertyListCreateXMLData (alloc, plistMutableArray.get()));
202 if (plistData.get() != NULL)
204 CFIndex size = ::CFDataGetLength (plistData.get());
205 const UInt8 *bytes = ::CFDataGetBytePtr (plistData.get());
233 return appIdsForPID.get() != NULL;