Searched refs:T2 (Results 1 - 25 of 285) sorted by relevance

1234567891011>>

/external/stlport/test/compiler/
H A Dttei6.cpp18 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 Dttei7.cpp19 template <typename T2>
22 typedef A<T2> _Type;
/external/clang/test/SemaCXX/
H A DPR10243.cpp15 struct T2 { struct
17 T2& operator=(const T2&) = default;
H A Dtrivial-destructor.cpp7 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 Dtrivial-constructor.cpp7 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 Dredeclared-alias-template.cpp5 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 Dfunction-overload-typo-crash.cpp16 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 Ddocumentation.cpp8 class T2 { class
22 T2 t2;
28 // CHECK-CC1: COMPLETION: T2 : T2 : Bbb.
/external/srec/tools/grxmlcompile/
H A Dhashmap.cpp38 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 Dhashmap.h29 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 D2009-03-17-dbg.cpp3 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 Dp11.cpp6 class T2> // expected-error{{template parameter missing a default argument}}
H A Dp10.cpp6 template<class T1, class T2 = int> class B2;
7 template<class T1 = int, class T2> class B2;
H A Dp12.cpp7 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 Dp10-0x.cpp7 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 Dpartial-ordering.cpp34 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 Dalign-x86.c43 } 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 Dstatic-assert.c31 #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 Dp22.cpp9 template<class T1, class T2> double& f(T1 a1, T2 a2);
/external/clang/test/Index/
H A Dcomplete-documentation.cpp8 class T2 { class
33 T2 t2;
42 // CHECK-CC1: ClassDecl:{TypedText T2}{{.*}}(brief comment: Bbb.)
/external/clang/test/PCH/
H A Dcxx-alias-decl.cpp14 using T2 = B<A>;
15 using T2 = S;
/external/clang/test/SemaTemplate/
H A Drecovery-crash.cpp10 template <typename T2> B(T2 x) {
/external/clang/test/CXX/special/class.inhctor/
H A Dp3.cpp35 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 Darg-packs.h54 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 DFormat.h96 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...]

Completed in 517 milliseconds

1234567891011>>