/external/stlport/test/compiler/ |
H A D | ttei6.cpp | 18 template <typename T2> 21 typedef T2 _Type; 26 template <typename T1, typename T2> 29 typedef typename A<T1>:: template B<T2>::_Type ABType;
|
H A D | ttei7.cpp | 19 template <typename T2> 22 typedef A<T2> _Type;
|
/external/clang/test/SemaCXX/ |
H A D | PR10243.cpp | 15 struct T2 { struct 17 T2& operator=(const T2&) = default;
|
H A D | trivial-destructor.cpp | 7 struct T2 { struct 8 ~T2(); 10 static_assert(!__has_trivial_destructor(T2), "T2 has a user-declared destructor!"); 28 static T2 t2; 33 T2 t2; 37 struct T8 : T2 { 39 static_assert(!__has_trivial_destructor(T8), "The base class T2 does not have a trivial destructor!");
|
H A D | trivial-constructor.cpp | 7 struct T2 { struct 8 T2(); 10 static_assert(!__has_trivial_constructor(T2), "T2 has a user-declared constructor!"); 28 static T2 t2; 37 struct T8 : T2 { 39 static_assert(!__has_trivial_constructor(T8), "The base class T2 does not have a trivial constructor!");
|
H A D | redeclared-alias-template.cpp | 5 template<typename T1, typename T2> using A = T1; // expected-error {{too many template parameters in template redeclaration}} 7 template<typename T1, typename T2> using B = T1; // expected-note {{previous}} 8 template<typename T2, typename T1> using B = T1; // expected-error {{type alias template redefinition with different types}}
|
H A D | function-overload-typo-crash.cpp | 16 template <typename T1, typename T2> void somefunc(T1*, T2*); //expected-note {{'somefunc' declared here}} 17 template <typename T1, typename T2> void somefunc(T1*, const T2[]); //expected-note 2 {{'somefunc' declared here}}
|
/external/clang/test/CodeCompletion/ |
H A D | documentation.cpp | 8 class T2 { class 22 T2 t2; 28 // CHECK-CC1: COMPLETION: T2 : T2 : Bbb.
|
/external/srec/tools/grxmlcompile/ |
H A D | hashmap.cpp | 38 template <typename T1, typename T2> 39 HashMap<T1,T2>::HashMap(): 44 template <typename T1, typename T2> 45 void HashMap<T1,T2>::setName(std::string s) 50 template <typename T1, typename T2> 51 bool HashMap<T1,T2>::insert( T1 const & index, T2 const & value) 54 pair<typename std::map<T1,T2>::iterator,bool> result = m_Map.insert( make_pair(index, value) ); 62 template <typename T1, typename T2> 63 bool HashMap<T1,T2> [all...] |
H A D | hashmap.h | 29 template <typename T1, typename T2> 36 bool insert( T1 const & index, T2 const & value); 40 bool getFirst( T1 *index, T2 *value ); 41 bool getNext( T1 *index, T2 *value ); 42 bool getValue( T1 const & index, T2 *value); //returns value 43 bool getIndex( T2 const & value, T1 *index ); //returns index 47 typename std::map<T1,T2>::iterator begin(); 48 typename std::map<T1,T2>::iterator end(); 54 std::map<T1, T2> m_Map; 55 typename std::map<T1,T2> [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | 2009-03-17-dbg.cpp | 3 template <typename T1,typename T2> 4 inline void f(const T1&,const T2&) { } argument 6 template <typename T1,typename T2,void F(const T1&,const T2&)>
|
/external/clang/test/CXX/temp/temp.param/ |
H A D | p11.cpp | 6 class T2> // expected-error{{template parameter missing a default argument}}
|
H A D | p10.cpp | 6 template<class T1, class T2 = int> class B2; 7 template<class T1 = int, class T2> class B2;
|
H A D | p12.cpp | 7 class T2 = int> // expected-note{{previous default template argument defined here}} 9 template<class T1, typename T2> class B3; 11 typename T2 = float> // expected-error{{template parameter redefines default argument}}
|
H A D | p10-0x.cpp | 7 template<class T1, class T2 = int> using B2 = T1; 8 template<class T1 = int, class T2> using B2 = T1;
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | partial-ordering.cpp | 34 template<typename T1, typename T2, typename ...Rest> 35 int &f0(T1, T2, Rest...); 37 template<typename T1, typename T2> 38 float &f0(T1, T2); 45 template<typename T1, typename T2, typename ...Rest> 46 int &f1(T1, T2, Rest...); 48 template<typename T1, typename T2> 49 float &f1(T1, T2, ...); 55 template<typename T1, typename T2, typename ...Rest> 56 int &f2(T1, T2, Res [all...] |
/external/clang/test/Sema/ |
H A D | align-x86.c | 43 } T2; 45 short chk1[sizeof(T2) == 4 ? 1 : -1]; 46 short chk2[sizeof(T2[1]) == 4 ? 1 : -1]; 47 short chk3[sizeof(T2[2]) == 8 ? 1 : -1]; 48 short chk4[sizeof(T2[2][1]) == 8 ? 1 : -1]; 49 short chk5[sizeof(T2[1][2]) == 8 ? 1 : -1];
|
H A D | static-assert.c | 31 #define UNION(T1, T2) union { \ 33 __typeof__(T2) two; \ 35 _Static_assert(ASSERT_IS_TYPE(T2), "T2 is not a type"); \ 36 _Static_assert(sizeof(T1) == sizeof(T2), "type size mismatch"); \
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
H A D | p22.cpp | 9 template<class T1, class T2> double& f(T1 a1, T2 a2);
|
/external/clang/test/Index/ |
H A D | complete-documentation.cpp | 8 class T2 { class 33 T2 t2; 42 // CHECK-CC1: ClassDecl:{TypedText T2}{{.*}}(brief comment: Bbb.)
|
/external/clang/test/PCH/ |
H A D | cxx-alias-decl.cpp | 14 using T2 = B<A>; 15 using T2 = S;
|
/external/clang/test/SemaTemplate/ |
H A D | recovery-crash.cpp | 10 template <typename T2> B(T2 x) {
|
/external/clang/test/CXX/special/class.inhctor/ |
H A D | p3.cpp | 35 template<typename T> struct T2 : T1<T> { struct in inherits:T1 44 friend T2<int>::T2(int); 45 friend T2<int>::T2(int, int);
|
/external/openfst/src/include/fst/script/ |
H A D | arg-packs.h | 54 class T2 = none_type, 64 T2 arg2; 73 Package(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, 81 class T2, 88 struct Package<T1, T2, T3, T4, T5, T6, T7, T8, none_type> { 90 T2 arg2; 98 Package(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, 106 class T2, 112 struct Package<T1, T2, T3, T4, T5, T6, T7, 115 T2 arg [all...] |
/external/llvm/include/llvm/Support/ |
H A D | Format.h | 96 template <typename T1, typename T2> 99 T2 Val2; 101 format_object2(const char *fmt, const T1 &val1, const T2 &val2) 114 template <typename T1, typename T2, typename T3> 117 T2 Val2; 120 format_object3(const char *fmt, const T1 &val1, const T2 &val2,const T3 &val3) 133 template <typename T1, typename T2, typename T3, typename T4> 136 T2 Val2; 140 format_object4(const char *fmt, const T1 &val1, const T2 &val2, 154 template <typename T1, typename T2, typenam [all...] |