/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | p5.cpp | 12 template<typename... Types> 14 typedef pair<Types..., int> expand_with_pacs; // okay 15 …typedef pair<Types, int...> expand_no_packs; // expected-error{{pack expansion does not contain a… 16 …typedef pair<pair<Types..., int>..., int> expand_with_expanded_nested; // expected-error{{pack exp… 21 template<typename ...Types> 25 …typedef tuple<pair<Types, OtherTypes>...> type; // expected-error{{pack expansion contains paramet… 41 template<typename T, int N, typename ... Types> 43 …: public Types, public T // expected-error{{base type contains unexpanded parameter pack 'Types'}} 48 …typedef Types *types_pointer; // expected-error{{declaration type contains unexpanded parameter pa… 51 …typedef Types (^block_pointer_1)(int); // expected-error{{declaration type contains unexpanded par… [all …]
|
D | injected-class-name.cpp | 7 template<typename T, typename ...Types> 15 template<typename T, typename ...Types> 16 void X0<T, Types...>::f0(T) { } in f0() 18 template<typename T, typename ...Types> 19 typename X0<T, Types...>::type X0<T, Types...>::f1(T) { } in f1() 21 template<typename T, typename ...Types> 22 struct X0<T, T, Types...> { 30 template<typename T, typename ...Types> 31 typename X0<T, T, Types...>::result X0<T, T, Types...>::f3() { return 0; } in f3() 33 template<typename T, typename ...Types> [all …]
|
D | multi-level-substitution.cpp | 31 template<typename ...Types> 38 struct Inner<tuple<pair<Types, YTypes>...> > { 39 static const unsigned value = sizeof...(Types) - sizeof...(YTypes); 54 template<typename ...Types> 61 struct Inner<tuple<pair<Types, YTypes>...>, 62 unsigned_tuple<sizeof(Types) + sizeof(YTypes)...>> { 82 template<typename ...Types> 89 struct Inner<R(pair<Types, YTypes>...)> { 90 static const unsigned value = sizeof...(Types) - sizeof...(YTypes); 175 template<typename ...Types> [all …]
|
D | sizeofpack.cpp | 18 template<typename T, typename... Types> 19 array<sizeof...(Types)> make_array1(Types&&... args); 27 template<typename T, typename... Types> 28 int make_array(array<sizeof...(Types)>&, Types... args); 40 template<typename T, typename... Types> 41 static array<sizeof...(Types)> make_array(Types ... args);
|
D | metafunctions.cpp | 240 template<typename R, typename ...Types> 241 struct Arity<R(Types...)> { 242 static const unsigned value = sizeof...(Types); 245 template<typename R, typename ...Types> 246 …struct Arity<R(Types......)> { // expected-warning {{varargs}} expected-note {{pack}} expected-not… 247 static const unsigned value = sizeof...(Types); 266 template<template<typename ...> class TT, typename ...Types> 267 struct replace_with_int<TT<Types...>> { 268 typedef TT<typename replace_with_int<Types>::type...> type;
|
D | deduction.cpp | 5 template<unsigned I, typename ...Types> 8 template<typename ...Types> 9 void f0(X<sizeof...(Types), Types&...>) { } in f0() argument
|
D | p4.cpp | 3 template<typename... Types> struct tuple; 151 template<typename ...Types> 153 typedef tuple<Types& ...> types; 159 template<typename ...Types> 161 typedef tuple<typename Types::type...> types; 178 template<typename ...Types> 180 virtual void f() throw(Types...); // expected-note{{overridden virtual function is here}}
|
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
D | JDBCDatabaseMetaData.java | 624 Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, in getColumns() 625 Types.VARCHAR, Types.SMALLINT, Types.VARCHAR, in getColumns() 626 Types.INTEGER, Types.INTEGER, Types.INTEGER, in getColumns() 627 Types.INTEGER, Types.INTEGER, Types.VARCHAR, in getColumns() 628 Types.VARCHAR, Types.INTEGER, Types.INTEGER, in getColumns() 629 Types.INTEGER, Types.INTEGER, Types.VARCHAR in getColumns() 694 Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, in getColumnPrivileges() 695 Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, in getColumnPrivileges() 696 Types.VARCHAR, Types.VARCHAR in getColumnPrivileges() 714 Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, in getTablePrivileges() [all …]
|
D | JDBCResultSetMetaData.java | 25 case Types.SMALLINT: return "java.lang.Short"; in getColumnClassName() 26 case Types.INTEGER: return "java.lang.Integer"; in getColumnClassName() 27 case Types.REAL: in getColumnClassName() 28 case Types.DOUBLE: return "java.lang.Double"; in getColumnClassName() 29 case Types.FLOAT: return "java.lang.Float"; in getColumnClassName() 30 case Types.BIGINT: return "java.lang.Long"; in getColumnClassName() 31 case Types.DATE: return "java.sql.Date"; in getColumnClassName() 32 case Types.TIME: return "java.sql.Time"; in getColumnClassName() 33 case Types.TIMESTAMP: return "java.sql.Timestamp"; in getColumnClassName() 34 case Types.BINARY: in getColumnClassName() [all …]
|
/external/llvm/utils/ |
D | llvm.grm | 197 Types 200 | Types OptAddrSpace ^ "*" 203 | Types "(" ^ ArgTypeListI ^ ")" OptFuncAttrs 205 | "[" ^ EUINT64VAL "x" Types ^ "]" 206 | "<" ^ EUINT64VAL "x" Types ^ ">" 213 ArgType ::= Types OptParamAttrs ; 215 ResultTypes ::= Types | void ; 221 TypeListI ::= Types | TypeListI ^ "," Types ; 223 ConstVal::= Types "[" ^ ConstVector ^ "]" 224 | Types "[" ^ "]" [all …]
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypesTest.java | 51 ParameterizedType ourType = Types.newParameterizedType( in testNewParameterizedType_ownerTypeImplied() 60 ParameterizedType ourType = Types.newParameterizedType( in testNewParameterizedType() 73 Types.newArrayType(Types.newArrayType(int.class))), in testNewParameterizedType() 81 Type ourType = Types.newParameterizedType(LocalClass.class, String.class); in testNewParameterizedType_nonStaticLocalClass() 92 Type ourType = Types.newParameterizedType(LocalClass.class, String.class); in doTestNewParameterizedType_staticLocalClass() 99 ParameterizedType ourType = Types.newParameterizedTypeWithOwner( in testNewParameterizedTypeWithOwner() 115 SerializableTester.reserializeAndAssert(Types.newParameterizedType( in testNewParameterizedType_serializable() 121 Types.newParameterizedTypeWithOwner( in testNewParameterizedType_ownerMismatch() 129 Types.newParameterizedType(Map.Entry.class, String.class, Integer.class), in testNewParameterizedType_ownerMissing() 130 Types.newParameterizedTypeWithOwner( in testNewParameterizedType_ownerMissing() [all …]
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/ |
D | p12.cpp | 8 template<class ... Types> int &g(Tuple<Types ...>); // #1 9 template<class T1, class ... Types> float &g(Tuple<T1, Types ...>); // #2 10 template<class T1, class ... Types> double &g(Tuple<T1, Types& ...>); // #3 19 template<class ... Types> int &h(int (*)(Types ...)); // #1 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/CodeGenCXX/ |
D | mangle-variadic-templates.cpp | 3 template<unsigned I, typename ...Types> 8 template<typename ...Types> struct tuple { }; 13 template<typename ...Types> 14 void f0(X<sizeof...(Types), Types&...>) { } in f0() argument 22 template<typename ...Types> void f1() {} in f1() 31 template<typename ...Types> void f2(Types...) {} in f2() argument 40 template<typename ...Types> void f3(const Types *...) {} in f3() argument 49 template<typename ...Types> tuple<Types...> f4() {} in f4()
|
/external/clang/test/CXX/temp/temp.param/ |
D | p11-0x.cpp | 15 template<typename T = int, typename ...Types> struct X2t; 16 template<typename T = int, typename ...Types> using A2t = X2t<T, Types...>; 26 template<typename ...Types, // expected-error{{template parameter pack must be the last template pa… 30 template<typename ...Types, // expected-error{{template parameter pack must be the last template pa… 51 template<typename... Types> struct X1t; 52 template<typename ...Types, typename T> struct X1t<T, Types...> { }; 61 template<typename ...Types, typename T> 62 void f1t(X1t<T, Types...>);
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
D | p13.cpp | 5 template<typename ...Types> 6 void f0(Types ...args); 8 template<typename ...Types> 9 void f1(const Types &...args); 17 template<typename ...Types> 19 template<Types ...Values> struct Inner; 37 template<typename ...Types> 39 …Types ...members; // expected-error{{only function and template parameters can be parameter packs}…
|
D | p14.cpp | 4 template<typename ...Types> struct tuple; 21 template<typename T, typename ...Types> 23 typedef identity<T(Types...)> function_pack_1; 24 …typedef identity<T(Types......)> variadic_function_pack_1; // expected-warning {{varargs}} expecte… 26 typedef tuple<T(Types, ...)...> template_arg_expansion_1;
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
D | p9-0x.cpp | 3 template<typename ...Types> struct tuple; 22 template<typename ...Types> 23 struct tuple_same_with_int<tuple<Types...>, tuple<Types..., int>> { 31 template<typename ... Types> struct UselessPartialSpec; 33 template<typename ... Types, // expected-note{{non-deducible template parameter 'Types'}} 35 …struct UselessPartialSpec<Types..., Tail>; // expected-warning{{class template partial specializat…
|
D | p21.cpp | 15 template<class ... Types> struct Y { 19 template<class T, class ... Types> struct Y<T, Types& ...> { 23 template<class ... Types> int f(void (*)(Types ...));
|
/external/protobuf/gtest/test/ |
D | gtest-typed-test_test.cc | 89 using testing::Types; 94 typedef Types<char, int> TwoTypes; 145 TYPED_TEST_CASE(TypedTest2, Types<int>); 159 typedef Types<int, long> NumericTypes; 173 using testing::Types; 265 typedef Types<short, long> MyTwoTypes; 310 INSTANTIATE_TYPED_TEST_CASE_P(Int, TypedTestP2, Types<int>); 314 INSTANTIATE_TYPED_TEST_CASE_P(Double, TypedTestP2, Types<double>); 319 typedef Types<std::vector<double>, std::set<char> > MyContainers; 343 typedef Types<int, double> NumericTypes;
|
/external/gtest/test/ |
D | gtest-typed-test_test.cc | 89 using testing::Types; 94 typedef Types<char, int> TwoTypes; 145 TYPED_TEST_CASE(TypedTest2, Types<int>); 159 typedef Types<int, long> NumericTypes; 173 using testing::Types; 265 typedef Types<short, long> MyTwoTypes; 310 INSTANTIATE_TYPED_TEST_CASE_P(Int, TypedTestP2, Types<int>); 314 INSTANTIATE_TYPED_TEST_CASE_P(Double, TypedTestP2, Types<double>); 319 typedef Types<std::vector<double>, std::set<char> > MyContainers; 343 typedef Types<int, double> NumericTypes;
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest-typed-test_test.cc | 89 using testing::Types; 94 typedef Types<char, int> TwoTypes; 145 TYPED_TEST_CASE(TypedTest2, Types<int>); 159 typedef Types<int, long> NumericTypes; 173 using testing::Types; 265 typedef Types<short, long> MyTwoTypes; 310 INSTANTIATE_TYPED_TEST_CASE_P(Int, TypedTestP2, Types<int>); 314 INSTANTIATE_TYPED_TEST_CASE_P(Double, TypedTestP2, Types<double>); 319 typedef Types<std::vector<double>, std::set<char> > MyContainers; 343 typedef Types<int, double> NumericTypes;
|
/external/protobuf/gtest/include/gtest/ |
D | gtest-typed-test.h | 57 typedef testing::Types<char, int, unsigned int> MyTypes; 140 typedef testing::Types<char, int, unsigned int> MyTypes; 165 #define TYPED_TEST_CASE(CaseName, Types) \ argument 166 typedef ::testing::internal::TypeList< Types >::type \ 250 #define INSTANTIATE_TYPED_TEST_CASE_P(Prefix, CaseName, Types) \ argument 254 ::testing::internal::TypeList< Types >::type>::Register(\
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest-typed-test.h | 57 typedef testing::Types<char, int, unsigned int> MyTypes; 140 typedef testing::Types<char, int, unsigned int> MyTypes; 165 # define TYPED_TEST_CASE(CaseName, Types) \ argument 166 typedef ::testing::internal::TypeList< Types >::type \ 250 # define INSTANTIATE_TYPED_TEST_CASE_P(Prefix, CaseName, Types) \ argument 254 ::testing::internal::TypeList< Types >::type>::Register(\
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
D | gtest-typed-test.h | 57 typedef testing::Types<char, int, unsigned int> MyTypes; 140 typedef testing::Types<char, int, unsigned int> MyTypes; 165 # define TYPED_TEST_CASE(CaseName, Types) \ argument 166 typedef ::testing::internal::TypeList< Types >::type \ 250 # define INSTANTIATE_TYPED_TEST_CASE_P(Prefix, CaseName, Types) \ argument 254 ::testing::internal::TypeList< Types >::type>::Register(\
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-typed-test.h | 57 typedef testing::Types<char, int, unsigned int> MyTypes; 140 typedef testing::Types<char, int, unsigned int> MyTypes; 165 # define TYPED_TEST_CASE(CaseName, Types) \ argument 166 typedef ::testing::internal::TypeList< Types >::type \ 253 # define INSTANTIATE_TYPED_TEST_CASE_P(Prefix, CaseName, Types) \ argument 257 ::testing::internal::TypeList< Types >::type>::Register(\
|