/external/webkit/Source/JavaScriptCore/wtf/ |
NullPtr.cpp | 33 std::nullptr_t nullptr;
|
NullPtr.h | 31 // nullptr_t type and nullptr object. They are defined in the same namespaces they 45 class nullptr_t { }; class in namespace:std 48 extern std::nullptr_t nullptr;
|
PassOwnArrayPtr.h | 47 PassOwnArrayPtr(std::nullptr_t) : m_ptr(0) { } 78 PassOwnArrayPtr& operator=(std::nullptr_t) { clear(); return *this; }
|
/external/clang/test/CodeGenCXX/ |
mangle-ms-cxx11.cpp | 10 namespace std { typedef decltype(__nullptr) nullptr_t; } typedef in namespace:std 11 void Null(std::nullptr_t) {}
|
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 11 constexpr std::nullptr_t get_nullptr() { return nullptr; } 13 constexpr std::nullptr_t np = nullptr; 15 std::nullptr_t nonconst_np; // expected-note{{declared here}} 23 IP<nonconst_np> ip5; // expected-error{{non-type template argument of type 'std::nullptr_t' (aka 'nullptr_t') is not a constant expression}} \ 51 template<std::nullptr_t np> struct NP { // expected-note 2{{template parameter is declared here}} 58 NP<0> np4; // expected-error{{null non-type template argument must be cast to template parameter type 'std::nullptr_t' (aka 'nullptr_t')}} 60 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/lib/Headers/ |
stddef.h | 57 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 58 using ::std::nullptr_t;
|
/prebuilts/sdk/renderscript/clang-include/ |
stddef.h | 57 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 58 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; 114 static_assert(__is_scalar(nullptr_t), ""); 115 static_assert(__is_pod(nullptr_t), ""); 116 static_assert(sizeof(nullptr_t) == sizeof(void*), ""); 148 operator nullptr_t() const; 162 template<typename T, nullptr_t Value [all...] |
/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}}
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
shared_ptr.h | 146 shared_ptr(nullptr_t __p, _Deleter __d) 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 266 constexpr shared_ptr(nullptr_t __p) noexcept 334 operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept 339 operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept 350 operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept 355 operator!=(nullptr_t, const shared_ptr<_Tp>& __a) noexcept 369 operator<(const shared_ptr<_Tp>& __a, nullptr_t) noexcept 374 operator<(nullptr_t, const shared_ptr<_Tp>& __a) noexcept 385 operator<=(const shared_ptr<_Tp>& __a, nullptr_t) noexcep [all...] |
unique_ptr.h | 136 constexpr unique_ptr(nullptr_t) noexcept 200 operator=(nullptr_t) noexcept 304 constexpr unique_ptr(nullptr_t) noexcept 346 operator=(nullptr_t) noexcept 394 reset(nullptr_t) noexcept 452 operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept 457 operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept 469 operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept 474 operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept 491 operator<(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) [all...] |
shared_ptr_base.h | 312 _Sp_counted_ptr<nullptr_t, _S_single>::_M_dispose() noexcept { } 316 _Sp_counted_ptr<nullptr_t, _S_mutex>::_M_dispose() noexcept { } 320 _Sp_counted_ptr<nullptr_t, _S_atomic>::_M_dispose() noexcept { } 797 __shared_ptr(nullptr_t __p, _Deleter __d) 802 __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 874 constexpr __shared_ptr(nullptr_t) noexcept 1075 operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept 1080 operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept 1091 operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept 1096 operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcep [all...] |
exception_ptr.h | 93 exception_ptr(nullptr_t) noexcept
|
/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.types/ |
nullptr_t.pass.cpp | 14 // typedef decltype(nullptr) nullptr_t; 18 A(std::nullptr_t) {} 23 static_assert(sizeof(std::nullptr_t) == sizeof(void*), 24 "sizeof(std::nullptr_t) == sizeof(void*)");
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/ |
unique_ptr.h | 136 constexpr unique_ptr(nullptr_t) 194 operator=(nullptr_t) 298 constexpr unique_ptr(nullptr_t) 334 operator=(nullptr_t) 382 reset(nullptr_t) 440 operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 445 operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __y) 457 operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 462 operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __y)
|
shared_ptr.h | 146 shared_ptr(nullptr_t __p, _Deleter __d) 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 266 constexpr shared_ptr(nullptr_t __p) 333 operator==(const shared_ptr<_Tp>& __a, nullptr_t) 338 operator==(nullptr_t, const shared_ptr<_Tp>& __b) 348 operator!=(const shared_ptr<_Tp>& __a, nullptr_t) 353 operator!=(nullptr_t, const shared_ptr<_Tp>& __b)
|
exception_ptr.h | 93 exception_ptr(nullptr_t) throw()
|
shared_ptr_base.h | 312 _Sp_counted_ptr<nullptr_t, _S_single>::_M_dispose() { } 316 _Sp_counted_ptr<nullptr_t, _S_mutex>::_M_dispose() { } 320 _Sp_counted_ptr<nullptr_t, _S_atomic>::_M_dispose() { } 788 __shared_ptr(nullptr_t __p, _Deleter __d) 793 __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 864 constexpr __shared_ptr(nullptr_t) 1060 operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) 1065 operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __b) 1076 operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) 1081 operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __b [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/ |
unique_ptr.h | 136 constexpr unique_ptr(nullptr_t) 194 operator=(nullptr_t) 298 constexpr unique_ptr(nullptr_t) 334 operator=(nullptr_t) 382 reset(nullptr_t) 440 operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 445 operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __y) 457 operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 462 operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __y)
|
shared_ptr.h | 146 shared_ptr(nullptr_t __p, _Deleter __d) 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 266 constexpr shared_ptr(nullptr_t __p) 333 operator==(const shared_ptr<_Tp>& __a, nullptr_t) 338 operator==(nullptr_t, const shared_ptr<_Tp>& __b) 348 operator!=(const shared_ptr<_Tp>& __a, nullptr_t) 353 operator!=(nullptr_t, const shared_ptr<_Tp>& __b)
|
exception_ptr.h | 93 exception_ptr(nullptr_t) throw()
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/ |
unique_ptr.h | 136 constexpr unique_ptr(nullptr_t) 194 operator=(nullptr_t) 298 constexpr unique_ptr(nullptr_t) 334 operator=(nullptr_t) 382 reset(nullptr_t) 440 operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 445 operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __y) 457 operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 462 operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __y)
|
shared_ptr.h | 146 shared_ptr(nullptr_t __p, _Deleter __d) 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 266 constexpr shared_ptr(nullptr_t __p) 333 operator==(const shared_ptr<_Tp>& __a, nullptr_t) 338 operator==(nullptr_t, const shared_ptr<_Tp>& __b) 348 operator!=(const shared_ptr<_Tp>& __a, nullptr_t) 353 operator!=(nullptr_t, const shared_ptr<_Tp>& __b)
|
exception_ptr.h | 93 exception_ptr(nullptr_t) throw()
|