/external/protobuf/src/google/protobuf/stubs/ |
D | type_traits_unittest.cc | 228 EXPECT_TRUE(is_pointer<int*>::value); in TEST() 229 EXPECT_TRUE(is_pointer<void*>::value); in TEST() 230 EXPECT_TRUE(is_pointer<string*>::value); in TEST() 231 EXPECT_TRUE(is_pointer<const void*>::value); in TEST() 232 EXPECT_TRUE(is_pointer<volatile float* const*>::value); in TEST() 235 EXPECT_FALSE(is_pointer<void>::value); in TEST() 236 EXPECT_FALSE(is_pointer<float&>::value); in TEST() 237 EXPECT_FALSE(is_pointer<long>::value); in TEST() 238 EXPECT_FALSE(is_pointer<vector<int*> >::value); in TEST() 239 EXPECT_FALSE(is_pointer<int[5]>::value); in TEST() [all …]
|
D | type_traits.h | 71 template <class T> struct is_pointer; 139 template <class T> struct is_pointer : false_type { }; 140 template <class T> struct is_pointer<T*> : true_type { }; 141 template <class T> struct is_pointer<const T> : is_pointer<T> { }; 142 template <class T> struct is_pointer<volatile T> : is_pointer<T> { }; 143 template <class T> struct is_pointer<const volatile T> : is_pointer<T> { }; 210 is_pointer<T>::value)> { };
|
/external/libweave/third_party/chromium/base/ |
D | template_util_unittest.cc | 20 using std::is_pointer; 28 static_assert(!is_pointer<int>::value, "IsPointer"); 29 static_assert(!is_pointer<int&>::value, "IsPointer"); 30 static_assert(is_pointer<int*>::value, "IsPointer"); 31 static_assert(is_pointer<const int*>::value, "IsPointer");
|
/external/libchrome/base/ |
D | template_util_unittest.cc | 20 static_assert(!is_pointer<int>::value, "IsPointer"); 21 static_assert(!is_pointer<int&>::value, "IsPointer"); 22 static_assert(is_pointer<int*>::value, "IsPointer"); 23 static_assert(is_pointer<const int*>::value, "IsPointer");
|
D | template_util.h | 28 template <class T> struct is_pointer : false_type {}; struct 29 template <class T> struct is_pointer<T*> : true_type {};
|
/external/clang/test/SemaTemplate/ |
D | temp_class_spec.cpp | 3 struct is_pointer { struct 8 struct is_pointer<T*> { struct 13 struct is_pointer<const T*> { argument 17 int array0[is_pointer<int>::value? -1 : 1]; argument 18 int array1[is_pointer<int*>::value? 1 : -1]; 19 int array2[is_pointer<const int*>::value? 1 : -1];
|
/external/llvm/include/llvm/Support/ |
D | type_traits.h | 68 !std::is_pointer<UnderlyingT>::value && 79 T, typename std::enable_if<std::is_pointer<T>::value>::type> { 90 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
|
/external/webrtc/webrtc/base/ |
D | template_util.h | 34 template <class T> struct is_pointer : false_type {}; struct 35 template <class T> struct is_pointer<T*> : true_type {};
|
/external/libbrillo/brillo/dbus/ |
D | dbus_param_reader.h | 74 static typename std::enable_if<!std::is_pointer<ParamType>::value, bool>::type 117 std::is_pointer<ParamType>::value, bool>::type
|
/external/skia/include/private/ |
D | SkUniquePtr.h | 101 static_assert(!std::is_pointer<deleter_type>::value, "Deleter nullptr function pointer!"); 107 static_assert(!std::is_pointer<deleter_type>::value, "Deleter nullptr function pointer!"); 277 static_assert(!std::is_pointer<deleter_type>::value, "Deleter nullptr function pointer!"); 283 static_assert(!std::is_pointer<deleter_type>::value, "Deleter nullptr function pointer!");
|
/external/google-breakpad/src/testing/test/ |
D | gmock-internal-utils_test.cc | 480 TEST(TypeTraitsTest, is_pointer) { in TEST() argument 481 EXPECT_FALSE(is_pointer<int>::value); in TEST() 482 EXPECT_FALSE(is_pointer<char&>::value); in TEST() 483 EXPECT_TRUE(is_pointer<const int*>::value); in TEST()
|
/external/gmock/test/ |
D | gmock-internal-utils_test.cc | 474 TEST(TypeTraitsTest, is_pointer) { in TEST() argument 475 EXPECT_FALSE(is_pointer<int>::value); in TEST() 476 EXPECT_FALSE(is_pointer<char&>::value); in TEST() 477 EXPECT_TRUE(is_pointer<const int*>::value); in TEST()
|
/external/libchrome/base/memory/ |
D | raw_scoped_refptr_mismatch_checker.h | 37 value = (is_pointer<T>::value &&
|
/external/libweave/third_party/chromium/base/memory/ |
D | raw_scoped_refptr_mismatch_checker.h | 37 value = (std::is_pointer<T>::value &&
|
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/ |
D | lvalue_ref.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_lvalue_ref()
|
D | rvalue_ref.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_rvalue_ref()
|
D | class.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_class_imp()
|
D | floating_point.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_floating_point_imp()
|
D | member_object_pointer.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_member_object_pointer_imp()
|
D | void.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_void_imp()
|
D | union.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_union_imp()
|
D | enum.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_enum_imp()
|
D | pointer.pass.cpp | 26 static_assert( std::is_pointer<T>::value, ""); in test_pointer_imp()
|
D | array.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_array_imp()
|
D | nullptr.pass.cpp | 26 static_assert(!std::is_pointer<T>::value, ""); in test_nullptr_imp()
|