Home
last modified time | relevance | path

Searched refs:CFErrorRef (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm-project/clang/test/Analysis/
DSpecialFunctionsCFError.cpp6 typedef struct __CFError *CFErrorRef; typedef
11 Foo(CFErrorRef *error) {} // no-warning in Foo()
13 void operator delete(void *pointer, CFErrorRef *error) { // no-warning in operator delete()
17 void operator delete[](void *pointer, CFErrorRef *error) { // no-warning in operator delete[]()
22 …void operator()(CFErrorRef *error) {} // expected-warning {{Function accepting CFErrorRef* should … in operator ()()
26 void operator delete(void *pointer, CFErrorRef *error) { // no-warning in operator delete()
DCheckNSError.m50 typedef struct __CFError* CFErrorRef; typedef
52 void foo(CFErrorRef* error) { // expected-warning {{Function accepting CFErrorRef* should have a no…
56 int f1(CFErrorRef* error) {
61 int f2(CFErrorRef* error) {
66 int f3(CFErrorRef* error) {
71 int __attribute__((nonnull)) f4(CFErrorRef *error) {
76 int __attribute__((nonnull(1))) f5(int *x, CFErrorRef *error) {
81 int __attribute__((nonnull(2))) f6(int *x, CFErrorRef *error) {
Dretain-release-arc.m20 typedef struct __CFError * CFErrorRef; typedef
24 …allocator, CFDataRef data, CFOptionFlags options, CFPropertyListFormat *format, CFErrorRef *error);
90 CFErrorRef error;
108 CFErrorRef error;
117 CFErrorRef error;
Dincorrect-checker-names.mm106 typedef struct __CFError* CFErrorRef; typedef
108 void foo(CFErrorRef* error) { // expected-warning{{Function accepting CFErrorRef* should have a non…
/external/clang/test/SemaObjCXX/
Dobjcbridge-static-cast.mm4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… typedef
36 typedef CFErrorRef CFErrorRef1;
70 …(void)static_cast<CFErrorRef>(ns); // expected-error {{cast of Objective-C pointer type 'NSError *…
72 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError…
73 …(void)static_cast<CFErrorRef>(str); // expected-warning {{'NSString' cannot bridge to 'CFErrorRef
74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError…
76 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError…
81 …(void)static_cast<CFErrorRef>(c); // expected-warning {{'Class' cannot bridge to 'CFErrorRef' (aka…
82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError…
84 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError…
[all …]
Dobjcbridge-attribute.mm4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef
36 typedef CFErrorRef CFErrorRef1;
70 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe…
72 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
73 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka '__CFE…
74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError…
76 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
81 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe…
82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError…
84 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
[all …]
Dobjcbridge-attribute-arc.mm4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef
36 typedef CFErrorRef CFErrorRef1;
70 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe…
72 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
73 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka '__CFE…
74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError…
76 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
81 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe…
82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError…
84 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
[all …]
/external/llvm-project/clang/test/SemaObjCXX/
Dobjcbridge-static-cast.mm4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… typedef
36 typedef CFErrorRef CFErrorRef1;
70 …(void)static_cast<CFErrorRef>(ns); // expected-error {{cast of Objective-C pointer type 'NSError *…
72 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError…
73 …(void)static_cast<CFErrorRef>(str); // expected-warning {{'NSString' cannot bridge to 'CFErrorRef
74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError…
76 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError…
81 …(void)static_cast<CFErrorRef>(c); // expected-warning {{'Class' cannot bridge to 'CFErrorRef' (aka…
82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError…
84 …ge_retained with C-style cast to make an ARC object available as a +1 'CFErrorRef' (aka '__CFError…
[all …]
Dobjcbridge-attribute.mm4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef
36 typedef CFErrorRef CFErrorRef1;
70 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe…
72 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
73 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka '__CFE…
74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError…
76 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
81 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe…
82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError…
84 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
[all …]
Dobjcbridge-attribute-arc.mm4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef
36 typedef CFErrorRef CFErrorRef1;
70 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe…
72 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
73 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka '__CFE…
74 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '__CFError…
76 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
81 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe…
82 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__CFError…
84 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
[all …]
/external/llvm-project/clang/test/SemaObjC/
Dattr-swift-error.m11 typedef struct __attribute__((__objc_bridge__(NSError))) __CFError *CFErrorRef; typedef
56 extern BOOL m0(CFErrorRef *) __attribute__((__swift_error__(none)));
57 extern BOOL m1(CFErrorRef *) __attribute__((__swift_error__(nonnull_error)));
58 extern BOOL m2(CFErrorRef *) __attribute__((__swift_error__(null_result)));
60 extern BOOL m3(CFErrorRef *) __attribute__((__swift_error__(nonzero_result)));
61 extern BOOL m4(CFErrorRef *) __attribute__((__swift_error__(zero_result)));
63 extern Undeclared n0(CFErrorRef *) __attribute__((__swift_error__(none)));
65 extern Undeclared n1(CFErrorRef *) __attribute__((__swift_error__(nonnull_error)));
67 extern Undeclared n2(CFErrorRef *) __attribute__((__swift_error__(null_result)));
69 extern Undeclared n3(CFErrorRef *) __attribute__((__swift_error__(nonzero_result)));
[all …]
Dobjcbridge-attribute-arc.m4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef
51 typedef CFErrorRef CFErrorRef1;
85 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe…
87 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
88 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka 'struc…
89 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka 'struct __…
91 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
96 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe…
97 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka 'struct __…
99 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
[all …]
Dobjcbridge-attribute.m4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… typedef
54 typedef CFErrorRef CFErrorRef1;
78 (void)(CFErrorRef)ns; // okay
79 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka 'struc…
81 (void)(CFErrorRef)c; // expected-warning {{'Class' cannot bridge to 'CFErrorRef'}}
85 void Test3(CFErrorRef cf, NSError *ns) {
88 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka 'struct __CFErrorRef *') bridges…
100 (void)(CFErrorRef)ID; // ok
101 (void)(CFErrorRef)P123; // ok
102 (void)(CFErrorRef)P1234; // ok
[all …]
/external/clang/test/SemaObjC/
Dobjcbridge-attribute-arc.m4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 5… typedef
54 typedef CFErrorRef CFErrorRef1;
88 …(void)(CFErrorRef)ns; // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointe…
90 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
91 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka 'struc…
92 …ror {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka 'struct __…
94 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
99 …(void)(CFErrorRef)c; // expected-warning {{'__unsafe_unretained Class' cannot bridge to 'CFErrorRe…
100 …ed-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka 'struct __…
102 …// expected-note {{use __bridge_retained to make an ARC object available as a +1 'CFErrorRef' (aka…
[all …]
Dobjcbridge-attribute.m4 typedef struct __attribute__ ((objc_bridge(NSError))) __CFErrorRef * CFErrorRef; // expected-note 3… typedef
54 typedef CFErrorRef CFErrorRef1;
78 (void)(CFErrorRef)ns; // okay
79 …(void)(CFErrorRef)str; // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka 'struc…
81 (void)(CFErrorRef)c; // expected-warning {{'Class' cannot bridge to 'CFErrorRef'}}
85 void Test3(CFErrorRef cf, NSError *ns) {
88 …(void)(id<P1, P2, P4>)cf; // expected-warning {{'CFErrorRef' (aka 'struct __CFErrorRef *') bridges…
100 (void)(CFErrorRef)ID; // ok
101 (void)(CFErrorRef)P123; // ok
102 (void)(CFErrorRef)P1234; // ok
[all …]
/external/clang/test/Analysis/
DCheckNSError.m35 typedef struct __CFError* CFErrorRef; typedef
37 void foo(CFErrorRef* error) { // expected-warning {{Function accepting CFErrorRef* should have a no…
41 int f1(CFErrorRef* error) {
46 int f2(CFErrorRef* error) {
51 int f3(CFErrorRef* error) {
/external/llvm-project/clang/test/SemaObjCXX/Inputs/
Dnullability-completeness-cferror.h6 typedef struct __attribute__((objc_bridge_mutable(NSError))) __CFError * CFErrorRef; typedef
8 typedef struct __attribute__((objc_bridge(NSError))) __CFError * CFErrorRef; typedef
11 void func1(CFErrorRef *error);
Dnullability-pragmas-1.h15 typedef struct __attribute__((objc_bridge(NSError))) __CFError *CFErrorRef; typedef
18 typedef CFErrorRef *CFErrorRefPtr;
42 void f17(CFErrorRef *error); // expected-note{{no known conversion from 'A * _Nonnull' to 'CFErrorR…
/external/clang/test/Sema/
Dvariadic-incomplete-arg-type.c4 typedef struct __CFError * CFErrorRef; // expected-note {{forward declaration of 'struct __CFError'… typedef
10 CFErrorRef error; in main()
/external/llvm-project/clang/test/Sema/
Dvariadic-incomplete-arg-type.c4 typedef struct __CFError * CFErrorRef; // expected-note {{forward declaration of 'struct __CFError'… typedef
10 CFErrorRef error; in main()
/external/clang/test/SemaObjCXX/Inputs/
Dnullability-pragmas-1.h13 typedef struct __attribute__((objc_bridge(NSError))) __CFError *CFErrorRef; typedef
16 typedef CFErrorRef *CFErrorRefPtr;
40 void f17(CFErrorRef *error); // expected-note{{no known conversion from 'A * _Nonnull' to 'CFErrorR…
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Derror_cfstream.cc36 CFErrorRef error = static_cast<CFErrorRef>(arg); in grpc_error_create_from_cferror()
Dcfstream_handle.cc66 CFErrorRef stream_error; in ReadCallback()
101 CFErrorRef stream_error; in WriteCallback()
/external/grpc-grpc/src/core/lib/iomgr/
Derror_cfstream.cc33 CFErrorRef error = static_cast<CFErrorRef>(arg); in grpc_error_create_from_cferror()
/external/llvm-project/compiler-rt/lib/builtins/
Dos_version_check.c46 *CFStringRef, *CFDictionaryRef, *CFTypeRef, *CFErrorRef; typedef
74 CFErrorRef *);

12