Home
last modified time | relevance | path

Searched refs:CF_RETURNS_RETAINED (Results 1 – 13 of 13) sorted by relevance

/external/clang/test/SemaObjC/
Dattr-cf_returns.m10 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) macro
13 int x CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only applies to fun…
18 int invalid1() CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only appli…
19 void invalid2() CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only appl…
21 CFFooRef valid1() CF_RETURNS_RETAINED;
22 id valid2() CF_RETURNS_RETAINED;
25 - (int)invalid1 CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only appl… method
26 - (void)invalid2 CF_RETURNS_RETAINED; // expected-warning{{'cf_returns_retained' attribute only app… method
28 - (CFFooRef)valid1 CF_RETURNS_RETAINED; method
29 - (id)valid2 CF_RETURNS_RETAINED; method
[all …]
Darc-cf.m32 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) macro
38 extern CFStringRef CFMakeString3(void) CF_RETURNS_RETAINED;
/external/clang/test/ARCMT/
DCommon.h9 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) macro
87 NS_INLINE CF_RETURNS_RETAINED CFTypeRef CFBridgingRetain(id X) { in CFBridgingRetain()
97 NS_INLINE CF_RETURNS_RETAINED CFTypeRef CFBridgingRetain(id X) { in CFBridgingRetain()
Dobjcmt-arc-cf-annotations.m.result26 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained))
96 …CFAllocatorRef allocator, CFIndex capacity, const CFArrayCallBacks *callBacks) CF_RETURNS_RETAINED;
109 …yKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks) CF_RETURNS_RETAINED;
113 …WithCString(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding) CF_RETURNS_RETAINED;
118 extern CFDateRef CFDateCreate(CFAllocatorRef allocator, CFAbsoluteTime at) CF_RETURNS_RETAINED;
129 …erCreate(CFAllocatorRef allocator, CFNumberType theType, const void *valuePtr) CF_RETURNS_RETAINED;
132 …ringCreate(CFAllocatorRef alloc, CFStringRef str, CFDictionaryRef attributes) CF_RETURNS_RETAINED ;
133 …ableCopy(CFAllocatorRef alloc, CFIndex maxLength, CFAttributedStringRef aStr) CF_RETURNS_RETAINED ;
251 extern DASessionRef DASessionCreate( CFAllocatorRef allocator ) CF_RETURNS_RETAINED;
253 …omBSDName( CFAllocatorRef allocator, DASessionRef session, const char * name ) CF_RETURNS_RETAINED;
[all …]
Dobjcmt-ns-returns-inner-pointer.m18 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) macro
Dobjcmt-migrate-all.m19 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) macro
Dobjcmt-migrate-all.m.result19 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained))
Dobjcmt-ns-returns-inner-pointer.m.result18 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained))
Dobjcmt-arc-cf-annotations.m26 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) macro
979 CF_RETURNS_RETAINED CFDictionaryRef CreateDict();
1342 - (NSString*) returnsAnOwnedCFString CF_RETURNS_RETAINED; // no-warning method
1416 - (NSDate*) returnsCFRetained CF_RETURNS_RETAINED; method
1417 - (CFDateRef) returnsCFRetainedAsCF CF_RETURNS_RETAINED; method
1425 CF_RETURNS_RETAINED
2056 CFAttributedStringRef CFAttributedCreate(void *CFObj CF_CONSUMED) CF_RETURNS_RETAINED;
/external/google-breakpad/src/common/mac/
DGTMDefines.h290 #ifndef CF_RETURNS_RETAINED
292 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) macro
294 #define CF_RETURNS_RETAINED macro
/external/libcups/cups/
Dlanguage.c142 # ifndef CF_RETURNS_RETAINED
144 # define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) macro
146 # define CF_RETURNS_RETAINED macro
150 CF_RETURNS_RETAINED;
/external/clang/test/Analysis/
Dretain-release.mm7 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) macro
Dretain-release.m11 #define CF_RETURNS_RETAINED __attribute__((cf_returns_retained)) macro
974 CF_RETURNS_RETAINED CFDictionaryRef CreateDict();
1337 - (NSString*) returnsAnOwnedCFString CF_RETURNS_RETAINED; // no-warning method
1411 - (NSDate*) returnsCFRetained CF_RETURNS_RETAINED; method
1412 - (CFDateRef) returnsCFRetainedAsCF CF_RETURNS_RETAINED; method
1420 CF_RETURNS_RETAINED
2175 extern int copyViaParam(CFTypeRef * CF_RETURNS_RETAINED outObj);
2183 extern int copyViaParam(CFTypeRef * CF_RETURNS_RETAINED outObj);