/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/ |
D | is_reference.pass.cpp | 21 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()
|
D | rvalue_ref.pass.cpp | 21 static_assert( std::is_reference<T>::value, ""); in test_rvalue_ref()
|
D | lvalue_ref.pass.cpp | 19 static_assert( std::is_reference<T>::value, ""); in test_lvalue_ref()
|
D | void.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_void_imp()
|
D | floating_point.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_floating_point_imp()
|
D | member_object_pointer.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_member_object_pointer_imp()
|
D | union.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_union_imp()
|
D | function.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_function_imp()
|
D | enum.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_enum_imp()
|
D | pointer.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_pointer_imp()
|
D | member_function_pointer.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_member_function_pointer_imp()
|
D | class.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_class_imp()
|
D | array.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_array_imp()
|
D | integral.pass.cpp | 19 static_assert(!std::is_reference<T>::value, ""); in test_integral_imp()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | type_traits_unittest.cc | 293 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 …]
|
D | type_traits.h | 97 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/ |
D | meta.unary.comp.pass.cpp | 25 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/ |
D | system-header-simulator-cxx.h | 140 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/ |
D | gmock-internal-utils_test.cc | 474 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/ |
D | gmock-internal-utils_test.cc | 517 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/ |
D | any | 513 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/ |
D | gmock-internal-utils_test.cc | 517 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/ |
D | nv84_video_vp.c | 62 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/ |
D | test_cursor_kind.py | 22 assert CursorKind.TYPE_REF.is_reference()
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_vp3_video_vp.c | 125 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()
|