Home
last modified time | relevance | path

Searched refs:CFBridgingRetain (Results 1 – 16 of 16) sorted by relevance

/external/clang/test/ARCMT/
Dnonobjc-to-objc-cast.m.result71 ref = CFBridgingRetain([NSString new]);
72 ref = CFBridgingRetain([s newString]);
73 ref = (CFStringRef)CFBridgingRetain([NSString new]);
74 ref = CFBridgingRetain([[NSString alloc] init]);
75 ref = CFBridgingRetain([s string]);
76 ref = (CFStringRef)CFBridgingRetain([s string]);
77 ref = CFBridgingRetain([s string]);
78 ref = CFBridgingRetain(s);
79 ref = CFBridgingRetain(s);
81 consumeParam((CFStringRef)CFBridgingRetain(s));
[all …]
Dnonobjc-to-objc-cast-2.m7 CFTypeRef CFBridgingRetain(id X); function
41 … // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRetain call}} expect…
49 …// expected-note{{use CFBridgingRetain call to make an ARC object available as a +1 'CFStringRef' …
63 …// expected-note{{use CFBridgingRetain call to make an ARC object available as a +1 'CFStringRef' …
DCommon.h87 NS_INLINE CF_RETURNS_RETAINED CFTypeRef CFBridgingRetain(id X) { in CFBridgingRetain() function
97 NS_INLINE CF_RETURNS_RETAINED CFTypeRef CFBridgingRetain(id X) { in CFBridgingRetain() function
Dchecking-in-arc.m10 CFTypeRef CFBridgingRetain(id X); function
Dno-canceling-bridge-to-bridge-cast.m4 CFTypeRef CFBridgingRetain(id X); function
Dchecking.m10 CFTypeRef CFBridgingRetain(id X); function
162 …ridge to}} expected-note {{use CFBridgingRelease call}} expected-note {{use CFBridgingRetain call}}
165 …equires a bridged cast}} expected-note {{use __bridge}} expected-note {{use CFBridgingRetain call}}
/external/clang/test/SemaObjC/
Darc-unbridged-cast.m5 CFTypeRef CFBridgingRetain(id X); function
94 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
107 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
108 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
109 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
112 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
116 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
120 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
121 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
122 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
[all …]
Darc-bridged-cast.m5 CFTypeRef CFBridgingRetain(id X); function
47 …// expected-note{{use CFBridgingRetain call to make an ARC object available as a +1 'CFTypeRef' (a…
48 // CHECK: fix-it:"{{.*}}":{45:30-45:30}:"CFBridgingRetain("
53 …// expected-note{{use CFBridgingRetain call to make an ARC object available as a +1 'CFTypeRef' (a…
55 // CHECK: fix-it:"{{.*}}":{51:10-51:10}:"CFBridgingRetain"
61 …// expected-note{{use CFBridgingRetain call to make an ARC object available as a +1 'CFTypeRef' (a…
63 // CHECK: fix-it:"{{.*}}":{59:9-59:9}:" CFBridgingRetain"
Darc-type-conversion.m4 CFTypeRef CFBridgingRetain(id X); function
21 … // expected-note {{use CFBridgingRetain call to make an ARC object available as a +1 'void *'}} \
27 … // expected-note {{use CFBridgingRetain call to make an ARC object available as a +1 'void *'}}
Darc-cf.m8 CFTypeRef CFBridgingRetain(id X); function
Darc.m5 CFTypeRef CFBridgingRetain(id X); function
297 …equires a bridged cast}} expected-note {{use __bridge}} expected-note {{use CFBridgingRetain call}}
/external/clang/test/SemaObjCXX/
Darc-unbridged-cast.mm5 extern "C" CFTypeRef CFBridgingRetain(id X);
87 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
100 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
101 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
102 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
105 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
109 …pe 'CFStringRef'}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRetain call to}}
118 // expected-note {{use CFBridgingRetain call to make an ARC object available as a +1 'void *'}}
/external/clang/test/FixIt/
Dbridge-cast-in-arc.mm13 extern "C" CFTypeRef CFBridgingRetain(id X);
19 // CHECK: {16:15-16:39}:"CFBridgingRetain"
/external/opencv3/modules/videoio/src/
Dcap_ios_video_camera.mm399 … frameSize.height, kCVPixelFormatType_32ARGB, (CFDictionaryRef) CFBridgingRetain(options),
/external/clang/test/Analysis/
Dobjc-arc.m205 __attribute__((cf_returns_retained)) CFTypeRef CFBridgingRetain(id X); function
211 dispatch_set_context(object, CFBridgingRetain(o)); // no-warning
215 CFBridgingRetain(o);
/external/clang/include/clang/Basic/
DDiagnosticSemaKinds.td4844 "use %select{__bridge_retained|CFBridgingRetain call}1 to make an "