Home
last modified time | relevance | path

Searched refs:bigswap (Results 1 – 23 of 23) sorted by relevance

/dports/games/multimc/MultiMC5-0.6.11/libraries/classparser/src/
H A Djavaendian.h10 inline uint64_t bigswap(uint64_t x) in bigswap() function
15 inline uint32_t bigswap(uint32_t x) in bigswap() function
20 inline uint16_t bigswap(uint16_t x) in bigswap() function
25 inline int64_t bigswap(int64_t x) in bigswap() function
30 inline int32_t bigswap(int32_t x) in bigswap() function
35 inline int16_t bigswap(int16_t x) in bigswap() function
41 inline uint64_t bigswap(uint64_t x)
48 inline uint32_t bigswap(uint32_t x)
58 inline int64_t bigswap(int64_t x)
65 inline int32_t bigswap(int32_t x)
[all …]
H A Dmembuffer.h37 val = util::bigswap(*(T *)current); in read_be()
/dports/games/bloodfrontier/bloodfrontier/src/shared/
H A Dtools.h835 #define bigswap endianswap macro
838 #define bigswap endiansame macro
843 template<class T> inline T bigswap(T n) { return *(const uchar *)&islittleendian ? endianswap(n) : … in bigswap() function
844 template<class T> inline void bigswap(T *buf, int len) { if(*(const uchar *)&islittleendian) endian… in bigswap() function
875 template<class T> bool putbig(T n) { return put<T>(bigswap(n)); } in putbig()
879 template<class T> T getbig() { return bigswap(get<T>()); } in getbig()
/dports/games/assaultcube/AssaultCube_v1.2.0.2/source/src/
H A Dtools.h847 #define bigswap endianswap macro
850 #define bigswap endiansame macro
855 template<class T> inline T bigswap(T n) { return *(const uchar *)&islittleendian ? endianswap(n) : … in bigswap() function
856 template<class T> inline void bigswap(T *buf, int len) { if(*(const uchar *)&islittleendian) endian… in bigswap() function
895 template<class T> bool putbig(T n) { return put<T>(bigswap(n)); } in putbig()
899 template<class T> T getbig() { return bigswap(get<T>()); } in getbig()
H A Dmain.cpp318 } ihdr = { bigswap<uint>(iw), bigswap<uint>(ih), 8, 2, 0, 0, 0 }; in save_png()
/dports/devel/emscripten/emscripten-2.0.3/tests/cubescript/
H A Dtools.h828 #define bigswap endianswap
831 #define bigswap endiansame
836 template<class T> inline T bigswap(T n) { return *(const uchar *)&islittleendian ? endianswap(n) : …
837 template<class T> inline void bigswap(T *buf, int len) { if(*(const uchar *)&islittleendian) endian…
868 template<class T> bool putbig(T n) { return put<T>(bigswap(n)); }
872 template<class T> T getbig() { return bigswap(get<T>()); }
/dports/deskutils/treesheets/treesheets-1.0.2/lobster/src/
H A Dglloadiqm.cpp133 template<class T> inline T bigswap(T n) { in bigswap() function
136 template<class T> inline void bigswap(T *buf, int len) { in bigswap() function
142 template<class T> T getbig(FILE *f) { return bigswap(getval<T>(f)); } in getbig()
/dports/games/sauerbraten/sauerbraten/src/shared/
H A Dtools.h1222 #define bigswap endianswap macro
1225 #define bigswap endiansame macro
1230 #define bigswap endianswap macro
1233 #define bigswap endiansame macro
1238 template<class T> inline T bigswap(T n) { return *(const uchar *)&islittleendian ? endianswap(n) : … in bigswap() function
1239 template<class T> inline void bigswap(T *buf, size_t len) { if(*(const uchar *)&islittleendian) end… in bigswap() function
1284 template<class T> bool putbig(T n) { return put<T>(bigswap(n)); } in putbig()
1289 template<class T> T getbig() { return bigswap(get<T>()); } in getbig()
H A Dcube2font.c30 uint bigswap(uint n) in bigswap() function
38 n = bigswap(n); in writebig()
73 ihdr.width = bigswap(w); in savepng()
74 ihdr.height = bigswap(h); in savepng()
/dports/games/redeclipse16/base-1.6.0/src/shared/
H A Dcube2font.c30 uint bigswap(uint n) in bigswap() function
38 n = bigswap(n); in writebig()
73 ihdr.width = bigswap(w); in savepng()
74 ihdr.height = bigswap(h); in savepng()
H A Dtools.h1373 #define bigswap endianswap macro
1376 #define bigswap endiansame macro
1381 #define bigswap endianswap macro
1384 #define bigswap endiansame macro
1389 template<class T> inline T bigswap(T n) { return *(const uchar *)&islittleendian ? endianswap(n) : … in bigswap() function
1390 template<class T> inline void bigswap(T *buf, size_t len) { if(*(const uchar *)&islittleendian) end… in bigswap() function
1435 template<class T> bool putbig(T n) { return put<T>(bigswap(n)); } in putbig()
1440 template<class T> T getbig() { return bigswap(get<T>()); } in getbig()
/dports/games/redeclipse/base-2.0.0/src/shared/
H A Dcube2font.cpp30 uint bigswap(uint n) in bigswap() function
38 n = bigswap(n); in writebig()
73 ihdr.width = bigswap(w); in savepng()
74 ihdr.height = bigswap(h); in savepng()
H A Dtools.h1580 #define bigswap endianswap macro
1583 #define bigswap endiansame macro
1588 #define bigswap endianswap macro
1591 #define bigswap endiansame macro
1596 template<class T> inline T bigswap(T n) { return islittleendian() ? endianswap(n) : n; } in bigswap() function
1597 template<class T> inline void bigswap(T *buf, size_t len) { if(islittleendian()) endianswap(buf, le… in bigswap() function
1642 template<class T> bool putbig(T n) { return put<T>(bigswap(n)); } in putbig()
1647 template<class T> T getbig() { return bigswap(get<T>()); } in getbig()
/dports/games/tesseract-data/tesseract/src/shared/
H A Dtools.h1166 #define bigswap endianswap macro
1169 #define bigswap endiansame macro
1174 template<class T> inline T bigswap(T n) { return islittleendian() ? endianswap(n) : n; } in bigswap() function
1175 template<class T> inline void bigswap(T *buf, size_t len) { if(islittleendian()) endianswap(buf, le… in bigswap() function
1220 template<class T> bool putbig(T n) { return put<T>(bigswap(n)); } in putbig()
1225 template<class T> T getbig() { return bigswap(get<T>()); } in getbig()
H A Dtessfont.c34 uint bigswap(uint n) in bigswap() function
42 n = bigswap(n); in writebig()
77 ihdr.width = bigswap(w); in savepng()
78 ihdr.height = bigswap(h); in savepng()
/dports/games/tesseract/tesseract/src/shared/
H A Dtools.h1166 #define bigswap endianswap macro
1169 #define bigswap endiansame macro
1174 template<class T> inline T bigswap(T n) { return islittleendian() ? endianswap(n) : n; } in bigswap() function
1175 template<class T> inline void bigswap(T *buf, size_t len) { if(islittleendian()) endianswap(buf, le… in bigswap() function
1220 template<class T> bool putbig(T n) { return put<T>(bigswap(n)); } in putbig()
1225 template<class T> T getbig() { return bigswap(get<T>()); } in getbig()
H A Dtessfont.c34 uint bigswap(uint n) in bigswap() function
42 n = bigswap(n); in writebig()
77 ihdr.width = bigswap(w); in savepng()
78 ihdr.height = bigswap(h); in savepng()
/dports/games/bloodfrontier/bloodfrontier/src/engine/
H A Dtexture.cpp2077 } ihdr = { bigswap<uint>(image.w), bigswap<uint>(image.h), 8, ctype, 0, 0, 0 }; in savepng()
/dports/games/tesseract-data/tesseract/src/engine/
H A Dtexture.cpp3071 } ihdr = { bigswap<uint>(image.w), bigswap<uint>(image.h), 8, ctype, 0, 0, 0 }; in savepng()
/dports/games/tesseract/tesseract/src/engine/
H A Dtexture.cpp3071 } ihdr = { bigswap<uint>(image.w), bigswap<uint>(image.h), 8, ctype, 0, 0, 0 }; in savepng()
/dports/games/redeclipse16/base-1.6.0/src/engine/
H A Dtexture.cpp3383 } ihdr = { bigswap<uint>(image.w), bigswap<uint>(image.h), 8, ctype, 0, 0, 0 }; in savepng()
/dports/games/sauerbraten/sauerbraten/src/engine/
H A Dtexture.cpp3335 } ihdr = { bigswap<uint>(image.w), bigswap<uint>(image.h), 8, ctype, 0, 0, 0 }; in savepng()
/dports/games/redeclipse/base-2.0.0/src/engine/
H A Dtexture.cpp3817 } ihdr = { bigswap<uint>(image.w), bigswap<uint>(image.h), 8, ctype, 0, 0, 0 }; in savepng()