/dports/sysutils/recoverdm/recoverdm-8ecb743/ |
H A D | recoverdm.c | 235 dev_type = atoi(optarg); in main() 236 if (dev_type != DT_FILE && in main() 237 dev_type != DT_FLOPPY && dev_type != DT_FLOPPY_IDE && dev_type != DT_FLOPPY_SCSI && in main() 238 dev_type != DT_CDROM_IDE && dev_type != DT_CDROM_SCSI && in main() 239 dev_type != DT_DVD_IDE && dev_type != DT_DVD_SCSI && in main() 240 dev_type != DT_DISK_IDE && dev_type != DT_DISK_SCSI) in main() 300 if (dev_type == DT_CDROM_IDE || dev_type == DT_CDROM_SCSI) in main() 302 else if (dev_type == DT_DVD_IDE || dev_type == DT_DVD_SCSI) in main() 424 (void)reset_device(fdin, dev_type); in main() 451 if (dev_type == DT_CDROM_IDE || dev_type == DT_CDROM_SCSI || in main() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libgomp/testsuite/libgomp.oacc-c-c++-common/ |
H A D | acc_get_property-aux.c | 11 expect_device_string_properties (acc_device_t dev_type, int dev_num, in expect_device_string_properties() argument 16 const char *vendor = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 25 const char *name = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 34 const char *driver = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 44 size_t v = acc_get_property (dev_num, dev_type, (acc_device_property_t)unknown_property); in expect_device_string_properties() 63 expect_device_memory (acc_device_t dev_type, int dev_num, in expect_device_memory() argument 67 size_t total_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 77 size_t free_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 89 expect_device_properties (acc_device_t dev_type, int dev_num, in expect_device_properties() argument 95 expect_device_string_properties (dev_type, dev_num, expected_vendor, in expect_device_properties() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/libgomp/testsuite/libgomp.oacc-c-c++-common/ |
H A D | acc_get_property-aux.c | 11 expect_device_string_properties (acc_device_t dev_type, int dev_num, in expect_device_string_properties() argument 16 const char *vendor = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 25 const char *name = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 34 const char *driver = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 44 size_t v = acc_get_property (dev_num, dev_type, (acc_device_property_t)unknown_property); in expect_device_string_properties() 63 expect_device_memory (acc_device_t dev_type, int dev_num, in expect_device_memory() argument 67 size_t total_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 77 size_t free_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 89 expect_device_properties (acc_device_t dev_type, int dev_num, in expect_device_properties() argument 95 expect_device_string_properties (dev_type, dev_num, expected_vendor, in expect_device_properties() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/libgomp/testsuite/libgomp.oacc-c-c++-common/ |
H A D | acc_get_property-aux.c | 11 expect_device_string_properties (acc_device_t dev_type, int dev_num, in expect_device_string_properties() argument 16 const char *vendor = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 25 const char *name = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 34 const char *driver = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 44 size_t v = acc_get_property (dev_num, dev_type, (acc_device_property_t)unknown_property); in expect_device_string_properties() 63 expect_device_memory (acc_device_t dev_type, int dev_num, in expect_device_memory() argument 67 size_t total_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 77 size_t free_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 89 expect_device_properties (acc_device_t dev_type, int dev_num, in expect_device_properties() argument 95 expect_device_string_properties (dev_type, dev_num, expected_vendor, in expect_device_properties() [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/libgomp/testsuite/libgomp.oacc-c-c++-common/ |
H A D | acc_get_property-aux.c | 11 expect_device_string_properties (acc_device_t dev_type, int dev_num, in expect_device_string_properties() argument 16 const char *vendor = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 25 const char *name = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 34 const char *driver = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 44 size_t v = acc_get_property (dev_num, dev_type, (acc_device_property_t)unknown_property); in expect_device_string_properties() 63 expect_device_memory (acc_device_t dev_type, int dev_num, in expect_device_memory() argument 67 size_t total_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 77 size_t free_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 89 expect_device_properties (acc_device_t dev_type, int dev_num, in expect_device_properties() argument 95 expect_device_string_properties (dev_type, dev_num, expected_vendor, in expect_device_properties() [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/libgomp/testsuite/libgomp.oacc-c-c++-common/ |
H A D | acc_get_property-aux.c | 11 expect_device_string_properties (acc_device_t dev_type, int dev_num, in expect_device_string_properties() argument 16 const char *vendor = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 25 const char *name = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 34 const char *driver = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 44 size_t v = acc_get_property (dev_num, dev_type, (acc_device_property_t)unknown_property); in expect_device_string_properties() 63 expect_device_memory (acc_device_t dev_type, int dev_num, in expect_device_memory() argument 67 size_t total_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 77 size_t free_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 89 expect_device_properties (acc_device_t dev_type, int dev_num, in expect_device_properties() argument 95 expect_device_string_properties (dev_type, dev_num, expected_vendor, in expect_device_properties() [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/libgomp/testsuite/libgomp.oacc-c-c++-common/ |
H A D | acc_get_property-aux.c | 11 expect_device_string_properties (acc_device_t dev_type, int dev_num, in expect_device_string_properties() argument 16 const char *vendor = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 25 const char *name = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 34 const char *driver = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 44 size_t v = acc_get_property (dev_num, dev_type, (acc_device_property_t)unknown_property); in expect_device_string_properties() 63 expect_device_memory (acc_device_t dev_type, int dev_num, in expect_device_memory() argument 67 size_t total_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 77 size_t free_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 89 expect_device_properties (acc_device_t dev_type, int dev_num, in expect_device_properties() argument 95 expect_device_string_properties (dev_type, dev_num, expected_vendor, in expect_device_properties() [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libgomp/testsuite/libgomp.oacc-c-c++-common/ |
H A D | acc_get_property-aux.c | 11 expect_device_string_properties (acc_device_t dev_type, int dev_num, in expect_device_string_properties() argument 16 const char *vendor = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 25 const char *name = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 34 const char *driver = acc_get_property_string (dev_num, dev_type, in expect_device_string_properties() 44 size_t v = acc_get_property (dev_num, dev_type, (acc_device_property_t)unknown_property); in expect_device_string_properties() 63 expect_device_memory (acc_device_t dev_type, int dev_num, in expect_device_memory() argument 67 size_t total_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 77 size_t free_mem = acc_get_property (dev_num, dev_type, in expect_device_memory() 89 expect_device_properties (acc_device_t dev_type, int dev_num, in expect_device_properties() argument 95 expect_device_string_properties (dev_type, dev_num, expected_vendor, in expect_device_properties() [all …]
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/include/mxnet/ |
H A D | base.h | 110 DeviceType dev_type; member 120 if (dev_type == kCPUPinned || dev_type == kCPUShared) return kCPU; in dev_mask() 121 return dev_type; in dev_mask() 127 if (dev_type == kCPUPinned || dev_type == kGPU) return dev_id; in real_dev_id() 142 return dev_type == b.dev_type && dev_id == b.dev_id; 157 strm->Write(&dev_type, sizeof(dev_type)); in Save() 166 if (strm->Read(&dev_type, sizeof(dev_type)) != sizeof(dev_type)) return false; in Load() 393 if (dev_type == b.dev_type) { 396 return dev_type < b.dev_type; 401 ctx.dev_type = dev_type; in Create() [all …]
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/include/mxnet/ |
H A D | base.h | 110 DeviceType dev_type; member 120 if (dev_type == kCPUPinned || dev_type == kCPUShared) return kCPU; in dev_mask() 121 return dev_type; in dev_mask() 127 if (dev_type == kCPUPinned || dev_type == kGPU) return dev_id; in real_dev_id() 142 return dev_type == b.dev_type && dev_id == b.dev_id; 157 strm->Write(&dev_type, sizeof(dev_type)); in Save() 166 if (strm->Read(&dev_type, sizeof(dev_type)) != sizeof(dev_type)) return false; in Load() 393 if (dev_type == b.dev_type) { 396 return dev_type < b.dev_type; 401 ctx.dev_type = dev_type; in Create() [all …]
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/unittest/ |
H A D | test_tir_analysis_verify_memory.py | 45 for dev_type in gpu_devices + other_devices: 46 if tvm.testing.device_enabled(dev_type): 48 lambda f: f.with_attr("target", tvm.target.Target(dev_type)) 67 for dev_type in gpu_devices: 68 if tvm.testing.device_enabled(dev_type): 75 for dev_type in other_devices: 76 if tvm.testing.device_enabled(dev_type): 102 for dev_type in gpu_devices: 103 if tvm.testing.device_enabled(dev_type): 110 for dev_type in other_devices: [all …]
|
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-chip/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-sopine/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-sopine-spi/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-bananapi/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-rpi-0-w/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/arch/arm/mach-imx/imx8/ |
H A D | image.c | 74 if (dev_type == MMC_DEV) { in get_container_size() 90 if (dev_type == QSPI_DEV) { in get_container_size() 103 if (dev_type == NAND_DEV) { in get_container_size() 114 if (dev_type == QSPI_NOR_DEV) in get_container_size() 129 if (dev_type == MMC_DEV) { in get_boot_device_offset() 146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset() 148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset() 150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset() 157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument 162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end() [all …]
|