/dports/science/gnudatalanguage/gdl-1.0.1/testsuite/ |
H A D | test-swap_endian.pro | 1 ; Script : test-swap_endian 8 '-test-swap_endian.txt' 11 print, ' 1--' & print, swap_endian(1b) 12 print, ' 2--' & print, swap_endian(1) 13 print, ' 3--' & print, swap_endian(1l) 14 print, ' 4--' & print, swap_endian(1.) 15 print, ' 5--' & print, swap_endian(1.d0) 17 print, ' 7--' & print, swap_endian("") 19 print, ' 9--' & print, swap_endian(1us) 20 print, '10--' & print, swap_endian(1ul) [all …]
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/rla.imageio/ |
H A D | rla_pvt.h | 110 swap_endian(&WindowLeft); in rla_swap_endian() 111 swap_endian(&WindowRight); in rla_swap_endian() 112 swap_endian(&WindowBottom); in rla_swap_endian() 113 swap_endian(&WindowTop); in rla_swap_endian() 114 swap_endian(&ActiveLeft); in rla_swap_endian() 115 swap_endian(&ActiveRight); in rla_swap_endian() 117 swap_endian(&ActiveTop); in rla_swap_endian() 118 swap_endian(&FrameNumber); in rla_swap_endian() 123 swap_endian(&Revision); in rla_swap_endian() 124 swap_endian(&JobNumber); in rla_swap_endian() [all …]
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/rla.imageio/ |
H A D | rla_pvt.h | 110 swap_endian(&WindowLeft); in rla_swap_endian() 111 swap_endian(&WindowRight); in rla_swap_endian() 112 swap_endian(&WindowBottom); in rla_swap_endian() 113 swap_endian(&WindowTop); in rla_swap_endian() 114 swap_endian(&ActiveLeft); in rla_swap_endian() 115 swap_endian(&ActiveRight); in rla_swap_endian() 117 swap_endian(&ActiveTop); in rla_swap_endian() 118 swap_endian(&FrameNumber); in rla_swap_endian() 123 swap_endian(&Revision); in rla_swap_endian() 124 swap_endian(&JobNumber); in rla_swap_endian() [all …]
|
/dports/audio/rezound/rezound-0.13.1beta/src/misc/ |
H A D | endian_util.h | 77 #define lethe(value) swap_endian(value) 78 #define hetle(value) swap_endian(value) 100 #define bethe(value) swap_endian(value) 101 #define hetbe(value) swap_endian(value) 181 template<typename Type> inline static void swap_endian(Type *value) in swap_endian() function 191 template<typename Type> inline static const Type swap_endian(int8_t value) { return swap_endian<uin… in swap_endian() function 198 template<typename Type> inline static const Type swap_endian(int16_t value) { return swap_endian<ui… in swap_endian() function 207 template<typename Type> inline static const Type swap_endian(int32_t value) { return swap_endian<ui… in swap_endian() function 208 template<typename Type> inline static const Type swap_endian(float value) { return swap_endian<uint… in swap_endian() function 218 template<typename Type> inline static const Type swap_endian(int64_t value) { return swap_endian<ui… in swap_endian() function [all …]
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/bmp.imageio/ |
H A D | bmp_pvt.cpp | 45 swap_endian(); in read_header() 55 swap_endian(); in write_header() 85 OIIO::swap_endian(&magic); in swap_endian() 86 OIIO::swap_endian(&fsize); in swap_endian() 87 OIIO::swap_endian(&offset); in swap_endian() 139 swap_endian(); in read_header() 149 swap_endian(); in write_header() 167 OIIO::swap_endian(&size); in swap_endian() 171 OIIO::swap_endian(&bpp); in swap_endian() 174 OIIO::swap_endian(&hres); in swap_endian() [all …]
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/bmp.imageio/ |
H A D | bmp_pvt.cpp | 45 swap_endian(); in read_header() 55 swap_endian(); in write_header() 85 OIIO::swap_endian(&magic); in swap_endian() 86 OIIO::swap_endian(&fsize); in swap_endian() 87 OIIO::swap_endian(&offset); in swap_endian() 139 swap_endian(); in read_header() 149 swap_endian(); in write_header() 167 OIIO::swap_endian(&size); in swap_endian() 171 OIIO::swap_endian(&bpp); in swap_endian() 174 OIIO::swap_endian(&hres); in swap_endian() [all …]
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/softimage.imageio/ |
H A D | softimage_pvt.cpp | 28 PicFileHeader::swap_endian() in swap_endian() function in softimage_pvt::PicFileHeader 30 OIIO::swap_endian(&magic); in swap_endian() 31 OIIO::swap_endian(&width); in swap_endian() 32 OIIO::swap_endian(&height); in swap_endian() 33 OIIO::swap_endian(&version); in swap_endian() 34 OIIO::swap_endian(&ratio); in swap_endian() 35 OIIO::swap_endian(&fields); in swap_endian() 48 swap_endian(); in read_header()
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/softimage.imageio/ |
H A D | softimage_pvt.cpp | 28 PicFileHeader::swap_endian() in swap_endian() function in softimage_pvt::PicFileHeader 30 OIIO::swap_endian(&magic); in swap_endian() 31 OIIO::swap_endian(&width); in swap_endian() 32 OIIO::swap_endian(&height); in swap_endian() 33 OIIO::swap_endian(&version); in swap_endian() 34 OIIO::swap_endian(&ratio); in swap_endian() 35 OIIO::swap_endian(&fields); in swap_endian() 48 swap_endian(); in read_header()
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/ico.imageio/ |
H A D | icooutput.cpp | 218 swap_endian(&ico.type); in open() 231 swap_endian(&ico.type); in open() 273 swap_endian(&ico.type); in open() 289 swap_endian(&temp); in open() 292 swap_endian(&temp); in open() 324 swap_endian(&subimg.width); in open() 327 swap_endian(&subimg.bpp); in open() 328 swap_endian(&subimg.len); in open() 329 swap_endian(&subimg.ofs); in open() 360 swap_endian(&bmi.bpp); in open() [all …]
|
H A D | icoinput.cpp | 125 swap_endian(&m_ico.type); in open() 126 swap_endian(&m_ico.count); in open() 174 swap_endian(&subimg.bpp); in seek_subimage() 175 swap_endian(&subimg.width); in seek_subimage() 177 swap_endian(&subimg.len); in seek_subimage() 178 swap_endian(&subimg.ofs); in seek_subimage() 226 swap_endian(&bmi.size); in seek_subimage() 227 swap_endian(&bmi.bpp); in seek_subimage() 228 swap_endian(&bmi.width); in seek_subimage() 229 swap_endian(&bmi.height); in seek_subimage() [all …]
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/ico.imageio/ |
H A D | icooutput.cpp | 218 swap_endian(&ico.type); in open() 231 swap_endian(&ico.type); in open() 273 swap_endian(&ico.type); in open() 289 swap_endian(&temp); in open() 292 swap_endian(&temp); in open() 324 swap_endian(&subimg.width); in open() 327 swap_endian(&subimg.bpp); in open() 328 swap_endian(&subimg.len); in open() 329 swap_endian(&subimg.ofs); in open() 360 swap_endian(&bmi.bpp); in open() [all …]
|
H A D | icoinput.cpp | 125 swap_endian(&m_ico.type); in open() 126 swap_endian(&m_ico.count); in open() 174 swap_endian(&subimg.bpp); in seek_subimage() 175 swap_endian(&subimg.width); in seek_subimage() 177 swap_endian(&subimg.len); in seek_subimage() 178 swap_endian(&subimg.ofs); in seek_subimage() 226 swap_endian(&bmi.size); in seek_subimage() 227 swap_endian(&bmi.bpp); in seek_subimage() 228 swap_endian(&bmi.width); in seek_subimage() 229 swap_endian(&bmi.height); in seek_subimage() [all …]
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/sgi.imageio/ |
H A D | sgiinput.cpp | 173 swap_endian((unsigned short*)data, m_spec.width * m_spec.nchannels); in read_native_scanline() 298 swap_endian(&m_sgi_header.magic); in read_header() 299 swap_endian(&m_sgi_header.dimension); in read_header() 300 swap_endian(&m_sgi_header.xsize); in read_header() 301 swap_endian(&m_sgi_header.ysize); in read_header() 302 swap_endian(&m_sgi_header.zsize); in read_header() 303 swap_endian(&m_sgi_header.pixmin); in read_header() 304 swap_endian(&m_sgi_header.pixmax); in read_header() 305 swap_endian(&m_sgi_header.colormap); in read_header() 323 swap_endian(&length_tab[0], length_tab.size()); in read_offset_tables() [all …]
|
H A D | sgioutput.cpp | 103 swap_endian((unsigned short*)&channeldata[0], m_spec.width); in write_scanline() 186 swap_endian(&sgi_header.magic); in create_and_write_header() 187 swap_endian(&sgi_header.dimension); in create_and_write_header() 188 swap_endian(&sgi_header.xsize); in create_and_write_header() 189 swap_endian(&sgi_header.ysize); in create_and_write_header() 190 swap_endian(&sgi_header.zsize); in create_and_write_header() 191 swap_endian(&sgi_header.pixmin); in create_and_write_header() 192 swap_endian(&sgi_header.pixmax); in create_and_write_header() 193 swap_endian(&sgi_header.colormap); in create_and_write_header()
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/sgi.imageio/ |
H A D | sgiinput.cpp | 173 swap_endian((unsigned short*)data, m_spec.width * m_spec.nchannels); in read_native_scanline() 298 swap_endian(&m_sgi_header.magic); in read_header() 299 swap_endian(&m_sgi_header.dimension); in read_header() 300 swap_endian(&m_sgi_header.xsize); in read_header() 301 swap_endian(&m_sgi_header.ysize); in read_header() 302 swap_endian(&m_sgi_header.zsize); in read_header() 303 swap_endian(&m_sgi_header.pixmin); in read_header() 304 swap_endian(&m_sgi_header.pixmax); in read_header() 305 swap_endian(&m_sgi_header.colormap); in read_header() 323 swap_endian(&length_tab[0], length_tab.size()); in read_offset_tables() [all …]
|
H A D | sgioutput.cpp | 103 swap_endian((unsigned short*)&channeldata[0], m_spec.width); in write_scanline() 186 swap_endian(&sgi_header.magic); in create_and_write_header() 187 swap_endian(&sgi_header.dimension); in create_and_write_header() 188 swap_endian(&sgi_header.xsize); in create_and_write_header() 189 swap_endian(&sgi_header.ysize); in create_and_write_header() 190 swap_endian(&sgi_header.zsize); in create_and_write_header() 191 swap_endian(&sgi_header.pixmin); in create_and_write_header() 192 swap_endian(&sgi_header.pixmax); in create_and_write_header() 193 swap_endian(&sgi_header.colormap); in create_and_write_header()
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/targa.imageio/ |
H A D | targainput.cpp | 134 swap_endian(&m_tga.idlen); in open() 135 swap_endian(&m_tga.cmap_type); in open() 136 swap_endian(&m_tga.type); in open() 139 swap_endian(&m_tga.cmap_size); in open() 140 swap_endian(&m_tga.x_origin); in open() 141 swap_endian(&m_tga.y_origin); in open() 142 swap_endian(&m_tga.width); in open() 143 swap_endian(&m_tga.height); in open() 144 swap_endian(&m_tga.bpp); in open() 145 swap_endian(&m_tga.attr); in open() [all …]
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/targa.imageio/ |
H A D | targainput.cpp | 134 swap_endian(&m_tga.idlen); in open() 135 swap_endian(&m_tga.cmap_type); in open() 136 swap_endian(&m_tga.type); in open() 139 swap_endian(&m_tga.cmap_size); in open() 140 swap_endian(&m_tga.x_origin); in open() 141 swap_endian(&m_tga.y_origin); in open() 142 swap_endian(&m_tga.width); in open() 143 swap_endian(&m_tga.height); in open() 144 swap_endian(&m_tga.bpp); in open() 145 swap_endian(&m_tga.attr); in open() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_endian.c | 17 enum btf_endianness swap_endian = 1 - endian; in test_btf_endian() local 31 btf__set_endianness(btf, swap_endian); in test_btf_endian() 32 ASSERT_EQ(btf__endianness(btf), swap_endian, "endian"); in test_btf_endian() 44 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian() 77 btf__set_endianness(btf, swap_endian); in test_btf_endian() 87 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian()
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_endian.c | 17 enum btf_endianness swap_endian = 1 - endian; in test_btf_endian() local 31 btf__set_endianness(btf, swap_endian); in test_btf_endian() 32 ASSERT_EQ(btf__endianness(btf), swap_endian, "endian"); in test_btf_endian() 44 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian() 77 btf__set_endianness(btf, swap_endian); in test_btf_endian() 87 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_endian.c | 17 enum btf_endianness swap_endian = 1 - endian; in test_btf_endian() local 31 btf__set_endianness(btf, swap_endian); in test_btf_endian() 32 ASSERT_EQ(btf__endianness(btf), swap_endian, "endian"); in test_btf_endian() 44 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian() 77 btf__set_endianness(btf, swap_endian); in test_btf_endian() 87 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian()
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.old-deja/g++.brendan/ |
H A D | crash66.C | 7 extern int swap_endian; 17 operator ushort() { return swap_endian ? swapshort(data) : data;} in ushort() 18 eshort(ushort t) { data = swap_endian ? swapshort(t) : t;} in eshort() 30 operator ulong() { return swap_endian ? swaplong(data) : data;} in ulong() 31 elong(ulong t) { data = swap_endian ? swaplong(t) : t; } in elong() 89 int swap_endian; variable
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/g++.old-deja/g++.brendan/ |
H A D | crash66.C | 7 extern int swap_endian; 17 operator ushort() { return swap_endian ? swapshort(data) : data;} in ushort() 18 eshort(ushort t) { data = swap_endian ? swapshort(t) : t;} in eshort() 30 operator ulong() { return swap_endian ? swaplong(data) : data;} in ulong() 31 elong(ulong t) { data = swap_endian ? swaplong(t) : t; } in elong() 89 int swap_endian; variable
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/g++.old-deja/g++.brendan/ |
H A D | crash66.C | 7 extern int swap_endian; 17 operator ushort() { return swap_endian ? swapshort(data) : data;} in ushort() 18 eshort(ushort t) { data = swap_endian ? swapshort(t) : t;} in eshort() 30 operator ulong() { return swap_endian ? swaplong(data) : data;} in ulong() 31 elong(ulong t) { data = swap_endian ? swaplong(t) : t; } in elong() 89 int swap_endian; variable
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/g++.old-deja/g++.brendan/ |
H A D | crash66.C | 7 extern int swap_endian; 17 operator ushort() { return swap_endian ? swapshort(data) : data;} in ushort() 18 eshort(ushort t) { data = swap_endian ? swapshort(t) : t;} in eshort() 30 operator ulong() { return swap_endian ? swaplong(data) : data;} in ulong() 31 elong(ulong t) { data = swap_endian ? swaplong(t) : t; } in elong() 89 int swap_endian; variable
|