/external/libcxx/include/ |
D | __nullptr | 24 struct _LIBCPP_TEMPLATE_VIS nullptr_t 30 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR nullptr_t() : __lx(0) {} 31 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR nullptr_t(int __nat::*) : __lx(0) {} 43 …friend _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR bool operator==(nullptr_t, nullptr_t) {return t… 44 …friend _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR bool operator!=(nullptr_t, nullptr_t) {return f… 47 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR nullptr_t __get_nullptr_t() {return nullptr_t(0)… 57 typedef decltype(nullptr) nullptr_t;
|
/external/clang/test/SemaCXX/ |
D | nullptr.cpp | 4 typedef decltype(nullptr) nullptr_t; typedef 13 nullptr_t f(nullptr_t null) in f() 61 nullptr_t *pn = &null; in f() 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>
|
D | nullability.cpp | 8 typedef decltype(nullptr) nullptr_t; typedef 16 typedef nullptr_t _Nonnull nonnull_nullptr_t; // expected-error{{nullability specifier '_Nonnull' c… 32 typedef AddNonNull<nullptr_t>::type nonnull_int_ptr_3; // expected-note{{in instantiation of templa…
|
/external/libcxxabi/test/ |
D | catch_reference_nullptr.pass.cpp | 30 using nullptr_t = decltype(nullptr); in main() typedef 33 catch_nullptr_test<nullptr_t, true>(); in main() 34 catch_nullptr_test<const nullptr_t, true>(); in main() 35 catch_nullptr_test<volatile nullptr_t, true>(); in main() 36 catch_nullptr_test<const volatile nullptr_t, true>(); in main()
|
/external/skqp/include/core/ |
D | SkRefCnt.h | 209 constexpr sk_sp(std::nullptr_t) : fPtr(nullptr) {} in sk_sp() argument 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/skia/include/core/ |
D | SkRefCnt.h | 209 constexpr sk_sp(std::nullptr_t) : fPtr(nullptr) {} in sk_sp() argument 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/libcxx/test/std/language.support/support.types/ |
D | nullptr_t.pass.cpp | 20 A(std::nullptr_t) {} in A() 80 static_assert(sizeof(std::nullptr_t) == sizeof(void*), in main() 84 test_conversions<std::nullptr_t>(); in main() 93 static_assert(!has_less<std::nullptr_t>::value, ""); in main() 101 test_comparisons<std::nullptr_t>(); in main()
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
D | p1-11.cpp | 4 typedef decltype(nullptr) nullptr_t; typedef 13 constexpr std::nullptr_t get_nullptr() { return nullptr; } in get_nullptr() 15 constexpr std::nullptr_t np = nullptr; 17 std::nullptr_t nonconst_np; // expected-note{{declared here}} 58 template<std::nullptr_t np> struct NP { // expected-note 2{{template parameter is declared here}}
|
/external/tensorflow/tensorflow/stream_executor/ |
D | 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() {} in DeviceMemory() argument 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/gemmlowp/profiling/ |
D | pthread_everywhere.h | 48 inline void pthread_create(pthread_t *thread, std::nullptr_t, in pthread_create() argument 52 inline void pthread_join(pthread_t thread, std::nullptr_t) { thread->join(); } in pthread_join() argument 53 inline void pthread_mutex_init(pthread_mutex_t *mutex, std::nullptr_t) { in pthread_mutex_init() argument 59 inline void pthread_cond_init(pthread_cond_t *cond, std::nullptr_t) { in pthread_cond_init() argument
|
/external/icu/icu4c/source/common/unicode/ |
D | char16ptr.h | 69 inline Char16Ptr(std::nullptr_t p); 118 Char16Ptr::Char16Ptr(std::nullptr_t p) : p_(p) {} in Char16Ptr() 134 Char16Ptr::Char16Ptr(std::nullptr_t p) { u_.cp = p; } in Char16Ptr() 176 inline ConstChar16Ptr(const std::nullptr_t p); 226 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p_(p) {} in ConstChar16Ptr() 242 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) { u_.cp = p; } in ConstChar16Ptr()
|
/external/clang/test/CodeGenCXX/ |
D | nullptr.cpp | 12 typedef decltype(nullptr) nullptr_t; typedef 14 nullptr_t get_nullptr(); 23 return typeid(nullptr_t); in f2()
|
/external/clang/test/SemaTemplate/ |
D | deduction-crash.cpp | 125 typedef decltype(nullptr) nullptr_t; 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/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/ |
D | not_equal.pass.cpp | 23 using std::nullptr_t; 29 constexpr bool operator!=(const X &, const nullptr_t &) { in operator !=() argument 33 constexpr bool operator!=(const nullptr_t &, const X &) { in operator !=() argument
|
D | equal.pass.cpp | 23 using std::nullptr_t; 29 constexpr bool operator==(const X &, const nullptr_t &) { in operator ==() argument 33 constexpr bool operator==(const nullptr_t &, const X &) { in operator ==() argument
|
/external/libchrome/base/android/ |
D | scoped_java_ref.h | 53 constexpr JavaRef(std::nullptr_t) : JavaRef() {} in JavaRef() argument 97 JavaRef(std::nullptr_t) : JavaRef<jobject>(nullptr) {} in JavaRef() argument 124 JavaParamRef(std::nullptr_t) : JavaRef<T>(nullptr) {} in JavaParamRef() argument 150 constexpr ScopedJavaLocalRef(std::nullptr_t) : env_(nullptr) {} in ScopedJavaLocalRef() argument 238 constexpr ScopedJavaGlobalRef(std::nullptr_t) {} in ScopedJavaGlobalRef() argument
|
/external/libcxx/include/support/win32/ |
D | locale_win32.h | 36 locale_t(std::nullptr_t) in locale_t() argument 53 friend bool operator==(const locale_t& __left, std::nullptr_t) { 61 friend bool operator==(std::nullptr_t, const locale_t& __right) { 77 friend bool operator!=(const locale_t& __left, std::nullptr_t __right) { 85 friend bool operator!=(std::nullptr_t __left, const locale_t& __right) {
|
/external/libchrome/base/memory/ |
D | weak_ptr.h | 223 WeakPtr(std::nullptr_t) {} in WeakPtr() argument 270 bool operator!=(const WeakPtr<T>& weak_ptr, std::nullptr_t) { 274 bool operator!=(std::nullptr_t, const WeakPtr<T>& weak_ptr) { 278 bool operator==(const WeakPtr<T>& weak_ptr, std::nullptr_t) { 282 bool operator==(std::nullptr_t, const WeakPtr<T>& weak_ptr) {
|
/external/Microsoft-GSL/include/gsl/ |
D | pointers | 23 #include <iosfwd> // for ptrdiff_t, nullptr_t, ostream, size_t 63 // - disallow construction from nullptr_t 72 static_assert(std::is_assignable<T&, std::nullptr_t>::value, "T cannot be assigned nullptr."); 80 template <typename = std::enable_if_t<!std::is_same<std::nullptr_t, T>::value>> 106 not_null(std::nullptr_t) = delete; 107 not_null& operator=(std::nullptr_t) = delete; 222 template <typename = std::enable_if_t<!std::is_same<std::nullptr_t, T>::value>> 247 strict_not_null(std::nullptr_t) = delete; 248 strict_not_null& operator=(std::nullptr_t) = delete;
|
/external/clang/test/Analysis/Inputs/ |
D | system-header-simulator-cxx-std-suppression.h | 116 typedef decltype(nullptr) nullptr_t; typedef 122 constexpr shared_ptr(nullptr_t); 141 shared_ptr<_Tp>::shared_ptr(nullptr_t) { in shared_ptr() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 229 bool operator==(std::nullptr_t A, const IntrusiveRefCntPtr<T> &B) { 234 bool operator==(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) { 239 bool operator!=(std::nullptr_t A, const IntrusiveRefCntPtr<T> &B) { 244 bool operator!=(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) {
|
/external/libcxx/test/support/ |
D | min_allocator.h | 205 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} in min_pointer() argument 222 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} in min_pointer() argument 246 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} in min_pointer() argument 316 min_pointer(std::nullptr_t) : ptr_(nullptr) {} in min_pointer() argument 381 operator==(min_pointer<T, ID> x, std::nullptr_t) 389 operator==(std::nullptr_t, min_pointer<T, ID> x) 397 operator!=(min_pointer<T, ID> x, std::nullptr_t) 405 operator!=(std::nullptr_t, min_pointer<T, ID> x)
|
/external/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 247 bool operator==(std::nullptr_t A, const IntrusiveRefCntPtr<T> &B) { 252 bool operator==(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) { 257 bool operator!=(std::nullptr_t A, const IntrusiveRefCntPtr<T> &B) { 262 bool operator!=(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 245 bool operator==(std::nullptr_t A, const IntrusiveRefCntPtr<T> &B) { 250 bool operator==(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) { 255 bool operator!=(std::nullptr_t A, const IntrusiveRefCntPtr<T> &B) { 260 bool operator!=(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) {
|
/external/clang/test/Lexer/ |
D | cxx0x_keyword_as_cxx98.cpp | 8 struct nullptr_t; 9 typedef nullptr_t nullptr; // expected-warning {{'nullptr' is a keyword in C++11}} typedef
|