Home
last modified time | relevance | path

Searched refs:generic_type (Results 1 - 9 of 9) sorted by relevance

/third_party/node/deps/v8/src/torque/
H A Dtype-oracle.cc38 const Type* TypeOracle::GetGenericTypeInstance(GenericType* generic_type, in GetGenericTypeInstance() argument
40 auto& params = generic_type->generic_parameters(); in GetGenericTypeInstance()
47 if (auto specialization = generic_type->GetSpecialization(arg_types)) { in GetGenericTypeInstance()
56 CurrentScope::Scope generic_scope(generic_type->ParentScope()); in GetGenericTypeInstance()
57 type = TypeVisitor::ComputeType(generic_type->declaration(), in GetGenericTypeInstance()
58 {{generic_type, arg_types}}, in GetGenericTypeInstance()
61 generic_type->AddSpecialization(arg_types, type); in GetGenericTypeInstance()
H A Dtype-visitor.cc363 auto* generic_type = in ComputeType() local
365 type = TypeOracle::GetGenericTypeInstance(generic_type, in ComputeType()
367 pos = generic_type->declaration()->name->pos; in ComputeType()
369 KytheData::AddTypeUse(basic->name->pos, generic_type); in ComputeType()
523 auto generic_type = *maybe_generic_type; in ComputeTypeForStructExpression() local
533 CurrentScope::Scope generic_scope(generic_type->ParentScope()); in ComputeTypeForStructExpression()
535 generic_type->generic_parameters(), explicit_type_arguments, in ComputeTypeForStructExpression()
545 generic_type->declaration()->name->pos); in ComputeTypeForStructExpression()
548 TypeOracle::GetGenericTypeInstance(generic_type, inference.GetResult())); in ComputeTypeForStructExpression()
H A Dtype-inference.cc96 GenericType* generic_type = in MatchGeneric() local
99 if (!specialized_from || specialized_from->generic != generic_type) { in MatchGeneric()
H A Dtype-oracle.h81 static const Type* GetGenericTypeInstance(GenericType* generic_type,
H A Ddeclarable.h643 DECLARE_DECLARABLE_BOILERPLATE(GenericType, generic_type)
H A Dimplementation-visitor.cc2305 auto generic_type = in GenerateFieldAccess() local
2307 if (!generic_type) { in GenerateFieldAccess()
2313 if (auto struct_type = (*generic_type)->StructSupertype()) { in GenerateFieldAccess()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Danon_enum_trait.rs18 DataType__bindgen_ty_1::generic_type;
20 DataType__bindgen_ty_1::generic_type;
22 DataType__bindgen_ty_1::generic_type;
24 DataType__bindgen_ty_1::generic_type;
26 DataType__bindgen_ty_1::generic_type;
30 generic_type = 0,
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Danon_enum_trait.hpp10 enum { generic_type = 1, enumerator
/third_party/node/deps/v8/src/maglev/
H A Dmaglev-graph-builder.cc132 using generic_type = Generic##Name; \
139 typename NodeForOperationHelper<kOperation>::generic_type;

Completed in 17 milliseconds