Home
last modified time | relevance | path

Searched refs:is_reference (Results 1 – 25 of 61) sorted by relevance

123

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Dis_reference.pass.cpp21 static_assert( std::is_reference<T>::value, ""); in test_is_reference()
22 static_assert( std::is_reference<const T>::value, ""); in test_is_reference()
23 static_assert( std::is_reference<volatile T>::value, ""); in test_is_reference()
24 static_assert( std::is_reference<const volatile T>::value, ""); in test_is_reference()
36 static_assert(!std::is_reference<T>::value, ""); in test_is_not_reference()
37 static_assert(!std::is_reference<const T>::value, ""); in test_is_not_reference()
38 static_assert(!std::is_reference<volatile T>::value, ""); in test_is_not_reference()
39 static_assert(!std::is_reference<const volatile T>::value, ""); in test_is_not_reference()
Drvalue_ref.pass.cpp21 static_assert( std::is_reference<T>::value, ""); in test_rvalue_ref()
Dlvalue_ref.pass.cpp19 static_assert( std::is_reference<T>::value, ""); in test_lvalue_ref()
Dvoid.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_void_imp()
Dfloating_point.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_floating_point_imp()
Dmember_object_pointer.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_member_object_pointer_imp()
Dunion.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_union_imp()
Dfunction.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_function_imp()
Denum.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_enum_imp()
Dpointer.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_pointer_imp()
Dmember_function_pointer.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_member_function_pointer_imp()
Dclass.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_class_imp()
Darray.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_array_imp()
Dintegral.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_integral_imp()
/external/protobuf/src/google/protobuf/stubs/
Dtype_traits_unittest.cc293 EXPECT_TRUE(is_reference<float&>::value); in TEST()
294 EXPECT_TRUE(is_reference<const int&>::value); in TEST()
295 EXPECT_TRUE(is_reference<const int*&>::value); in TEST()
296 EXPECT_TRUE(is_reference<int (&)(bool)>::value); in TEST()
297 EXPECT_TRUE(is_reference<RefFloat>::value); in TEST()
298 EXPECT_TRUE(is_reference<const RefFloat>::value); in TEST()
299 EXPECT_TRUE(is_reference<volatile RefFloat>::value); in TEST()
300 EXPECT_TRUE(is_reference<const volatile RefFloat>::value); in TEST()
304 EXPECT_FALSE(is_reference<float>::value); in TEST()
305 EXPECT_FALSE(is_reference<const float>::value); in TEST()
[all …]
Dtype_traits.h97 template <class T> struct is_reference;
211 is_reference<T>::value ||
222 template<typename T> struct is_reference : false_type {};
223 template<typename T> struct is_reference<T&> : true_type {};
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.comp.pass.cpp25 static_assert(ex::is_reference_v<T> == std::is_reference<T>::value, ""); in main()
30 static_assert(ex::is_reference_v<T> == std::is_reference<T>::value, ""); in main()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h140 template <class _Tp> struct is_reference : public false_type {};
141 template <class _Tp> struct is_reference<_Tp&> : public true_type {};
146 template <class _Tp, bool = is_const<_Tp>::value || is_reference<_Tp>::value >
/external/google-breakpad/src/testing/test/
Dgmock-internal-utils_test.cc474 TEST(TypeTraitsTest, is_reference) { in TEST() argument
475 EXPECT_FALSE(is_reference<int>::value); in TEST()
476 EXPECT_FALSE(is_reference<char*>::value); in TEST()
477 EXPECT_TRUE(is_reference<const int&>::value); in TEST()
/external/v8/testing/gmock/test/
Dgmock-internal-utils_test.cc517 TEST(TypeTraitsTest, is_reference) { in TEST() argument
518 EXPECT_FALSE(is_reference<int>::value); in TEST()
519 EXPECT_FALSE(is_reference<char*>::value); in TEST()
520 EXPECT_TRUE(is_reference<const int&>::value); in TEST()
/external/libcxx/include/experimental/
Dany513 is_reference<_ValueType>::value
529 is_reference<_ValueType>::value
544 is_reference<_ValueType>::value
559 static_assert(!is_reference<_ValueType>::value,
569 static_assert(!is_reference<_ValueType>::value,
/external/googletest/googlemock/test/
Dgmock-internal-utils_test.cc517 TEST(TypeTraitsTest, is_reference) { in TEST() argument
518 EXPECT_FALSE(is_reference<int>::value); in TEST()
519 EXPECT_FALSE(is_reference<char*>::value); in TEST()
520 EXPECT_TRUE(is_reference<const int&>::value); in TEST()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video_vp.c62 uint32_t is_reference; // 34 member
85 bool is_ref = desc->is_reference; in nv84_decoder_vp_h264()
120 param2.is_reference = desc->is_reference; in nv84_decoder_vp_h264()
/external/clang/bindings/python/tests/cindex/
Dtest_cursor_kind.py22 assert CursorKind.TYPE_REF.is_reference()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_vp.c125 unsigned is_reference : 1; // 4 member
322 *is_ref = d->is_reference; in nouveau_vp3_fill_picparm_h264_vp()
340 h->is_reference = d->is_reference; in nouveau_vp3_fill_picparm_h264_vp()

123