Home
last modified time | relevance | path

Searched refs:CFBridgingRelease (Results 1 – 22 of 22) sorted by relevance

/external/clang/test/SemaObjC/
Darc-cf.m9 id CFBridgingRelease(CFTypeRef); function
18 …st}} expected-note {{__bridge to convert directly}} expected-note {{CFBridgingRelease call to tran…
19 …g0(); // expected-error {{requires a bridged cast}} expected-note {{CFBridgingRelease call to tran…
27 …g1(); // expected-error {{requires a bridged cast}} expected-note {{CFBridgingRelease call to tran…
45 …g3(); // expected-error {{requires a bridged cast}} expected-note {{CFBridgingRelease call to tran…
46 …g3(); // expected-error {{requires a bridged cast}} expected-note {{CFBridgingRelease call to tran…
Darc-unbridged-cast.m6 id CFBridgingRelease(CFTypeRef); function
46 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
47 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
48 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
49 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
50 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
52 …ng(); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
53 …) 0); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
54 …g()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
55 …g()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
[all …]
Darc-dict-bridged-cast.m25 id CFBridgingRelease(CFTypeRef __attribute__((cf_consumed)) X); function
34 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFMutableStringRef' (…
38 // CHECK: fix-it:"{{.*}}":{32:25-32:25}:"CFBridgingRelease("
Darc-objc-lifetime.m8 NSString *CFBridgingRelease(); function
20 …(__bridge CFStringRef) (__strong NSString *)CFBridgingRelease(); // expected-error {{explicit owne…
23 …(__bridge CFStringRef) (__autoreleasing PNSString) CFBridgingRelease(); // expected-error {{explic…
25 (__bridge CFStringRef) (AUTORELEASEPNSString) CFBridgingRelease(); // OK
27 …(__bridge CFStringRef) (typeof(__strong NSString *)) CFBridgingRelease(); // expected-error {{expl…
Darc-bridged-cast.m6 id CFBridgingRelease(CFTypeRef); function
41 …e to convert directly (no change in ownership)}} expected-note{{use CFBridgingRelease call to tran…
42 // CHECK: fix-it:"{{.*}}":{40:17-40:17}:"CFBridgingRelease("
Darc-type-conversion.m5 id CFBridgingRelease(CFTypeRef); function
22 … // expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'void *' into ARC}}
Darc.m6 id CFBridgingRelease(CFTypeRef); function
438 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into …
441 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into …
/external/clang/test/SemaObjCXX/
Darc-unbridged-cast.mm6 extern "C" id CFBridgingRelease(CFTypeRef);
42 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
43 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
44 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
45 … a bridged cast}} expected-note {{use __bridge to}} expected-note {{use CFBridgingRelease call to}}
47 …ng(); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
48 …) 0); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
49 …g()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
50 …g()); // expected-error {{requires a bridged cast}} expected-note {{use CFBridgingRelease call to}}
Darc-objc-lifetime.mm7 NSString *CFBridgingRelease(); function
19 …(__bridge CFStringRef) (__strong NSString *)CFBridgingRelease(); // expected-error {{explicit owne…
22 …(__bridge CFStringRef) (__autoreleasing PNSString) CFBridgingRelease(); // expected-error {{explic…
24 (__bridge CFStringRef) (AUTORELEASEPNSString) CFBridgingRelease(); // OK
26 …(__bridge CFStringRef) (typeof(__strong NSString *)) CFBridgingRelease(); // expected-error {{expl…
/external/clang/test/ARCMT/
Dno-canceling-bridge-to-bridge-cast.m5 id CFBridgingRelease(CFTypeRef); function
27 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons…
31 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons…
35 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons…
Dnonobjc-to-objc-cast.m.result42 …NSString *_uuidString = (NSString *)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, _uui…
43 _uuidString = (NSString *)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, _uuid));
44 _uuidString = CFBridgingRelease(CFRetain(_uuid));
Dnonobjc-to-objc-cast-2.m8 id CFBridgingRelease(CFTypeRef); function
32 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con…
40 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con…
DGC-no-arc-runtime.m.result11 id x = CFBridgingRelease(cft);
64 id x = CFBridgingRelease(cft);
DCommon.h91 NS_INLINE id CFBridgingRelease(CFTypeRef CF_CONSUMED X) { in CFBridgingRelease() function
101 NS_INLINE id CFBridgingRelease(CFTypeRef CF_CONSUMED X) { in CFBridgingRelease() function
DGC.m.result11 id x = CFBridgingRelease(cft);
71 id x = CFBridgingRelease(cft);
DGC-no-finalize-removal.m.result11 id x = CFBridgingRelease(cft);
84 id x = CFBridgingRelease(cft);
Dchecking-in-arc.m11 id CFBridgingRelease(CFTypeRef); function
Dautoreleases.m.result37 _prop = (id)CFBridgingRelease(CFRetain(newVal));
Dchecking.m11 id CFBridgingRelease(CFTypeRef); function
104 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'co…
162 …// expected-note 2 {{use __bridge to}} expected-note {{use CFBridgingRelease call}} expected-note …
352 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'co…
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m428 …NSString *acceptHeader = CFBridgingRelease(CFHTTPMessageCopyHeaderFieldValue(httpMessage, CFSTR("S…
455 …NSString *negotiatedProtocol = CFBridgingRelease(CFHTTPMessageCopyHeaderFieldValue(_receivedHTTPHe…
490 …SRFastLog(@"Finished reading headers %@", CFBridgingRelease(CFHTTPMessageCopyAllHeaderFields(_rece…
532 NSData *message = CFBridgingRelease(CFHTTPMessageCopySerializedMessage(request));
558 _outputStream = CFBridgingRelease(writeStream);
559 _inputStream = CFBridgingRelease(readStream);
1391 NSData *certData = CFBridgingRelease(SecCertificateCopyData(cert));
1395 … NSData *trustedCertData = CFBridgingRelease(SecCertificateCopyData(trustedCert));
/external/google-breakpad/src/common/mac/
DGTMDefines.h383 #define GTMCFAutorelease(x) CFBridgingRelease(x)
/external/clang/include/clang/Basic/
DDiagnosticSemaKinds.td4838 "use %select{__bridge_transfer|CFBridgingRelease call}1 to transfer "