OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:_Nullable
(Results
1 - 13
of
13
) sorted by null
/external/clang/test/FixIt/
fixit-nullability-declspec.cpp
7
_Nullable
int *ip1; // expected-error{{nullability specifier '
_Nullable
' cannot be applied to non-pointer type 'int'; did you mean to apply the specifier to the pointer?}}
8
_Nullable
int (*fp1)(int); // expected-error{{nullability specifier '
_Nullable
' cannot be applied to non-pointer type 'int'; did you mean to apply the specifier to the function pointer?}}
/external/clang/test/SemaCXX/
nullability-declspec.cpp
5
_Nullable
int *ip1; // expected-error{{nullability specifier '
_Nullable
' cannot be applied to non-pointer type 'int'; did you mean to apply the specifier to the pointer?}}
6
_Nullable
int (*fp1)(int); // expected-error{{nullability specifier '
_Nullable
' cannot be applied to non-pointer type 'int'; did you mean to apply the specifier to the function pointer?}}
nullability.cpp
31
typedef AddNonNull<int *
_Nullable
>::type nonnull_int_ptr_2; // FIXME: check that it was overridden
74
void *
_Nullable
nullable;
75
void *_Nonnull p(nullable); // expected-warning{{implicit conversion from nullable pointer 'void *
_Nullable
' to non-nullable pointer type 'void * _Nonnull'}}
76
void *_Nonnull p2{nullable}; // expected-warning{{implicit conversion from nullable pointer 'void *
_Nullable
' to non-nullable pointer type 'void * _Nonnull'}}
77
void *_Nonnull p3 = {nullable}; // expected-warning{{implicit conversion from nullable pointer 'void *
_Nullable
' to non-nullable pointer type 'void * _Nonnull'}}
78
void *_Nonnull p4 = nullable; // expected-warning{{implicit conversion from nullable pointer 'void *
_Nullable
' to non-nullable pointer type 'void * _Nonnull'}}
80
nonnull = nullable; // expected-warning{{implicit conversion from nullable pointer 'void *
_Nullable
' to non-nullable pointer type 'void * _Nonnull'}}
81
nonnull = {nullable}; // expected-warning{{implicit conversion from nullable pointer 'void *
_Nullable
' to non-nullable pointer type 'void * _Nonnull'}}
83
TakeNonnull(nullable); //expected-warning{{implicit conversion from nullable pointer 'void *
_Nullable
' to non-nullable pointer type 'void * _Nonnull}}
87
void *
_Nullable
ReturnNullable()
[
all
...]
/external/clang/test/Sema/
non-null-warning.c
10
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 with existing specifier '_Nonnull'}}
24
int *
_Nullable
foo2(int * _Nonnull x);
30
int *
_Nullable
foo3(int *
_Nullable
x); // expected-note {{previous declaration is here}}
32
int *foo3(int * _Nonnull x) { // expected-warning {{nullability specifier '_Nonnull' conflicts with existing specifier '
_Nullable
'}}
nullability.c
16
typedef int *
_Nullable
nullable_int_ptr;
23
typedef int * _Nonnull
_Nullable
conflicting_1; // expected-error{{nullability specifier '_Nonnull' conflicts with existing specifier '
_Nullable
'}}
32
typedef nonnull_int_ptr
_Nullable
conflicting_2; // expected-error{{nullability specifier '
_Nullable
' conflicts with existing specifier '_Nonnull'}}
36
typedef nonnull_int_ptr_typedef
_Nullable
conflicting_2; // expected-error{{nullability specifier '
_Nullable
' conflicts with existing specifier '_Nonnull'}}
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 specifier '_Nonnull' cannot be applied t (…)
[
all
...]
/external/clang/test/SemaObjCXX/Inputs/
nullability-consistency-8.h
16
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;
nullability-pragmas-1.h
28
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));
40
void f17(CFErrorRef *error); // expected-note{{no known conversion from 'A * _Nonnull' to 'CFErrorRef
_Nullable
*
_Nullable
' (aka '__CFError **') for 1st argument}}
95
void f23(int_ptr
_Nullable
x);
96
void f24(A_ptr
_Nullable
y);
/system/core/adb/
adb_client.h
43
void adb_set_transport(TransportType type, const char*
_Nullable
serial, TransportId transport_id);
44
void adb_get_transport(TransportType*
_Nullable
type, const char*
_Nullable
*
_Nullable
serial,
45
TransportId*
_Nullable
transport_id);
55
const char*
_Nullable
serial);
sysdeps.h
59
#define
_Nullable
/system/netd/server/dns/
DnsTlsSessionCache.h
51
static int newSessionCallback(SSL*
_Nullable
ssl, SSL_SESSION*
_Nullable
session);
54
void recordSession(SSL_SESSION*
_Nullable
session) EXCLUDES(mLock);
/system/core/debuggerd/
util.h
46
android::base::unique_fd*
_Nullable
out_fd);
util.cpp
49
ssize_t recv_fd(int sockfd, void* _Nonnull data, size_t len, unique_fd*
_Nullable
out_fd) {
/external/clang/test/Index/
complete-method-decls.m
92
@property (nullable, strong) void(^propWB)(int *
_Nullable
);
231
// CHECK-NULLABILITY: ObjCInstanceMethodDecl:{LeftParen (}{Text void (^)(int *
_Nullable
)}{RightParen )}{TypedText propWB}
233
// CHECK-NULLABILITY: ObjCInstanceMethodDecl:{LeftParen (}{Text void}{RightParen )}{TypedText setPropWB}{TypedText :}{LeftParen (}{Text void (^)(int *
_Nullable
)}{RightParen )}{Text propWB}
234
// CHECK-NULLABILITY: ObjCInstanceMethodDecl:{LeftParen (}{Text int *
_Nullable
*}{RightParen )}{TypedText something}{TypedText :}{LeftParen (}{Text void (^)(int *
_Nullable
)}{RightParen )}{Text b}
Completed in 642 milliseconds