Home
last modified time | relevance | path

Searched refs:_Nullable (Results 1 – 25 of 71) sorted by relevance

123

/external/perfetto/src/profiling/memory/include/perfetto/
Dheap_profile.h70 #define _Nullable macro
102 AHeapInfo* _Nullable AHeapInfo_create(const char* _Nonnull heap_name);
110 AHeapInfo* _Nullable AHeapInfo_setEnabledCallback(
111 AHeapInfo* _Nullable info,
113 void* _Nullable,
115 void* _Nullable data);
123 AHeapInfo* _Nullable AHeapInfo_setDisabledCallback(
124 AHeapInfo* _Nullable info,
126 void* _Nullable,
128 void* _Nullable data);
[all …]
/external/llvm-project/clang/test/Sema/
Dnullability.c16 typedef int * _Nullable nullable_int_ptr;
23 typedef int * _Nonnull _Nullable conflicting_1; // expected-error{{nullability specifier '_Nullable…
32 typedef nonnull_int_ptr _Nullable conflicting_2; // expected-error{{nullability specifier '_Nullabl…
36 typedef nonnull_int_ptr_typedef _Nullable conflicting_2; // expected-error{{nullability specifier '…
51 typedef int _Nullable * nullable_int_ptr_2;
54 typedef _Nonnull int * * _Nullable nonnull_int_ptr_ptr_1;
77 typedef _Nonnull int * _Nullable * conflict_int_ptr_ptr_2; // expected-error{{nullability specifie…
84 typedef int * _Nullable ambiguous_int_ptr;
99 int * _Nullable * _Nonnull iptrptr2; in printing_nullability()
124 void nullable_to_nonnull(_Nullable int *ptr) { in nullable_to_nonnull()
[all …]
Dnon-null-warning.c10 int * _Nullable foo(int * _Nonnull x);
18 int * _Nullable foo1(int * _Nonnull x); // expected-note {{previous declaration is here}}
20 int *foo1(int * _Nullable x) { // expected-warning {{nullability specifier '_Nullable' conflicts wi… in foo1()
24 int * _Nullable foo2(int * _Nonnull x);
30 int * _Nullable foo3(int * _Nullable x); // expected-note {{previous declaration is here}}
/external/llvm-project/clang/test/SemaObjC/
Dnullability.m18 typedef _Nonnull NSFoo * _Nullable conflict_NSFoo_ptr_2; // expected-error{{'_Nonnull' cannot be ap…
20 void testBlocksPrinting(NSFoo * _Nullable (^bp)(int)) {
21 int *ip = bp; // expected-error{{'NSFoo * _Nullable (^)(int)'}}
39 …nnull NSFoo * _Nullable)conflictingMethod1; // expected-error{{nullability specifier 'nonnull' con…
44 // expected-note@-1{{use nullability type specifier '_Nullable' to affect the innermost pointer typ…
45 …NSFoo * _Nullable conflictingProperty1; // expected-error{{nullability specifier 'null_unspecified…
55 // expected-note@-1{{use nullability type specifier '_Nullable' to affect the innermost pointer typ…
56 …NSFoo * _Nullable conflictingProperty2; // expected-error{{nullability specifier 'null_unspecified…
124 _Nullable NSMergeReceiver *nullable,
129 ptr = [nullable returnsNullable]; // expected-warning{{'id _Nullable'}}
[all …]
Dtransfer-boxed-string-nullability.m8 _Nullable
33 …// expected-warning@-7 {{implicit conversion from nullable pointer 'NSString * _Nullable' to non-n…
34 …// expected-warning@-7 {{implicit conversion from nullable pointer 'NSString * _Nullable' to non-n…
35 …// expected-warning@-5 {{implicit conversion from nullable pointer 'NSString * _Nullable' to non-n…
36 …// expected-warning@-5 {{implicit conversion from nullable pointer 'NSString * _Nullable' to non-n…
/external/clang/test/SemaObjC/
Dnullability.m18 typedef _Nonnull NSFoo * _Nullable conflict_NSFoo_ptr_2; // expected-error{{'_Nonnull' cannot be ap…
20 void testBlocksPrinting(NSFoo * _Nullable (^bp)(int)) {
21 int *ip = bp; // expected-error{{'NSFoo * _Nullable (^)(int)'}}
39 - (nonnull NSFoo * _Nullable)conflictingMethod1; // expected-error{{nullability specifier '_Nullabl…
44 // expected-note@-1{{use nullability type specifier '_Nullable' to affect the innermost pointer typ…
45 …y(null_unspecified,retain) NSFoo * _Nullable conflictingProperty1; // expected-error{{nullability …
55 // expected-note@-1{{use nullability type specifier '_Nullable' to affect the innermost pointer typ…
56 …y(null_unspecified,retain) NSFoo * _Nullable conflictingProperty2; // expected-error{{nullability …
123 _Nullable NSMergeReceiver *nullable,
127 ptr = [nullable returnsNullable]; // expected-warning{{'id _Nullable'}}
[all …]
/external/clang/test/Sema/
Dnullability.c16 typedef int * _Nullable nullable_int_ptr;
23 typedef int * _Nonnull _Nullable conflicting_1; // expected-error{{nullability specifier '_Nonnull'…
32 typedef nonnull_int_ptr _Nullable conflicting_2; // expected-error{{nullability specifier '_Nullabl…
36 typedef nonnull_int_ptr_typedef _Nullable conflicting_2; // expected-error{{nullability specifier '…
51 typedef int _Nullable * nullable_int_ptr_2;
54 typedef _Nonnull int * * _Nullable nonnull_int_ptr_ptr_1;
77 typedef _Nonnull int * _Nullable * conflict_int_ptr_ptr_2; // expected-error{{nullability specifie…
84 typedef int * _Nullable ambiguous_int_ptr;
99 int * _Nullable * _Nonnull iptrptr2; in printing_nullability()
124 void nullable_to_nonnull(_Nullable int *ptr) { in nullable_to_nonnull()
Dnon-null-warning.c10 int * _Nullable foo(int * _Nonnull x);
18 int * _Nullable foo1(int * _Nonnull x); // expected-note {{previous declaration is here}}
20 int *foo1(int * _Nullable x) { // expected-warning {{nullability specifier '_Nullable' conflicts wi… in foo1()
24 int * _Nullable foo2(int * _Nonnull x);
30 int * _Nullable foo3(int * _Nullable x); // expected-note {{previous declaration is here}}
/external/llvm-project/clang/test/SemaObjCXX/Inputs/
Dnullability-consistency-arrays.h53 void * _Nullable ptrs[_Nonnull],
54 void * _Nullable * _Nullable nestedPtrs[_Nonnull]);
135 void * _Nullable ptrs[_Nonnull],
136 void * _Nullable * _Nullable nestedPtrs[_Nonnull]);
140 void * _Nullable * _Nullable nestedPtrs[_Nonnull]);
Dnullability-consistency-8.h20 void cf2(CFTypeRef * _Nullable p CF_RETURNS_NOT_RETAINED);
23 void cf4(CFTypeRef _Nullable * _Nullable p CF_RETURNS_NOT_RETAINED);
24 void cf5(CFTypeRef _Nonnull * _Nullable p CF_RETURNS_NOT_RETAINED);
26 void cf6(CFTypeRef * _Nullable CF_RETURNS_NOT_RETAINED p);
29 typedef CFTypeRef _Nullable *CFTypeRefPtr;
Dnullability-pragmas-1.h30 void f7(int * _Nullable x);
31 void f8(A * _Nullable obj);
34 void f11(int X::* _Nullable mem_ptr);
35 void f12(int (X::* _Nullable mem_func)(int, int));
123 void f23(int_ptr _Nullable x);
124 void f24(A_ptr _Nullable y);
/external/clang/test/SemaObjCXX/Inputs/
Dnullability-consistency-8.h16 void cf2(CFTypeRef * _Nullable p CF_RETURNS_NOT_RETAINED);
19 void cf4(CFTypeRef _Nullable * _Nullable p CF_RETURNS_NOT_RETAINED);
20 void cf5(CFTypeRef _Nonnull * _Nullable p CF_RETURNS_NOT_RETAINED);
22 void cf6(CFTypeRef * _Nullable CF_RETURNS_NOT_RETAINED p);
25 typedef CFTypeRef _Nullable *CFTypeRefPtr;
Dnullability-pragmas-1.h28 void f7(int * _Nullable x);
29 void f8(A * _Nullable obj);
32 void f11(int X::* _Nullable mem_ptr);
33 void f12(int (X::* _Nullable mem_func)(int, int));
95 void f23(int_ptr _Nullable x);
96 void f24(A_ptr _Nullable y);
/external/grpc-grpc/src/objective-c/GRPCClient/
DGRPCCall+ChannelCredentials.h29 error:(NSError *_Nullable *_Nullable)errorPtr;
39 error:(NSError *_Nullable *_Nullable)errorPtr;
/external/llvm-project/clang/test/SemaCXX/
Dnullability.cpp33 typedef AddNonNull<int * _Nullable>::type nonnull_int_ptr_2; // FIXME: check that it was overridden
76 void *_Nullable nullable; in AssignAndInitNonNull()
89 void *_Nullable ReturnNullable();
109 Base * _Nullable nullableB; in ConditionalExpr()
111 Derived * _Nullable nullableD; in ConditionalExpr()
127 auto nested = [](void *_Nullable [_Nonnull 2]) {}; in arraysInLambdas()
Dnullability-declspec.cpp5 _Nullable int *ip1; // expected-error{{nullability specifier '_Nullable' cannot be applied to non-p…
6 _Nullable int (*fp1)(int); // expected-error{{nullability specifier '_Nullable' cannot be applied t…
/external/perfetto/src/profiling/memory/
Dheap_profile_internal.h28 #define _Nullable macro
38 bool AHeapProfile_initSession(void* _Nullable (*_Nonnull malloc_fn)(size_t),
39 void (*_Nonnull free_fn)(void* _Nullable));
/external/llvm-project/clang/test/FixIt/
Dfixit-nullability-declspec.cpp7 _Nullable int *ip1; // expected-error{{nullability specifier '_Nullable' cannot be applied to non-p…
8 _Nullable int (*fp1)(int); // expected-error{{nullability specifier '_Nullable' cannot be applied t…
/external/clang/test/FixIt/
Dfixit-nullability-declspec.cpp7 _Nullable int *ip1; // expected-error{{nullability specifier '_Nullable' cannot be applied to non-p…
8 _Nullable int (*fp1)(int); // expected-error{{nullability specifier '_Nullable' cannot be applied t…
/external/llvm-project/clang/test/ASTMerge/macro/Inputs/
Dmacro1.h5 _Nullable VoidRef *_Nullable);
/external/clang/test/SemaCXX/
Dnullability-declspec.cpp5 _Nullable int *ip1; // expected-error{{nullability specifier '_Nullable' cannot be applied to non-p…
6 _Nullable int (*fp1)(int); // expected-error{{nullability specifier '_Nullable' cannot be applied t…
Dnullability.cpp31 typedef AddNonNull<int * _Nullable>::type nonnull_int_ptr_2; // FIXME: check that it was overridden
74 void *_Nullable nullable; in AssignAndInitNonNull()
87 void *_Nullable ReturnNullable();
/external/clang/test/SemaObjCXX/
Dnullability-pragmas.mm31 … expected-error{{cannot initialize a parameter of type 'NSError * _Nullable * _Nullable' with an l…
32 …xpected-error{{cannot initialize a parameter of type 'NSErrorPtr _Nullable * _Nullable' (aka 'NSE…
53 fp = [genC maybeTee]; // expected-error{{from incompatible type 'C * _Nullable'}}
/external/webrtc/sdk/objc/api/peerconnection/
DRTCPeerConnection.h290 completionHandler:(nullable void (^)(RTC_OBJC_TYPE(RTCSessionDescription) * _Nullable sdp,
291 NSError *_Nullable error))completionHandler;
296 (nullable void (^)(RTC_OBJC_TYPE(RTCSessionDescription) * _Nullable sdp,
297 NSError *_Nullable error))completionHandler;
301 completionHandler:(nullable void (^)(NSError *_Nullable error))completionHandler;
305 completionHandler:(nullable void (^)(NSError *_Nullable error))completionHandler;
/external/llvm-project/clang/test/SemaObjCXX/
Dnullability-pragmas.mm31 … expected-error{{cannot initialize a parameter of type 'NSError * _Nullable * _Nullable' with an l…
32 …xpected-error{{cannot initialize a parameter of type 'NSErrorPtr _Nullable * _Nullable' (aka 'NSE…
53 …beTee]; // expected-error{{incompatible pointer types assigning to 'float *' from 'C * _Nullable'}}

123