| /netbsd-src/sys/arch/usermode/dev/ |
| H A D | mainbus.c | 74 struct thunkbus_attach_args taa; in mainbus_attach() local 82 taa.taa_type = THUNKBUS_TYPE_CPU; in mainbus_attach() 83 config_found(self, &taa, mainbus_print, CFARGS_NONE); in mainbus_attach() 85 taa.taa_type = THUNKBUS_TYPE_TTYCONS; in mainbus_attach() 86 config_found(self, &taa, mainbus_print, CFARGS_NONE); in mainbus_attach() 89 taa.taa_type = THUNKBUS_TYPE_VNCFB; in mainbus_attach() 90 taa.u.vnc.width = usermode_vnc_width; in mainbus_attach() 91 taa.u.vnc.height = usermode_vnc_height; in mainbus_attach() 92 taa.u.vnc.port = usermode_vnc_port; in mainbus_attach() 93 config_found(self, &taa, mainbus_print, CFARGS_NONE); in mainbus_attach() [all …]
|
| H A D | if_veth.c | 91 struct thunkbus_attach_args *taa = opaque; in veth_match() local 93 if (taa->taa_type != THUNKBUS_TYPE_VETH) in veth_match() 103 struct thunkbus_attach_args *taa = opaque; in veth_attach() local 110 sc->sc_tapfd = thunk_open_tap(taa->u.veth.device); in veth_attach() 113 taa->u.veth.device, thunk_geterrno()); in veth_attach() 117 taa->u.veth.eaddr) != 0) { in veth_attach() 119 taa->u.veth.eaddr); in veth_attach() 124 aprint_normal(": Virtual Ethernet (device = %s)\n", taa->u.veth.device); in veth_attach()
|
| H A D | vaudio.c | 134 struct thunkbus_attach_args *taa = opaque; in vaudio_match() local 136 if (taa->taa_type != THUNKBUS_TYPE_VAUDIO) in vaudio_match() 146 struct thunkbus_attach_args *taa = opaque; in vaudio_attach() local 149 aprint_normal(": Virtual Audio (device = %s)\n", taa->u.vaudio.device); in vaudio_attach() 155 sc->sc_audiopath = taa->u.vaudio.device; in vaudio_attach()
|
| H A D | ld_thunkbus.c | 86 struct thunkbus_attach_args *taa = opaque; in ld_thunkbus_match() local 88 if (taa->taa_type != THUNKBUS_TYPE_DISKIMAGE) in ld_thunkbus_match() 99 struct thunkbus_attach_args *taa = opaque; in ld_thunkbus_attach() local 100 const char *path = taa->u.diskimage.path; in ld_thunkbus_attach()
|
| H A D | vatapi.c | 114 struct thunkbus_attach_args *taa = opaque; in vatapi_match() local 116 if (taa->taa_type != THUNKBUS_TYPE_VATAPI) in vatapi_match() 126 struct thunkbus_attach_args *taa = opaque; in vatapi_attach() local 132 sc->sc_fd = thunk_open(taa->u.vdev.path, O_RDWR, 0); in vatapi_attach()
|
| H A D | vncfb.c | 190 struct thunkbus_attach_args *taa = priv; in vncfb_match() local 192 return taa->taa_type == THUNKBUS_TYPE_VNCFB; in vncfb_match() 199 struct thunkbus_attach_args *taa = priv; in vncfb_attach() local 207 sc->sc_width = taa->u.vnc.width; in vncfb_attach() 208 sc->sc_height = taa->u.vnc.height; in vncfb_attach() 212 sc->sc_sockfd = thunk_vnc_open_socket(taa->u.vnc.port); in vncfb_attach() 225 sc->sc_width, sc->sc_height, sc->sc_depth, taa->u.vnc.port); in vncfb_attach() 236 if (thunk_rfb_open(&sc->sc_rfb, taa->u.vnc.port) != 0) in vncfb_attach()
|
| H A D | clock.c | 83 struct thunkbus_attach_args *taa = opaque; in clock_match() local 85 if (taa->taa_type != THUNKBUS_TYPE_CLOCK) in clock_match()
|
| H A D | ttycons.c | 115 struct thunkbus_attach_args *taa = opaque; in ttycons_match() local 117 if (taa->taa_type != THUNKBUS_TYPE_TTYCONS) in ttycons_match()
|
| H A D | cpu.c | 101 struct thunkbus_attach_args *taa = opaque; in cpu_match() local 103 if (taa->taa_type != THUNKBUS_TYPE_CPU) in cpu_match()
|
| /netbsd-src/sys/arch/evbarm/tsarm/ |
| H A D | tskp.c | 129 struct tspld_attach_args *taa = aux; in tskp_attach() local 132 sc->sc_iot = taa->ta_iot; in tskp_attach()
|
| H A D | tslcd.c | 139 struct tspld_attach_args *taa = aux; in tslcd_attach() local 142 sc->sc_iot = taa->ta_iot; in tslcd_attach()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | statementsem.d | 840 TypeAArray taa = null; in package() local 902 if (taa) in package() 903 ec = applyAssocArray(fs, flde, taa); in package() 1168 taa = cast(TypeAArray)tab; in package() 1502 …e static extern(D) Expression applyAssocArray(ForeachStatement fs, Expression flde, TypeAArray taa) in package() 1512 Type ti = (isRef ? taa.index.addMod(MODFlags.const_) : taa.index); in package() 1523 Type taav = taa.nextOf(); in package() 1557 auto keysize = taa.index.size(); in package()
|
| H A D | dcast.d | 787 auto taa = t.toBasetype().isTypeAArray(); in implicitConvTo() local 790 if (!(taa && typeb.ty == Taarray)) in implicitConvTo() 796 MATCH m = el.implicitConvTo(taa.index); in implicitConvTo() 802 m = el.implicitConvTo(taa.nextOf()); in implicitConvTo() 2686 if (auto taa = tb.isTypeAArray()) in visitAar() local 2688 Type ti = taa.index; in visitAar() 2689 Type tv = taa.nextOf(); in visitAar()
|
| H A D | opover.d | 1628 TypeAArray taa = tab.isTypeAArray(); in inferApplyArgTypes() local 1633 p.type = taa.index; // key type in inferApplyArgTypes() 1642 p.type = taa.next; // value type in inferApplyArgTypes()
|
| H A D | dtemplate.d | 1998 TypeAArray taa = cast(TypeAArray)tb; in deduceFunctionTemplateMatch() local 2001 size_t i = templateParameterLookup(taa.index, parameters); in deduceFunctionTemplateMatch() 2016 taa.index.resolve(instLoc, sco, e, t, s); in deduceFunctionTemplateMatch() 2020 taa.index.resolve(instLoc, sco, e, t, s); in deduceFunctionTemplateMatch() 3841 TypeAArray taa = cast(TypeAArray)tparam; in visit() local 3842 i = templateParameterLookup(taa.index, parameters); in visit() 3850 taa.index.resolve(Loc.initial, sc, e, tx, s); in visit() 4778 TypeAArray taa = cast(TypeAArray)tparam; in visit() local 4782 MATCH m1 = deduceType(key, sc, taa.index, parameters, dedtypes, wm); in visit() 4787 MATCH m2 = deduceType((*e.values)[i], sc, taa.next, parameters, dedtypes, wm); in visit()
|
| H A D | dtoh.d | 1717 if (auto taa = type.isTypeAArray()) 1721 if (auto ti = taa.index.isTypeIdentifier()) 1739 type = taa.next; // visit the element type, length is written below
|
| H A D | expressionsem.d | 523 TypeAArray taa = t.isTypeAArray(); in resolveUFCS() local 524 key = key.implicitCastTo(sc, taa.index); in resolveUFCS() 529 semanticTypeInfo(sc, taa.index); in resolveUFCS() 8417 TypeAArray taa = cast(TypeAArray)t1b; in visit() local 8423 if (!arrayTypeCompatibleWithoutCasting(exp.e2.type, taa.index)) in visit() 8425 exp.e2 = exp.e2.implicitCastTo(sc, taa.index); // type checking in visit() 8430 semanticTypeInfo(sc, taa); in visit() 8432 exp.type = taa.next; in visit()
|
| H A D | mtype.d | 4013 if (auto taa = to.isTypeAArray()) in constConv() local 4015 MATCH mindex = index.constConv(taa.index); in constConv() 4016 MATCH mkey = next.constConv(taa.next); in constConv()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | statementsem.c | 843 TypeAArray *taa = NULL; in visit() local 1236 taa = (TypeAArray *)tab; in visit() 1532 if (taa) in visit() 1540 Type *ti = (isRef ? taa->index->addMod(MODconst) : taa->index); in visit() 1550 Type *taav = taa->nextOf(); in visit() 1585 d_uns64 keysize = taa->index->size(); in visit()
|
| H A D | opover.c | 1781 TypeAArray *taa = (TypeAArray *)tab; in inferApplyArgTypes() local 1787 p->type = taa->index; // key type in inferApplyArgTypes() 1796 p->type = taa->next; // value type in inferApplyArgTypes()
|
| H A D | dtemplate.c | 1724 TypeAArray *taa = (TypeAArray *)tb; in deduceFunctionTemplateMatch() local 1727 size_t i = templateParameterLookup(taa->index, parameters); in deduceFunctionTemplateMatch() 1742 taa->index->resolve(instLoc, sco, &e, &t, &s); in deduceFunctionTemplateMatch() 1746 taa->index->resolve(instLoc, sco, &e, &t, &s); in deduceFunctionTemplateMatch() 3490 TypeAArray *taa = (TypeAArray *)tparam; in deduceType() local 3491 i = templateParameterLookup(taa->index, parameters); in deduceType() 3499 taa->index->resolve(Loc(), sc, &e, &tx, &s); in deduceType() 4398 TypeAArray *taa = (TypeAArray *)tparam; in deduceType() local 4402 MATCH m1 = deduceType((*e->keys)[i], sc, taa->index, parameters, dedtypes, wm); in deduceType() 4407 MATCH m2 = deduceType((*e->values)[i], sc, taa->next, parameters, dedtypes, wm); in deduceType()
|
| H A D | dcast.c | 2432 TypeAArray *taa = (TypeAArray *)tb; in inferType() local 2433 Type *ti = taa->index; in inferType() 2434 Type *tv = taa->nextOf(); in inferType()
|
| H A D | expressionsem.c | 4971 TypeAArray *taa = (TypeAArray *)t1b; in visit() local 4975 if (!arrayTypeCompatibleWithoutCasting(exp->e2->type, taa->index)) in visit() 4977 exp->e2 = exp->e2->implicitCastTo(sc, taa->index); // type checking in visit() 4982 semanticTypeInfo(sc, taa); in visit() 4984 exp->type = taa->next; in visit()
|
| H A D | parse.c | 7954 TypeAArray *taa = (TypeAArray *)t; in parseNewExp() local 7955 Type *index = taa->index; in parseNewExp() 7963 t = new TypeSArray(taa->next, edim); in parseNewExp()
|
| H A D | expression.c | 821 TypeAArray *taa = (TypeAArray *)t; in resolveUFCS() local 822 key = key->implicitCastTo(sc, taa->index); in resolveUFCS() 827 semanticTypeInfo(sc, taa->index); in resolveUFCS()
|