Searched defs:is_same (Results 26 - 46 of 46) sorted by relevance

12

/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dmulti-level-substitution.cpp10 struct is_same { struct
15 struct is_same<T, T> { struct
229 is_same<tuple_of_values<int&, float&, char, int>::apply<i, f, 'a', 17>
H A Dp4.cpp12 struct is_same { struct
17 struct is_same<T, T> { struct
173 int check_temp_arg_1[is_same<tuple_of_ints<1, 2, 3, 4, 5>::type,
H A Dexample-bind.cpp29 struct is_same { struct
34 struct is_same<T, T> { struct
/external/clang/test/SemaCXX/
H A Denum.cpp43 template <class A, class B> struct is_same { static const int value = -1; }; struct in namespace:test1
44 template <class A> struct is_same<A,A> { static const int value = 1; }; struct in namespace:test1
47 int test0[is_same<__typeof(+v0), int>::value];
50 int test1[is_same<__typeof(+v1), int>::value];
53 int test2[is_same<__typeof(+v2), unsigned int>::value];
56 int test3[is_same<__typeof(+v3), long>::value];
59 int test4[is_same<__typeof(+v4), unsigned long>::value];
H A Dtype-traits.cpp1711 void is_same() function
/external/clang/test/SemaTemplate/
H A Ddeduction.cpp20 struct is_same { struct
25 struct is_same<T, T> { struct
79 int array0[is_same<Replace<_1, int, float>::type, int>::value? 1 : -1];
80 int array1[is_same<Replace<const _1, int, float>::type, const int>::value? 1 : -1];
81 int array2[is_same<Replace<vector<_1>, int, float>::type, vector<int> >::value? 1 : -1];
82 int array3[is_same<Replace<vector<const _1>, int, float>::type, vector<const int> >::value? 1 : -1];
83 int array4[is_same<Replace<vector<int, _2>, double, float>::type, vector<int, float> >::value? 1 : -1];
H A Ddefault-arguments.cpp87 struct is_same { static const bool value = false; }; struct
90 struct is_same<T, T> { static const bool value = true; }; struct
92 int array1[is_same<__typeof__(vi),
95 int array2[is_same<__typeof(x2_deep_nontype),
101 int array3[is_same<X3<>, X3<X2> >::value? 1 : -1];
112 int array4[is_same<X4<add_pointer>,
H A Dtemp_arg_nontype_cxx1z.cpp5 template<typename T, typename U> constexpr bool is_same = false; // expected-note +{{here}} variable
6 template<typename T> constexpr bool is_same<T, T> = true; variable
99 static_assert(!is_same<Ab, Abce>, ""); // expected-error {{undeclared}} expected-error {{must be a type}}
100 static_assert(!is_same<Ab, Abde>, ""); // expected-error {{undeclared}} expected-error {{must be a type}}
101 static_assert(!is_same<Abce, Abde>, ""); // expected-error 2{{undeclared}} expected-error {{must be a type}}
102 static_assert(is_same<Abce, A<int B::*, (int B::*)(int C::*)&E::e>, ""); // expected-error {{undeclared}} expected-error {{not supported}}
108 static_assert(!is_same<Ae, Aecb>, ""); // expected-error {{undeclared}} expected-error {{must be a type}}
109 static_assert(!is_same<Ae, Aedb>, ""); // expected-error {{undeclared}} expected-error {{must be a type}}
110 static_assert(!is_same<Aecb, Aedb>, ""); // expected-error 2{{undeclared}} expected-error {{must be a type}}
111 static_assert(is_same<Aec
[all...]
H A Dtypename-specifier-4.cpp5 struct is_same { struct
10 struct is_same<T, T> { struct
29 int a0[is_same<metafun_apply2<make_pair, int, float>::type,
31 int a1[is_same<
49 int a2[is_same<swap_and_apply2<make_pair>::apply<int, float>::type,
60 int a3[is_same<swap_and_apply2b<make_pair>::apply<int, float>::type,
H A Dtemp_class_spec.cpp67 struct is_same { struct
72 struct is_same<T, T> { struct
79 int is_same0[is_same<int, int>::value? 1 : -1];
80 int is_same1[is_same<int, INT>::value? 1 : -1];
81 int is_same2[is_same<const int, int>::value? -1 : 1];
82 int is_same3[is_same<int_ptr, int>::value? -1 : 1];
94 int remove_ref0[is_same<remove_reference<int>::type, int>::value? 1 : -1];
95 int remove_ref1[is_same<remove_reference<int&>::type, int>::value? 1 : -1];
107 int remove_const0[is_same<remove_const<const int>::type, int>::value? 1 : -1];
108 int remove_const1[is_same<remove_cons
[all...]
/external/libcxx/test/support/
H A Dtest_macros.h196 struct is_same { enum { value = 0};} ; struct in namespace:test_macros_detail
198 struct is_same<T, T> { enum {value = 1}; }; struct in namespace:test_macros_detail
202 static_assert((test_macros_detail::is_same<__VA_ARGS__>::value), \
/external/v8/src/base/
H A Dsafe_math_impl.h39 template <class T, class U> struct is_same : public false_type {}; struct in namespace:v8::base::internal
40 template <class T> struct is_same<T, T> : true_type {}; struct in namespace:v8::base::internal
/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h143 template <class _Tp, class _Up> struct is_same : public false_type {}; struct in namespace:std
144 template <class _Tp> struct is_same<_Tp, _Tp> : public true_type {}; struct in namespace:std
175 is_same<typename remove_const<_Tp>::type, _Up>::value &&
207 is_same<typename remove_const<_Tp>::type, _Up>::value &&
/external/eigen/Eigen/src/Core/util/
H A DMeta.h63 template<typename T, typename U> struct is_same { enum { value = 0 }; }; struct in namespace:Eigen::internal
64 template<typename T> struct is_same<T,T> { enum { value = 1 }; }; struct in namespace:Eigen::internal
/external/iptables/libiptc/
H A Dlibip4tc.c172 is_same(const STRUCT_ENTRY *a, const STRUCT_ENTRY *b, unsigned char *matchmask) function
H A Dlibip6tc.c205 is_same(const STRUCT_ENTRY *a, const STRUCT_ENTRY *b, function
/external/iptables/iptables/
H A Dnft-shared.h74 bool (*is_same)(const void *data_a, member in struct:nft_family_ops
/external/mesa3d/src/compiler/glsl/
H A Dlink_varyings.cpp703 tfeedback_decl::is_same(const tfeedback_decl &x, const tfeedback_decl &y) function in class:tfeedback_decl
1042 if (tfeedback_decl::is_same(decls[i], decls[j])) {
/external/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h2256 struct is_same : public false_type {}; struct in namespace:testing::internal
2259 struct is_same<T, T> : public true_type {}; struct in namespace:testing::internal
/external/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.h4817 struct is_same { struct in namespace:upb::HandlerAttributes::upb::BufferHandle::upb::Handlers::upb::BytesHandler::upb
4822 struct is_same<T, T> { struct in namespace:upb::HandlerAttributes::upb::BufferHandle::upb::Handlers::upb::BytesHandler::upb
4827 bool is_same<T, U>::value = false;
4830 bool is_same<T, T>::value = true;
5584 bool always_ok = is_same<typename F::FuncInfo::Return, void>::value;
/external/protobuf/php/ext/google/protobuf/
H A Dupb.h4121 struct is_same { struct in namespace:upb::HandlerAttributes::upb::BufferHandle::upb::Handlers::upb::BytesHandler::upb
4126 struct is_same<T, T> { struct in namespace:upb::HandlerAttributes::upb::BufferHandle::upb::Handlers::upb::BytesHandler::upb
4131 bool is_same<T, U>::value = false;
4134 bool is_same<T, T>::value = true;
4888 bool always_ok = is_same<typename F::FuncInfo::Return, void>::value;

Completed in 491 milliseconds

12