/external/clang/test/CodeGenCXX/ |
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 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/libcxx/test/std/language.support/support.types/ |
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/ |
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...] |
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}}
|
/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/misc/darwin-x86/analyzer/lib/clang/3.3/include/ |
stddef.h | 82 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 83 using ::std::nullptr_t;
|
/prebuilts/misc/linux-x86/analyzer/lib/clang/3.3/include/ |
stddef.h | 82 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 83 using ::std::nullptr_t;
|
/external/libchrome/sandbox/linux/services/ |
syscall_wrappers.h | 37 std::nullptr_t child_stack, 40 std::nullptr_t regs); 76 std::nullptr_t oldset);
|
/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 {};
|
/external/libchrome/base/memory/ |
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, const scoped_ptr<T, D>& p) [all...] |
/external/libweave/third_party/chromium/base/memory/ |
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, const scoped_ptr<T, D>& p) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/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...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/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...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/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 339 operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept 344 operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept 355 operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept 360 operator!=(nullptr_t, const shared_ptr<_Tp>& __a) noexcept 374 operator<(const shared_ptr<_Tp>& __a, nullptr_t) noexcept 379 operator<(nullptr_t, const shared_ptr<_Tp>& __a) noexcept 390 operator<=(const shared_ptr<_Tp>& __a, nullptr_t) noexcep [all...] |
/external/clang/lib/Headers/ |
stddef.h | 109 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 110 using ::std::nullptr_t;
|
/external/clang/test/Analysis/ |
nullptr.cpp | 87 typedef decltype(nullptr) nullptr_t; typedef 90 const nullptr_t &r = nullptr;
|
/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/support/ |
min_allocator.h | 29 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 46 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 70 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 140 min_pointer(std::nullptr_t) : ptr_(nullptr) {} 205 operator==(min_pointer<T> x, std::nullptr_t) 213 operator==(std::nullptr_t, min_pointer<T> x) 221 operator!=(min_pointer<T> x, std::nullptr_t) 229 operator!=(std::nullptr_t, min_pointer<T> x)
|
/prebuilts/clang/darwin-x86/host/3.6/lib/clang/3.6/include/ |
stddef.h | 109 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 110 using ::std::nullptr_t;
|
/prebuilts/clang/host/darwin-x86/3.8/lib/clang/3.8/include/ |
stddef.h | 109 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 110 using ::std::nullptr_t;
|
/prebuilts/clang/host/darwin-x86/clang-2629532/lib64/clang/3.8/include/ |
stddef.h | 109 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 110 using ::std::nullptr_t;
|
/prebuilts/clang/host/darwin-x86/clang-2658975/lib64/clang/3.8/include/ |
stddef.h | 109 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 110 using ::std::nullptr_t;
|
/prebuilts/clang/host/darwin-x86/clang-2690385/lib64/clang/3.8/include/ |
stddef.h | 109 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 110 using ::std::nullptr_t;
|