Home
last modified time | relevance | path

Searched refs:bswap32 (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/usr.sbin/makefs/ffs/
H A Dffs_bswap.c76 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 Dufs_bswap.h61 return ((ns) ? bswap32(a) : (a)); in ufs_rw32()
/freebsd/contrib/netbsd-tests/include/machine/
H A Dt_bswap.c108 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 Dendian.h64 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 Dendian.h46 #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 Dcd9660_conversion.c68 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 Dossl_aes_gcm.c80 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 Delfctl.c314 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 Dossl_aes_gcm.c276 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 Dendian.h59 #undef bswap32
60 #define bswap32(a) __builtin_bswap32(a) macro
/freebsd/contrib/ofed/include/
H A Dbyteswap.h39 #define bswap_32 bswap32
H A Dbyteorder.h81 #define swab32 bswap32
/freebsd/crypto/heimdal/lib/roken/
H A Dbswap.c40 bswap32 (unsigned int val) in bswap32() function
/freebsd/sys/contrib/zstd/lib/freebsd/
H A Dzstd_kfreebsd.c57 return (bswap32(x)); in __bswapsi2()
/freebsd/tests/include/
H A Dbyteswap_test.c47 #ifdef bswap32 in ATF_TC_BODY()
H A Dsys_endian_test.c43 #ifndef bswap32 in ATF_TC_BODY()
H A Dendian_test.c43 #ifdef bswap32 in ATF_TC_BODY()
/freebsd/contrib/smbfs/include/netsmb/
H A Dsmb_lib.h87 #define getdle(buf,ofs) (bswap32(getdbe(buf,ofs)))
92 #define setdle(buf,ofs,val) getdbe(buf,ofs)=bswap32(val)
/freebsd/sys/sys/
H A Dendian.h68 #define bswap32(x) __bswap32(x) macro
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/
H A Daesopt.h525 #elif defined(bswap32)
526 #define aes_sw32 bswap32
/freebsd/sys/dev/cxgb/
H A Dcxgb_osdep.h196 #define swab32(x) bswap32(x)
/freebsd/usr.bin/script/
H A Dscript.c519 stamp.scr_usec = bswap32(stamp.scr_usec); \
520 stamp.scr_direction = bswap32(stamp.scr_direction); \
/freebsd/sys/dev/safe/
H A Dsafe.c74 #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 Dbyteorder.h119 #define swab32(x) bswap32(x)
/freebsd/contrib/libucl/src/
H A Dmum.h166 #define _mum_bswap32(x) bswap32 (x)

12