Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/stubs/
Dtype_traits_unittest.cc290 EXPECT_TRUE(is_reference<float&>::value); in TEST()
291 EXPECT_TRUE(is_reference<const int&>::value); in TEST()
292 EXPECT_TRUE(is_reference<const int*&>::value); in TEST()
293 EXPECT_TRUE(is_reference<int (&)(bool)>::value); in TEST()
294 EXPECT_TRUE(is_reference<RefFloat>::value); in TEST()
295 EXPECT_TRUE(is_reference<const RefFloat>::value); in TEST()
296 EXPECT_TRUE(is_reference<volatile RefFloat>::value); in TEST()
297 EXPECT_TRUE(is_reference<const volatile RefFloat>::value); in TEST()
301 EXPECT_FALSE(is_reference<float>::value); in TEST()
302 EXPECT_FALSE(is_reference<const float>::value); in TEST()
[all …]
Dtype_traits.h77 template <class T> struct is_reference;
184 is_reference<T>::value ||
195 template<typename T> struct is_reference : false_type {};
196 template<typename T> struct is_reference<T&> : true_type {};
/external/skia/include/private/
DSkUniquePtr.h111 conditional_t<std::is_reference<deleter_type>::value,
119 static_assert(!std::is_reference<deleter_type>::value,
131 conditional_t<std::is_reference<D>::value,
287 conditional_t<std::is_reference<deleter_type>::value,
295 static_assert(!std::is_reference<deleter_type>::value,
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.comp.pass.cpp26 static_assert(ex::is_reference_v<T> == std::is_reference<T>::value, ""); in main()
31 static_assert(ex::is_reference_v<T> == std::is_reference<T>::value, ""); in main()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Drvalue_ref.pass.cpp19 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()
Dclass.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_class_imp()
Dmember_object_pointer.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_member_object_pointer_imp()
Denum.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_enum_imp()
Dfunction.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_function_imp()
Dpointer.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_pointer_imp()
Dunion.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_union_imp()
Dmember_function_pointer.pass.cpp19 static_assert(!std::is_reference<T>::value, ""); in test_member_function_pointer_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/gmock/test/
Dgmock-internal-utils_test.cc468 TEST(TypeTraitsTest, is_reference) { in TEST() argument
469 EXPECT_FALSE(is_reference<int>::value); in TEST()
470 EXPECT_FALSE(is_reference<char*>::value); in TEST()
471 EXPECT_TRUE(is_reference<const int&>::value); in TEST()
/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/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,
570 static_assert(!is_reference<_ValueType>::value,
/external/clang/bindings/python/tests/cindex/
Dtest_cursor_kind.py22 assert CursorKind.TYPE_REF.is_reference()
/external/gmock/include/gmock/
Dgmock-actions.h472 !internal::is_reference<Result>::value,
498 GTEST_COMPILE_ASSERT_(!internal::is_reference<Result>::value,
549 GTEST_COMPILE_ASSERT_(internal::is_reference<Result>::value,
598 internal::is_reference<Result>::value,
/external/google-breakpad/src/testing/include/gmock/
Dgmock-actions.h472 !internal::is_reference<Result>::value,
498 GTEST_COMPILE_ASSERT_(!internal::is_reference<Result>::value,
549 GTEST_COMPILE_ASSERT_(internal::is_reference<Result>::value,
598 internal::is_reference<Result>::value,
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-internal-utils.h340 template <typename T> struct is_reference : public false_type {};
341 template <typename T> struct is_reference<T&> : public true_type {};
/external/gmock/include/gmock/internal/
Dgmock-internal-utils.h340 template <typename T> struct is_reference : public false_type {};
341 template <typename T> struct is_reference<T&> : public true_type {};

12