Home
last modified time | relevance | path

Searched refs:is_pointer (Results 1 – 25 of 78) sorted by relevance

1234

/external/protobuf/src/google/protobuf/stubs/
Dtype_traits_unittest.cc228 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 …]
Dtype_traits.h71 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/
Dtemplate_util_unittest.cc20 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/
Dtemplate_util_unittest.cc20 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");
Dtemplate_util.h28 template <class T> struct is_pointer : false_type {}; struct
29 template <class T> struct is_pointer<T*> : true_type {};
/external/clang/test/SemaTemplate/
Dtemp_class_spec.cpp3 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/
Dtype_traits.h68 !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/
Dtemplate_util.h34 template <class T> struct is_pointer : false_type {}; struct
35 template <class T> struct is_pointer<T*> : true_type {};
/external/libbrillo/brillo/dbus/
Ddbus_param_reader.h74 static typename std::enable_if<!std::is_pointer<ParamType>::value, bool>::type
117 std::is_pointer<ParamType>::value, bool>::type
/external/skia/include/private/
DSkUniquePtr.h101 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/
Dgmock-internal-utils_test.cc480 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/
Dgmock-internal-utils_test.cc474 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/
Draw_scoped_refptr_mismatch_checker.h37 value = (is_pointer<T>::value &&
/external/libweave/third_party/chromium/base/memory/
Draw_scoped_refptr_mismatch_checker.h37 value = (std::is_pointer<T>::value &&
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dlvalue_ref.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_lvalue_ref()
Drvalue_ref.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_rvalue_ref()
Dclass.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_class_imp()
Dfloating_point.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_floating_point_imp()
Dmember_object_pointer.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_member_object_pointer_imp()
Dvoid.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_void_imp()
Dunion.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_union_imp()
Denum.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_enum_imp()
Dpointer.pass.cpp26 static_assert( std::is_pointer<T>::value, ""); in test_pointer_imp()
Darray.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_array_imp()
Dnullptr.pass.cpp26 static_assert(!std::is_pointer<T>::value, ""); in test_nullptr_imp()

1234