HomeSort by relevance Sort by last modified time
    Searched refs:_Nonnull (Results 1 - 25 of 29) 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);
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 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, ...)
  /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...]
  /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/netd/server/dns/
IDnsTlsSocketFactory.h 37 IDnsTlsSocketObserver* _Nonnull observer,
38 DnsTlsSessionCache* _Nonnull cache) = 0;
DnsTlsSocketFactory.h 36 IDnsTlsSocketObserver* _Nonnull observer,
37 DnsTlsSessionCache* _Nonnull cache) override {
DnsTlsSessionCache.h 39 void prepareSslContext(SSL_CTX* _Nonnull ssl_ctx);
40 bool prepareSsl(SSL* _Nonnull ssl);
DnsTlsSocket.h 51 IDnsTlsSocketObserver* _Nonnull observer,
52 DnsTlsSessionCache* _Nonnull cache) :
121 IDnsTlsSocketObserver* _Nonnull const mObserver;
122 DnsTlsSessionCache* _Nonnull const mCache;
DnsTlsDispatcher.h 58 const Slice query, const Slice ans, int * _Nonnull resplen);
64 const Slice query, const Slice ans, int * _Nonnull resplen);
79 IDnsTlsSocketFactory* _Nonnull factory) :
DnsTlsTransport.h 46 IDnsTlsSocketFactory* _Nonnull factory) :
73 IDnsTlsSocketFactory* _Nonnull const mFactory;
DnsTlsQueryMap.h 102 static void expire(QueryPromise* _Nonnull p);
  /system/core/debuggerd/
util.h 31 ssize_t send_fd(int sockfd, const void* _Nonnull data, size_t len, android::base::unique_fd fd);
45 ssize_t recv_fd(int sockfd, void* _Nonnull data, size_t len,
  /system/core/debuggerd/tombstoned/
intercept_manager.h 52 InterceptManager(event_base* _Nonnull base, int intercept_socket);

Completed in 427 milliseconds

1 2