HomeSort by relevance Sort by last modified time
    Searched full:assignableto (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /prebuilts/go/darwin-x86/test/fixedbugs/bug468.dir/
p2.go 19 if !t1.AssignableTo(t2) {
22 if !t2.AssignableTo(t1) {
  /prebuilts/go/linux-x86/test/fixedbugs/bug468.dir/
p2.go 19 if !t1.AssignableTo(t2) {
22 if !t2.AssignableTo(t1) {
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue15439.go 22 if !tb.AssignableTo(ta) {
  /prebuilts/go/linux-x86/test/fixedbugs/
issue15439.go 22 if !tb.AssignableTo(ta) {
  /prebuilts/go/darwin-x86/src/go/types/
operand.go 195 // TODO(gri) The functions operand.assignableTo, checker.convertUntyped,
199 // assignableTo reports whether x is assignable to a variable of type T.
202 func (x *operand) assignableTo(conf *Config, T Type, reason *string) bool {
api.go 358 // AssignableTo reports whether a value of type V is assignable to a variable of type T.
359 func AssignableTo(V, T Type) bool {
361 return x.assignableTo(nil, T, nil) // config not needed for non-constant x
conversions.go 68 if x.assignableTo(conf, T, nil) {
assignments.go 60 if reason := ""; !x.assignableTo(check.conf, T, &reason) {
builtins.go 98 if nargs == 2 && call.Ellipsis.IsValid() && x.assignableTo(check.conf, NewSlice(universeByte), nil) {
344 if !x.assignableTo(check.conf, m.key, nil) {
  /prebuilts/go/linux-x86/src/go/types/
operand.go 195 // TODO(gri) The functions operand.assignableTo, checker.convertUntyped,
199 // assignableTo reports whether x is assignable to a variable of type T.
202 func (x *operand) assignableTo(conf *Config, T Type, reason *string) bool {
api.go 358 // AssignableTo reports whether a value of type V is assignable to a variable of type T.
359 func AssignableTo(V, T Type) bool {
361 return x.assignableTo(nil, T, nil) // config not needed for non-constant x
conversions.go 68 if x.assignableTo(conf, T, nil) {
assignments.go 60 if reason := ""; !x.assignableTo(check.conf, T, &reason) {
builtins.go 98 if nargs == 2 && call.Ellipsis.IsValid() && x.assignableTo(check.conf, NewSlice(universeByte), nil) {
344 if !x.assignableTo(check.conf, m.key, nil) {
  /prebuilts/go/darwin-x86/src/reflect/
set_test.go 209 if b := xv.AssignableTo(xt); b != tt.b {
210 t.Errorf("(%s).AssignableTo(%s) = %v, want %v", xv.String(), xt.String(), b, tt.b)
  /prebuilts/go/linux-x86/src/reflect/
set_test.go 209 if b := xv.AssignableTo(xt); b != tt.b {
210 t.Errorf("(%s).AssignableTo(%s) = %v, want %v", xv.String(), xt.String(), b, tt.b)
  /prebuilts/go/darwin-x86/pkg/darwin_amd64/
reflect.a 15  reflect ?|SGOROOT/src/reflect/deepequal.go?DeepEqualx·2y·3 (makefunc.go^MakeFunc Type>( type.goP AlignrAssignableTo<u.Bits ChanDir ? ? String>d·2 ?ComparableConvertibleTo<TElem<
232 s.ptr?prototype? type.*"".ptrType?.autotmp_609?.autotmp_603?&pp?iptr?Tgclocals·509bc272345abe4c1be7b8e576e56dee?Tgclocals·700acfa253d354ba627deee6fbe08212?type.uint32?list?type.[]uint8?Tgclocals·91187225656c10c4a86295d6dbbcb612?,"".(*rtype).Implements?"".implements??go.string."reflect: non-interface type passed to Type.Implements"?ngo.string."reflect: nil type passed to Type.Implements"?.autotmp_627?.autotmp_625?u?Tgclocals·455b93cb10d2dfc0818e977f8d65fd95?0"".(*rtype).AssignableTo?*"".directlyAssignable?rgo.string."reflect: nil type passed to Type.AssignableTo"?.autotmp_629?Tgclocals·6bb74da7dc9fb106ba920a729014cd38?2"".(*rtype).ConvertibleTo?"".convertOp?tgo.string."reflect: nil type passed to Type.ConvertibleTo"?.autotmp_632?,"".(*rtype).Comparable?vm.mtyp?j?.autotmp_665?.autotmp_664?.autotmp_668?.autotmp_667?.autotmp_666?.autotmp_663?.autotmp_662?V?T?Tgclocals·d3997b3a6396f031edcf2e885aa669c8?Tgclocals·671762fba55b6247cdeb2c14342435e0?<"".haveIdenticalUnderlyingType?Tgclocals·522734ad228da40e2256ba19cf2bc72c?("".haveIdenticalType?.autotmp_683?.autotmp_681?.autotmp_684?.autotmp_682?~r3?cmpTags?Tgclocals·26b927be589eb4219c5b99fa5aafdd43?Tgclocals·7c60fef186be7d06ae0a00d8fcb1c1e6? tp.len?.autotmp_741?.autotmp_739?.autotmp_737?.autotmp_736? tp.ptr?.autotmp_740?.autotmp_738?.autotmp_735?.autotmp_734?Tgclocals·8d77e22c10dd627fe88262132b81a807?Tgclocals·5d2f2998012a684f59d0ddec5bedf859?"".rtypeOff?section?"".typelinks?"runtime.cmpstring?sections.len?ret.len?ret.cap?offset.len?
    [all...]
  /prebuilts/go/darwin-x86/pkg/darwin_amd64_race/
reflect.a 15  reflect ?|SGOROOT/src/reflect/deepequal.go?DeepEqualx·2y·3 (makefunc.go^MakeFunc Type>( type.goP AlignrAssignableTo<u.Bits ChanDir ? ? String>d·2 ?ComparableConvertibleTo<TElem<
235 count?.autotmp_748?type.*[]int?.autotmp_747?.autotmp_746?.autotmp_745?.autotmp_743?.autotmp_741?.autotmp_740?.autotmp_738?.autotmp_735?$type.*"".fieldScan?.autotmp_733?.autotmp_695?.autotmp_692?.autotmp_691?.autotmp_681?.autotmp_701?(type.[1]"".fieldScan?.autotmp_688? result?Tgclocals·ef4d581bc4a32f819b182431f880420f?Tgclocals·9f1987c462642c84ad1950926736f1e3?D"".(*structType).FieldByName.func1?hasAnon?.autotmp_764?.autotmp_763?.autotmp_761?.autotmp_762?.autotmp_760?.autotmp_754?Rtype.struct { F uintptr; "".name string }?.autotmp_755?.autotmp_752?.autotmp_751?present?Tgclocals·95ea2c681fa44256fc47c1817ca62e24?Tgclocals·b8ff1fdd6e6ad324c8b0ac54a71403d4?"".TypeOf?Tgclocals·0b2a2ca5bf6608e759d18e5829a525fa?Tgclocals·e226d4ae4a7cad8835311c6a4683c14f?"".PtrTo?""".(*rtype).ptrTo?.autotmp_769?Tgclocals·48fa3758e632e1b97d3b7251e66d0b97?"".ptrMap?<type.map[*"".rtype]*"".ptrType?go.string."*"? "".typesByString?type."".ptrType? "".statictmp_793?"".fnv1?(runtime.typedmemmove?.autotmp_783?type.[1]uint8?.autotmp_804?type.uint32?.autotmp_803?.autotmp_801?.autotmp_800?.autotmp_786?type.[32]uint8?tt?prototype? type.*"".ptrType?.autotmp_806?.autotmp_805?.autotmp_802?.autotmp_799?"type.**"".ptrType?.autotmp_798? type.*"".typeOff?.autotmp_785?.autotmp_779?&pp?iptr?Tgclocals·759ed543de77df190bfcefdff92aab25?Tgclocals·b63d8c17777094a980554a21514b4b48?.autotmp_812?.autotmp_813?list?type.[]uint8?Tgclocals·707023630b8e5f18c4ad0bcfce072457?,"".(*rtype).Implements?"".implements??go.string."reflect: non-interface type passed to Type.Implements"?ngo.string."reflect: nil type passed to Type.Implements"?.autotmp_819?.autotmp_816?.autotmp_814?u?Tgclocals·455b93cb10d2dfc0818e977f8d65fd95?0"".(*rtype).AssignableTo?*"".directlyAssignable?rgo.string."reflect: nil type passed to Type.AssignableTo"?.autotmp_824?.autotmp_820?Tgclocals·6bb74da7dc9fb106ba920a729014cd38?2"".(*rtype).ConvertibleTo?"".convertOp?tgo.string."reflect: nil type passed to Type.ConvertibleTo"?.autotmp_828?Jtype.func("".Value, "".Type) "".Value?.autotmp_825?Tgclocals·7799d1fd46746be7f8a55c83fa63e105?,"".(*rtype).Comparable?.autotmp_830?.autotmp_829?"type.**"".typeAlg?Tgclocals·fd1052c3c0d79a26f8afdf6e802f9f01?vm.mtyp?j?.autotmp_875?.autotmp_872?.autotmp_869?.autotmp_867?.autotmp_874?.autotmp_873?.autotmp_871?.autotmp_870?.autotmp_868?.autotmp_866?.autotmp_865?.autotmp_864?V?T?Tgclocals·b96cb3dc497a007d739f80a64c33f802?Tgclocals·113bdf9e26f71ef21c16ffe20b9bb688?<"".haveIdenticalUnderlyingType?.autotmp_882?.autotmp_881?Tgclocals·522734ad228da40e2256ba19cf2bc72c?("".haveIdenticalType?.autotmp_890?.autotmp_893?.autotmp_891?.autotmp_894?.autotmp_892?~r3?cmpTags?Tgclocals·26b927be589eb4219c5b99fa5aafdd43?Tgclocals·7c60fef186be7d06ae0a00d8fcb1c1e6?.autotmp_950?.autotmp_946? tp.len?.autotmp_959?.autotmp_955?.autotmp_951?.autotmp_949? tp.ptr?.autotmp_958?.autotmp_957?.autotmp_956?.autotmp_954?.autotmp_953?.autotmp_952?.autotmp_948?.autotmp_947?Tgclocals·bc24c4a5c568f54a66085ed9d3239bb4?Tgclocals·4b4c82fc03eefbaca16e4ba5438d466c?"".rtypeOff?section?"".typelinks?"runtime.cmpstring?sections.len?ret.len?ret.cap?offset.len?
    [all...]
  /prebuilts/go/darwin-x86/src/text/template/
exec.go 585 if nameVal.Type().AssignableTo(receiver.Type().Key()) {
704 if typ != nil && !value.Type().AssignableTo(typ) {
707 if value.Type().AssignableTo(typ) {
717 case value.Kind() == reflect.Ptr && value.Type().Elem().AssignableTo(typ):
722 case reflect.PtrTo(value.Type()).AssignableTo(typ) && value.CanAddr():
funcs.go 142 if !value.Type().AssignableTo(argType) {
  /prebuilts/go/linux-x86/pkg/linux_amd64/
reflect.a 15  reflect ?|SGOROOT/src/reflect/deepequal.go?DeepEqualx·2y·3 (makefunc.go^MakeFunc Type>( type.goP AlignrAssignableTo<u.Bits ChanDir ? ? String>d·2 ?ComparableConvertibleTo<TElem<
232 s.ptr?prototype? type.*"".ptrType?.autotmp_609?.autotmp_603?&pp?iptr?Tgclocals·509bc272345abe4c1be7b8e576e56dee?Tgclocals·700acfa253d354ba627deee6fbe08212?type.uint32?list?type.[]uint8?Tgclocals·91187225656c10c4a86295d6dbbcb612?,"".(*rtype).Implements?"".implements??go.string."reflect: non-interface type passed to Type.Implements"?ngo.string."reflect: nil type passed to Type.Implements"?.autotmp_627?.autotmp_625?u?Tgclocals·455b93cb10d2dfc0818e977f8d65fd95?0"".(*rtype).AssignableTo?*"".directlyAssignable?rgo.string."reflect: nil type passed to Type.AssignableTo"?.autotmp_629?Tgclocals·6bb74da7dc9fb106ba920a729014cd38?2"".(*rtype).ConvertibleTo?"".convertOp?tgo.string."reflect: nil type passed to Type.ConvertibleTo"?.autotmp_632?,"".(*rtype).Comparable?vm.mtyp?j?.autotmp_665?.autotmp_664?.autotmp_668?.autotmp_667?.autotmp_666?.autotmp_663?.autotmp_662?V?T?Tgclocals·d3997b3a6396f031edcf2e885aa669c8?Tgclocals·671762fba55b6247cdeb2c14342435e0?<"".haveIdenticalUnderlyingType?Tgclocals·522734ad228da40e2256ba19cf2bc72c?("".haveIdenticalType?.autotmp_683?.autotmp_681?.autotmp_684?.autotmp_682?~r3?cmpTags?Tgclocals·26b927be589eb4219c5b99fa5aafdd43?Tgclocals·7c60fef186be7d06ae0a00d8fcb1c1e6? tp.len?.autotmp_741?.autotmp_739?.autotmp_737?.autotmp_736? tp.ptr?.autotmp_740?.autotmp_738?.autotmp_735?.autotmp_734?Tgclocals·8d77e22c10dd627fe88262132b81a807?Tgclocals·5d2f2998012a684f59d0ddec5bedf859?"".rtypeOff?section?"".typelinks?"runtime.cmpstring?sections.len?ret.len?ret.cap?offset.len?
    [all...]
  /prebuilts/go/linux-x86/pkg/linux_amd64_race/
reflect.a 15  reflect ?|SGOROOT/src/reflect/deepequal.go?DeepEqualx·2y·3 (makefunc.go^MakeFunc Type>( type.goP AlignrAssignableTo<u.Bits ChanDir ? ? String>d·2 ?ComparableConvertibleTo<TElem<
235 count?.autotmp_748?type.*[]int?.autotmp_747?.autotmp_746?.autotmp_745?.autotmp_743?.autotmp_741?.autotmp_740?.autotmp_738?.autotmp_735?$type.*"".fieldScan?.autotmp_733?.autotmp_695?.autotmp_692?.autotmp_691?.autotmp_681?.autotmp_701?(type.[1]"".fieldScan?.autotmp_688? result?Tgclocals·ef4d581bc4a32f819b182431f880420f?Tgclocals·9f1987c462642c84ad1950926736f1e3?D"".(*structType).FieldByName.func1?hasAnon?.autotmp_764?.autotmp_763?.autotmp_761?.autotmp_762?.autotmp_760?.autotmp_754?Rtype.struct { F uintptr; "".name string }?.autotmp_755?.autotmp_752?.autotmp_751?present?Tgclocals·95ea2c681fa44256fc47c1817ca62e24?Tgclocals·b8ff1fdd6e6ad324c8b0ac54a71403d4?"".TypeOf?Tgclocals·0b2a2ca5bf6608e759d18e5829a525fa?Tgclocals·e226d4ae4a7cad8835311c6a4683c14f?"".PtrTo?""".(*rtype).ptrTo?.autotmp_769?Tgclocals·48fa3758e632e1b97d3b7251e66d0b97?"".ptrMap?<type.map[*"".rtype]*"".ptrType?go.string."*"? "".typesByString?type."".ptrType? "".statictmp_793?"".fnv1?(runtime.typedmemmove?.autotmp_783?type.[1]uint8?.autotmp_804?type.uint32?.autotmp_803?.autotmp_801?.autotmp_800?.autotmp_786?type.[32]uint8?tt?prototype? type.*"".ptrType?.autotmp_806?.autotmp_805?.autotmp_802?.autotmp_799?"type.**"".ptrType?.autotmp_798? type.*"".typeOff?.autotmp_785?.autotmp_779?&pp?iptr?Tgclocals·759ed543de77df190bfcefdff92aab25?Tgclocals·b63d8c17777094a980554a21514b4b48?.autotmp_812?.autotmp_813?list?type.[]uint8?Tgclocals·707023630b8e5f18c4ad0bcfce072457?,"".(*rtype).Implements?"".implements??go.string."reflect: non-interface type passed to Type.Implements"?ngo.string."reflect: nil type passed to Type.Implements"?.autotmp_819?.autotmp_816?.autotmp_814?u?Tgclocals·455b93cb10d2dfc0818e977f8d65fd95?0"".(*rtype).AssignableTo?*"".directlyAssignable?rgo.string."reflect: nil type passed to Type.AssignableTo"?.autotmp_824?.autotmp_820?Tgclocals·6bb74da7dc9fb106ba920a729014cd38?2"".(*rtype).ConvertibleTo?"".convertOp?tgo.string."reflect: nil type passed to Type.ConvertibleTo"?.autotmp_828?Jtype.func("".Value, "".Type) "".Value?.autotmp_825?Tgclocals·7799d1fd46746be7f8a55c83fa63e105?,"".(*rtype).Comparable?.autotmp_830?.autotmp_829?"type.**"".typeAlg?Tgclocals·fd1052c3c0d79a26f8afdf6e802f9f01?vm.mtyp?j?.autotmp_875?.autotmp_872?.autotmp_869?.autotmp_867?.autotmp_874?.autotmp_873?.autotmp_871?.autotmp_870?.autotmp_868?.autotmp_866?.autotmp_865?.autotmp_864?V?T?Tgclocals·b96cb3dc497a007d739f80a64c33f802?Tgclocals·113bdf9e26f71ef21c16ffe20b9bb688?<"".haveIdenticalUnderlyingType?.autotmp_882?.autotmp_881?Tgclocals·522734ad228da40e2256ba19cf2bc72c?("".haveIdenticalType?.autotmp_890?.autotmp_893?.autotmp_891?.autotmp_894?.autotmp_892?~r3?cmpTags?Tgclocals·26b927be589eb4219c5b99fa5aafdd43?Tgclocals·7c60fef186be7d06ae0a00d8fcb1c1e6?.autotmp_950?.autotmp_946? tp.len?.autotmp_959?.autotmp_955?.autotmp_951?.autotmp_949? tp.ptr?.autotmp_958?.autotmp_957?.autotmp_956?.autotmp_954?.autotmp_953?.autotmp_952?.autotmp_948?.autotmp_947?Tgclocals·bc24c4a5c568f54a66085ed9d3239bb4?Tgclocals·4b4c82fc03eefbaca16e4ba5438d466c?"".rtypeOff?section?"".typelinks?"runtime.cmpstring?sections.len?ret.len?ret.cap?offset.len?
    [all...]
  /prebuilts/go/linux-x86/src/text/template/
exec.go 585 if nameVal.Type().AssignableTo(receiver.Type().Key()) {
704 if typ != nil && !value.Type().AssignableTo(typ) {
707 if value.Type().AssignableTo(typ) {
717 case value.Kind() == reflect.Ptr && value.Type().Elem().AssignableTo(typ):
722 case reflect.PtrTo(value.Type()).AssignableTo(typ) && value.CanAddr():
  /prebuilts/go/darwin-x86/src/database/sql/
convert.go 258 if sv.IsValid() && sv.Type().AssignableTo(dv.Type()) {
  /prebuilts/go/linux-x86/src/database/sql/
convert.go 258 if sv.IsValid() && sv.Type().AssignableTo(dv.Type()) {

Completed in 842 milliseconds

1 2 3 4 5