/external/clang/test/CodeGenCXX/ |
H A D | nullptr.cpp | 12 typedef decltype(nullptr) nullptr_t; typedef 14 nullptr_t get_nullptr(); 23 return typeid(nullptr_t);
|
H A D | mangle-ms-cxx11.cpp | 73 namespace std { typedef decltype(__nullptr) nullptr_t; } typedef in namespace:std 74 void Null(std::nullptr_t) {}
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
H A D | 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/clang/test/Lexer/ |
H A D | 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/language.support/support.types/ |
H A D | nullptr_t.pass.cpp | 14 // typedef decltype(nullptr) nullptr_t; 18 A(std::nullptr_t) {} 58 static_assert(sizeof(std::nullptr_t) == sizeof(void*), 59 "sizeof(std::nullptr_t) == sizeof(void*)"); 62 test_conversions<std::nullptr_t>(); 70 test_comparisons<std::nullptr_t>();
|
/external/clang/test/SemaCXX/ |
H A D | 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 Valu [all...] |
H A D | 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}}
|
H A D | warn-consumed-analysis.cpp | 12 typedef decltype(nullptr) nullptr_t; typedef 20 ConsumableClass(nullptr_t p) RETURN_TYPESTATE(consumed); 27 ConsumableClass<T>& operator=(nullptr_t) SET_TYPESTATE(consumed); 42 bool operator!=(nullptr_t) const TEST_TYPESTATE(unconsumed); 43 bool operator==(nullptr_t) const TEST_TYPESTATE(consumed);
|
/external/libchrome/sandbox/linux/services/ |
H A D | syscall_wrappers.h | 37 std::nullptr_t child_stack, 40 std::nullptr_t regs); 76 std::nullptr_t oldset);
|
H A D | syscall_wrappers.cc | 36 std::nullptr_t child_stack, 39 std::nullptr_t tls) { 142 int sys_sigprocmask(int how, const sigset_t* set, std::nullptr_t oldset) {
|
/external/clang/test/SemaTemplate/ |
H A D | 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/libchrome/base/memory/ |
H A D | scoped_ptr.h | 263 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} 343 scoped_ptr& operator=(std::nullptr_t) { 432 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} 445 scoped_ptr& operator=(std::nullptr_t) { 521 bool operator==(const scoped_ptr<T, D>& p, std::nullptr_t) { 525 bool operator==(std::nullptr_t, const scoped_ptr<T, D>& p) { 534 bool operator!=(const scoped_ptr<T, D>& p, std::nullptr_t) { 538 bool operator!=(std::nullptr_t, const scoped_ptr<T, D>& p) { 547 bool operator<(const scoped_ptr<T, D>& p, std::nullptr_t) { 552 bool operator<(std::nullptr_t, cons [all...] |
/external/libweave/third_party/chromium/base/memory/ |
H A D | scoped_ptr.h | 263 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} 343 scoped_ptr& operator=(std::nullptr_t) { 432 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} 445 scoped_ptr& operator=(std::nullptr_t) { 521 bool operator==(const scoped_ptr<T, D>& p, std::nullptr_t) { 525 bool operator==(std::nullptr_t, const scoped_ptr<T, D>& p) { 534 bool operator!=(const scoped_ptr<T, D>& p, std::nullptr_t) { 538 bool operator!=(std::nullptr_t, const scoped_ptr<T, D>& p) { 547 bool operator<(const scoped_ptr<T, D>& p, std::nullptr_t) { 552 bool operator<(std::nullptr_t, cons [all...] |
/external/clang/lib/Headers/ |
H A D | stddef.h | 109 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 110 using ::std::nullptr_t;
|
/external/clang/test/Analysis/ |
H A D | nullptr.cpp | 87 typedef decltype(nullptr) nullptr_t; typedef 90 const nullptr_t &r = nullptr;
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | JITSymbol.h | 36 JITSymbol(std::nullptr_t)
|
/external/opencv3/modules/highgui/src/ |
H A D | agile_wrl.h | 202 Agile(nullptr_t) throw() : _object(nullptr), _contextToken(0) 329 Agile& operator=(nullptr_t) throw() 401 bool operator==(nullptr_t) const throw() 434 Agile(nullptr_t) throw() : _object(nullptr) 477 Agile& operator=(nullptr_t) throw() 525 bool operator==(nullptr_t) const throw() 544 bool operator==(nullptr_t, const Agile<U>& a) throw() 550 bool operator!=(const Agile<U>& a, nullptr_t) throw() 556 bool operator!=(nullptr_t, const Agile<U>& a) throw()
|
/external/opencv3/modules/videoio/src/ |
H A D | agile_wrl.hpp | 202 Agile(nullptr_t) throw() : _object(nullptr), _contextToken(0) 329 Agile& operator=(nullptr_t) throw() 401 bool operator==(nullptr_t) const throw() 434 Agile(nullptr_t) throw() : _object(nullptr) 477 Agile& operator=(nullptr_t) throw() 525 bool operator==(nullptr_t) const throw() 544 bool operator==(nullptr_t, const Agile<U>& a) throw() 550 bool operator!=(const Agile<U>& a, nullptr_t) throw() 556 bool operator!=(nullptr_t, const Agile<U>& a) throw()
|
/external/libcxx/test/support/ |
H A D | min_allocator.h | 59 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} 76 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} 100 min_pointer(std::nullptr_t) TEST_NOEXCEPT : ptr_(nullptr) {} 170 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 235 operator==(min_pointer<T> x, std::nullptr_t) 243 operator==(std::nullptr_t, min_pointer<T> x) 251 operator!=(min_pointer<T> x, std::nullptr_t) 259 operator!=(std::nullptr_t, min_pointer<T> x)
|
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
H A D | nullptr.pass.cpp | 12 // nullptr_t 48 test_nullptr<std::nullptr_t>();
|
/external/llvm/include/llvm/ADT/ |
H A 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) {
|
H A D | PointerUnion.h | 159 const PointerUnion &operator=(std::nullptr_t) { 315 const PointerUnion3 &operator=(std::nullptr_t) { 430 const PointerUnion4 &operator=(std::nullptr_t) {
|
/external/skia/include/private/ |
H A D | SkUniquePtr.h | 104 /*constexpr*/ unique_ptr(std::nullptr_t) /*noexcept*/ : unique_ptr() { } 161 unique_ptr& operator=(std::nullptr_t) /*noexcept*/ { 280 /*constexpr*/ unique_ptr(std::nullptr_t) /*noexcept*/ : unique_ptr() { } 317 unique_ptr& operator=(std::nullptr_t) /*noexcept*/ { 378 inline bool operator==(const unique_ptr<T, D>& a, std::nullptr_t) /*noexcept*/ { 384 inline bool operator==(std::nullptr_t, const unique_ptr<T, D>& b) /*noexcept*/ { 395 inline bool operator!=(const unique_ptr<T, D>& a, std::nullptr_t) /*noexcept*/ { 401 inline bool operator!=(std::nullptr_t, const unique_ptr<T, D>& b) /*noexcept*/ {
|
/external/webrtc/webrtc/base/ |
H A D | scoped_ptr.h | 331 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} 368 scoped_ptr& operator=(std::nullptr_t) { 491 scoped_ptr(std::nullptr_t) : impl_(nullptr) {} 504 scoped_ptr& operator=(std::nullptr_t) {
|
/external/clang/test/CXX/drs/ |
H A D | dr1xx.cpp | 302 using nullptr_t = decltype(nullptr); 303 virtual void np() throw(nullptr_t*); // expected-error {{more lax}} FIXME: This is valid. 304 virtual void npm() throw(nullptr_t*); // expected-error {{more lax}} FIXME: This is valid. 305 virtual void nr() throw(nullptr_t&); // expected-error {{more lax}} This is not.
|