/llvm-project/clang/test/CodeGenObjC/ |
H A D | objc2-write-barrier.m | 9 typedef const struct __CFDictionary * CFDictionaryRef; typedef 25 __strong CFDictionaryRef cfElement; 26 __strong CFDictionaryRef cfElementArray[10]; 32 __strong CFDictionaryRef dict; 33 __strong CFDictionaryRef dictArray[3]; 48 __strong CFDictionaryRef Gdict; 49 __strong CFDictionaryRef Gdictarray[10]; 67 static __strong CFDictionaryRef staticGdict; 68 static __strong CFDictionaryRef staticGdictarray[10];
|
H A D | objc2-assign-global.m | 5 typedef const struct __CFDictionary * CFDictionaryRef; typedef 9 __strong CFDictionaryRef cfElement; 10 __strong CFDictionaryRef cfElementArray[10]; 30 __strong CFDictionaryRef Gdict; 31 __strong CFDictionaryRef Gdictarray[10]; 43 static __strong CFDictionaryRef staticGdict; 44 static __strong CFDictionaryRef staticGdictarray[10];
|
/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/ |
H A D | SymbolLocatorDebugSymbols.cpp | 57 static CFDictionaryRef (*g_dlsym_DBGCopyDSYMPropertyLists)(CFURLRef dsym_url) = 109 g_dlsym_DBGCopyDSYMPropertyLists = (CFDictionaryRef(*)(CFURLRef))dlsym( in LocateExecutableObjectFile() 176 CFCReleaser<CFDictionaryRef> dict( in LocateExecutableObjectFile() 178 CFDictionaryRef uuid_dict = NULL; in LocateExecutableObjectFile() 181 uuid_dict = static_cast<CFDictionaryRef>( in LocateExecutableObjectFile() 551 g_dlsym_DBGCopyDSYMPropertyLists = (CFDictionaryRef(*)(CFURLRef))dlsym( in LocateMacOSXFilesUsingDebugSymbols() 618 CFCReleaser<CFDictionaryRef> dict( in LocateMacOSXFilesUsingDebugSymbols() 620 CFDictionaryRef uuid_dict = NULL; in LocateMacOSXFilesUsingDebugSymbols() 623 uuid_dict = static_cast<CFDictionaryRef>( in LocateMacOSXFilesUsingDebugSymbols() 797 static bool GetModuleSpecInfoFromUUIDDictionary(CFDictionaryRef uuid_dic [all...] |
/llvm-project/clang/test/SemaObjC/ |
H A D | format-ostrace-warning.m | 13 typedef const struct __CFDictionary * CFDictionaryRef; typedef 19 CFStringRef CStringCreateWithFormat(CFAllocatorRef alloc, CFDictionaryRef formatOptions, const char… 22 CFStringRef CStringCreateWithFormatAndArguments(CFAllocatorRef alloc, CFDictionaryRef formatOptions… 25 void CStringAppendFormat(CFMutableStringRef theString, CFDictionaryRef formatOptions, const char* f… 28 void CStringAppendFormatAndArguments(CFMutableStringRef theString, CFDictionaryRef formatOptions, c…
|
H A D | format-cstrings-warning.m | 45 typedef const struct __CFDictionary * CFDictionaryRef; typedef 49 CFStringRef CFStringCreateWithFormat(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringR… 52 CFStringRef CFStringCreateWithFormatAndArguments(CFAllocatorRef alloc, CFDictionaryRef formatOption… 55 void CFStringAppendFormat(CFMutableStringRef theString, CFDictionaryRef formatOptions, CFStringRef … 58 void CFStringAppendFormatAndArguments(CFMutableStringRef theString, CFDictionaryRef formatOptions, …
|
H A D | objcbridge-attribute.m | 19 typedef struct __attribute__((objc_bridge(NSDictionary))) __CFDictionary * CFDictionaryRef; // expe… typedef 137 CFDictionaryRef bar(void) __attribute__((cf_returns_not_retained)); 141 …NSNumber *w2 = (NSNumber*) bar(); // expected-error {{CF object of type 'CFDictionaryRef' (aka 'st…
|
/llvm-project/clang/test/Analysis/ |
H A D | cfref_PR2519.c | 19 typedef const struct __CFDictionary * CFDictionaryRef; typedef 20 extern CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void *… 27 …FNotificationCenterRef center, CFStringRef name, const void *object, CFDictionaryRef userInfo, Boo… 37 …CFDictionaryRef userInfo = CFDictionaryCreate(kCFAllocatorDefault, (const void **)&_key, (const vo… in main()
|
H A D | CFContainers-invalid.c | 6 typedef const struct __CFDictionary * CFDictionaryRef; typedef 13 CFDictionaryRef CFDictionaryCreate(CFAllocatorRef);
|
H A D | retain-release-arc.m | 19 typedef struct __CFDictionary * CFDictionaryRef; typedef 91 …CFDictionaryRef testDict = CFPropertyListCreateWithData(kCFAllocatorDefault, (__bridge CFDataRef)p… 109 …CFDictionaryRef testDict = CFPropertyListCreateWithData(kCFAllocatorDefault, (__bridge CFDataRef)p… 116 - (CFDictionaryRef)copyTestReturningCoreFoundation:(NSData *)plistData { 118 …CFDictionaryRef testDict = CFPropertyListCreateWithData(kCFAllocatorDefault, (__bridge CFDataRef)p…
|
H A D | CFContainers.mm | 49 typedef const struct __CFDictionary * CFDictionaryRef; typedef 80 CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values… 92 CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values… 135 …CFDictionaryRef dict1 = CFDictionaryCreate(kCFAllocatorDefault, (const void**)keys, (const void**)… 136 …CFDictionaryRef dict2 = CFDictionaryCreate(kCFAllocatorDefault, (const void**)elems[0], (const voi… 140 …CFDictionaryRef dict3 = CFDictionaryCreate(kCFAllocatorDefault, (const void**)keys, (const void**)…
|
H A D | misc-ps-64.m | 11 typedef const struct __CFDictionary * CFDictionaryRef; typedef 13 extern Boolean CFDictionaryGetValueIfPresent(CFDictionaryRef theDict, const void *key, const void *…
|
H A D | delegates.m | 19 typedef const struct __CFDictionary * CFDictionaryRef; typedef 20 const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key); 21 extern CFStringRef CFStringCreateWithFormat(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CF…
|
H A D | retain-release.m | 107 typedef const struct __CFDictionary * CFDictionaryRef; typedef 132 …ngRef CFAttributedStringCreate(CFAllocatorRef alloc, CFStringRef str, CFDictionaryRef attributes) ; 236 io_service_t IOServiceGetMatchingService( mach_port_t mainPort, CFDictionaryRef matching ); 237 kern_return_t IOServiceGetMatchingServices( mach_port_t mainPort, CFDictionaryRef matching, io_i… 238 …fication( mach_port_t mainPort, const io_name_t notificationType, CFDictionaryRef matching, ma… 239 …ONotificationPortRef notifyPort, const io_name_t notificationType, CFDictionaryRef matching, … 250 extern CFDictionaryRef DADiskCopyDescription( DADiskRef disk ); 292 - (CGLayerRef)createCGLayerWithSize:(CGSize)size info:(CFDictionaryRef)d; argument 457 CFDictionaryRef dict = DADiskCopyDescription(d); // expected-warning{{leak}} 1049 void rdar6945561(CIContext *context, CGSize size, CFDictionaryRef d) { [all …]
|
H A D | retain-release.mm | 79 typedef const struct __CFDictionary * CFDictionaryRef; typedef 105 …ngRef CFAttributedStringCreate(CFAllocatorRef alloc, CFStringRef str, CFDictionaryRef attributes) ; 178 io_service_t IOServiceGetMatchingService( mach_port_t mainPort, CFDictionaryRef matching ); 179 kern_return_t IOServiceGetMatchingServices( mach_port_t mainPort, CFDictionaryRef matching, io_i… 180 …fication( mach_port_t mainPort, const io_name_t notificationType, CFDictionaryRef matching, ma… 181 …ONotificationPortRef notifyPort, const io_name_t notificationType, CFDictionaryRef matching, … 192 extern CFDictionaryRef DADiskCopyDescription( DADiskRef disk ); 232 - (CGLayerRef)createCGLayerWithSize:(CGSize)size info:(CFDictionaryRef)d; argument
|
H A D | retain-release-inline.m | 57 typedef const struct __CFDictionary * CFDictionaryRef; typedef 82 …ngRef CFAttributedStringCreate(CFAllocatorRef alloc, CFStringRef str, CFDictionaryRef attributes) ; 158 io_service_t IOServiceGetMatchingService( mach_port_t mainPort, CFDictionaryRef matching ); 159 kern_return_t IOServiceGetMatchingServices( mach_port_t mainPort, CFDictionaryRef matching, io_i… 160 …fication( mach_port_t mainPort, const io_name_t notificationType, CFDictionaryRef matching, ma… 161 …ONotificationPortRef notifyPort, const io_name_t notificationType, CFDictionaryRef matching, … 172 extern CFDictionaryRef DADiskCopyDescription( DADiskRef disk ); 212 - (CGLayerRef)createCGLayerWithSize:(CGSize)size info:(CFDictionaryRef)d; argument
|
H A D | NSString.m | 33 typedef const struct __CFDictionary * CFDictionaryRef; typedef 34 const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key); 35 extern CFStringRef CFStringCreateWithFormat(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CF… 162 NSString* f11(CFDictionaryRef dict, const char* key) {
|
H A D | retain-release-region-store.m | 29 typedef const struct __CFDictionary * CFDictionaryRef; typedef 73 extern CFDictionaryRef DADiskCopyDescription( DADiskRef disk );
|
/llvm-project/compiler-rt/lib/builtins/ |
H A D | os_version_check.c | 47 *CFStringRef, *CFDictionaryRef, *CFTypeRef, *CFErrorRef; 82 typedef const void *(*CFDictionaryGetValueFuncTy)(CFDictionaryRef, 180 CFDictionaryRef PListRef = NULL; in _initializeAvailabilityCheck() 46 *CFStringRef, *CFDictionaryRef, *CFTypeRef, *CFErrorRef; global() typedef
|
/llvm-project/clang/test/ARCMT/ |
H A D | objcmt-arc-cf-annotations.m | 102 typedef const struct __CFDictionary * CFDictionaryRef; typedef 127 …ngRef CFAttributedStringCreate(CFAllocatorRef alloc, CFStringRef str, CFDictionaryRef attributes) ; 224 io_service_t IOServiceGetMatchingService( mach_port_t mainPort, CFDictionaryRef matching ); 225 kern_return_t IOServiceGetMatchingServices( mach_port_t mainPort, CFDictionaryRef matching, io_i… 226 …fication( mach_port_t mainPort, const io_name_t notificationType, CFDictionaryRef matching, ma… 227 …ONotificationPortRef notifyPort, const io_name_t notificationType, CFDictionaryRef matching, … 238 extern CFDictionaryRef DADiskCopyDescription( DADiskRef disk ); 280 - (CGLayerRef)createCGLayerWithSize:(CGSize)size info:(CFDictionaryRef)d; argument 442 CFDictionaryRef dict = DADiskCopyDescription(d); // expected-warning{{leak}} 942 void rdar6945561(CIContext *context, CGSize size, CFDictionaryRef d) { [all …]
|
H A D | objcmt-arc-cf-annotations.m.result | 108 typedef const struct __CFDictionary * CFDictionaryRef; 133 …gRef CFAttributedStringCreate(CFAllocatorRef alloc, CFStringRef str, CFDictionaryRef attributes) C… 233 io_service_t IOServiceGetMatchingService( mach_port_t mainPort, CFDictionaryRef matching ); 234 kern_return_t IOServiceGetMatchingServices( mach_port_t mainPort, CFDictionaryRef matching, io_i… 238 …fication( mach_port_t mainPort, const io_name_t notificationType, CFDictionaryRef matching, ma… 239 …ONotificationPortRef notifyPort, const io_name_t notificationType, CFDictionaryRef CF_CONSUMED m… 256 extern CFDictionaryRef DADiskCopyDescription( DADiskRef disk ) CF_RETURNS_RETAINED; 298 - (CGLayerRef)createCGLayerWithSize:(CGSize)size info:(CFDictionaryRef)d CF_RETURNS_RETAINED; 478 CFDictionaryRef dict = DADiskCopyDescription(d); // expected-warning{{leak}} 984 void rdar6945561(CIContext *context, CGSize size, CFDictionaryRef d) { [all …]
|
H A D | objcmt-migrate-all.m | 75 typedef const struct __CFDictionary * CFDictionaryRef; typedef
|
H A D | objcmt-ns-returns-inner-pointer.m | 75 typedef const struct __CFDictionary * CFDictionaryRef; typedef
|
H A D | objcmt-ns-returns-inner-pointer.m.result | 75 typedef const struct __CFDictionary * CFDictionaryRef;
|
H A D | objcmt-migrate-all.m.result | 75 typedef const struct __CFDictionary * CFDictionaryRef;
|
/llvm-project/clang/test/Analysis/Inputs/ |
H A D | system-header-simulator-objc.h | 134 typedef const struct __CFDictionary * CFDictionaryRef; typedef
|