HomeSort by relevance Sort by last modified time
    Searched refs:_Nonnull (Results 1 - 25 of 37) sorted by null

1 2

  /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);
  /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...]
  /bionic/libc/include/
pthread.h 93 int pthread_attr_destroy(pthread_attr_t* _Nonnull);
94 int pthread_attr_getdetachstate(const pthread_attr_t* _Nonnull, int* _Nonnull);
95 int pthread_attr_getguardsize(const pthread_attr_t* _Nonnull, size_t* _Nonnull);
96 int pthread_attr_getschedparam(const pthread_attr_t* _Nonnull, struct sched_param* _Nonnull);
97 int pthread_attr_getschedpolicy(const pthread_attr_t* _Nonnull, int* _Nonnull);
98 int pthread_attr_getscope(const pthread_attr_t* _Nonnull, int* _Nonnull)
    [all...]
string.h 49 void* memccpy(void* _Nonnull __restrict, const void* _Nonnull __restrict, int, size_t);
50 void* memchr(const void* _Nonnull, int, size_t) __attribute_pure__ __overloadable
52 void* memrchr(const void* _Nonnull, int, size_t) __attribute_pure__ __overloadable
54 int memcmp(const void* _Nonnull, const void* _Nonnull, size_t) __attribute_pure__;
55 void* memcpy(void* _Nonnull __restrict, const void* _Nonnull __restrict, size_t)
58 void* mempcpy(void* _Nonnull __restrict, const void* _Nonnull __restrict, size_t) __INTRODUCED_IN(23)
    [all...]
error.h 40 void error(int, int, const char* _Nonnull, ...) __printflike(3, 4) __INTRODUCED_IN(23);
41 void error_at_line(int, int, const char* _Nullable, unsigned int, const char* _Nonnull, ...)
dlfcn.h 54 int dlclose(void* _Nonnull handle);
56 void* dlsym(void* handle, const char* _Nonnull symbol);
57 void* dlvsym(void* handle, const char* _Nonnull symbol, const char* _Nonnull version) __INTRODUCED_IN(24);
58 int dladdr(const void* addr, Dl_info* _Nonnull info);
syslog.h 91 void syslog(int, const char* _Nonnull, ...) __printflike(2, 3);
93 void vsyslog(int, const char* _Nonnull, va_list) __printflike(2, 0);
95 void vsyslog(int, const char* _Nonnull, va_list _Nonnull) __printflike(2, 0);
signal.h 132 int sigpending(sigset_t* _Nonnull);
134 int sigsuspend(const sigset_t* _Nonnull);
135 int sigwait(const sigset_t* _Nonnull, int* _Nonnull);
164 int sigtimedwait(const sigset_t* _Nonnull, siginfo_t*, const struct timespec*) __INTRODUCED_IN(23);
165 int sigwaitinfo(const sigset_t* _Nonnull, siginfo_t*) __INTRODUCED_IN(23);
  /external/clang/test/Sema/
nullability.c 13 // expected-note@+2{{'_Nonnull' specified here}}
15 typedef int * _Nonnull nonnull_int_ptr;
20 typedef int * _Nonnull _Nonnull redundant_1; // expected-warning{{duplicate nullability specifier '_Nonnull'}}
23 typedef int * _Nonnull _Nullable conflicting_1; // expected-error{{nullability specifier '_Nonnull' conflicts with existing specifier '_Nullable'}}
24 typedef int * _Null_unspecified _Nonnull conflicting_2; // expected-error{{nullability specifier '_Null_unspecified' conflicts with existing specifier '_Nonnull'}}
27 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);
  /bootable/recovery/updater/include/updater/
install.h 25 void uiPrintf(State* _Nonnull state, const char* _Nonnull format, ...)
  /bionic/libc/async_safe/include/async_safe/
log.h 81 void async_safe_fatal_no_abort(const char* _Nonnull fmt, ...) __printflike(1, 2);
84 const char* _Nullable prefix, const char* _Nonnull fmt, va_list);
87 const char* _Nullable prefix, const char* _Nonnull fmt, va_list _Nonnull);
96 int async_safe_format_buffer(char* _Nonnull buf, size_t size, const char* _Nonnull fmt, ...) __printflike(3, 4);
100 char* _Nonnull buffer, size_t buffer_size, const char* _Nonnull format, va_list args);
103 char* _Nonnull buffer, size_t buffer_size, const char* _Nonnull format, va_list _Nonnull args)
    [all...]
  /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 28 int adb_connect(const std::string& service, std::string* _Nonnull error);
39 bool adb_query(const std::string& service, std::string* _Nonnull result,
40 std::string* _Nonnull error);
49 void adb_set_socket_spec(const char* _Nonnull socket_spec);
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);
65 bool adb_get_feature_set(FeatureSet* _Nonnull feature_set, std::string* _Nonnull error)
    [all...]
  /bionic/libc/include/sys/
swap.h 41 int swapon(const char* _Nonnull, int) __INTRODUCED_IN(19);
42 int swapoff(const char* _Nonnull) __INTRODUCED_IN(19);
signalfd.h 39 int signalfd(int fd, const sigset_t* _Nonnull mask, int flags) __INTRODUCED_IN(18);
statvfs.h 62 int statvfs(const char* __restrict _Nonnull, struct statvfs* __restrict _Nonnull)
64 int statvfs64(const char* __restrict _Nonnull, struct statvfs64* __restrict _Nonnull)
66 int fstatvfs(int, struct statvfs* _Nonnull) __INTRODUCED_IN(19);
67 int fstatvfs64(int, struct statvfs64* _Nonnull) __INTRODUCED_IN(21);
  /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
  /system/core/debuggerd/
util.h 29 ssize_t send_fd(int sockfd, const void* _Nonnull data, size_t len, android::base::unique_fd fd);
43 ssize_t recv_fd(int sockfd, void* _Nonnull data, size_t len,

Completed in 967 milliseconds

1 2