Home
last modified time | relevance | path

Searched refs:byteswap16 (Results 1 – 25 of 33) sorted by relevance

12

/dports/security/libmcrypt/libmcrypt-2.5.8/modules/algorithms/
H A Drc2.c122 x3 = byteswap16(plain[3]); in _mcrypt_encrypt()
123 x2 = byteswap16(plain[2]); in _mcrypt_encrypt()
124 x1 = byteswap16(plain[1]); in _mcrypt_encrypt()
125 x0 = byteswap16(plain[0]); in _mcrypt_encrypt()
155 plain[0] = byteswap16(x0); in _mcrypt_encrypt()
156 plain[1] = byteswap16(x1); in _mcrypt_encrypt()
157 plain[2] = byteswap16(x2); in _mcrypt_encrypt()
158 plain[3] = byteswap16(x3); in _mcrypt_encrypt()
183 x3 = byteswap16(plain[3]); in _mcrypt_decrypt()
184 x2 = byteswap16(plain[2]); in _mcrypt_decrypt()
[all …]
/dports/net/scamper/scamper-cvs-20211026/scamper/dealias/
H A Dscamper_dealias.c528 u16 = dealias_ipid16_diff(byteswap16(a), byteswap16(b)); in dealias_ipid16_bo()
560 a = byteswap16(a); in dealias_ipid16_inseq()
561 b = byteswap16(b); in dealias_ipid16_inseq()
575 a = byteswap16(a); in dealias_ipid16_inseq()
576 b = byteswap16(b); in dealias_ipid16_inseq()
934 if(byteswap16(re_a->ipid) < byteswap16(re_b->ipid)) in scamper_dealias_radargun_fudge()
935 j = byteswap16(re_b->ipid) - byteswap16(re_a->ipid); in scamper_dealias_radargun_fudge()
937 j = 0x10000 + byteswap16(re_b->ipid) - byteswap16(re_a->ipid); in scamper_dealias_radargun_fudge()
938 if(byteswap16(re_b->ipid) < byteswap16(re_c->ipid)) in scamper_dealias_radargun_fudge()
939 j += byteswap16(re_c->ipid) - byteswap16(re_b->ipid); in scamper_dealias_radargun_fudge()
[all …]
/dports/security/libmcrypt/libmcrypt-2.5.8/lib/
H A Dmcrypt_modules.h22 # define byteswap16(x) swap16(x) macro
25 # define byteswap16(x) swap_16(x) macro
28 # define byteswap16(x) bswap_16(x) macro
30 # define byteswap16(x) ((rotl16(x, 8) & 0x00ff) | (rotr16(x, 8) & 0xff00)) macro
/dports/emulators/darcnes/darcnes/
H A Dtypes.h37 #ifndef byteswap16
38 #define byteswap16(val) ({ u16 x = val; x = (x << 8) | (x >> 8); x; }) macro
49 #define htol16(x) byteswap16(x)
59 #define htom16(x) byteswap16(x)
H A Dtypes-i386.h12 #define byteswap16(val) ({ u32 x = val; asm("xchgb %b0,%h0": "=q" (x): "0" (x)); x; }) macro
/dports/games/retroarch/RetroArch-1.9.7/deps/bearssl-0.6/src/symcipher/
H A Dpoly1305_i15.c114 byteswap16(unsigned char *buf) in byteswap16() function
173 byteswap16(pkey); in br_poly1305_i15_run()
199 byteswap16(pkey + 16); in br_poly1305_i15_run()
213 byteswap16(tag); in br_poly1305_i15_run()
/dports/security/bearssl/bearssl-0.6/src/symcipher/
H A Dpoly1305_i15.c114 byteswap16(unsigned char *buf) in byteswap16() function
173 byteswap16(pkey); in br_poly1305_i15_run()
199 byteswap16(pkey + 16); in br_poly1305_i15_run()
213 byteswap16(tag); in br_poly1305_i15_run()
/dports/net/libtrace/libtrace-3.0.19/lib/
H A Dlt_bswap.h75 uint16_t byteswap16(uint16_t num);
84 #define bswap_host_to_le16(num) byteswap16(num)
91 #define bswap_le_to_host16(num) byteswap16(num)
H A Dbyteswap.c51 uint16_t byteswap16(uint16_t num) in byteswap16() function
/dports/net/libvncserver/libvncserver-LibVNCServer-0.9.13/test/
H A Dbmp.c37 #define byteswap16(i) ( \ macro
194 if(!littleendian()) bh.bfType=byteswap16(bh.bfType); in loadbmp()
230 bh.biPlanes=byteswap16(bh.biPlanes); in loadbmp()
231 bh.biBitCount=byteswap16(bh.biBitCount); in loadbmp()
338 bh.bfType=byteswap16(bh.bfType); in savebmp()
344 bh.biPlanes=byteswap16(bh.biPlanes); in savebmp()
345 bh.biBitCount=byteswap16(bh.biBitCount); in savebmp()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/lang/clang-mesa/clang-13.0.1.src/test/CodeGen/
H A Davr-builtins.c88 unsigned int byteswap16(unsigned int x) { in byteswap16() function
/dports/security/mcrypt/mcrypt-2.6.8/src/
H A Dextra.h8 #define byteswap16(x) ((rotl16(x, 8) & 0x00ff) | (rotr16(x, 8) & 0xff00)) macro

12