Home
last modified time | relevance | path

Searched defs:TypeParam (Results 1 – 25 of 62) sorted by relevance

123

/aosp_15_r20/prebuilts/go/linux-x86/src/go/types/
Dtypeparam.go22 type TypeParam struct { struct
23 check *Checker // for lazy type bound completion
24 id uint64 // unique id, for debugging only
25 obj *TypeName // corresponding type name
26 index int // type parameter index in source order, starting at 0
27 … // any type, but underlying is eventually *Interface for correct programs (see TypeParam.iface)
63 func (t *TypeParam) Obj() *TypeName { return t.obj }
67 func (t *TypeParam) Index() int {
72 func (t *TypeParam) Constraint() Type {
82 func (t *TypeParam) SetConstraint(bound Type) {
[all …]
Dinfer.go34 func (check *Checker) infer(posn positioner, tparams []*TypeParam, targs []Type, params *Tuple, arg…
462 func (check *Checker) renameTParams(pos token.Pos, tparams []*TypeParam, typ Type) ([]*TypeParam, T…
511 func typeParamsString(list []*TypeParam) string {
539 func isParameterized(tparams []*TypeParam, typ Type) bool {
646 func coreTerm(tpar *TypeParam) (*term, bool) {
685 func killCycles(tparams []*TypeParam, inferred []Type) {
791 func tparamIndex(list []*TypeParam, tpar *TypeParam) int {
Dsubst.go20 func makeSubstMap(tpars []*TypeParam, targs []Type) substMap {
31 func makeRenameMap(from, to []*TypeParam) substMap {
44 func (m substMap) lookup(tpar *TypeParam) Type {
Dbadlinkname.go20 func badlinkname_Checker_infer(*Checker, positioner, []*TypeParam, []Type, *Tuple, []*operand, bool…
Dtypelists.go61 func bindTParams(list []*TypeParam) *TypeParamList {
Dinstantiate.go204 func (check *Checker) verify(pos token.Pos, tparams []*TypeParam, targs []Type, ctxt *Context) (int…
Dsignature.go49 func NewSignatureType(recv *Var, recvTypeParams, typeParams []*TypeParam, params, results *Tuple, v…
Dunify.go91 func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/types2/
Dtypeparam.go19 type TypeParam struct { struct
20 check *Checker // for lazy type bound completion
21 id uint64 // unique id, for debugging only
22 obj *TypeName // corresponding type name
23 index int // type parameter index in source order, starting at 0
24 … // any type, but underlying is eventually *Interface for correct programs (see TypeParam.iface)
60 func (t *TypeParam) Obj() *TypeName { return t.obj }
64 func (t *TypeParam) Index() int {
69 func (t *TypeParam) Constraint() Type {
79 func (t *TypeParam) SetConstraint(bound Type) {
[all …]
Dinfer.go31 func (check *Checker) infer(pos syntax.Pos, tparams []*TypeParam, targs []Type, params *Tuple, args…
459 func (check *Checker) renameTParams(pos syntax.Pos, tparams []*TypeParam, typ Type) ([]*TypeParam, …
508 func typeParamsString(list []*TypeParam) string {
536 func isParameterized(tparams []*TypeParam, typ Type) bool {
643 func coreTerm(tpar *TypeParam) (*term, bool) {
682 func killCycles(tparams []*TypeParam, inferred []Type) {
788 func tparamIndex(list []*TypeParam, tpar *TypeParam) int {
Dsubst.go17 func makeSubstMap(tpars []*TypeParam, targs []Type) substMap {
28 func makeRenameMap(from, to []*TypeParam) substMap {
41 func (m substMap) lookup(tpar *TypeParam) Type {
Dtypelists.go58 func bindTParams(list []*TypeParam) *TypeParamList {
Dinstantiate.go201 func (check *Checker) verify(pos syntax.Pos, tparams []*TypeParam, targs []Type, ctxt *Context) (in…
Dsignature.go38 func NewSignatureType(recv *Var, recvTypeParams, typeParams []*TypeParam, params, results *Tuple, v…
Dunify.go88 func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
/aosp_15_r20/external/rust/android-crates-io/crates/darling_core/src/ast/
Dgenerics.rs16 type TypeParam; typedef
21 fn as_type_param(&self) -> Option<&Self::TypeParam> { in as_type_param()
37 type TypeParam = syn::TypeParam; typedef
41 fn as_type_param(&self) -> Option<&Self::TypeParam> { in as_type_param()
66 impl GenericParamExt for syn::TypeParam { implementation
67 type TypeParam = syn::TypeParam; typedef
71 fn as_type_param(&self) -> Option<&Self::TypeParam> { in as_type_param()
105 type TypeParam = T; typedef
/aosp_15_r20/external/rust/android-crates-io/crates/displaydoc/src/
Dexpand.rs226 type_params: &[&TypeParam], in extract_trait_constraints_from_source()
315 type_params: &[&TypeParam], in ensure_where_clause_has_display_for_all_unconstrained_members()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-1.0.109/src/
H A Dgenerics.rs457 impl From<Ident> for TypeParam { implementation
759 impl Parse for TypeParam { implementation
1230 impl ToTokens for TypeParam { implementation
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-2.0.55/src/
H A Dgenerics.rs438 impl From<Ident> for TypeParam { implementation
726 impl Parse for TypeParam { implementation
1167 impl ToTokens for TypeParam { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/syn/src/
Dgenerics.rs438 impl From<Ident> for TypeParam { implementation
726 impl Parse for TypeParam { implementation
1167 impl ToTokens for TypeParam { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/darling/tests/
Dfrom_type_param_default.rs12 fn extract_type(param: &GenericParam) -> &TypeParam { in extract_type()
Dfrom_type_param.rs24 fn extract_type(param: &GenericParam) -> &TypeParam { in extract_type()
/aosp_15_r20/external/rust/android-crates-io/crates/darling_core/src/
Dfrom_type_param.rs16 impl FromTypeParam for TypeParam { implementation
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/tools/internal/typeparams/
Dnormalize.go63 func StructuralTerms(tparam *types.TypeParam) ([]*types.Term, error) {
/aosp_15_r20/prebuilts/go/linux-x86/src/sort/
Dgen_sort_variants.go47 TypeParam string member

123