/external/clang/test/SemaTemplate/ |
temp_explicit.cpp | 7 template<typename T, typename U = T> class X1 { }; 14 template class N::X1<int>; 15 template class ::N::X1<int, float>;
|
constructor-template.cpp | 30 struct X1 { 31 X1(const X1&); 32 template<typename U> X1(const X1<U>&); 37 typedef X1<T> A; 44 void test_X1(X1<int> xi) {
|
current-instantiation.cpp | 32 struct X1 { 53 void g4(typename X1::my_T_type&); // expected-error{{redecl}} 57 void g5(typename X0::X1::my_T_type&); // expected-error{{redecl}} 61 void g6(typename X0<T, U>::X1::my_T_type&); // expected-error{{redecl}} 65 void g7(typename ::X0<typename X1::my_T_type, U_type>::X1::my_T_type&); // expected-error{{redecl}} 69 void g8(typename ::X0<typename X0<T_type, U>::X1::my_T_type, U_type>::X1::my_T_type&); // expected-error{{redecl}} 147 struct X1 { 150 X1<T>::a = b; // expected-error{{incompatible} [all...] |
dependent-base-classes.cpp | 9 struct X1 : T::apply<U> { }; // expected-error{{use 'template' keyword to treat 'apply' as a dependent template name}}
|
instantiate-complete.cpp | 49 struct X1 { }; 54 void refbind_base(X2<X1<int> > &x2) { 55 X1<int> &x1 = x2; local 64 void enum_constructors(X1<float> &x1) { 65 X3<X1<float> > x3 = x1;
|
instantiate-static-var.cpp | 42 struct X1 { 43 ~X1(); // The errors won't be triggered without this dtor. 70 Z1<Y1<X1>::value> x; 71 int y[Y1<X1>::value]; 106 struct X1 : public X0<T> { 111 const bool X1<T>::var; 114 template class X1<char>;
|
member-access-expr.cpp | 38 struct X1 : Base, OtherBase { 42 void test_f0_through_typedef2(X0 x0, X1 x1) { 44 call_f0_through_typedef2<OtherBase>(x1); // expected-note{{instantiation}} 45 call_f0_through_typedef2<Base>(x1); // expected-note{{instantiation}}
|
member-function-template.cpp | 66 struct X1 { 72 void test_incomplete_access(X1<int> *x1, X2<int> *x2) { 73 float &fr = x1->get<float>();
|
member-template-access-expr.cpp | 53 struct X1 { 61 void test_X1(X1 x1) { 62 float *fp1 = x1.f1<>(17); 63 float *fp2 = x1.f1<int>(3.14); // expected-warning {{implicit conversion turns literal floating-point number into integer}} 64 int *ip1 = x1.f1(17); 65 float *ip2 = x1.f1(3.14); 67 float* (X1::*mf1)(int) = &X1::f1; 68 float* (X1::*mf2)(int) = &X1::f1<> [all...] |
nested-template.cpp | 107 struct X1 { 110 template struct X1<int>::B<bool>;
|
/external/skia/src/core/ |
SkLineClipper.cpp | 21 double X1 = src[1].fX; 23 double result = X0 + ((double)Y - Y0) * (X1 - X0) / (Y1 - Y0); 43 double X1 = src[1].fX; 45 double result = Y0 + ((double)X - X0) * (Y1 - Y0) / (X1 - X0);
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
fixed-expansion.cpp | 24 class X1 { 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, 50 class X1 { 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,
|
multi-level-substitution.cpp | 55 struct X1 { 67 int check2[X1<short, int, long>::Inner<tuple<pair<short, unsigned short>, 74 int check3[X1<short, int>::Inner<tuple<pair<short, unsigned short>, 227 struct X1 { 233 X1<float> x1; local 234 x1.f(17, 3.14159);
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
p2-0x.cpp | 41 struct X1 { 261 struct X1; 268 template<> void f(X1&); 271 template<> struct X0<X1> { };
|
/external/clang/test/CodeGenCXX/ |
override-layout.cpp | 20 // CHECK: Type: struct X1 21 struct X1 : public X0, public Empty2 { 27 struct PACKED X2 : public X1, public X0, public Empty1 { 33 struct PACKED X3 : virtual public X1, public X0 { 59 X1 x1s[sizeof(X1)];
|
value-init.cpp | 146 struct X1 : X0 { 147 int x1; member in struct:zeroinit::X1 156 X1().f();
|
/external/clang/test/SemaCXX/ |
abstract.cpp | 195 struct X1 { 197 void g(X1 parm7); // expected-error {{parameter type 'test2::X1' is an abstract class}} 198 void g(X1 parm8[2]); // expected-error {{array of abstract class type 'test2::X1'}}
|
default-assignment-operator.cpp | 113 struct X1 : public virtual X0 { }; 115 struct X2 : X0, X1 { };
|
c99-variable-length-array.cpp | 55 struct X1 { 63 X1<HasConstantValue> x1a; 64 X1<HasNonConstantValue> x1b; // expected-note{{in instantiation of}}
|
cxx0x-initializer-constructor.cpp | 40 struct X1 { X1(int); }; 65 E(X1, int) { static_assert(N == 1, ""); } 94 { X1 x{0}; } 95 { X1 x = {0}; }
|
/external/freetype/src/autofit/ |
afwarp.c | 175 FT_Int X1, X2; 208 /* get X1 and X2, minimum and maximum in original coordinates */ 213 X1 = X2 = points[0].fx; 219 if ( X < X1 ) 220 X1 = X; 225 X1 = X2 = segments[0].pos; 231 if ( X < X1 ) 232 X1 = X; 238 if ( X1 >= X2 ) 241 warper->x1 = FT_MulFix( X1, org_scale ) + org_delta [all...] |
/external/openfst/src/include/fst/ |
arc.h | 282 typedef typename A::Weight X1; 283 typedef ExpectationWeight<X1, X2> Weight;
|
signed-log-weight.h | 35 typedef TropicalWeight X1; 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>() {} 49 : PairWeight<X1, X2> (w) { } 51 SignedLogWeightTpl(const PairWeight<X1, X2>& w) 52 : PairWeight<X1, X2> (w) { 295 TropicalWeight x1 = 1.0; local 304 TropicalWeight x1 = 1.0; local 313 TropicalWeight x1 = 1.0; local 322 TropicalWeight x1 = w.Value1(); local 332 TropicalWeight x1 = 1.0; local 341 TropicalWeight x1 = 1.0; local 350 TropicalWeight x1 = 1.0; local 359 TropicalWeight x1 = w.Value1(); local [all...] |
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
p1.cpp | 12 template <int* N> struct X1 { X1(); }; 13 template <int* N> X1<N>::X1() { } 31 template <int (*fp)(int)> struct X1 { }; 52 X1<f> x1a; 53 X1<&f> x1a_addr; 54 X1<f_tmpl> x1b; 55 X1<&f_tmpl> x1b_addr; 56 X1<f_tmpl<int> > x1c [all...] |
/external/clang/test/CodeGen/ |
override-layout.c | 22 // CHECK: Type: struct X1 23 struct X1 { 120 struct X1 x1; local 121 x1.x[5] = sizeof(struct X1);
|