/external/stlport/test/compiler/ |
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;
|
ttei7.cpp | 19 template <typename T2> 22 typedef A<T2> _Type;
|
/external/clang/test/Layout/ |
ms-x86-misalignedarray.cpp | 7 struct T2 : virtual T0 { }; 8 struct T3 { T2 a[1]; char c; }; 14 // CHECK-NEXT: 0 | struct T2 [1] a 22 // CHECK-X64-NEXT: 0 | struct T2 [1] a
|
/external/clang/test/SemaCXX/ |
PR10243.cpp | 15 struct T2 { 17 T2& operator=(const T2&) = default;
|
trivial-destructor.cpp | 7 struct T2 { 8 ~T2(); 10 static_assert(!__has_trivial_destructor(T2), "T2 has a user-declared destructor!"); 28 static T2 t2; member in struct:T6 33 T2 t2; member in struct:T7 35 static_assert(!__has_trivial_destructor(T7), "t2 does not have a trivial destructor!"); 37 struct T8 : T2 { [all...] |
trivial-constructor.cpp | 7 struct T2 { 8 T2(); 10 static_assert(!__has_trivial_constructor(T2), "T2 has a user-declared constructor!"); 28 static T2 t2; member in struct:T6 37 struct T8 : T2 { 39 static_assert(!__has_trivial_constructor(T8), "The base class T2 does not have a trivial constructor!");
|
/external/clang/test/CodeCompletion/ |
documentation.cpp | 8 class T2 { 22 T2 t2; local 23 t2. 28 // CHECK-CC1: COMPLETION: T2 : T2 : Bbb.
|
/external/clang/test/Parser/ |
cxx-template-argument.cpp | 50 template<class T1, typename T2> struct Known { }; // expected-note 3 {{template is declared here}} 51 template<class T1, typename T2> struct X; 52 template<class T1, typename T2> struct ABC; // expected-note {{template is declared here}} 55 template<class T1, typename T2> struct foo : 56 UnknownBase<T1,T2> // expected-error {{unknown template name 'UnknownBase'}} 59 template<class T1, typename T2> struct foo2 : 60 UnknownBase<T1,T2>, // expected-error {{unknown template name 'UnknownBase'}} 64 template<class T1, typename T2> struct foo3 : 65 UnknownBase<T1,T2,ABC<T2,T1> > // expected-error {{unknown template name 'UnknownBase'} [all...] |
cxx-default-args.cpp | 21 template <int A, int B> struct T2 { enum {V}; }; 26 void f2(T1<int, double> = T1<int, double>(), T2<0, 5> = T2<0, 5>()); 27 void f3(int a = T2<0, (T1<int, int>::V > 10) ? 5 : 6>::V, bool b = 4<5 ); 29 void f5(bool a = 1 > T2<0, 0>::V, bool b = T1<int,int>::V < 3, int c = 0); 30 void f6(bool a = T2<0,3>::V < 4, bool b = 4 > T2<0,3>::V);
|
cxx0x-member-initializers.cpp | 32 template <int, int> struct T2 { enum {V};}; 35 T2<0,0> b1 = T2<0,0>(), b2 = T2<0,0>(), b3;
|
/external/clang/test/CodeGenCXX/ |
2009-03-17-dbg.cpp | 3 template <typename T1,typename T2> 4 inline void f(const T1&,const T2&) { } 6 template <typename T1,typename T2,void F(const T1&,const T2&)>
|
/external/srec/tools/grxmlcompile/ |
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>::iterator m_pPos [all...] |
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>::remove( T1 const & index [all...] |
/external/libcxx/test/utilities/tuple/tuple.tuple/tuple.rel/ |
eq.pass.cpp | 26 typedef std::tuple<> T2; 28 const T2 t2; local 29 assert(t1 == t2); 30 assert(!(t1 != t2)); 34 typedef std::tuple<double> T2; 36 const T2 t2(1.1); 37 assert(!(t1 == t2)); 38 assert(t1 != t2); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.rel/ |
eq.pass.cpp | 26 typedef std::tuple<> T2; 28 const T2 t2; local 29 assert(t1 == t2); 30 assert(!(t1 != t2)); 34 typedef std::tuple<double> T2; 36 const T2 t2(1.1); 37 assert(!(t1 == t2)); 38 assert(t1 != t2); [all...] |
/external/clang/test/CXX/temp/temp.param/ |
p10.cpp | 6 template<class T1, class T2 = int> class B2; 7 template<class T1 = int, class T2> class B2;
|
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}}
|
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
Callbacks.java | 31 * @param <T2> the type of argument 2. 33 interface Callback2<T1, T2> { 37 public void call(T1 arg1, T2 arg2); 44 * @param <T2> the type of argument 2. 47 interface Callback3<T1, T2, T3> { 51 public void call(T1 arg1, T2 arg2, T3 arg3); 58 * @param <T2> the type of argument 2. 62 interface Callback4<T1, T2, T3, T4> { 66 public void call(T1 arg1, T2 arg2, T3 arg3, T4 arg4); 73 * @param <T2> the type of argument 2 [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/ |
if.hpp | 32 , typename T2 41 , typename T2 43 struct if_c<false,T1,T2> 45 typedef T2 type; 52 , typename BOOST_MPL_AUX_NA_PARAM(T2) 65 , T2 72 BOOST_MPL_AUX_LAMBDA_SUPPORT(3,if_,(T1,T2,T3)) 84 template< typename T1, typename T2 > struct result_ 93 template< typename T1, typename T2 > struct result_ 95 typedef T2 type [all...] |
same_as.hpp | 28 template< typename T2 > struct apply 30 : is_same<T1,T2> 34 typedef typename is_same<T1,T2>::type type; 42 template< typename T2 > struct apply 44 : not_< is_same<T1,T2> > 48 typedef typename not_< is_same<T1,T2> >::type type;
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/preprocessed/gcc/ |
and.hpp | 16 template< bool C_, typename T1, typename T2, typename T3, typename T4 > 22 template< typename T1, typename T2, typename T3, typename T4 > 23 struct and_impl< true,T1,T2,T3,T4 > 26 , T2, T3, T4 45 , typename BOOST_MPL_AUX_NA_PARAM(T2) 52 , T2, T3, T4, T5 59 , ( T1, T2, T3, T4, T5)
|
or.hpp | 16 template< bool C_, typename T1, typename T2, typename T3, typename T4 > 22 template< typename T1, typename T2, typename T3, typename T4 > 23 struct or_impl< false,T1,T2,T3,T4 > 26 , T2, T3, T4 45 , typename BOOST_MPL_AUX_NA_PARAM(T2) 52 , T2, T3, T4, T5 59 , ( T1, T2, T3, T4, T5)
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
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, Rest...) [all...] |
/external/clang/test/Sema/ |
align-x86.c | 47 } T2; 49 short chk1[sizeof(T2) == 4 ? 1 : -1]; 50 short chk2[sizeof(T2[1]) == 4 ? 1 : -1]; 51 short chk3[sizeof(T2[2]) == 8 ? 1 : -1]; 52 short chk4[sizeof(T2[2][1]) == 8 ? 1 : -1]; 53 short chk5[sizeof(T2[1][2]) == 8 ? 1 : -1];
|
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"); \
|