Home
last modified time | relevance | path

Searched refs:is_reference (Results 1 – 25 of 66) 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()
Dlvalue_ref.pass.cpp19 static_assert( std::is_reference<T>::value, ""); in test_lvalue_ref()
Drvalue_ref.pass.cpp21 static_assert( std::is_reference<T>::value, ""); in test_rvalue_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()
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()
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()
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/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/deqp-deps/SPIRV-Tools/source/opt/
Dtree_iterator.h40 !std::is_reference<NodeTy>::value,
134 !std::is_reference<NodeTy>::value,
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtree_iterator.h40 !std::is_reference<NodeTy>::value,
134 !std::is_reference<NodeTy>::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/libchrome/base/memory/
Draw_scoped_refptr_mismatch_checker.h36 static_assert(!std::is_reference<T>::value,
/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/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/clang/bindings/python/tests/cindex/
Dtest_cursor_kind.py22 assert CursorKind.TYPE_REF.is_reference()
/external/tensorflow/tensorflow/core/lib/gtl/
Dcleanup.h98 static_assert(!std::is_reference<F>::value, "F must not be a reference");

123