Home
last modified time | relevance | path

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

1234

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dis_pointer.pass.cpp21 static_assert( std::is_pointer<T>::value, ""); in test_is_pointer()
22 static_assert( std::is_pointer<const T>::value, ""); in test_is_pointer()
23 static_assert( std::is_pointer<volatile T>::value, ""); in test_is_pointer()
24 static_assert( std::is_pointer<const volatile T>::value, ""); in test_is_pointer()
36 static_assert(!std::is_pointer<T>::value, ""); in test_is_not_pointer()
37 static_assert(!std::is_pointer<const T>::value, ""); in test_is_not_pointer()
38 static_assert(!std::is_pointer<volatile T>::value, ""); in test_is_not_pointer()
39 static_assert(!std::is_pointer<const volatile T>::value, ""); in test_is_not_pointer()
Dpointer.pass.cpp28 static_assert( std::is_pointer<T>::value, ""); in test_pointer_imp()
58 static_assert(!std::is_pointer<incomplete_type>::value, ""); in main()
Drvalue_ref.pass.cpp29 static_assert(!std::is_pointer<T>::value, ""); in test_rvalue_ref()
Dlvalue_ref.pass.cpp28 static_assert(!std::is_pointer<T>::value, ""); in test_lvalue_ref()
Dmember_object_pointer.pass.cpp27 static_assert(!std::is_pointer<T>::value, ""); in test_member_object_pointer_imp()
Dvoid.pass.cpp27 static_assert(!std::is_pointer<T>::value, ""); in test_void_imp()
Dnullptr.pass.cpp28 static_assert(!std::is_pointer<T>::value, ""); in test_nullptr_imp()
Denum.pass.cpp27 static_assert(!std::is_pointer<T>::value, ""); in test_enum_imp()
Dunion.pass.cpp27 static_assert(!std::is_pointer<T>::value, ""); in test_union_imp()
Dclass.pass.cpp27 static_assert(!std::is_pointer<T>::value, ""); in test_class_imp()
Dfloating_point.pass.cpp27 static_assert(!std::is_pointer<T>::value, ""); in test_floating_point_imp()
Darray.pass.cpp27 static_assert(!std::is_pointer<T>::value, ""); in test_array_imp()
Dintegral.pass.cpp27 static_assert(!std::is_pointer<T>::value, ""); in test_integral_imp()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/scripts/
Dgen_llvm_types.py77 def gen_llvm_type(type, name, postfix_name, is_pointer, is_pointer_pointer, is_array, is_array_arra… argument
82 if is_pointer or is_pointer_pointer:
116 if is_pointer:
226 is_pointer = re.search("\*", line)
228 if is_pointer is not None:
229 is_pointer = True
231 is_pointer = False
266 if is_const and is_pointer:
279 elif is_pointer:
307 …output_lines += gen_llvm_type(type, name, postfix_name, is_pointer, is_pointer_pointer, is_array, …
/external/protobuf/src/google/protobuf/stubs/
Dtype_traits_unittest.cc231 EXPECT_TRUE(is_pointer<int*>::value); in TEST()
232 EXPECT_TRUE(is_pointer<void*>::value); in TEST()
233 EXPECT_TRUE(is_pointer<string*>::value); in TEST()
234 EXPECT_TRUE(is_pointer<const void*>::value); in TEST()
235 EXPECT_TRUE(is_pointer<volatile float* const*>::value); in TEST()
238 EXPECT_FALSE(is_pointer<void>::value); in TEST()
239 EXPECT_FALSE(is_pointer<float&>::value); in TEST()
240 EXPECT_FALSE(is_pointer<long>::value); in TEST()
241 EXPECT_FALSE(is_pointer<vector<int*> >::value); in TEST()
242 EXPECT_FALSE(is_pointer<int[5]>::value); in TEST()
[all …]
Dtype_traits.h91 template <class T> struct is_pointer;
166 template <class T> struct is_pointer : false_type { };
167 template <class T> struct is_pointer<T*> : true_type { };
168 template <class T> struct is_pointer<const T> : is_pointer<T> { };
169 template <class T> struct is_pointer<volatile T> : is_pointer<T> { };
170 template <class T> struct is_pointer<const volatile T> : is_pointer<T> { };
237 is_pointer<T>::value)> { };
/external/clang/test/SemaTemplate/
Dtemp_class_spec.cpp3 struct is_pointer { struct
8 struct is_pointer<T*> { argument
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/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Dtype_traits.h71 !std::is_pointer<UnderlyingT>::value &&
83 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
94 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
/external/llvm/include/llvm/Support/
Dtype_traits.h71 !std::is_pointer<UnderlyingT>::value &&
83 T, typename std::enable_if<std::is_pointer<T>::value>::type> {
94 T, typename std::enable_if<std::is_pointer<T>::value>::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/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/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/v8/testing/gmock/test/
Dgmock-internal-utils_test.cc523 TEST(TypeTraitsTest, is_pointer) { in TEST() argument
524 EXPECT_FALSE(is_pointer<int>::value); in TEST()
525 EXPECT_FALSE(is_pointer<char&>::value); in TEST()
526 EXPECT_TRUE(is_pointer<const int*>::value); in TEST()
/external/googletest/googlemock/test/
Dgmock-internal-utils_test.cc523 TEST(TypeTraitsTest, is_pointer) { in TEST() argument
524 EXPECT_FALSE(is_pointer<int>::value); in TEST()
525 EXPECT_FALSE(is_pointer<char&>::value); in TEST()
526 EXPECT_TRUE(is_pointer<const int*>::value); in TEST()
/external/libchrome/base/memory/
Draw_scoped_refptr_mismatch_checker.h32 value = (std::is_pointer<T>::value &&

1234