/external/chromium_org/third_party/WebKit/Source/wtf/ |
NullPtr.cpp | 32 const std::nullptr_t nullptr;
|
NullPtr.h | 31 // nullptr_t type and nullptr object. They are defined in the same namespaces they 36 // libstdc++ supports nullptr_t starting with gcc 4.6. STLport doesn't define it. 39 typedef decltype(nullptr) nullptr_t; typedef in namespace:std 48 class nullptr_t { class in namespace:std 50 // Required in order to create const nullptr_t objects without an 53 // const std::nullptr_t nullptr; 54 nullptr_t() { } function in class:std::nullptr_t 65 WTF_EXPORT extern const std::nullptr_t nullptr;
|
/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/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/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/clang/darwin-x86/host/3.4/lib/clang/3.4/include/ |
stddef.h | 82 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 83 using ::std::nullptr_t;
|
/prebuilts/clang/linux-x86/host/3.4/lib/clang/3.4/include/ |
stddef.h | 82 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 83 using ::std::nullptr_t;
|
/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/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/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-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/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...] |
/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...] |
/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...] |
/prebuilts/ndk/9/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 | 105 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 106 using ::std::nullptr_t;
|
/external/libcxx/test/language.support/support.types/ |
Android.mk | 39 test_name := language.support/support.types/nullptr_t 40 test_src := nullptr_t.pass.cpp
|
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*)");
|
/external/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)
|
/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.5/lib/clang/3.5/include/ |
stddef.h | 105 namespace std { typedef decltype(nullptr) nullptr_t; } typedef in namespace:std 106 using ::std::nullptr_t;
|