/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/ |
H A D | is_reference.pass.cpp | 12 // is_reference 21 static_assert( std::is_reference<T>::value, ""); 22 static_assert( std::is_reference<const T>::value, ""); 23 static_assert( std::is_reference<volatile T>::value, ""); 24 static_assert( std::is_reference<const volatile T>::value, ""); 36 static_assert(!std::is_reference<T>::value, ""); 37 static_assert(!std::is_reference<const T>::value, ""); 38 static_assert(!std::is_reference<volatile T>::value, ""); 39 static_assert(!std::is_reference<const volatile T>::value, "");
|
H A D | lvalue_ref.pass.cpp | 19 static_assert( std::is_reference<T>::value, "");
|
H A D | rvalue_ref.pass.cpp | 21 static_assert( std::is_reference<T>::value, "");
|
H A D | class.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
H A D | enum.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
H A D | floating_point.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
H A D | function.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
H A D | member_function_pointer.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
H A D | member_object_pointer.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
H A D | pointer.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
H A D | union.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
H A D | void.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
H A D | array.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
H A D | integral.pass.cpp | 19 static_assert(!std::is_reference<T>::value, "");
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | type_traits_unittest.cc | 291 // Verifies that is_reference is true for all reference types. 293 EXPECT_TRUE(is_reference<float&>::value); 294 EXPECT_TRUE(is_reference<const int&>::value); 295 EXPECT_TRUE(is_reference<const int*&>::value); 296 EXPECT_TRUE(is_reference<int (&)(bool)>::value); 297 EXPECT_TRUE(is_reference<RefFloat>::value); 298 EXPECT_TRUE(is_reference<const RefFloat>::value); 299 EXPECT_TRUE(is_reference<volatile RefFloat>::value); 300 EXPECT_TRUE(is_reference<const volatile RefFloat>::value); 303 // Verifies that is_reference i [all...] |
H A D | type_traits.h | 43 // is_reference 97 template <class T> struct is_reference; 211 is_reference<T>::value || 221 // is_reference is false except for reference types. 222 template<typename T> struct is_reference : false_type {}; struct in namespace:google::protobuf::internal 223 template<typename T> struct is_reference<T&> : true_type {}; struct in namespace:google::protobuf::internal
|
/external/clang/bindings/python/tests/cindex/ |
H A D | test_cursor_kind.py | 22 assert CursorKind.TYPE_REF.is_reference() 37 group = [n for n in ('is_declaration', 'is_reference', 'is_expression',
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
H A D | cleanup.h | 98 static_assert(!std::is_reference<F>::value, "F must not be a reference");
|
/external/clang/test/Analysis/Inputs/ |
H A D | system-header-simulator-cxx.h | 140 template <class _Tp> struct is_reference : public false_type {}; struct in namespace:std 141 template <class _Tp> struct is_reference<_Tp&> : public true_type {}; struct in namespace:std 146 template <class _Tp, bool = is_const<_Tp>::value || is_reference<_Tp>::value >
|
/external/google-breakpad/src/testing/include/gmock/ |
H A D | gmock-more-actions.h | 175 GTEST_COMPILE_ASSERT_(internal::is_reference<argk_type>::value,
|
/external/google-breakpad/src/testing/test/ |
H A D | gmock-internal-utils_test.cc | 474 TEST(TypeTraitsTest, is_reference) { 475 EXPECT_FALSE(is_reference<int>::value); 476 EXPECT_FALSE(is_reference<char*>::value); 477 EXPECT_TRUE(is_reference<const int&>::value);
|
/external/googletest/googlemock/include/gmock/ |
H A D | gmock-more-actions.h | 192 GTEST_COMPILE_ASSERT_(internal::is_reference<argk_type>::value,
|
/external/googletest/googlemock/test/ |
H A D | gmock-internal-utils_test.cc | 517 TEST(TypeTraitsTest, is_reference) { 518 EXPECT_FALSE(is_reference<int>::value); 519 EXPECT_FALSE(is_reference<char*>::value); 520 EXPECT_TRUE(is_reference<const int&>::value);
|
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
H A D | bind_return_type.pass.cpp | 77 if ((std::is_reference<Expect>::value)) {
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv84_video_vp.c | 62 uint32_t is_reference; // 34 member in struct:h264_iparm2 85 bool is_ref = desc->is_reference; 120 param2.is_reference = desc->is_reference;
|