Home
last modified time | relevance | path

Searched refs:X2 (Results 1 – 25 of 165) sorted by relevance

1234567

/external/clang/test/CXX/temp/temp.spec/temp.explicit/
Dp3.cpp24 struct X2 { // expected-note 4{{refers here}} struct
31 template struct X2<int>::Inner<float>; // expected-error{{explicit instantiation of undefined templ…
43 template struct X2<float>::InnerClass; // expected-error{{undefined member}}
47 template X2<int>::X2(); // expected-error{{not an instantiation}}
48 template X2<int>::X2(const X2&); // expected-error{{not an instantiation}}
49 template X2<int>::~X2(); // expected-error{{not an instantiation}}
50 template X2<int> &X2<int>::operator=(const X2<int>&); // expected-error{{not an instantiation}}
Dp1.cpp56 struct X2 { struct
71 T X2<T, U>::static_member1 = 17; // expected-error{{cannot initialize}} argument
74 U X2<T, U>::static_member2; // expected-error{{no matching}}
76 template void X2<int, float>::f(int &, float);
77 template void X2<int, float>::f(int &, double); // expected-error{{does not refer}}
78 template void X2<int, int*>::f(int&, int*); // expected-note{{instantiation}}
80 template struct X2<int, float>::Inner;
81 template struct X2<int, Incomplete>::Inner; // expected-note{{instantiation}}
83 template int X2<int, float>::static_member1;
84 template int* X2<int*, float>::static_member1; // expected-note{{instantiation}}
[all …]
Dp3-0x.cpp32 struct X2 {}; struct
35 template void f<X2>(X2&);
39 template struct X0<X2>::MemberClass;
41 template void X0<X2>::mem_func();
43 template struct X0<X2>::MemberClassTemplate<X1>;
45 template void X0<X2>::mem_func_template(X1&);
47 template int X0<X2>::value;
/external/clang/test/SemaTemplate/
Ddependent-type-identity.cpp11 struct X2 { struct
58 void f6(typename N::X2<T>::template apply<U> *); // expected-note{{previous}}
59 void f6(typename N::X2<U>::template apply<U> *);
60 void f6(typename N::X2<U>::template apply<T> *);
61 void f6(typename ::N::X2<type>::template apply<U_type> *); // expected-error{{redeclar}}
63 void f7(typename N::X2<T>::template apply<U> *); // expected-note{{previous}}
64 void f7(typename N::X2<U>::template apply<U> *);
65 void f7(typename N::X2<U>::template apply<T> *);
66 void f7(typename X2<type>::template apply<U_type> *); // expected-error{{redeclar}}
68 void f8(typename N::X2<T>::template apply<U> *); // expected-note{{previous}}
[all …]
Ddefault-arguments.cpp49 struct X2 { struct
72 X2<int> x2i; // expected-note{{in instantiation of template class 'X2<int>' requested here}} argument
73 X2<int>::Inner1<float> x2iif;
75 X2<int>::Inner1<> x2bad; // expected-error{{too few template arguments for class template 'Inner1'}}
77 X2<int>::NonType1<'a'> x2_nontype1;
78 X2<int>::NonType1<> x2_nontype1_bad; // expected-error{{too few template arguments for class templa…
81 X2<int>::Inner3<float>::VeryInner<> vi;
82 X2<char>::Inner3<int>::NonType2<> x2_deep_nontype; // expected-note{{in instantiation of template c…
91 X2<int>::Inner3<float>::VeryInner<int, float> >::value? 1 : -1];
94 X2<char>::Inner3<int>::NonType2<sizeof(char), sizeof(int),
[all …]
Dtemp_class_order.cpp30 struct X2 { }; struct
33 struct X2<T*, U> { }; // expected-note{{matches}} struct
36 struct X2<T, U*> { }; // expected-note{{matches}} struct
39 struct X2<const T*, const U*> { }; struct
41 X2<int*, int*> x2a; // expected-error{{ambiguous}}
42 X2<const int*, const int*> x2b;
Dconstructor-template.cpp54 struct X2 { struct
55 X2(); // expected-note{{candidate constructor}}
56 X2(X2&); // expected-note {{candidate constructor}}
57 template<typename T> X2(T);
60 X2 test(bool Cond, X2 x2) { in test()
64 return X2(); // expected-error{{no matching constructor}} in test()
Dfriend-template.cpp154 template<typename , typename T> struct X2 struct
162 template <typename T1, typename T2, typename B> friend void op(X2<T1, T2>& , B);
164 template <typename Ch, typename Tr, typename B> void op(X2<Ch, Tr>& , B) in op()
166 X2<int, Tr> s; in op()
171 X2<int, X0<int> > ngs; in n()
186 template<typename , typename T> struct X2 struct
194 template <typename T1, typename T2, typename B> friend void op(X2<T1, T2>& , B);
196 template <typename Ch, typename Tr, typename B> void op(X2<Ch, Tr>& , B) in op()
198 X2<int, Tr> s; in op()
203 X2<int, X0<int> > ngs; in n()
Dtemp_explicit.cpp37 template<typename T> struct X2; // expected-note{{declared here}}
39 template struct X2<float>; // expected-error{{undefined template}} variable
42 struct X2 { struct
46 template struct X2<int>; // okay variable
47 template struct X2<int&>; // expected-note{{in instantiation of}} variable
/external/scrypt/lib/crypto/
Dcrypto_scrypt-sse.c87 __m128i X0, X1, X2, X3; in salsa20_8() local
93 X2 = B[2]; in salsa20_8()
102 X2 = _mm_xor_si128(X2, _mm_slli_epi32(T, 9)); in salsa20_8()
103 X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23)); in salsa20_8()
104 T = _mm_add_epi32(X2, X1); in salsa20_8()
107 T = _mm_add_epi32(X3, X2); in salsa20_8()
113 X2 = _mm_shuffle_epi32(X2, 0x4E); in salsa20_8()
121 X2 = _mm_xor_si128(X2, _mm_slli_epi32(T, 9)); in salsa20_8()
122 X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23)); in salsa20_8()
123 T = _mm_add_epi32(X2, X3); in salsa20_8()
[all …]
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-cxx0x-no-extra-copy.cpp13 struct X2 { struct
14 X2();
17 X2(const X2&);
41 void g2(const X2&);
47 g2(X2()); in test()
Dp5-cxx03-extra-copy.cpp14 struct X2 { struct
15 X2();
18 X2(const X2&); // expected-note{{declared private here}}
50 void g2(const X2&);
57 …g2(X2()); // expected-warning{{C++98 requires an accessible copy constructor for class 'X2' when b… in test()
/external/chromium_org/testing/
Dgmock_mutant.h2009 typename X1, typename X2>
2011 CreateFunctor(T* obj, R (U::*method)(X1, X2), const P1& p1, const P2& p2) { in CreateFunctor() argument
2013 new Mutant<R, T, R (U::*)(X1, X2), in CreateFunctor()
2019 template <typename R, typename P1, typename P2, typename X1, typename X2>
2021 CreateFunctor(R (*function)(X1, X2), const P1& p1, const P2& p2) { in CreateFunctor() argument
2023 new MutantFunction<R, R (*)(X1, X2), in CreateFunctor()
2031 typename X1, typename X2>
2033 CreateFunctor(T** obj, R (U::*method)(X1, X2), const P1& p1, const P2& p2) { in CreateFunctor() argument
2035 new MutantLateObjectBind<R, T, R (U::*)(X1, X2), in CreateFunctor()
2044 typename X1, typename X2>
[all …]
/external/clang/test/CXX/temp/temp.decls/temp.friend/
Dp4.cpp13 struct X2 { struct
20 int array0[sizeof(X2<int>)];
21 int array1[sizeof(X2<float>)]; // expected-note{{instantiation of}}
24 X2<int> xi; in g()
26 X2<float> xf; in g()
/external/clang/test/CodeGenCXX/
Dstatic-init-3.cpp26 template<typename T> struct X2 {}; struct
27 X2< B > bg = X1< X2< B > >::get();
28 X2< A > ag = X1< X2< A > >::get();
/external/clang/test/SemaCXX/
Ddefault-constructor-initializers.cpp7 struct X2 : X1 { // expected-note 2 {{'X2' declared here}} struct
8 X2(int);
11 struct X3 : public X2 { // expected-error {{implicit default constructor for 'X3' must explicitly i…
18 X2 x2; // expected-note {{member is declared here}}
19 X2 & rx2; // expected-note {{declared here}}
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
Dp1.cpp32 template <int &p> struct X2 { }; // expected-note 4{{here}} struct
61 X2<i> x2a; in test()
62 X2<&i> x2a_addr; // expected-error {{address taken}} in test()
63 X2<iarr> x2b; // expected-error {{cannot bind to template argument of type 'int [10]'}} in test()
64 X2<&iarr> x2b_addr; // expected-error {{address taken}} in test()
65X2<ki> x2c; // expected-error {{ignores qualifiers}} expected-warning {{internal linkage is a C++1… in test()
68 X2<ti> x2d_addr; // expected-error {{refers to thread-local object}} in test()
/external/clang/test/CXX/expr/expr.post/expr.call/
Dp7-0x.cpp7 struct X2 { struct
8 X2();
9 ~X2();
25 void f(X1 x1, X2 x2, X3 x3, X4 x4) { in f()
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/
Dp1.cpp27 template <typename T> class [[deprecated]] X2 {}; class
28 template <> class X2<int> {}; class
29 X2<char> x3; // FIXME: no warning!
30 X2<int> x4;
/external/clang/test/CXX/except/except.spec/
Dp14-ir.cpp15 struct X2 : X1 { struct
16 X2();
28 void test(X2 x2, X3 x3, X5 x5) { in test()
33 X2 x2a(x2); in test()
/external/llvm/test/Transforms/BBVectorize/X86/
Dsimple-int.ll12 %X2 = fsub double %A2, %B2
14 %Y2 = call double @llvm.fma.f64(double %X2, double %A2, double %C2)
26 %X2 = fsub double %A2, %B2
28 %Y2 = call double @llvm.fmuladd.f64(double %X2, double %A2, double %C2)
40 %X2 = fsub double %A2, %B2
42 %Y2 = call double @llvm.cos.f64(double %X2)
54 %X2 = fsub double %A2, %B2
56 %Y2 = call double @llvm.powi.f64(double %X2, i32 %P)
68 %X2 = fsub double %A2, %B2
71 %Y2 = call double @llvm.powi.f64(double %X2, i32 %P2)
/external/chromium_org/third_party/freetype/src/autofit/
Dafwarp.c175 FT_Int X1, X2; in af_warper_compute() local
213 X1 = X2 = points[0].fx; in af_warper_compute()
221 if ( X > X2 ) in af_warper_compute()
222 X2 = X; in af_warper_compute()
225 X1 = X2 = segments[0].pos; in af_warper_compute()
233 if ( X > X2 ) in af_warper_compute()
234 X2 = X; in af_warper_compute()
238 if ( X1 >= X2 ) in af_warper_compute()
242 warper->x2 = FT_MulFix( X2, org_scale ) + org_delta; in af_warper_compute()
344 new_scale = org_scale + FT_DivFix( w - warper->w0, X2 - X1 ); in af_warper_compute()
[all …]
/external/freetype/src/autofit/
Dafwarp.c175 FT_Int X1, X2; in af_warper_compute() local
213 X1 = X2 = points[0].fx; in af_warper_compute()
221 if ( X > X2 ) in af_warper_compute()
222 X2 = X; in af_warper_compute()
225 X1 = X2 = segments[0].pos; in af_warper_compute()
233 if ( X > X2 ) in af_warper_compute()
234 X2 = X; in af_warper_compute()
238 if ( X1 >= X2 ) in af_warper_compute()
242 warper->x2 = FT_MulFix( X2, org_scale ) + org_delta; in af_warper_compute()
344 new_scale = org_scale + FT_DivFix( w - warper->w0, X2 - X1 ); in af_warper_compute()
[all …]
/external/clang/test/CXX/temp/temp.param/
Dp9-0x.cpp14 struct X2;
36 struct X2 { struct
41 …template<typename T = int> void X2<T>::f0() { } // expected-error{{cannot add a default template a… in f0()
42 …template<typename T> template<typename U = int> void X2<T>::f1() { } // expected-error{{cannot add… in f1()
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dp2-0x.cpp302 struct X2;
309 template<> void f<X2>(X2&);
313 template<> struct X0<X2>::MemberClass { };
315 template<> void X0<X2>::mem_func();
317 template<> template<typename T> struct X0<X2>::MemberClassTemplate { };
319 template<> template<typename T> void X0<X2>::mem_func_template(T&) { } in mem_func_template()
321 template<> int X0<X2>::value = 12;

1234567