/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/chromium_org/third_party/WebKit/Source/wtf/ |
NullPtr.cpp | 32 std::nullptr_t nullptr;
|
NullPtr.h | 31 // nullptr_t type and nullptr object. They are defined in the same namespaces they 40 // libstdc++ supports nullptr_t starting with gcc 4.6. STLport doesn't define it. 43 typedef decltype(nullptr) nullptr_t; typedef in namespace:std 50 class nullptr_t { }; 52 extern std::nullptr_t nullptr;
|
/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/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...] |
/external/clang/lib/Headers/ |
stddef.h | 82 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 83 using ::std::nullptr_t;
|
/external/clang/test/Analysis/ |
nullptr.cpp | 85 typedef decltype(nullptr) nullptr_t; typedef 88 const nullptr_t &r = nullptr;
|
/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/sdk/renderscript/clang-include/ |
stddef.h | 82 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 83 using ::std::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 {};
|
/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...] |
/prebuilts/ndk/9/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...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/ |
shared_ptr.h | 146 shared_ptr(nullptr_t __p, _Deleter __d) 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) 265 constexpr shared_ptr(nullptr_t __p) noexcept 333 operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept 338 operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept 349 operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept 354 operator!=(nullptr_t, const shared_ptr<_Tp>& __a) noexcept 368 operator<(const shared_ptr<_Tp>& __a, nullptr_t) noexcept 373 operator<(nullptr_t, const shared_ptr<_Tp>& __a) noexcept 384 operator<=(const shared_ptr<_Tp>& __a, nullptr_t) noexcep [all...] |
unique_ptr.h | 157 constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { } 211 operator=(nullptr_t) noexcept 360 constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { } 401 operator=(nullptr_t) noexcept 495 operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept 500 operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept 512 operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept 517 operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept 534 operator<(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) 540 operator<(nullptr_t, const unique_ptr<_Tp, _Dp>& __x [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/ |
min_allocator.h | 20 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 37 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 61 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 131 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 196 operator==(min_pointer<T> x, std::nullptr_t) 204 operator==(std::nullptr_t, min_pointer<T> x) 212 operator!=(min_pointer<T> x, std::nullptr_t) 220 operator!=(std::nullptr_t, min_pointer<T> x)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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*)");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/ |
min_allocator.h | 20 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 37 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 61 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 131 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 196 operator==(min_pointer<T> x, std::nullptr_t) 204 operator==(std::nullptr_t, min_pointer<T> x) 212 operator!=(min_pointer<T> x, std::nullptr_t) 220 operator!=(std::nullptr_t, min_pointer<T> x)
|
/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)
|
/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)
|
/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)
|
/prebuilts/ndk/9/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)
|