/external/clang/test/CodeGen/ |
mips-zero-sized-struct.c | 8 // O32: define void @fn28(%struct.T2* noalias sret %agg.result, i8 signext %arg0) 12 typedef struct T2 { } T2; 13 T2 T2_retval; 14 T2 fn28(char arg0) {
|
/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!");
|
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/ |
documentation.cpp | 8 class T2 { 22 T2 t2; local 23 t2. 28 // CHECK-CC1: COMPLETION: T2 : T2 : Bbb.
|
/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&)>
|
/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; 38 static_assert(std::is_signed<T2>::value, "Expected T2 to be signed"); 45 template<typename T1, typename T2> [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/ |
eq.pass.cpp | 30 typedef std::tuple<> T2; 32 const T2 t2; local 33 assert(t1 == t2); 34 assert(!(t1 != t2)); 38 typedef std::tuple<double> T2; 40 const T2 t2(1.1); 41 assert(!(t1 == t2)); 42 assert(t1 != t2); [all...] |
lt.pass.cpp | 42 typedef std::tuple<> T2; 44 const T2 t2; local 45 assert(!(t1 < t2)); 46 assert( (t1 <= t2)); 47 assert(!(t1 > t2)); 48 assert( (t1 >= t2)); 52 typedef std::tuple<double> T2; 54 const T2 t2(1) [all...] |
/external/clang/test/Parser/ |
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'}} 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 | 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/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}}
|
p11.cpp | 6 class T2> // expected-error{{template parameter missing a default argument}}
|
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
Callbacks.java | 41 * @param <T2> the type of argument 2. 43 interface Callback2<T1, T2> { 47 public void call(T1 arg1, T2 arg2); 54 * @param <T2> the type of argument 2. 57 interface Callback3<T1, T2, T3> { 61 public void call(T1 arg1, T2 arg2, T3 arg3); 68 * @param <T2> the type of argument 2. 72 interface Callback4<T1, T2, T3, T4> { 76 public void call(T1 arg1, T2 arg2, T3 arg3, T4 arg4); 83 * @param <T2> the type of argument 2 [all...] |
/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 | 49 } T2; 51 short chk1[sizeof(T2) == 4 ? 1 : -1]; 52 short chk2[sizeof(T2[1]) == 4 ? 1 : -1]; 53 short chk3[sizeof(T2[2]) == 8 ? 1 : -1]; 54 short chk4[sizeof(T2[2][1]) == 8 ? 1 : -1]; 55 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"); \
|
/external/libcxx/test/std/utilities/utility/pairs/pair.astuple/ |
tuple_element.pass.cpp | 12 // template <class T1, class T2> struct pair 14 // tuple_element<I, pair<T1, T2> >::type 18 template <class T1, class T2> 23 typedef T2 Exp2; 24 typedef std::pair<T1, T2> P; 30 typedef T2 const Exp2; 31 typedef std::pair<T1, T2> const P; 37 typedef T2 volatile Exp2; 38 typedef std::pair<T1, T2> volatile P; 44 typedef T2 const volatile Exp2 [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/utility/pairs/pair.astuple/ |
tuple_element.pass.cpp | 12 // template <class T1, class T2> struct pair 14 // tuple_element<I, pair<T1, T2> >::type 18 template <class T1, class T2> 23 typedef T2 Exp2; 24 typedef std::pair<T1, T2> P; 30 typedef T2 const Exp2; 31 typedef std::pair<T1, T2> const P; 37 typedef T2 volatile Exp2; 38 typedef std::pair<T1, T2> volatile P; 44 typedef T2 const volatile Exp2 [all...] |
/packages/apps/Camera2/src/com/android/camera/async/ |
Futures2.java | 36 public interface AsyncFunction2<T1, T2, TResult> { 37 ListenableFuture<TResult> apply(T1 value1, T2 value2) throws Exception; 43 public interface AsyncFunction3<T1, T2, T3, TResult> { 44 ListenableFuture<TResult> apply(T1 value1, T2 value2, T3 value3) throws Exception; 50 public interface Function2<T1, T2, TResult> { 51 TResult apply(T1 value1, T2 value2); 57 public interface Function3<T1, T2, T3, TResult> { 58 TResult apply(T1 value1, T2 value2, T3 value3); 86 public static <T1, T2, TResult> ListenableFuture<TResult> joinAll( 88 final ListenableFuture<T2> f2 [all...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
p22.cpp | 9 template<class T1, class T2> double& f(T1 a1, T2 a2);
|