/dports/net-mgmt/arts++/arts++-1.1.a13/classes/src/ |
H A D | ArtsPrimitive.cc | 159 os.write((char*)&val16,sizeof(val16)); in WriteUint16() 227 is.read((char*)&val16,sizeof(val16)); in ReadUint16() 298 val16 = htons(val16); in WriteUint32() 299 os.write((char*)&val16,sizeof(val16)); in WriteUint32() 305 os.write((char*)&val16,sizeof(val16)); in WriteUint32() 348 val16 = htons(val16); in WriteUint32() 393 is.read((char*)&val16,sizeof(val16)); in ReadUint32() 399 is.read((char*)&val16,sizeof(val16)); in ReadUint32() 492 val16 = htons(val16); in WriteUint64() 540 val16 = htons(val16); in WriteUint64() [all …]
|
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/test/codegen/ |
H A D | noextend.go | 15 var val16 [8]uint16 var 29 val16[0] = uint16(*u8) 38 val16[1] = 255 & uint16(*u8+z8) 45 val16[0] = uint16(sval16[*u8>>2]) 49 sval16[1] = int16(val16[*x16>>1]) 53 val16[1] = uint16(sval16[*u16>>2]) 61 val16[0] = uint16(*u8) 70 val16[1] = 255 & uint16(*u8+*z8) 109 if uint16(*u8) == val16[0] { 134 if uint16(*u32) == val16[0] { [all …]
|
/dports/emulators/mess/mame-mame0226/src/lib/formats/ |
H A D | imageutl.h | 30 uint16_t val16; in place_integer_be() local 36 val16 = big_endianize_int16((uint16_t) value); in place_integer_be() 37 memcpy(byte_ptr, &val16, sizeof(val16)); in place_integer_be() 62 uint16_t val16; in pick_integer_be() local 72 memcpy(&val16, byte_ptr, sizeof(val16)); in pick_integer_be() 73 result = big_endianize_int16(val16); in pick_integer_be() 98 uint16_t val16; in place_integer_le() local 105 memcpy(byte_ptr, &val16, sizeof(val16)); in place_integer_le() 130 uint16_t val16; in pick_integer_le() local 140 memcpy(&val16, byte_ptr, sizeof(val16)); in pick_integer_le() [all …]
|
/dports/emulators/mame/mame-mame0226/src/lib/formats/ |
H A D | imageutl.h | 30 uint16_t val16; in place_integer_be() local 36 val16 = big_endianize_int16((uint16_t) value); in place_integer_be() 37 memcpy(byte_ptr, &val16, sizeof(val16)); in place_integer_be() 62 uint16_t val16; in pick_integer_be() local 72 memcpy(&val16, byte_ptr, sizeof(val16)); in pick_integer_be() 73 result = big_endianize_int16(val16); in pick_integer_be() 98 uint16_t val16; in place_integer_le() local 105 memcpy(byte_ptr, &val16, sizeof(val16)); in place_integer_le() 130 uint16_t val16; in pick_integer_le() local 140 memcpy(&val16, byte_ptr, sizeof(val16)); in pick_integer_le() [all …]
|
/dports/devel/libflatarray/libflatarray-0.3.0/src/detail/ |
H A D | short_vec_scalar_double_16.hpp | 62 val16(data) in short_vec() 104 val16(val16) in short_vec() 135 val16; in any() 195 val16 -= other.val16; in operator -=() 217 val16 - other.val16); in operator -() 238 val16 += other.val16; in operator +=() 260 val16 + other.val16); in operator +() 281 val16 *= other.val16; in operator *=() 303 val16 * other.val16); in operator *() 324 val16 /= other.val16; in operator /=() [all …]
|
H A D | short_vec_scalar_float_16.hpp | 61 val16(data) in short_vec() 103 val16(val16) in short_vec() 134 val16; in any() 194 val16 -= other.val16; in operator -=() 216 val16 - other.val16); in operator -() 237 val16 += other.val16; in operator +=() 259 val16 + other.val16); in operator +() 280 val16 *= other.val16; in operator *=() 302 val16 * other.val16); in operator *() 323 val16 /= other.val16; in operator /=() [all …]
|
H A D | short_vec_scalar_int_16.hpp | 64 val16(data) in short_vec() 106 val16(val16) in short_vec() 136 val16 -= other.val16; in operator -=() 158 val16 - other.val16); in operator -() 179 val16 += other.val16; in operator +=() 201 val16 + other.val16); in operator +() 222 val16 *= other.val16; in operator *=() 244 val16 * other.val16); in operator *() 265 val16 /= other.val16; in operator /=() 287 val16 / other.val16); in operator /() [all …]
|
H A D | short_vec_sse_double_32.hpp | 107 val16(val16) in short_vec() 236 val16 = _mm_sub_pd(val16, other.val16); in operator -=() 258 _mm_sub_pd(val16, other.val16)); in operator -() 279 val16 = _mm_add_pd(val16, other.val16); in operator +=() 301 _mm_add_pd(val16, other.val16)); in operator +() 322 val16 = _mm_mul_pd(val16, other.val16); in operator *=() 344 _mm_mul_pd(val16, other.val16)); in operator *() 365 val16 = _mm_div_pd(val16, other.val16); in operator /=() 387 _mm_div_pd(val16, other.val16)); in operator /() 412 _mm_cmplt_pd(val16, other.val16)); in operator <() [all …]
|
H A D | short_vec_scalar_double_32.hpp | 61 val16(data), in short_vec() 135 val16(val16), in short_vec() 182 val16 || in any() 290 val16 -= other.val16; in operator -=() 328 val16 - other.val16, in operator -() 365 val16 += other.val16; in operator +=() 403 val16 + other.val16, in operator +() 440 val16 *= other.val16; in operator *=() 478 val16 * other.val16, in operator *() 515 val16 /= other.val16; in operator /=() [all …]
|
H A D | short_vec_scalar_float_32.hpp | 60 val16(data), in short_vec() 134 val16(val16), in short_vec() 289 val16 -= other.val16; in operator -=() 327 val16 - other.val16, in operator -() 364 val16 += other.val16; in operator +=() 402 val16 + other.val16, in operator +() 439 val16 *= other.val16; in operator *=() 477 val16 * other.val16, in operator *() 514 val16 /= other.val16; in operator /=() 552 val16 / other.val16, in operator /() [all …]
|
/dports/devel/rudiments/rudiments-1.2.2/bench/ |
H A D | bytestring.cpp | 112 uint16_t val16=0xFFFF; in main() local 114 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val16)); i++) { in main() 115 copy(bytes+(i*sizeof(val16)),&val16,sizeof(val16)); in main() 124 val16=0xFFFF; in main() 126 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val16)); i++) { in main() 127 copy8(bytes+(i*sizeof(val16)),&val16,sizeof(val16)); in main() 137 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val16)); i++) { in main() 138 copy(&val16,bytes+(i*sizeof(val16)),sizeof(val16)); in main() 148 for (uint64_t i=0; i<(BUFFERSIZE/sizeof(val16)); i++) { in main() 149 copy8(&val16,bytes+(i*sizeof(val16)),sizeof(val16)); in main()
|
/dports/graphics/jogamp-jogl/gluegen/src/junit/com/jogamp/common/util/ |
H A D | TestBitstream03.java | 72 … void test01Int16BitsAlignedImpl(final ByteOrder byteOrder, final short val16) throws IOException { in test01Int16BitsAlignedImpl() argument 79 …byteOrder "+byteOrder+" (bigEndian "+bigEndian+"), value "+val16+", "+toHexBinaryString(val16, 16)… in test01Int16BitsAlignedImpl() 80 bb.putShort(0, val16); in test01Int16BitsAlignedImpl() 88 Assert.assertEquals(val16, r16); in test01Int16BitsAlignedImpl() 93 bs.writeInt16(bigEndian, val16); in test01Int16BitsAlignedImpl() 99 Assert.assertEquals(val16, r16); in test01Int16BitsAlignedImpl() 127 …tsUnalignedImpl(final ByteOrder byteOrder, final int preBits, final short val16) throws IOExceptio… in test02Int16BitsUnalignedImpl() argument 135 …+" (bigEndian "+bigEndian+"), preBits "+preBits+", value "+val16+", "+toHexBinaryString(val16, 16)… in test02Int16BitsUnalignedImpl() 141 bs.writeInt16(bigEndian, val16); in test02Int16BitsUnalignedImpl() 149 Assert.assertEquals(val16, r16); in test02Int16BitsUnalignedImpl()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | rtl8xxxu_8192c.c | 441 u16 val16; in rtl8192cu_power_on() local 479 val16 = rtl8xxxu_read16(priv, REG_APS_FSMCO); in rtl8192cu_power_on() 480 val16 |= APS_FSMCO_MAC_ENABLE; in rtl8192cu_power_on() 481 rtl8xxxu_write16(priv, REG_APS_FSMCO, val16); in rtl8192cu_power_on() 484 val16 = rtl8xxxu_read16(priv, REG_APS_FSMCO); in rtl8192cu_power_on() 485 if (!(val16 & APS_FSMCO_MAC_ENABLE)) in rtl8192cu_power_on() 498 rtl8xxxu_write16(priv, REG_APS_FSMCO, val16); in rtl8192cu_power_on() 503 val16 = rtl8xxxu_read16(priv, REG_SYS_ISO_CTRL); in rtl8192cu_power_on() 504 val16 &= ~SYS_ISO_DIOR; in rtl8192cu_power_on() 524 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192cu_power_on() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | rtl8xxxu_8192c.c | 441 u16 val16; in rtl8192cu_power_on() local 479 val16 = rtl8xxxu_read16(priv, REG_APS_FSMCO); in rtl8192cu_power_on() 480 val16 |= APS_FSMCO_MAC_ENABLE; in rtl8192cu_power_on() 481 rtl8xxxu_write16(priv, REG_APS_FSMCO, val16); in rtl8192cu_power_on() 484 val16 = rtl8xxxu_read16(priv, REG_APS_FSMCO); in rtl8192cu_power_on() 485 if (!(val16 & APS_FSMCO_MAC_ENABLE)) in rtl8192cu_power_on() 498 rtl8xxxu_write16(priv, REG_APS_FSMCO, val16); in rtl8192cu_power_on() 503 val16 = rtl8xxxu_read16(priv, REG_SYS_ISO_CTRL); in rtl8192cu_power_on() 504 val16 &= ~SYS_ISO_DIOR; in rtl8192cu_power_on() 524 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192cu_power_on() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | rtl8xxxu_8192c.c | 441 u16 val16; in rtl8192cu_power_on() local 479 val16 = rtl8xxxu_read16(priv, REG_APS_FSMCO); in rtl8192cu_power_on() 480 val16 |= APS_FSMCO_MAC_ENABLE; in rtl8192cu_power_on() 481 rtl8xxxu_write16(priv, REG_APS_FSMCO, val16); in rtl8192cu_power_on() 484 val16 = rtl8xxxu_read16(priv, REG_APS_FSMCO); in rtl8192cu_power_on() 485 if (!(val16 & APS_FSMCO_MAC_ENABLE)) in rtl8192cu_power_on() 498 rtl8xxxu_write16(priv, REG_APS_FSMCO, val16); in rtl8192cu_power_on() 503 val16 = rtl8xxxu_read16(priv, REG_SYS_ISO_CTRL); in rtl8192cu_power_on() 504 val16 &= ~SYS_ISO_DIOR; in rtl8192cu_power_on() 524 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192cu_power_on() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/bcma/ |
H A D | driver_pci.c | 154 u16 val16, core_index; in bcma_core_pci_fixcfg() local 160 val16 = pcicore_read16(pc, regoff); in bcma_core_pci_fixcfg() 161 if (((val16 & BCMA_CORE_PCI_SPROM_PI_MASK) >> BCMA_CORE_PCI_SPROM_PI_SHIFT) in bcma_core_pci_fixcfg() 163 val16 = (core_index << BCMA_CORE_PCI_SPROM_PI_SHIFT) | in bcma_core_pci_fixcfg() 164 (val16 & ~BCMA_CORE_PCI_SPROM_PI_MASK); in bcma_core_pci_fixcfg() 165 pcicore_write16(pc, regoff, val16); in bcma_core_pci_fixcfg() 223 u16 val16; in bcma_core_pci_config_fixup() local 228 val16 = pcicore_read16(pc, regoff); in bcma_core_pci_config_fixup() 230 if (!(val16 & BCMA_CORE_PCI_SPROM_L23READY_EXIT_NOPERST)) { in bcma_core_pci_config_fixup() 231 val16 |= BCMA_CORE_PCI_SPROM_L23READY_EXIT_NOPERST; in bcma_core_pci_config_fixup() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/bcma/ |
H A D | driver_pci.c | 154 u16 val16, core_index; in bcma_core_pci_fixcfg() local 160 val16 = pcicore_read16(pc, regoff); in bcma_core_pci_fixcfg() 161 if (((val16 & BCMA_CORE_PCI_SPROM_PI_MASK) >> BCMA_CORE_PCI_SPROM_PI_SHIFT) in bcma_core_pci_fixcfg() 163 val16 = (core_index << BCMA_CORE_PCI_SPROM_PI_SHIFT) | in bcma_core_pci_fixcfg() 164 (val16 & ~BCMA_CORE_PCI_SPROM_PI_MASK); in bcma_core_pci_fixcfg() 165 pcicore_write16(pc, regoff, val16); in bcma_core_pci_fixcfg() 223 u16 val16; in bcma_core_pci_config_fixup() local 228 val16 = pcicore_read16(pc, regoff); in bcma_core_pci_config_fixup() 230 if (!(val16 & BCMA_CORE_PCI_SPROM_L23READY_EXIT_NOPERST)) { in bcma_core_pci_config_fixup() 231 val16 |= BCMA_CORE_PCI_SPROM_L23READY_EXIT_NOPERST; in bcma_core_pci_config_fixup() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/bcma/ |
H A D | driver_pci.c | 154 u16 val16, core_index; in bcma_core_pci_fixcfg() local 160 val16 = pcicore_read16(pc, regoff); in bcma_core_pci_fixcfg() 161 if (((val16 & BCMA_CORE_PCI_SPROM_PI_MASK) >> BCMA_CORE_PCI_SPROM_PI_SHIFT) in bcma_core_pci_fixcfg() 163 val16 = (core_index << BCMA_CORE_PCI_SPROM_PI_SHIFT) | in bcma_core_pci_fixcfg() 164 (val16 & ~BCMA_CORE_PCI_SPROM_PI_MASK); in bcma_core_pci_fixcfg() 165 pcicore_write16(pc, regoff, val16); in bcma_core_pci_fixcfg() 223 u16 val16; in bcma_core_pci_config_fixup() local 228 val16 = pcicore_read16(pc, regoff); in bcma_core_pci_config_fixup() 230 if (!(val16 & BCMA_CORE_PCI_SPROM_L23READY_EXIT_NOPERST)) { in bcma_core_pci_config_fixup() 231 val16 |= BCMA_CORE_PCI_SPROM_L23READY_EXIT_NOPERST; in bcma_core_pci_config_fixup() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/test/CodeGen/NVPTX/ |
H A D | half.ll | 40 %val16 = load half, half addrspace(1)* %in 41 %val32 = fpext half %val16 to float 50 %val16 = load half, half addrspace(1)* %in 51 %val64 = fpext half %val16 to double 61 %val16 = fptrunc float %val32 to half 62 store half %val16, half addrspace(1)* %out 71 %val16 = fptrunc double %val32 to half 72 store half %val16, half addrspace(1)* %out
|
/dports/devel/llvm10/llvm-10.0.1.src/test/CodeGen/NVPTX/ |
H A D | half.ll | 40 %val16 = load half, half addrspace(1)* %in 41 %val32 = fpext half %val16 to float 50 %val16 = load half, half addrspace(1)* %in 51 %val64 = fpext half %val16 to double 61 %val16 = fptrunc float %val32 to half 62 store half %val16, half addrspace(1)* %out 71 %val16 = fptrunc double %val32 to half 72 store half %val16, half addrspace(1)* %out
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/test/CodeGen/NVPTX/ |
H A D | half.ll | 40 %val16 = load half, half addrspace(1)* %in 41 %val32 = fpext half %val16 to float 50 %val16 = load half, half addrspace(1)* %in 51 %val64 = fpext half %val16 to double 61 %val16 = fptrunc float %val32 to half 62 store half %val16, half addrspace(1)* %out 71 %val16 = fptrunc double %val32 to half 72 store half %val16, half addrspace(1)* %out
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/test/CodeGen/NVPTX/ |
H A D | half.ll | 40 %val16 = load half, half addrspace(1)* %in 41 %val32 = fpext half %val16 to float 50 %val16 = load half, half addrspace(1)* %in 51 %val64 = fpext half %val16 to double 61 %val16 = fptrunc float %val32 to half 62 store half %val16, half addrspace(1)* %out 71 %val16 = fptrunc double %val32 to half 72 store half %val16, half addrspace(1)* %out
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/test/CodeGen/NVPTX/ |
H A D | half.ll | 40 %val16 = load half, half addrspace(1)* %in 41 %val32 = fpext half %val16 to float 50 %val16 = load half, half addrspace(1)* %in 51 %val64 = fpext half %val16 to double 61 %val16 = fptrunc float %val32 to half 62 store half %val16, half addrspace(1)* %out 71 %val16 = fptrunc double %val32 to half 72 store half %val16, half addrspace(1)* %out
|
/dports/devel/llvm11/llvm-11.0.1.src/test/CodeGen/NVPTX/ |
H A D | half.ll | 40 %val16 = load half, half addrspace(1)* %in 41 %val32 = fpext half %val16 to float 50 %val16 = load half, half addrspace(1)* %in 51 %val64 = fpext half %val16 to double 61 %val16 = fptrunc float %val32 to half 62 store half %val16, half addrspace(1)* %out 71 %val16 = fptrunc double %val32 to half 72 store half %val16, half addrspace(1)* %out
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/test/CodeGen/NVPTX/ |
H A D | half.ll | 40 %val16 = load half, half addrspace(1)* %in 41 %val32 = fpext half %val16 to float 50 %val16 = load half, half addrspace(1)* %in 51 %val64 = fpext half %val16 to double 61 %val16 = fptrunc float %val32 to half 62 store half %val16, half addrspace(1)* %out 71 %val16 = fptrunc double %val32 to half 72 store half %val16, half addrspace(1)* %out
|