/external/clang/test/Sema/ |
PR2919-builtin-types-compat-strips-crv.c | 4 typedef const struct foo T1; 7 const T1) ? 1 : -1];
|
/external/clang/test/CodeGen/ |
2007-02-04-AddrLValue.c | 8 } T1; 16 T1 a[] =
|
struct-passing.c | 8 typedef struct { int a[16]; } T1; 12 T1 __attribute__((const)) f2(void); 13 T1 __attribute__((pure)) f3(void); 14 void __attribute__((const)) f4(T1 a); 15 void __attribute__((pure)) f5(T1 a);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/ |
aligned_storage.pass.cpp | 19 typedef std::aligned_storage<10, 1 >::type T1; 21 static_assert(std::is_same<std::aligned_storage_t<10, 1>, T1>::value, "" ); 23 static_assert(std::alignment_of<T1>::value == 1, ""); 24 static_assert(sizeof(T1) == 10, ""); 27 typedef std::aligned_storage<10, 2 >::type T1; 29 static_assert(std::is_same<std::aligned_storage_t<10, 2>, T1>::value, "" ); 31 static_assert(std::alignment_of<T1>::value == 2, ""); 32 static_assert(sizeof(T1) == 10, ""); 35 typedef std::aligned_storage<10, 4 >::type T1; 37 static_assert(std::is_same<std::aligned_storage_t<10, 4>, T1>::value, "" ) [all...] |
aligned_union.pass.cpp | 20 typedef std::aligned_union<10, char >::type T1; 22 static_assert(std::is_same<std::aligned_union_t<10, char>, T1>::value, "" ); 24 static_assert(std::alignment_of<T1>::value == 1, ""); 25 static_assert(sizeof(T1) == 10, ""); 28 typedef std::aligned_union<10, short >::type T1; 30 static_assert(std::is_same<std::aligned_union_t<10, short>, T1>::value, "" ); 32 static_assert(std::alignment_of<T1>::value == 2, ""); 33 static_assert(sizeof(T1) == 10, ""); 36 typedef std::aligned_union<10, int >::type T1; 38 static_assert(std::is_same<std::aligned_union_t<10, int>, T1>::value, "" ) [all...] |
/external/clang/test/SemaCXX/ |
instantiate-blocks.cpp | 4 template <typename T, typename T1> void foo(T t, T1 r) 7 __block T1 byref_block_arg; 9 T1 (^block)(T) = ^ T1 (T arg) { 16 template <typename T, typename T1> void noret(T t, T1 r)
|
PR10243.cpp | 10 struct T1 { 12 T1(const T1&) = default;
|
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}}
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
aligned_storage.pass.cpp | 19 typedef std::aligned_storage<10, 1 >::type T1; 21 static_assert(std::is_same<std::aligned_storage_t<10, 1>, T1>::value, "" ); 23 static_assert(std::alignment_of<T1>::value == 1, ""); 24 static_assert(sizeof(T1) == 10, ""); 27 typedef std::aligned_storage<10, 2 >::type T1; 29 static_assert(std::is_same<std::aligned_storage_t<10, 2>, T1>::value, "" ); 31 static_assert(std::alignment_of<T1>::value == 2, ""); 32 static_assert(sizeof(T1) == 10, ""); 35 typedef std::aligned_storage<10, 4 >::type T1; 37 static_assert(std::is_same<std::aligned_storage_t<10, 4>, T1>::value, "" ) [all...] |
aligned_union.pass.cpp | 20 typedef std::aligned_union<10, char >::type T1; 22 static_assert(std::is_same<std::aligned_union_t<10, char>, T1>::value, "" ); 24 static_assert(std::alignment_of<T1>::value == 1, ""); 25 static_assert(sizeof(T1) == 10, ""); 28 typedef std::aligned_union<10, short >::type T1; 30 static_assert(std::is_same<std::aligned_union_t<10, short>, T1>::value, "" ); 32 static_assert(std::alignment_of<T1>::value == 2, ""); 33 static_assert(sizeof(T1) == 10, ""); 36 typedef std::aligned_union<10, int >::type T1; 38 static_assert(std::is_same<std::aligned_union_t<10, int>, T1>::value, "" ) [all...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/ |
p12.cpp | 9 template<class T1, class ... Types> float &g(Tuple<T1, Types ...>); // #2 10 template<class T1, class ... Types> double &g(Tuple<T1, Types& ...>); // #3 20 template<class T1, class ... Types> float &h(int (*)(T1, Types ...)); // #2 21 template<class T1, class ... Types> double &h(int (*)(T1, Types& ...)); // #3
|
/external/clang/test/Parser/ |
cxx0x-member-initializers.cpp | 31 template <typename, typename> struct T1 { enum {V};}; 34 T1<int, int> a1 = T1<int, int>(), *a2 = new T1<int,int>; 37 bool d1 = T1<int, T1<int, int>>::V < 3, d2; 38 T1<int, int()> e = T1<int, int()>();
|
cxx-template-argument.cpp | 57 template<class T1, typename T2> struct Known { }; // expected-note 3 {{template is declared here}} 58 template<class T1, typename T2> struct X; 59 template<class T1, typename T2> struct ABC; // expected-note {{template is declared here}} 62 template<class T1, typename T2> struct foo : 63 UnknownBase<T1,T2> // expected-error {{unknown template name 'UnknownBase'}} 66 template<class T1, typename T2> struct foo2 : 67 UnknownBase<T1,T2>, // expected-error {{unknown template name 'UnknownBase'}} 68 Known<T1> // expected-error {{too few template arguments for class template 'Known'}} 71 template<class T1, typename T2> struct foo3 : 72 UnknownBase<T1,T2,ABC<T2,T1> > // expected-error {{unknown template name 'UnknownBase'} [all...] |
cxx-default-args.cpp | 20 template <typename A, typename B> struct T1 { enum {V};}; 25 void f1(T1<int, int> = T1<int, int>()); 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); 31 void f7(bool a = T1<int, bool>::V < 3); 32 void f8(int = func<0,1<2>(0), int = 1<0, T1<int,int>(int) = 0);
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
p22.cpp | 8 template<class T1, class ... Args> float& f(T1 a1, Args ... args); 9 template<class T1, class T2> double& f(T1 a1, T2 a2);
|
/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/clang/test/SemaTemplate/ |
ext_ms_template_spec.cpp | 8 template <class T1, class T2> 23 template <class T1> 24 class A::ClassTemplatePartial<T1, T1 *> {}; // expected-warning {{class template partial specialization of 'ClassTemplatePartial' outside namespace enclosing 'A' is a Microsoft extension}}
|
/art/runtime/interpreter/ |
safe_math.h | 27 template <typename T1, typename T2> 29 typedef typename std::conditional<sizeof(T1) >= sizeof(T2), T1, T2>::type type; 33 template<template <typename OpT> class Op, typename T1, typename T2> 34 static inline typename select_bigger<T1, T2>::type SafeMath(T1 a, T2 b) { 35 typedef typename select_bigger<T1, T2>::type biggest_T; 37 static_assert(std::is_signed<T1>::value, "Expected T1 to be signed"); 45 template<typename T1, typename T2 [all...] |
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/ |
p10.cpp | 4 typedef int& T1; 10 mutable T1 f3; // expected-error{{'mutable' cannot be applied to references}}
|
/external/clang/test/CXX/temp/temp.param/ |
p10-0x.cpp | 7 template<class T1, class T2 = int> using B2 = T1; 8 template<class T1 = int, class T2> using B2 = T1;
|
p10.cpp | 6 template<class T1, class T2 = int> class B2; 7 template<class T1 = int, class T2> class B2;
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/ |
eq.pass.cpp | 27 typedef std::tuple<> T1; 29 const T1 t1; local 31 assert(t1 == t2); 32 assert(!(t1 != t2)); 35 typedef std::tuple<int> T1; 37 const T1 t1(1); 39 assert(!(t1 == t2)); 40 assert(t1 != t2) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.rel/ |
eq.pass.cpp | 25 typedef std::tuple<> T1; 27 const T1 t1; local 29 assert(t1 == t2); 30 assert(!(t1 != t2)); 33 typedef std::tuple<int> T1; 35 const T1 t1(1); 37 assert(!(t1 == t2)); 38 assert(t1 != t2) [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/ |
if.hpp | 31 , typename T1 36 typedef T1 type; 40 typename T1 43 struct if_c<false,T1,T2> 51 typename BOOST_MPL_AUX_NA_PARAM(T1) 61 BOOST_MPL_AUX_VALUE_WKND(T1)::value 63 BOOST_MPL_AUX_STATIC_CAST(bool, BOOST_MPL_AUX_VALUE_WKND(T1)::value) 72 BOOST_MPL_AUX_LAMBDA_SUPPORT(3,if_,(T1,T2,T3)) 84 template< typename T1, typename T2 > struct result_ 86 typedef T1 type [all...] |
/external/valgrind/memcheck/tests/ |
demangle.cpp | 4 template <typename T1, typename T2> 7 T1 xyzzy(T1 *p, T2 *)
|