Searched refs:CFReleaser (Results 1 – 10 of 10) sorted by relevance
23 template <class T> class CFReleaser {29 CFReleaser(T ptr = NULL) : _ptr(ptr) {} in _ptr()30 CFReleaser(const CFReleaser ©) : _ptr(copy.get()) { in CFReleaser() function34 virtual ~CFReleaser() { reset(); } in ~CFReleaser()37 CFReleaser &operator=(const CFReleaser<T> ©) {
18 class CFBundle : public CFReleaser<CFBundleRef> {32 CFReleaser<CFURLRef> m_bundle_url;
18 CFString::CFString(CFStringRef s) : CFReleaser<CFStringRef>(s) {} in CFString()21 CFString::CFString(const CFString &rhs) : CFReleaser<CFStringRef>(rhs) {} in CFString()31 : CFReleaser<CFStringRef>() { in CFString()
18 : CFReleaser<CFBundleRef>(), m_bundle_url() { in CFBundle()25 : CFReleaser<CFBundleRef>(rhs), m_bundle_url(rhs.m_bundle_url) {} in CFBundle()
19 class CFString : public CFReleaser<CFStringRef> {
739 CFReleaser<SBSWatchdogAssertionRef> watchdog;772 CFReleaser<BKSWatchdogAssertionRef> watchdog;
3611 CFReleaser<CFMutableArrayRef> launch_argv;3636 CFReleaser<CFMutableDictionaryRef> launch_envp;
68 CFReleaser<CFMutableDictionaryRef> appInfoDict( in GetProcesses()74 CFReleaser<CFNumberRef> pidCFNumber( in GetProcesses()130 CFReleaser<CFMutableArrayRef> plistMutableArray( in ListApplications()141 CFReleaser<CFStringRef> sbsFrontAppID( in ListApplications()143 CFReleaser<CFArrayRef> sbsAppIDs(::SBSCopyApplicationDisplayIdentifiers( in ListApplications()154 CFReleaser<CFMutableDictionaryRef> appInfoDict( in ListApplications()162 CFReleaser<CFNumberRef> pidCFNumber( in ListApplications()178 CFReleaser<CFStringRef> executablePath( in ListApplications()185 CFReleaser<CFStringRef> iconImagePath( in ListApplications()192 CFReleaser<CFStringRef> localizedDisplayName( in ListApplications()[all …]
1696 CFReleaser<CFURLRef> url(bundle.CopyExecutableURL()); in DNBResolveExecutablePath()
37 using CFReleaser = std::unique_ptr<std::remove_pointer_t<T>, typedef41 class CFString : public CFReleaser<CFStringRef> {43 CFString(CFStringRef CFStr = nullptr) : CFReleaser<CFStringRef>(CFStr) {} in CFString()85 class CFBundle : public CFReleaser<CFBundleRef> {87 CFBundle(StringRef Path) : CFReleaser<CFBundleRef>() { SetFromPath(Path); } in CFBundle()90 : CFReleaser<CFBundleRef>(Url ? ::CFBundleCreate(nullptr, Url) in CFBundle()126 CFReleaser<CFURLRef> BundleURL(::CFURLCreateFromFileSystemRepresentation( in SetFromPath()