/freebsd/usr.sbin/makefs/ffs/ |
H A D | ffs_bswap.c | 76 n32[i] = bswap32(o32[i]); in ffs_sb_swap() 79 n->fs_cgrotor = bswap32(o->fs_cgrotor); /* Unused */ in ffs_sb_swap() 80 n->fs_old_cpc = bswap32(o->fs_old_cpc); in ffs_sb_swap() 86 n->fs_maxbsize = bswap32(o->fs_maxbsize); in ffs_sb_swap() 94 n->fs_pendinginodes = bswap32(o->fs_pendinginodes); in ffs_sb_swap() 100 n->fs_snapinum[i] = bswap32(o->fs_snapinum[i]); in ffs_sb_swap() 101 n->fs_avgfilesize = bswap32(o->fs_avgfilesize); in ffs_sb_swap() 102 n->fs_avgfpdir = bswap32(o->fs_avgfpdir); in ffs_sb_swap() 104 n->fs_flags = bswap32(o->fs_flags); in ffs_sb_swap() 105 n->fs_contigsumsize = bswap32(o->fs_contigsumsize); in ffs_sb_swap() [all …]
|
H A D | ufs_bswap.h | 61 return ((ns) ? bswap32(a) : (a)); in ufs_rw32()
|
/freebsd/contrib/netbsd-tests/include/machine/ |
H A D | t_bswap.c | 108 ATF_REQUIRE_EQ(bswap32(0x00000000), 0x00000000); in ATF_TC_BODY() 109 ATF_REQUIRE_EQ(bswap32(0xffff0000), 0x0000ffff); in ATF_TC_BODY() 110 ATF_REQUIRE_EQ(bswap32(0xffffffff), 0xffffffff); in ATF_TC_BODY() 111 ATF_REQUIRE_EQ(bswap32(0x12345678), 0x78563412); in ATF_TC_BODY() 124 ATF_REQUIRE_EQ(bswap32(unconst32(0x00000000)), 0x00000000); in ATF_TC_BODY() 125 ATF_REQUIRE_EQ(bswap32(unconst32(0xffff0000)), 0x0000ffff); in ATF_TC_BODY() 126 ATF_REQUIRE_EQ(bswap32(unconst32(0xffffffff)), 0xffffffff); in ATF_TC_BODY() 127 ATF_REQUIRE_EQ(bswap32(unconst32(0x12345678)), 0x78563412); in ATF_TC_BODY()
|
/freebsd/contrib/openbsm/compat/ |
H A D | endian.h | 64 bswap32(uint32_t int32) in bswap32() function 126 #define htobe32(x) bswap32((x)) 133 #define be32toh(x) bswap32((x)) 143 #define htole32(x) bswap32((x)) 150 #define le32toh(x) bswap32((x))
|
/freebsd/tools/build/cross-build/include/mac/sys/ |
H A D | endian.h | 46 #define bswap32(x) __builtin_bswap32(x) macro 58 #define htobe32(x) bswap32((x)) 65 #define be32toh(x) bswap32((x)) 75 #define htole32(x) bswap32((x)) 82 #define le32toh(x) bswap32((x))
|
/freebsd/usr.sbin/makefs/cd9660/ |
H A D | cd9660_conversion.c | 68 w = bswap32(w); in cd9660_731() 87 w = bswap32(w); in cd9660_732() 104 be = bswap32(dw); in cd9660_bothendian_dword() 108 le = bswap32(dw); in cd9660_bothendian_dword()
|
/freebsd/sys/crypto/openssl/arm/ |
H A D | ossl_aes_gcm.c | 80 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_setiv() 180 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_encrypt() 209 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_encrypt() 226 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_encrypt() 263 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_decrypt() 303 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_decrypt() 315 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_decrypt()
|
/freebsd/usr.bin/elfctl/ |
H A D | elfctl.c | 314 features = bswap32(features); in edit_file_features() 399 note.n_namesz = bswap32(note.n_namesz); in get_file_features() 400 note.n_descsz = bswap32(note.n_descsz); in get_file_features() 401 note.n_type = bswap32(note.n_type); in get_file_features() 456 *features = bswap32(*features); in get_file_features()
|
/freebsd/sys/crypto/openssl/amd64/ |
H A D | ossl_aes_gcm.c | 276 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_setiv_aesni() 349 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_encrypt() 361 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_encrypt() 398 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_encrypt_ctr32() 424 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_encrypt_ctr32() 441 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_encrypt_ctr32() 500 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_decrypt() 513 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_decrypt() 552 ctr = bswap32(ctx->gcm.Yi.d[3]); in gcm_decrypt_ctr32() 589 ctx->gcm.Yi.d[3] = bswap32(ctr); in gcm_decrypt_ctr32() [all …]
|
/freebsd/tools/build/cross-build/include/linux/sys/ |
H A D | endian.h | 59 #undef bswap32 60 #define bswap32(a) __builtin_bswap32(a) macro
|
/freebsd/contrib/ofed/include/ |
H A D | byteswap.h | 39 #define bswap_32 bswap32
|
H A D | byteorder.h | 81 #define swab32 bswap32
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | bswap.c | 40 bswap32 (unsigned int val) in bswap32() function
|
/freebsd/sys/contrib/zstd/lib/freebsd/ |
H A D | zstd_kfreebsd.c | 57 return (bswap32(x)); in __bswapsi2()
|
/freebsd/tests/include/ |
H A D | byteswap_test.c | 47 #ifdef bswap32 in ATF_TC_BODY()
|
H A D | sys_endian_test.c | 43 #ifndef bswap32 in ATF_TC_BODY()
|
H A D | endian_test.c | 43 #ifdef bswap32 in ATF_TC_BODY()
|
/freebsd/contrib/smbfs/include/netsmb/ |
H A D | smb_lib.h | 87 #define getdle(buf,ofs) (bswap32(getdbe(buf,ofs))) 92 #define setdle(buf,ofs,val) getdbe(buf,ofs)=bswap32(val)
|
/freebsd/sys/sys/ |
H A D | endian.h | 68 #define bswap32(x) __bswap32(x) macro
|
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/ |
H A D | aesopt.h | 525 #elif defined(bswap32) 526 #define aes_sw32 bswap32
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_osdep.h | 196 #define swab32(x) bswap32(x)
|
/freebsd/usr.bin/script/ |
H A D | script.c | 519 stamp.scr_usec = bswap32(stamp.scr_usec); \ 520 stamp.scr_direction = bswap32(stamp.scr_direction); \
|
/freebsd/sys/dev/safe/ |
H A D | safe.c | 74 #ifndef bswap32 75 #define bswap32 NTOHL macro 1310 bswap32(re->re_sastate.sa_saved_indigest[0]); in safe_callback() 1312 bswap32(re->re_sastate.sa_saved_indigest[1]); in safe_callback() 1314 bswap32(re->re_sastate.sa_saved_indigest[2]); in safe_callback()
|
/freebsd/sys/compat/linuxkpi/common/include/asm/ |
H A D | byteorder.h | 119 #define swab32(x) bswap32(x)
|
/freebsd/contrib/libucl/src/ |
H A D | mum.h | 166 #define _mum_bswap32(x) bswap32 (x)
|