OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:_Nonnull
(Results
1 - 17
of
17
) sorted by null
/external/clang/test/SemaObjCXX/Inputs/
nullability-consistency-3.h
1
void double_declarator1(int *
_Nonnull
*); // expected-warning{{pointer is missing a nullability type specifier (
_Nonnull
, _Nullable, or _Null_unspecified)}}
nullability-consistency-4.h
1
void double_declarator1(int * *
_Nonnull
); // expected-warning{{pointer is missing a nullability type specifier (
_Nonnull
, _Nullable, or _Null_unspecified)}}
nullability-consistency-1.h
3
void f2(int *
_Nonnull
);
nullability-consistency-8.h
1
typedef int*
_Nonnull
mynonnull;
17
void cf3(CFTypeRef *
_Nonnull
p CF_RETURNS_NOT_RETAINED);
20
void cf5(CFTypeRef
_Nonnull
* _Nullable p CF_RETURNS_NOT_RETAINED);
23
void cf7(CF_RETURNS_NOT_RETAINED CFTypeRef *
_Nonnull
p);
27
void cfp2(CFTypeRefPtr
_Nonnull
p CF_RETURNS_NOT_RETAINED);
nullability-consistency-5.h
11
void trigger5(int *
_Nonnull
);
nullability-consistency-2.h
1
void g1(int *
_Nonnull
);
nullability-pragmas-1.h
40
void f17(CFErrorRef *error); // expected-note{{no known conversion from 'A *
_Nonnull
' to 'CFErrorRef _Nullable * _Nullable' (aka '__CFError **') for 1st argument}}
67
// typedefs not inferred
_Nonnull
74
float *fp = global_int_ptr; // expected-error{{cannot initialize a variable of type 'float *' with an lvalue of type 'int *
_Nonnull
'}}
86
_Nonnull
id ivar2;
/external/clang/test/SemaCXX/
nullability-declspec.cpp
7
_Nonnull
int (^bp1)(int); // expected-error{{nullability specifier '
_Nonnull
' cannot be applied to non-pointer type 'int'; did you mean to apply the specifier to the block pointer?}}
8
_Nonnull
int X::*pmd1; // expected-error{{nullability specifier '
_Nonnull
' cannot be applied to non-pointer type 'int'; did you mean to apply the specifier to the member pointer?}}
9
_Nonnull
int (X::*pmf1)(int); // expected-error{{nullability specifier '
_Nonnull
' cannot be applied to non-pointer type 'int'; did you mean to apply the specifier to the member function pointer?}}
nullability.cpp
14
typedef int (X::*
_Nonnull
member_function_type_1)(int);
15
typedef int X::*
_Nonnull
member_data_type_1;
16
typedef nullptr_t
_Nonnull
nonnull_nullptr_t; // expected-error{{nullability specifier '
_Nonnull
' cannot be applied to non-pointer type 'nullptr_t'}}
19
typedef
_Nonnull
int (X::* member_function_type_2)(int);
20
typedef int (X::*
_Nonnull
member_function_type_3)(int);
21
typedef
_Nonnull
int X::* member_data_type_2;
26
typedef
_Nonnull
T type; // expected-error{{nullability specifier '
_Nonnull
' cannot be applied to non-pointer type 'int'}}
27
// expected-error@-1{{nullability specifier '
_Nonnull
' cannot be applied to non-pointer type 'nullptr_t'}
[
all
...]
/external/clang/test/Sema/
nullability.c
11
typedef int *
_Nonnull
nonnull_int_ptr; // expected-note{{'
_Nonnull
' specified here}}
16
typedef int *
_Nonnull
_Nonnull
redundant_1; // expected-warning{{duplicate nullability specifier '
_Nonnull
'}}
19
typedef int *
_Nonnull
_Nullable conflicting_1; // expected-error{{nullability specifier '
_Nonnull
' conflicts with existing specifier '_Nullable'}}
20
typedef int * _Null_unspecified
_Nonnull
conflicting_2; // expected-error{{nullability specifier '_Null_unspecified' conflicts with existing specifier '
_Nonnull
'}}
23
typedef nonnull_int_ptr
_Nonnull
redundant_okay_1
[
all
...]
non-null-warning.c
10
int * _Nullable foo(int *
_Nonnull
x);
12
int *
_Nonnull
ret_nonnull();
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);
26
int *foo2(int *
_Nonnull
x) {
32
int *foo3(int *
_Nonnull
x) { // expected-warning {{nullability specifier '
_Nonnull
' conflicts with existing specifier '_Nullable'}}
/external/clang/test/SemaObjCXX/Inputs/nullability-consistency-system/
nullability-consistency-system.h
8
void system2(int *
_Nonnull
);
/external/clang/test/FixIt/
fixit-nullability-declspec.cpp
9
_Nonnull
int (^bp1)(int); // expected-error{{nullability specifier '
_Nonnull
' cannot be applied to non-pointer type 'int'; did you mean to apply the specifier to the block pointer?}}
/system/core/adb/
adb_client.h
27
int adb_connect(const std::string& service, std::string*
_Nonnull
error);
28
int _adb_connect(const std::string& service, std::string*
_Nonnull
error);
36
bool adb_query(const std::string& service, std::string*
_Nonnull
result,
37
std::string*
_Nonnull
error);
54
int adb_send_emulator_command(int argc, const char*
_Nonnull
*
_Nonnull
argv,
59
bool adb_status(int fd, std::string*
_Nonnull
error);
62
std::string format_host_command(const char*
_Nonnull
command, TransportType type,
66
bool adb_get_feature_set(FeatureSet*
_Nonnull
feature_set, std::string*
_Nonnull
error)
[
all
...]
shell_service.cpp
164
bool ForkAndExec(std::string*
_Nonnull
error);
169
std::string*
_Nonnull
error);
sysdeps.h
68
#define
_Nonnull
/external/clang/test/Parser/
nullability.c
3
_Nonnull
int *ptr; // expected-warning{{type nullability specifier '
_Nonnull
' is a Clang extension}}
7
_Nonnull
int *ptr2; // no-warning
Completed in 1600 milliseconds