| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | denum.c | 28 EnumDeclaration::EnumDeclaration(Loc loc, Identifier *id, Type *memtype) in EnumDeclaration() argument 34 this->memtype = memtype; in EnumDeclaration() 50 memtype ? memtype->syntaxCopy() : NULL); in syntaxCopy() 97 assert(memtype); in semantic() 98 ::error(loc, "circular reference to enum base type %s", memtype->toChars()); in semantic() 126 if (!members && !memtype) // enum ident; in semantic() 144 if (memtype) in semantic() 146 memtype = memtype->semantic(loc, sc); in semantic() 150 if (memtype->ty == Tenum) in semantic() 152 EnumDeclaration *sym = (EnumDeclaration *)memtype->toDsymbol(sc); in semantic() [all …]
|
| H A D | enum.h | 35 Type *memtype; // type of the members variable 46 EnumDeclaration(Loc loc, Identifier *id, Type *memtype);
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | denum.d | 51 Type memtype; // type of the members variable 61 extern (D) this(const ref Loc loc, Identifier ident, Type memtype) in this() argument 66 this.memtype = memtype; in this() 73 auto ed = new EnumDeclaration(loc, ident, memtype ? memtype.syntaxCopy() : null); in syntaxCopy() 153 return isSpecialEnumIdent(ident) && memtype; in isSpecial() 167 return memtype.defaultInit(loc, true); in getDefaultValue() 179 return defaultval = memtype.defaultInit(loc); in getDefaultValue() 211 if (memtype) in getMemtype() 214 memtype = memtype.typeSemantic(locx, _scope); in getMemtype() 222 if (!memtype) in getMemtype() [all …]
|
| H A D | enum.h | 32 Type *memtype; // type of the members variable
|
| /netbsd-src/sys/dev/pci/ |
| H A D | siisata_pci.c | 158 pcireg_t csr, memtype; in siisata_pci_attach() local 178 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, SIISATA_PCI_BAR0); in siisata_pci_attach() 179 switch (memtype) { in siisata_pci_attach() 183 memtype, 0, &memt, &memh, NULL, &grsize) == 0); in siisata_pci_attach() 198 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, SIISATA_PCI_BAR1); in siisata_pci_attach() 199 switch (memtype) { in siisata_pci_attach() 203 memtype, 0, &memt, &memh, NULL, &prsize) == 0); in siisata_pci_attach()
|
| H A D | siop_pci_common.c | 242 pcireg_t memtype; in siop_pci_attach_common() local 278 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, 0x14); in siop_pci_attach_common() 279 switch (memtype) { in siop_pci_attach_common() 282 memh_valid = (pci_mapreg_map(pa, 0x14, memtype, 0, in siop_pci_attach_common() 308 switch (memtype) { in siop_pci_attach_common() 318 memtype); in siop_pci_attach_common() 321 if (pci_mapreg_map(pa, bar, memtype, 0, in siop_pci_attach_common()
|
| H A D | if_athn_pci.c | 134 pcireg_t memtype, reg; in athn_pci_attach() local 185 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, ATHN_PCI_MMBA); in athn_pci_attach() 186 if (memtype != PCI_MAPREG_TYPE_MEM && in athn_pci_attach() 187 memtype != PCI_MAPREG_MEM_TYPE_64BIT) { in athn_pci_attach() 189 (int)memtype); in athn_pci_attach() 192 error = pci_mapreg_map(pa, ATHN_PCI_MMBA, memtype, 0, &psc->psc_iot, in athn_pci_attach()
|
| H A D | pwdog.c | 84 pcireg_t memtype; in pwdog_attach() local 87 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in pwdog_attach() 88 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, in pwdog_attach() 92 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory"); in pwdog_attach()
|
| H A D | mpt_pci.c | 133 pcireg_t reg, memtype; in mpt_pci_attach() local 150 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, MPT_PCI_MMBA); in mpt_pci_attach() 151 switch (memtype) { in mpt_pci_attach() 155 memtype, 0, &memt, &memh, NULL, NULL) == 0); in mpt_pci_attach()
|
| H A D | ibmcd.c | 103 pcireg_t memtype; in ibmcd_attach() local 106 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in ibmcd_attach() 107 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, in ibmcd_attach() 111 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory"); in ibmcd_attach()
|
| H A D | if_bwi_pci.c | 132 pcireg_t memtype, reg; in bwi_pci_attach() local 145 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, BWI_PCI_BAR0); in bwi_pci_attach() 146 switch (memtype) { in bwi_pci_attach() 155 if (pci_mapreg_map(pa, BWI_PCI_BAR0, memtype, 0, &sc->sc_mem_bt, in bwi_pci_attach()
|
| H A D | ciss_pci.c | 158 int cfg_bar, memtype; in ciss_pci_attach() local 179 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, CISS_BAR); in ciss_pci_attach() 180 if (memtype != (PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_32BIT) && in ciss_pci_attach() 181 memtype != (PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT)) { in ciss_pci_attach() 185 if (pci_mapreg_map(pa, CISS_BAR, memtype, 0, in ciss_pci_attach()
|
| H A D | if_eqos_pci.c | 112 pcireg_t memtype; in eqos_pci_attach() local 120 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR0); in eqos_pci_attach() 121 if (pci_mapreg_map(pa, PCI_BAR0, memtype, 0, &memt, &memh, NULL, in eqos_pci_attach()
|
| H A D | if_re_pci.c | 190 pcireg_t command, memtype; in re_pci_attach() local 210 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, RTK_PCI_LOMEM); in re_pci_attach() 211 switch (memtype) { in re_pci_attach() 216 memtype, 0, &memt, &memh, NULL, &memsize) == 0) || in re_pci_attach()
|
| H A D | if_ral_pci.c | 169 pcireg_t memtype, reg; in ral_pci_attach() local 204 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, RAL_PCI_BAR0); in ral_pci_attach() 205 error = pci_mapreg_map(pa, RAL_PCI_BAR0, memtype, 0, &sc->sc_st, in ral_pci_attach()
|
| H A D | xhci_pci.c | 127 pcireg_t csr, memtype, usbrev; in xhci_pci_attach() local 156 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_CBMEM); in xhci_pci_attach() 157 if (PCI_MAPREG_TYPE(memtype) != PCI_MAPREG_TYPE_MEM) { in xhci_pci_attach() 164 if (pci_mapreg_info(pa->pa_pc, pa->pa_tag, PCI_CBMEM, memtype, in xhci_pci_attach()
|
| H A D | nvme_pci.c | 153 pcireg_t memtype, reg; in nvme_pci_attach() local 172 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, NVME_PCI_BAR); in nvme_pci_attach() 173 if (PCI_MAPREG_TYPE(memtype) != PCI_MAPREG_TYPE_MEM) { in nvme_pci_attach() 174 aprint_error_dev(self, "invalid type (type=0x%x)\n", memtype); in nvme_pci_attach() 191 memtype, &memaddr, &sc->sc_ios, &flags); in nvme_pci_attach()
|
| H A D | ahcisata_pci.c | 282 pcireg_t memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, bar); in ahci_pci_match() local 283 if (pci_mapreg_map(pa, bar, memtype, 0, ®t, ®h, NULL, &size) != 0) in ahci_pci_match() 400 pcireg_t memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, bar); in ahci_pci_attach() local 401 if (pci_mapreg_map(pa, bar, memtype, 0, &sc->sc_ahcit, &sc->sc_ahcih, in ahci_pci_attach()
|
| H A D | ahd_pci.c | 323 pcireg_t memtype; in ahd_pci_attach() local 407 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, in ahd_pci_attach() 409 switch (memtype) { in ahd_pci_attach() 413 memtype, 0, &ahd->tags[0], in ahd_pci_attach() 429 ahd_name(ahd), memtype); in ahd_pci_attach()
|
| H A D | pci_resource.c | 86 uint8_t memtype; member 295 switch (pi->pi_mem.memtype) { in pci_resource_device_print() 375 pi->pi_mem.memtype = in pci_resource_scan_bar() 701 } else if (pi->pi_mem.memtype == PCI_MAPREG_MEM_TYPE_64BIT) { in pci_resource_init_device() 961 if (pi->pi_mem.memtype == PCI_MAPREG_MEM_TYPE_64BIT) { in pci_resource_alloc_device()
|
| H A D | if_xge.c | 278 pcireg_t memtype; in xge_attach() local 296 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, XGE_PIF_BAR); in xge_attach() 297 if (pci_mapreg_map(pa, XGE_PIF_BAR, memtype, 0, in xge_attach() 303 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, XGE_TXP_BAR); in xge_attach() 304 if (pci_mapreg_map(pa, XGE_TXP_BAR, memtype, 0, in xge_attach()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | arm_mve.td | 824 multiclass contiguous_load<string mnemonic, PrimitiveType memtype, 830 (load (address (CPtr<Vector> $addr), !srl(memtype.size,3)))>, 835 (CPtr<Vector> $addr), !srl(memtype.size,3), 845 (load (address (CPtr<Vector> $addr), !srl(memtype.size,3)))>, 850 (CPtr<Vector> $addr), !srl(memtype.size,3), 860 (extend (load (address (CPtr<NarrowedVecOf<memtype,Vector>> 861 $addr), !srl(memtype.size,3))), 867 [NarrowedVecOf<memtype,Vector>, 868 CPtr<NarrowedVecOf<memtype,Vector>>]> 869 (CPtr<NarrowedVecOf<memtype,Vector>> $addr), [all …]
|
| /netbsd-src/sys/arch/i386/stand/efiboot/ |
| H A D | efimemory.c | 336 int memtype; in efi_memory_probe() local 351 memtype = getmemtype(md); in efi_memory_probe() 352 if (memtype != BIM_Memory) in efi_memory_probe()
|
| /netbsd-src/sys/arch/x86/pci/ |
| H A D | msipic.c | 675 u_int memtype; in msipic_construct_msix_pic() local 735 memtype = pci_mapreg_type(pc, tag, bar); in msipic_construct_msix_pic() 745 err = pci_mapreg_submap(pa, bar, memtype, BUS_SPACE_MAP_LINEAR, in msipic_construct_msix_pic() 755 if (pci_mapreg_info(pa->pa_pc, pa->pa_tag, bar, memtype, in msipic_construct_msix_pic()
|
| H A D | dwiic_pci.c | 222 pcireg_t memtype; in pci_dwiic_attach() 238 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR0); in pci_dwiic_attach() 239 if (pci_mapreg_map(pa, PCI_BAR0, memtype, 0, &sc->sc_dwiic.sc_iot, in pci_dwiic_attach() 220 pcireg_t memtype; pci_dwiic_attach() local
|