Searched refs:is_reference (Results 1 - 25 of 43) sorted by relevance

12

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
H A Dis_reference.pass.cpp12 // 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 Dlvalue_ref.pass.cpp19 static_assert( std::is_reference<T>::value, "");
H A Drvalue_ref.pass.cpp21 static_assert( std::is_reference<T>::value, "");
H A Dclass.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
H A Denum.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
H A Dfloating_point.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
H A Dfunction.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
H A Dmember_function_pointer.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
H A Dmember_object_pointer.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
H A Dpointer.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
H A Dunion.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
H A Dvoid.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
H A Darray.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
H A Dintegral.pass.cpp19 static_assert(!std::is_reference<T>::value, "");
/external/protobuf/src/google/protobuf/stubs/
H A Dtype_traits_unittest.cc291 // 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 Dtype_traits.h43 // 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 Dtest_cursor_kind.py22 assert CursorKind.TYPE_REF.is_reference()
37 group = [n for n in ('is_declaration', 'is_reference', 'is_expression',
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
H A Dmeta.unary.comp.pass.cpp25 static_assert(ex::is_reference_v<T> == std::is_reference<T>::value, "");
30 static_assert(ex::is_reference_v<T> == std::is_reference<T>::value, "");
/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h140 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 Dgmock-more-actions.h175 GTEST_COMPILE_ASSERT_(internal::is_reference<argk_type>::value,
/external/google-breakpad/src/testing/test/
H A Dgmock-internal-utils_test.cc474 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 Dgmock-more-actions.h192 GTEST_COMPILE_ASSERT_(internal::is_reference<argk_type>::value,
/external/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc518 TEST(TypeTraitsTest, is_reference) {
519 EXPECT_FALSE(is_reference<int>::value);
520 EXPECT_FALSE(is_reference<char*>::value);
521 EXPECT_TRUE(is_reference<const int&>::value);
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dbind_return_type.pass.cpp77 if ((std::is_reference<Expect>::value)) {
/external/mesa3d/src/gallium/include/pipe/
H A Dp_video_state.h251 bool is_reference; member in struct:pipe_h264_picture_desc

Completed in 4034 milliseconds

12