Home
last modified time | relevance | path

Searched refs:Types (Results 1 – 25 of 1484) sorted by relevance

12345678910>>...60

/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dp5.cpp12 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 …]
Dinjected-class-name.cpp7 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 …]
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCDatabaseMetaData.java624 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 …]
DJDBCResultSetMetaData.java25 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/swiftshader/third_party/LLVM/utils/
Dllvm.grm196 Types
199 | Types OptAddrSpace ^ "*"
202 | Types "(" ^ ArgTypeListI ^ ")" OptFuncAttrs
204 | "[" ^ EUINT64VAL "x" Types ^ "]"
205 | "<" ^ EUINT64VAL "x" Types ^ ">"
212 ArgType ::= Types OptParamAttrs ;
214 ResultTypes ::= Types | void ;
220 TypeListI ::= Types | TypeListI ^ "," Types ;
222 ConstVal::= Types "[" ^ ConstVector ^ "]"
223 | Types "[" ^ "]"
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dllvm.grm197 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/llvm/utils/
Dllvm.grm197 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/
DTypesTest.java51 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/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyTargetStreamer.cpp38 static void PrintTypes(formatted_raw_ostream &OS, ArrayRef<MVT> Types) { in PrintTypes() argument
40 for (MVT Type : Types) { in PrintTypes()
50 void WebAssemblyTargetAsmStreamer::emitParam(ArrayRef<MVT> Types) { in emitParam() argument
52 PrintTypes(OS, Types); in emitParam()
55 void WebAssemblyTargetAsmStreamer::emitResult(ArrayRef<MVT> Types) { in emitResult() argument
57 PrintTypes(OS, Types); in emitResult()
60 void WebAssemblyTargetAsmStreamer::emitLocal(ArrayRef<MVT> Types) { in emitLocal() argument
62 PrintTypes(OS, Types); in emitLocal()
79 static void EncodeTypes(MCStreamer &Streamer, ArrayRef<MVT> Types) { in EncodeTypes() argument
80 Streamer.EmitIntValue(Types.size(), sizeof(uint64_t)); in EncodeTypes()
[all …]
DWebAssemblyTargetStreamer.h33 virtual void emitParam(ArrayRef<MVT> Types) = 0;
35 virtual void emitResult(ArrayRef<MVT> Types) = 0;
37 virtual void emitLocal(ArrayRef<MVT> Types) = 0;
55 void emitParam(ArrayRef<MVT> Types) override;
56 void emitResult(ArrayRef<MVT> Types) override;
57 void emitLocal(ArrayRef<MVT> Types) override;
69 void emitParam(ArrayRef<MVT> Types) override;
70 void emitResult(ArrayRef<MVT> Types) override;
71 void emitLocal(ArrayRef<MVT> Types) override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DLegalityPredicates.cpp20 [=](const LegalityQuery &Query) { return Query.Types[TypeIdx] == Type; }; in typeIs()
26 SmallVector<LLT, 4> Types = TypesInit; in typeInSet() local
28 return std::find(Types.begin(), Types.end(), Query.Types[TypeIdx]) != Types.end(); in typeInSet()
35 SmallVector<std::pair<LLT, LLT>, 4> Types = TypesInit; in typePairInSet() local
37 std::pair<LLT, LLT> Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1]}; in typePairInSet()
38 return std::find(Types.begin(), Types.end(), Match) != Types.end(); in typePairInSet()
47 TypePairAndMemSize Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1], in typePairAndMemSizeInSet()
56 return Query.Types[TypeIdx].isScalar(); in isScalar()
63 const LLT &QueryTy = Query.Types[TypeIdx]; in narrowerThan()
71 const LLT &QueryTy = Query.Types[TypeIdx]; in widerThan()
[all …]
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/
Dp12.cpp8 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/google-fruit/include/fruit/impl/meta/
Dalgos.h33 template <typename... Types>
38 template <typename Type, typename... Types>
39 struct apply<Type, Types...> {
40 … using type = Or(StaticOr<std::is_same<Type, Types>::value...>, Id<HasDuplicatesHelper(Types...)>);
48 template <typename... Types>
49 struct apply<Vector<Types...>> {
50 using type = HasDuplicatesHelper(Types...);
61 template <typename... Types>
62 struct apply<Vector<Types...>> {
63 using M = VectorsToImmutableMap(Vector<Types...>, GenerateIntSequence(Int<sizeof...(Types)>));
[all …]
/external/harfbuzz_ng/src/
Dhb-aat-layout-morx-table.hh48 template <typename Types>
51 typedef typename Types::HBUINT HBUINT;
76 bool is_actionable (StateTableDriver<Types, EntryData> *driver HB_UNUSED, in is_actionable()
81 bool transition (StateTableDriver<Types, EntryData> *driver, in transition()
172 StateTableDriver<Types, EntryData> driver (machine, c->buffer, c->face); in apply()
185 StateTable<Types, EntryData> machine;
190 template <typename Types>
193 typedef typename Types::HBUINT HBUINT;
225 bool is_actionable (StateTableDriver<Types, EntryData> *driver, in is_actionable()
235 bool transition (StateTableDriver<Types, EntryData> *driver, in transition()
[all …]
/external/clang/test/CodeGenCXX/
Dmangle-variadic-templates.cpp3 template<unsigned I, typename ...Types>
8 template<typename ...Types> struct tuple { };
14 template<typename ...Types>
15 void f0(X<sizeof...(Types), Types&...>) { } in f0() argument
23 template<typename ...Types> void f1() {} in f1()
32 template<typename ...Types> void f2(Types...) {} in f2() argument
41 template<typename ...Types> void f3(const Types *...) {} in f3() argument
50 template<typename ...Types> tuple<Types...> f4() {} in f4()
/external/grpc-grpc/src/csharp/Grpc.HealthCheck.Tests/
DHealthServiceImplTest.cs38 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Serving); in SetStatus()
39 … Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Serving, GetStatusHelper(impl, "")); in SetStatus()
41 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.NotServing); in SetStatus()
42 … Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.NotServing, GetStatusHelper(impl, "")); in SetStatus()
44 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Unknown); in SetStatus()
45 … Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Unknown, GetStatusHelper(impl, "")); in SetStatus()
47 … impl.SetStatus("grpc.test.TestService", HealthCheckResponse.Types.ServingStatus.Serving); in SetStatus()
48 …Assert.AreEqual(HealthCheckResponse.Types.ServingStatus.Serving, GetStatusHelper(impl, "grpc.test.… in SetStatus()
55 impl.SetStatus("", HealthCheckResponse.Types.ServingStatus.Serving); in ClearStatus()
56 … impl.SetStatus("grpc.test.TestService", HealthCheckResponse.Types.ServingStatus.Unknown); in ClearStatus()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs132 private static FieldType GetFieldTypeFromProtoType(FieldDescriptorProto.Types.Type type) in GetFieldTypeFromProtoType()
136 case FieldDescriptorProto.Types.Type.Double: in GetFieldTypeFromProtoType()
138 case FieldDescriptorProto.Types.Type.Float: in GetFieldTypeFromProtoType()
140 case FieldDescriptorProto.Types.Type.Int64: in GetFieldTypeFromProtoType()
142 case FieldDescriptorProto.Types.Type.Uint64: in GetFieldTypeFromProtoType()
144 case FieldDescriptorProto.Types.Type.Int32: in GetFieldTypeFromProtoType()
146 case FieldDescriptorProto.Types.Type.Fixed64: in GetFieldTypeFromProtoType()
148 case FieldDescriptorProto.Types.Type.Fixed32: in GetFieldTypeFromProtoType()
150 case FieldDescriptorProto.Types.Type.Bool: in GetFieldTypeFromProtoType()
152 case FieldDescriptorProto.Types.Type.String: in GetFieldTypeFromProtoType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyTargetStreamer.cpp42 static void PrintTypes(formatted_raw_ostream &OS, ArrayRef<MVT> Types) { in PrintTypes() argument
44 for (MVT Type : Types) { in PrintTypes()
55 ArrayRef<MVT> Types) { in emitParam() argument
56 if (!Types.empty()) { in emitParam()
62 PrintTypes(OS, Types); in emitParam()
67 ArrayRef<MVT> Types) { in emitResult() argument
68 if (!Types.empty()) { in emitResult()
74 PrintTypes(OS, Types); in emitResult()
78 void WebAssemblyTargetAsmStreamer::emitLocal(ArrayRef<MVT> Types) { in emitLocal() argument
79 if (!Types.empty()) { in emitLocal()
[all …]
/external/clang/test/CXX/temp/temp.param/
Dp11-0x.cpp15 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/
Dp13.cpp5 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>
39Types ...members; // expected-error{{only function and template parameters can be parameter packs}…
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h121 ArrayRef<LLT> Types; member
132 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types, in LegalityQuery()
134 : Opcode(Opcode), Types(Types), MMODescrs(MMODescrs) {} in LegalityQuery()
135 constexpr LegalityQuery(unsigned Opcode, const ArrayRef<LLT> Types) in LegalityQuery()
136 : LegalityQuery(Opcode, Types, {}) {} in LegalityQuery()
327 std::initializer_list<LLT> Types) { in actionFor() argument
329 return actionIf(Action, typeInSet(typeIdx(0), Types)); in actionFor()
334 std::initializer_list<LLT> Types, in actionFor() argument
337 return actionIf(Action, typeInSet(typeIdx(0), Types), Mutation); in actionFor()
343 std::initializer_list<std::pair<LLT, LLT>> Types) { in actionFor() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/CodeView/
DRandomAccessVisitorTest.cpp132 bool ValidateDatabaseRecord(LazyRandomTypeCollection &Types, uint32_t Index) { in ValidateDatabaseRecord() argument
134 if (!Types.contains(TI)) in ValidateDatabaseRecord()
136 if (GlobalState->TypeVector[Index] != Types.getType(TI)) in ValidateDatabaseRecord()
209 LazyRandomTypeCollection Types(GlobalState->TypeArray, in TEST_F() local
217 CVType T = Types.getType(TI); in TEST_F()
223 EXPECT_EQ(8u, Types.size()); in TEST_F()
225 EXPECT_TRUE(ValidateDatabaseRecord(Types, I)); in TEST_F()
241 LazyRandomTypeCollection Types(GlobalState->TypeArray, in TEST_F() local
246 CVType T = Types.getType(TI); in TEST_F()
252 EXPECT_EQ(8u, Types.size()); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DCVTypeVisitor.cpp82 Error visitTypeStream(const CVTypeArray &Types);
83 Error visitTypeStream(CVTypeRange Types);
84 Error visitTypeStream(TypeCollection &Types);
143 Error CVTypeVisitor::visitTypeStream(const CVTypeArray &Types) { in visitTypeStream() argument
144 for (auto I : Types) { in visitTypeStream()
151 Error CVTypeVisitor::visitTypeStream(CVTypeRange Types) { in visitTypeStream() argument
152 for (auto I : Types) { in visitTypeStream()
159 Error CVTypeVisitor::visitTypeStream(TypeCollection &Types) { in visitTypeStream() argument
160 Optional<TypeIndex> I = Types.getFirst(); in visitTypeStream()
162 CVType Type = Types.getType(*I); in visitTypeStream()
[all …]
DTypeStreamMerger.cpp79 const CVTypeArray &Types);
90 Error mergeTypeRecords(GlobalTypeTableBuilder &Dest, const CVTypeArray &Types,
94 Error doit(const CVTypeArray &Types);
96 Error remapAllTypes(const CVTypeArray &Types);
245 const CVTypeArray &Types) { in mergeTypeRecords() argument
249 return doit(Types); in mergeTypeRecords()
273 const CVTypeArray &Types, in mergeTypeRecords() argument
279 return doit(Types); in mergeTypeRecords()
305 Error TypeStreamMerger::doit(const CVTypeArray &Types) { in doit() argument
306 if (auto EC = remapAllTypes(Types)) in doit()
[all …]
/external/guice/core/test/com/google/inject/util/
DTypesTest.java22 import static com.google.inject.util.Types.subtypeOf;
23 import static com.google.inject.util.Types.supertypeOf;
70 assertEqualsBothWays(mapStringInteger, Types.mapOf(String.class, Integer.class)); in testListSetMap()
71 assertEqualsBothWays(listString, Types.listOf(String.class)); in testListSetMap()
72 assertEqualsBothWays(setString, Types.setOf(String.class)); in testListSetMap()
77 ParameterizedType parameterizedType = Types.newParameterizedType(Map.class, arguments); in testDefensiveCopies()
86 Types.newParameterizedTypeWithOwner( in testTypeWithOwnerType()
103 Types.newParameterizedType(Map.class, String.class, int.class); in testTypeParametersMustNotBePrimitives()
153 Types.newParameterizedType(Map.class, String.class, Integer.class); in testEqualsAndHashcode()
158 Types.arrayOf(Types.arrayOf(Types.newParameterizedType(Set.class, String.class))); in testEqualsAndHashcode()
[all …]

12345678910>>...60