Home
last modified time | relevance | path

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

123456

/external/openfst/src/include/fst/
Dexpectation-weight.h48 template <class X1, class X2>
49 class ExpectationWeight : public PairWeight<X1, X2> {
51 using PairWeight<X1, X2>::Value1;
52 using PairWeight<X1, X2>::Value2;
54 using PairWeight<X1, X2>::Reverse;
55 using PairWeight<X1, X2>::Quantize;
56 using PairWeight<X1, X2>::Member;
59 typedef X2 W2;
62 typename X2::ReverseWeight> ReverseWeight;
64 ExpectationWeight() : PairWeight<X1, X2>(Zero()) { } in ExpectationWeight()
[all …]
Dsigned-log-weight.h36 typedef LogWeightTpl<T> X2; typedef
37 using PairWeight<X1, X2>::Value1;
38 using PairWeight<X1, X2>::Value2;
40 using PairWeight<X1, X2>::Reverse;
41 using PairWeight<X1, X2>::Quantize;
42 using PairWeight<X1, X2>::Member;
46 SignedLogWeightTpl() : PairWeight<X1, X2>() {} in SignedLogWeightTpl()
49 : PairWeight<X1, X2> (w) { } in SignedLogWeightTpl()
51 SignedLogWeightTpl(const PairWeight<X1, X2>& w) in SignedLogWeightTpl()
52 : PairWeight<X1, X2> (w) { } in SignedLogWeightTpl()
[all …]
/external/chromium/base/
Dbind_internal_win.h57 template <typename R, typename X1, typename X2>
58 struct FunctionTraits<R(__stdcall *)(X1, X2)> {
59 typedef R (*NormalizedSig)(X1, X2);
63 typedef X2 B2;
67 template <typename R, typename X1, typename X2>
68 struct FunctionTraits<R(__fastcall *)(X1, X2)> {
69 typedef R (*NormalizedSig)(X1, X2);
73 typedef X2 B2;
77 template <typename R, typename X1, typename X2, typename X3>
78 struct FunctionTraits<R(__stdcall *)(X1, X2, X3)> {
[all …]
Dbind_internal.h137 template <typename R, typename X1, typename X2>
138 struct FunctionTraits<R(*)(X1, X2)> {
139 typedef R (*NormalizedSig)(X1, X2);
143 typedef X2 B2;
148 template <typename R, typename T, typename X1, typename X2>
149 struct FunctionTraits<R(T::*)(X1, X2)> {
150 typedef R (T::*NormalizedSig)(X1, X2);
156 typedef X2 B3;
161 template <typename R, typename T, typename X1, typename X2>
162 struct FunctionTraits<R(T::*)(X1, X2) const> {
[all …]
/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.cpp31 struct X2 {}; struct
34 template void f<X2>(X2&);
38 template struct X0<X2>::MemberClass;
40 template void X0<X2>::mem_func();
42 template struct X0<X2>::MemberClassTemplate<X1>;
44 template void X0<X2>::mem_func_template(X1&);
46 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
70 X2<int> x2i; argument
71 X2<int>::Inner1<float> x2iif;
73 X2<int>::Inner1<> x2bad; // expected-note{{instantiation of default argument}}
75 X2<int>::NonType1<'a'> x2_nontype1;
76 X2<int>::NonType1<> x2_nontype1_bad; // expected-note{{instantiation of default argument}}
79 X2<int>::Inner3<float>::VeryInner<> vi;
80 X2<char>::Inner3<int>::NonType2<> x2_deep_nontype;
89 X2<int>::Inner3<float>::VeryInner<int, float> >::value? 1 : -1];
92 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/chromium/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/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/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
60 X2<i> x2a; in test()
61 X2<&i> x2a_addr; // expected-error {{address taken}} in test()
62 X2<iarr> x2b; // expected-error {{cannot bind to template argument of type 'int [10]'}} in test()
63 X2<&iarr> x2b_addr; // expected-error {{address taken}} in test()
64X2<ki> x2c; // expected-error {{ignores qualifiers}} expected-warning {{internal linkage is a C++1… in test()
67 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();
14 void f(X1 x1, X2 x2) { in f()
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dp2-0x.cpp262 struct X2;
269 template<> void f<X2>(X2&);
273 template<> struct X0<X2>::MemberClass { };
275 template<> void X0<X2>::mem_func();
277 template<> template<typename T> struct X0<X2>::MemberClassTemplate { };
279 template<> template<typename T> void X0<X2>::mem_func_template(T&) { } in mem_func_template()
281 template<> int X0<X2>::value = 12;
/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/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()

123456