Home
last modified time | relevance | path

Searched refs:nullptr_t (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/external/llvm-project/clang/test/CodeGenCXX/
Dnullptr.cpp12 typedef decltype(nullptr) nullptr_t; typedef
14 nullptr_t get_nullptr();
23 return typeid(nullptr_t); in f2()
28 nullptr_t b;
42 nullptr_t pr23833_b(nullptr_t &n) { return n; } in pr23833_b()
45 struct X2 { operator const nullptr_t&(); };
68 constexpr nullptr_t null = nullptr;
69 void f(nullptr_t);
/external/libcxx/include/
D__nullptr24 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/llvm-project/libcxx/include/
D__nullptr23 struct _LIBCPP_TEMPLATE_VIS nullptr_t
29 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR nullptr_t() : __lx(0) {}
30 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR nullptr_t(int __nat::*) : __lx(0) {}
42 …friend _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR bool operator==(nullptr_t, nullptr_t) {return t…
43 …friend _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR bool operator!=(nullptr_t, nullptr_t) {return f…
46 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR nullptr_t __get_nullptr_t() {return nullptr_t(0)…
56 typedef decltype(nullptr) nullptr_t;
/external/llvm-project/clang/test/CXX/drs/
Ddr15xx.cpp62 using nullptr_t = decltype(nullptr); in test() typedef
63 composite_pointer_type_is_unord<nullptr_t, nullptr_t, nullptr_t>(); in test()
64 no_composite_pointer_type<nullptr_t, int>(); in test()
66 composite_pointer_type_is_unord<nullptr_t, const char**, const char**>(); in test()
67 composite_pointer_type_is_unord<const char**, nullptr_t, const char**>(); in test()
118 using nullptr_t = decltype(nullptr); in test_overload() typedef
119 void(Wrap<nullptr_t>() == Wrap<nullptr_t>()); in test_overload()
120 void(Wrap<nullptr_t>() != Wrap<nullptr_t>()); in test_overload()
121 void(Wrap<nullptr_t>() < Wrap<nullptr_t>()); // expected-error {{invalid operands}} in test_overload()
122 void(Wrap<nullptr_t>() > Wrap<nullptr_t>()); // expected-error {{invalid operands}} in test_overload()
[all …]
/external/llvm-project/clang/test/SemaCXX/
Dnullptr.cpp4 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>
/external/clang/test/SemaCXX/
Dnullptr.cpp4 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>
/external/llvm-project/libcxxabi/test/
Dcatch_reference_nullptr.pass.cpp30 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/libcxxabi/test/
Dcatch_reference_nullptr.pass.cpp30 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/llvm-project/libcxx/test/std/language.support/support.types/
Dnullptr_t.pass.cpp19 A(std::nullptr_t) {} in A()
71 static_assert(sizeof(std::nullptr_t) == sizeof(void*), in main()
75 test_conversions<std::nullptr_t>(); in main()
84 static_assert(!has_less<std::nullptr_t>::value, ""); in main()
92 test_comparisons<std::nullptr_t>(); in main()
/external/skqp/include/core/
DSkRefCnt.h209 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/
Dnullptr_t.pass.cpp20 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/
Dp1-11.cpp4 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/llvm-project/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
Dp1-11.cpp4 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/skia/include/ports/
DSkCFObject.h38 constexpr sk_cfp(std::nullptr_t) {} in sk_cfp() argument
69 sk_cfp<T>& operator=(std::nullptr_t) { this->reset(); return *this; }
144 std::nullptr_t) {
147 template <typename T> inline bool operator==(std::nullptr_t,
157 std::nullptr_t) {
160 template <typename T> inline bool operator!=(std::nullptr_t,
/external/clang/test/CodeGenCXX/
Dnullptr.cpp12 typedef decltype(nullptr) nullptr_t; typedef
14 nullptr_t get_nullptr();
23 return typeid(nullptr_t); in f2()
/external/gemmlowp/profiling/
Dpthread_everywhere.h48 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/angle/src/libANGLE/
DCLRefPointer.h37 RefPointer(std::nullptr_t) noexcept : mCLObject(nullptr) {} in RefPointer() argument
38 RefPointer &operator=(std::nullptr_t)
107 bool operator==(const RefPointer<T> &ptr, nullptr_t) noexcept
113 bool operator==(nullptr_t, const RefPointer<T> &ptr) noexcept
119 bool operator!=(const RefPointer<T> &ptr, nullptr_t) noexcept
125 bool operator!=(nullptr_t, const RefPointer<T> &ptr) noexcept
/external/openscreen/util/
Dweak_ptr.h96 WeakPtr(std::nullptr_t) {} // NOLINT in WeakPtr() argument
98 WeakPtr& operator=(std::nullptr_t) {
165 bool operator!=(const WeakPtr<T>& weak_ptr, std::nullptr_t) {
169 bool operator!=(std::nullptr_t, const WeakPtr<T>& weak_ptr) {
173 bool operator==(const WeakPtr<T>& weak_ptr, std::nullptr_t) {
177 bool operator==(std::nullptr_t, const WeakPtr<T>& weak_ptr) {
/external/icu/libicu/ndk_headers/unicode/
Dchar16ptr.h72 inline Char16Ptr(std::nullptr_t p);
121 Char16Ptr::Char16Ptr(std::nullptr_t p) : p_(p) {} in Char16Ptr()
137 Char16Ptr::Char16Ptr(std::nullptr_t p) { u_.cp = p; } in Char16Ptr()
179 inline ConstChar16Ptr(const std::nullptr_t p);
229 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p_(p) {} in ConstChar16Ptr()
245 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) { u_.cp = p; } in ConstChar16Ptr()
/external/icu/libicu/cts_headers/unicode/
Dchar16ptr.h72 inline Char16Ptr(std::nullptr_t p);
121 Char16Ptr::Char16Ptr(std::nullptr_t p) : p_(p) {} in Char16Ptr()
137 Char16Ptr::Char16Ptr(std::nullptr_t p) { u_.cp = p; } in Char16Ptr()
179 inline ConstChar16Ptr(const std::nullptr_t p);
229 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p_(p) {} in ConstChar16Ptr()
245 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) { u_.cp = p; } in ConstChar16Ptr()
/external/icu/libandroidicu/include/unicode/
Dchar16ptr.h72 inline Char16Ptr(std::nullptr_t p);
121 Char16Ptr::Char16Ptr(std::nullptr_t p) : p_(p) {} in Char16Ptr()
137 Char16Ptr::Char16Ptr(std::nullptr_t p) { u_.cp = p; } in Char16Ptr()
179 inline ConstChar16Ptr(const std::nullptr_t p);
229 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p_(p) {} in ConstChar16Ptr()
245 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) { u_.cp = p; } in ConstChar16Ptr()
/external/icu/icu4c/source/common/unicode/
Dchar16ptr.h72 inline Char16Ptr(std::nullptr_t p);
121 Char16Ptr::Char16Ptr(std::nullptr_t p) : p_(p) {} in Char16Ptr()
137 Char16Ptr::Char16Ptr(std::nullptr_t p) { u_.cp = p; } in Char16Ptr()
179 inline ConstChar16Ptr(const std::nullptr_t p);
229 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p_(p) {} in ConstChar16Ptr()
245 ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) { u_.cp = p; } in ConstChar16Ptr()
/external/clang/test/SemaTemplate/
Ddeduction-crash.cpp125 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/llvm-project/libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/
Dnot_equal.pass.cpp23 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/libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/
Dnot_equal.pass.cpp23 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

12345678910>>...15