/external/libcxxabi/test/ |
catch_reference_nullptr.pass.cpp | 30 using nullptr_t = decltype(nullptr); 32 // A reference to nullptr_t can catch nullptr. 33 catch_nullptr_test<nullptr_t, true>(); 34 catch_nullptr_test<const nullptr_t, true>(); 35 catch_nullptr_test<volatile nullptr_t, true>(); 36 catch_nullptr_test<const volatile nullptr_t, true>();
|
/external/clang/test/CodeGenCXX/ |
nullptr.cpp | 12 typedef decltype(nullptr) nullptr_t; typedef 14 nullptr_t get_nullptr(); 23 return typeid(nullptr_t);
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
p1-11.cpp | 4 typedef decltype(nullptr) nullptr_t; typedef in namespace:std 13 constexpr std::nullptr_t get_nullptr() { return nullptr; } 15 constexpr std::nullptr_t np = nullptr; 17 std::nullptr_t nonconst_np; // expected-note{{declared here}} 27 IP<nonconst_np> ip5; // expected-error{{non-type template argument of type 'std::nullptr_t' (aka 'nullptr_t') is not a constant expression}} \ 58 template<std::nullptr_t np> struct NP { // expected-note 2{{template parameter is declared here}} 65 NP<0> np4; // expected-error{{null non-type template argument must be cast to template parameter type 'std::nullptr_t' (aka 'nullptr_t')}} 67 NP<i> np5; // expected-error{{non-type template argument of type 'const int' cannot be converted to a value of type 'std::nullptr_t'}} [all...] |
/external/libcxx/test/std/language.support/support.types/ |
nullptr_t.pass.cpp | 16 // typedef decltype(nullptr) nullptr_t; 20 A(std::nullptr_t) {} 80 static_assert(sizeof(std::nullptr_t) == sizeof(void*), 81 "sizeof(std::nullptr_t) == sizeof(void*)"); 84 test_conversions<std::nullptr_t>(); 93 static_assert(!has_less<std::nullptr_t>::value, ""); 99 // static_assert(!has_less<std::nullptr_t>::value, ""); 101 test_comparisons<std::nullptr_t>();
|
/external/libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/ |
equal.pass.cpp | 23 using std::nullptr_t; 29 constexpr bool operator==(const X &, const nullptr_t &) { 33 constexpr bool operator==(const nullptr_t &, const X &) {
|
not_equal.pass.cpp | 23 using std::nullptr_t; 29 constexpr bool operator!=(const X &, const nullptr_t &) { 33 constexpr bool operator!=(const nullptr_t &, const X &) {
|
/external/gemmlowp/profiling/ |
pthread_everywhere.h | 37 // structs; ours take nullptr_t. That is because gemmlowp always passes 48 inline void pthread_create(pthread_t *thread, std::nullptr_t, 52 inline void pthread_join(pthread_t thread, std::nullptr_t) { thread->join(); } 53 inline void pthread_mutex_init(pthread_mutex_t *mutex, std::nullptr_t) { 59 inline void pthread_cond_init(pthread_cond_t *cond, std::nullptr_t) {
|
/external/libcxx/include/ |
stddef.h | 36 nullptr_t 52 using std::nullptr_t;
|
/external/clang/test/SemaCXX/ |
nullptr.cpp | 4 typedef decltype(nullptr) nullptr_t; typedef 13 nullptr_t f(nullptr_t null) 60 (void)&nullptr; // expected-error {{cannot take the address of an rvalue of type 'nullptr_t'}} 61 nullptr_t *pn = &null; 117 static_assert(__is_scalar(nullptr_t), ""); 118 static_assert(__is_pod(nullptr_t), ""); 119 static_assert(sizeof(nullptr_t) == sizeof(void*), ""); 151 operator nullptr_t() const; 165 template<typename T, nullptr_t Value [all...] |
nullability.cpp | 8 typedef decltype(nullptr) nullptr_t; typedef 16 typedef nullptr_t _Nonnull nonnull_nullptr_t; // expected-error{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'nullptr_t'}} 27 // expected-error@-1{{nullability specifier '_Nonnull' cannot be applied to non-pointer type 'nullptr_t'}} 32 typedef AddNonNull<nullptr_t>::type nonnull_int_ptr_3; // expected-note{{in instantiation of template class}}
|
/external/clang/test/Lexer/ |
cxx0x_keyword_as_cxx98.cpp | 8 struct nullptr_t; 9 typedef nullptr_t nullptr; // expected-warning {{'nullptr' is a keyword in C++11}}
|
/external/libcxx/test/std/diagnostics/syserr/ |
is_error_code_enum.pass.cpp | 47 test<false, std::nullptr_t>();
|
is_error_condition_enum.pass.cpp | 47 test<false, std::nullptr_t>();
|
/external/skia/include/core/ |
SkRefCnt.h | 209 constexpr sk_sp(std::nullptr_t) : fPtr(nullptr) {} 244 sk_sp<T>& operator=(std::nullptr_t) { this->reset(); return *this; } 330 template <typename T> inline bool operator==(const sk_sp<T>& a, std::nullptr_t) /*noexcept*/ { 333 template <typename T> inline bool operator==(std::nullptr_t, const sk_sp<T>& b) /*noexcept*/ { 340 template <typename T> inline bool operator!=(const sk_sp<T>& a, std::nullptr_t) /*noexcept*/ { 343 template <typename T> inline bool operator!=(std::nullptr_t, const sk_sp<T>& b) /*noexcept*/ { 353 template <typename T> inline bool operator<(const sk_sp<T>& a, std::nullptr_t) { 356 template <typename T> inline bool operator<(std::nullptr_t, const sk_sp<T>& b) { 363 template <typename T> inline bool operator<=(const sk_sp<T>& a, std::nullptr_t) { 366 template <typename T> inline bool operator<=(std::nullptr_t, const sk_sp<T>& b) [all...] |
/external/skqp/include/core/ |
SkRefCnt.h | 209 constexpr sk_sp(std::nullptr_t) : fPtr(nullptr) {} 244 sk_sp<T>& operator=(std::nullptr_t) { this->reset(); return *this; } 330 template <typename T> inline bool operator==(const sk_sp<T>& a, std::nullptr_t) /*noexcept*/ { 333 template <typename T> inline bool operator==(std::nullptr_t, const sk_sp<T>& b) /*noexcept*/ { 340 template <typename T> inline bool operator!=(const sk_sp<T>& a, std::nullptr_t) /*noexcept*/ { 343 template <typename T> inline bool operator!=(std::nullptr_t, const sk_sp<T>& b) /*noexcept*/ { 353 template <typename T> inline bool operator<(const sk_sp<T>& a, std::nullptr_t) { 356 template <typename T> inline bool operator<(std::nullptr_t, const sk_sp<T>& b) { 363 template <typename T> inline bool operator<=(const sk_sp<T>& a, std::nullptr_t) { 366 template <typename T> inline bool operator<=(std::nullptr_t, const sk_sp<T>& b) [all...] |
/external/icu/icu4c/source/common/unicode/ |
char16ptr.h | 69 inline Char16Ptr(std::nullptr_t p); 118 Char16Ptr::Char16Ptr(std::nullptr_t p) : p_(p) {} 134 Char16Ptr::Char16Ptr(std::nullptr_t p) { u_.cp = p; } 176 inline ConstChar16Ptr(const std::nullptr_t p); 226 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p_(p) {} 242 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) { u_.cp = p; }
|
/external/tensorflow/tensorflow/stream_executor/ |
device_memory.h | 68 bool operator==(std::nullptr_t other) const { return is_null(); } 69 bool operator!=(std::nullptr_t other) const { return !is_null(); } 123 DeviceMemory(std::nullptr_t) : DeviceMemory() {} 246 bool operator==(std::nullptr_t other) const { return wrapped_.is_null(); } 247 bool operator!=(std::nullptr_t other) const { return !wrapped_.is_null(); } 253 void Reset(std::nullptr_t);
|
/external/clang/test/Analysis/Inputs/ |
system-header-simulator-cxx-std-suppression.h | 116 typedef decltype(nullptr) nullptr_t; typedef in namespace:std 122 constexpr shared_ptr(nullptr_t); 141 shared_ptr<_Tp>::shared_ptr(nullptr_t) {
|
/external/clang/test/SemaTemplate/ |
deduction-crash.cpp | 125 typedef decltype(nullptr) nullptr_t; typedef in namespace:PR14281_part2 126 template <class P, nullptr_t> struct A; 128 template <template <class, nullptr_t> class S, class T> struct A<S<T, nullptr>, nullptr> { 131 template <class T, nullptr_t i> struct B {};
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/ |
construct.pass.cpp | 19 // constexpr coroutine_handle(nullptr_t) noexcept 36 static_assert(std::is_nothrow_constructible<C, std::nullptr_t>::value, "");
|
/external/clang/lib/Headers/ |
stddef.h | 109 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 110 using ::std::nullptr_t;
|
/external/libcxx/test/std/depr/depr.c.headers/ |
stddef_h.pass.cpp | 43 static_assert((std::is_same<decltype(nullptr), nullptr_t>::value), 44 "decltype(nullptr) == nullptr_t"); 45 static_assert(sizeof(nullptr_t) == sizeof(void*), 46 "sizeof(nullptr_t) == sizeof(void*)");
|
/external/skia/src/utils/win/ |
SkTScopedComPtr.h | 42 constexpr SkTScopedComPtr(std::nullptr_t) : fPtr(nullptr) {} 54 SkTScopedComPtr& operator=(std::nullptr_t) { this->reset(); return *this; }
|
/external/skqp/src/utils/win/ |
SkTScopedComPtr.h | 42 constexpr SkTScopedComPtr(std::nullptr_t) : fPtr(nullptr) {} 54 SkTScopedComPtr& operator=(std::nullptr_t) { this->reset(); return *this; }
|
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/win_text/ |
unwinder.h | 27 unwinder& operator=(nullptr_t) {
|