Searched defs:is_same (Results 1 - 25 of 38) sorted by path

12

/external/chromium_org/base/
H A Dtemplate_util.h42 template <class T, class U> struct is_same : public false_type {}; struct in namespace:base
43 template <class T> struct is_same<T,T> : true_type {}; struct in namespace:base
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/util/
H A Dtemplate_util.h33 template <class T, class U> struct is_same : public false_type {}; struct in namespace:i18n::addressinput
34 template <class T> struct is_same<T,T> : true_type {}; struct in namespace:i18n::addressinput
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/
H A Dtemplate_util.h30 template <class T, class U> struct is_same : public false_type {}; struct in namespace:i18n::phonenumbers
31 template <class T> struct is_same<T,T> : true_type {}; struct in namespace:i18n::phonenumbers
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dlinker.cpp1511 static bool is_same(const tfeedback_decl &x, const tfeedback_decl &y);
1701 tfeedback_decl::is_same(const tfeedback_decl &x, const tfeedback_decl &y) function in class:tfeedback_decl
1936 if (tfeedback_decl::is_same(decls[i], decls[j])) {
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dtype_traits.h54 // is_same
89 template <class T, class U> struct is_same;
181 is_same<T, void>::value ||
298 template<typename T, typename U> struct is_same : public false_type { }; struct in namespace:google::protobuf::internal
299 template<typename T> struct is_same<T, T> : public true_type { }; struct in namespace:google::protobuf::internal
/external/chromium_org/third_party/webrtc/base/
H A Dtemplate_util.h35 template <class T, class U> struct is_same : public false_type {}; struct in namespace:rtc
36 template <class T> struct is_same<T,T> : true_type {}; struct in namespace:rtc
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dtemplate_util.h37 template <class T, class U> struct is_same : public false_type {}; struct in namespace:webrtc
38 template <class T> struct is_same<T, T> : true_type {}; struct in namespace:webrtc
/external/chromium_org/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/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
H A Dp3-1y.cpp52 template<typename T, typename U> constexpr bool is_same() { function in namespace:p3_example
61 static_assert(is_same<decltype(x), int>(), "");
62 static_assert(is_same<decltype(v), const int*>(), "");
63 static_assert(is_same<decltype(u), const int>(), "");
64 static_assert(is_same<decltype(y), double>(), "");
71 static_assert(is_same<decltype(f), int()>(), "");
72 static_assert(is_same<decltype(g), double()>(), "");
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/
H A Dp4-cxx0x.cpp4 struct is_same { struct
9 struct is_same<T, T> { struct
18 static_assert(is_same<decltype(foo()), const int&&>::value, "");
19 static_assert(is_same<decltype(i), int>::value, "");
20 static_assert(is_same<decltype(a->x), double>::value, "");
21 static_assert(is_same<decltype((a->x)), const double&>::value, "");
22 static_assert(is_same<decltype(static_cast<int&&>(i)), int&&>::value, "");
H A Dp5-cxx0x.cpp74 template<typename T, typename U> struct is_same { static const bool value = false; }; struct in namespace:libcxx_example
75 template<typename T> struct is_same<T, T> { static const bool value = true; }; struct in namespace:libcxx_example
84 static const bool value = !is_same<type, nat>::value;
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/
H A Dp14.cpp7 template<typename T, typename U> struct is_same { struct
11 template<typename T> struct is_same<T, T> { struct
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
H A Dp6-0x.cpp4 struct is_same { struct
9 struct is_same<T, T> { struct
15 int JOIN(array,__LINE__)[is_same<T1, T2>::value? 1 : -1]
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp18.cpp5 struct is_same { struct
10 struct is_same<T, T> { struct
21 static_assert(is_same<decltype(((r))), float const&>::value,
23 static_assert(is_same<decltype(x), float>::value, "should be float");
24 static_assert(is_same<decltype((x)), const float&>::value,
26 static_assert(is_same<decltype(r), float&>::value, "should be float&");
27 static_assert(is_same<decltype(ir), int&>::value, "should be int&");
28 static_assert(is_same<decltype((ir)), int&>::value, "should be int&");
29 static_assert(is_same<decltype(irc), const int&>::value,
31 static_assert(is_same<decltyp
[all...]
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dexample-bind.cpp29 struct is_same { struct
34 struct is_same<T, T> { struct
H A Dexample-tuple.cpp29 struct is_same { struct
34 struct is_same<T, T> { struct
167 int check_tuple_element_0[is_same<tuple_element<0, tuple<int&, float, double>>::type,
170 int check_tuple_element_1[is_same<tuple_element<1, tuple<int&, float, double>>::type,
173 int check_tuple_element_2[is_same<tuple_element<2, tuple<int&, float, double>>::type,
H A Dfixed-expansion.cpp7 struct is_same { struct
12 struct is_same<T, T> { struct
29 static_assert(is_same<X1<int, int>::type,
33 static_assert(is_same<X1<int, int, float>::type,
37 static_assert(is_same<X1<int, int, float, double>::type,
55 static_assert(is_same<X1<int>::type,
59 static_assert(is_same<X1<int, float>::type,
63 static_assert(is_same<X1<int, float, double>::type,
H A Dmetafunctions.cpp6 struct is_same { struct
11 struct is_same<T, T> { struct
65 int check0[is_same<EverythingToInt<tuple<double, float>>::type,
75 int check0[is_same<double_values<1, 2, -3>::type,
83 int check1[is_same<square<1, 2, -3>::type,
93 int check2[is_same<square_tuple<int_tuple<1, 2, -3> >::type,
166 int check0[is_same<build_indices<5>::type,
191 int check0[is_same<apply_each<int,
200 int check1[is_same<apply_each_indirect<int, add_reference, add_pointer,
230 int check2[is_same<apply_each_neste
[all...]
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,
/external/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/
H A Dp3-nodeduct.cpp20 struct is_same { struct
25 struct is_same<T, T> { struct
29 int typeof0[is_same<__typeof__(f<int>), void (int)>::value? 1 : -1];
30 int typeof1[is_same<__typeof__(&f<int>), void (*)(int)>::value? 1 : -1];
35 int typeof2[is_same<__typeof__(g<float>), void (int)>::value? 1 : -1]; // \
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
H A Dp9-0x.cpp7 struct is_same { struct
12 struct is_same<T, T> { struct
50 int check1[is_same<split_arrays<int[1], float[2], double[3]>::element_types,
52 int check2[is_same<split_arrays<int[1], float[2], double[3]>::bounds_types,
/external/clang/test/SemaCXX/
H A Ddecltype-this.cpp4 template<typename T, typename U> struct is_same { struct
8 template<typename T> struct is_same<T, T> { struct
13 void f() { static_assert(is_same<decltype(this), S*>::value, ""); }
14 void g() const { static_assert(is_same<decltype(this), const S*>::value, ""); }
15 void h() volatile { static_assert(is_same<decltype(this), volatile S*>::value, ""); }
16 void i() const volatile { static_assert(is_same<decltype(this), const volatile S*>::value, ""); }
H A Denum.cpp42 template <class A, class B> struct is_same { static const int value = -1; }; struct in namespace:test1
43 template <class A> struct is_same<A,A> { static const int value = 1; }; struct in namespace:test1
46 int test0[is_same<__typeof(+v0), int>::value];
49 int test1[is_same<__typeof(+v1), int>::value];
52 int test2[is_same<__typeof(+v2), unsigned int>::value];
55 int test3[is_same<__typeof(+v3), long>::value];
58 int test4[is_same<__typeof(+v4), unsigned long>::value];
H A Dnullptr.cpp84 template<typename T, typename U> struct is_same { struct in namespace:test1
88 template<typename T> struct is_same<T, T> { struct in namespace:test1
96 static_assert(is_same<decltype(g(nullptr)), void*>::value, "");

Completed in 655 milliseconds

12