Searched refs:CFCReleaser (Results 1 – 15 of 15) sorted by relevance
26 template <class T> class CFCReleaser {30 CFCReleaser(T ptr = NULL) : _ptr(ptr) {} in _ptr()38 CFCReleaser(const CFCReleaser &rhs) : _ptr(rhs.get()) { in CFCReleaser() function45 virtual ~CFCReleaser() { reset(); } in ~CFCReleaser()53 CFCReleaser &operator=(const CFCReleaser<T> &rhs) {
13 : CFCReleaser<CFMutableDictionaryRef>(s) {} in CFCMutableDictionary()17 : CFCReleaser<CFMutableDictionaryRef>(rhs) {} in CFCMutableDictionary()117 CFCReleaser<CFNumberRef> cf_number( in AddValueSInt8()132 CFCReleaser<CFNumberRef> cf_number( in SetValueSInt8()147 CFCReleaser<CFNumberRef> cf_number( in AddValueSInt16()162 CFCReleaser<CFNumberRef> cf_number( in SetValueSInt16()177 CFCReleaser<CFNumberRef> cf_number( in AddValueSInt32()192 CFCReleaser<CFNumberRef> cf_number( in SetValueSInt32()207 CFCReleaser<CFNumberRef> cf_number( in AddValueSInt64()222 CFCReleaser<CFNumberRef> cf_number( in SetValueSInt64()[all …]
13 CFCBundle::CFCBundle(const char *path) : CFCReleaser<CFBundleRef>() { in CFCBundle()19 : CFCReleaser<CFBundleRef>(url ? CFBundleCreate(NULL, url) : NULL) {} in CFCBundle()35 CFCReleaser<CFURLRef> bundle_url(::CFURLCreateWithFileSystemPath( in SetPath()46 CFCReleaser<CFURLRef> bundle_url(CFBundleCopyBundleURL(bundle)); in GetPath()
12 CFCData::CFCData(CFDataRef data) : CFCReleaser<CFDataRef>(data) {} in CFCData()15 CFCData::CFCData(const CFCData &rhs) : CFCReleaser<CFDataRef>(rhs) {} in CFCData()47 CFCReleaser<CFWriteStreamRef> stream( in Serialize()
14 CFCString::CFCString(CFStringRef s) : CFCReleaser<CFStringRef>(s) {} in CFCString()17 CFCString::CFCString(const CFCString &rhs) : CFCReleaser<CFStringRef>(rhs) {} in CFCString()27 : CFCReleaser<CFStringRef>() { in CFCString()
14 : CFCReleaser<CFMutableSetRef>(s) {} in CFCMutableSet()18 : CFCReleaser<CFMutableSetRef>(rhs) {} in CFCMutableSet()
14 : CFCReleaser<CFMutableArrayRef>(s) {} in CFCMutableArray()18 : CFCReleaser<CFMutableArrayRef>(rhs) // NOTE: this won't make a copy of the in CFCMutableArray()
14 class CFCData : public CFCReleaser<CFDataRef> {
14 class CFCMutableSet : public CFCReleaser<CFMutableSetRef> {
14 class CFCBundle : public CFCReleaser<CFBundleRef> {
14 class CFCMutableArray : public CFCReleaser<CFMutableArrayRef> {
16 class CFCString : public CFCReleaser<CFStringRef> {
14 class CFCMutableDictionary : public CFCReleaser<CFMutableDictionaryRef> {
88 CFCReleaser<CFUUIDRef> module_uuid_ref(::CFUUIDCreateWithBytes( in LocateMacOSXFilesUsingDebugSymbols()95 CFCReleaser<CFURLRef> exec_url; in LocateMacOSXFilesUsingDebugSymbols()105 CFCReleaser<CFURLRef> dsym_url( in LocateMacOSXFilesUsingDebugSymbols()143 CFCReleaser<CFDictionaryRef> dict( in LocateMacOSXFilesUsingDebugSymbols()196 CFCReleaser<CFURLRef> bundle_exe_url( in LocateMacOSXFilesUsingDebugSymbols()631 CFCReleaser<CFDictionaryRef> plist( in DownloadObjectAndSymbolFile()
77 #include "../cfcpp/CFCReleaser.h"121 CFCReleaser<CFURLRef> url(bundle.CopyExecutableURL());328 CFCReleaser<CFURLRef> file_URL(::CFURLCreateWithFileSystemPath(390 CFCReleaser<CFArrayRef> file_array(