Home
last modified time | relevance | path

Searched refs:htobe32 (Results 1 – 25 of 604) sorted by relevance

12345678910>>...25

/dports/biology/biosig/biosig-2.3.3/biosig4c++/
H A Dbiosig-network.h96 #define BSCS_VERSION (htobe32(0x01000000)) // version 1
98 #define VER_MASK (htobe32(0xff000000))
99 #define CMD_MASK (htobe32(0x00ff0000))
100 #define STATE_MASK (htobe32(0x0000ff00))
101 #define ERR_MASK (htobe32(0x000000ff))
103 #define BSCS_VERSION_0 (htobe32(0x00000000)) // Version 0
107 #define BSCS_NOP (htobe32(0x00000000)) // no operation
108 #define BSCS_OPEN (htobe32(0x00010000)) // open
109 #define BSCS_OPEN_R (htobe32(0x00010000)) // open read
110 #define BSCS_OPEN_W (htobe32(0x00010000)) // open write
[all …]
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/avb/test/
H A Davb_util_unittest.cc52 h.key_num_bits = htobe32(n32); in TEST_F()
54 h.n0inv = htobe32(n32); in TEST_F()
131 h.flags = htobe32(n32); in TEST_F()
168 h.salt_len = htobe32(10); in TEST_F()
186 h.fec_num_roots = htobe32(n32); in TEST_F()
235 bad.salt_len = htobe32(30); in TEST_F()
255 h.salt_len = htobe32(10); in TEST_F()
256 h.digest_len = htobe32(10); in TEST_F()
278 bad.salt_len = htobe32(30); in TEST_F()
283 bad.digest_len = htobe32(30); in TEST_F()
[all …]
/dports/net-p2p/libktorrent/libktorrent-21.12.3/src/dht/
H A Dkey.cpp82 sum += (bt::Uint64)htobe32(a.hash[i]) + htobe32(b.hash[i]);
83 result.hash[i] = htobe32(sum & 0xFFFFFFFF); in requestTimeout()
96 sum += htobe32(result.hash[i]); in onPingQuestionable()
97 result.hash[i] = htobe32(sum & 0xFFFFFFFF); in onPingQuestionable()
110 const bt::Uint32 h = htobe32(hash[i]);
111 result.hash[i] = htobe32((h + remainder) / value); in KBucketEntrySet()
138 const bt::Uint32 a32 = htobe32(a.hash[i]);
139 const bt::Uint32 b32 = htobe32(b.hash[i]);
141 result.hash[i] = htobe32(a32 - b32 - carry);
145 result.hash[i] = htobe32((bt::Uint32)(max - (b32 - a32) - carry));
/dports/sysutils/atf-fvp/arm-trusted-firmware-2.5/plat/layerscape/board/ls1043/
H A Dls1043_psci.c69 htobe32(1U << 31)); in ls1043_reset_core()
74 core_pos * 4, htobe32(1U << 31)); in ls1043_reset_core()
85 htobe32((uint32_t)0x2)); in ls1043_system_reset()
106 htobe32((uint32_t)(warmboot_entry >> 32))); in ls1043_pwr_domain_on()
109 htobe32((uint32_t)warmboot_entry)); in ls1043_pwr_domain_on()
120 htobe32(core_mask)); in ls1043_pwr_domain_on()
125 htobe32(core_mask)); in ls1043_pwr_domain_on()
129 htobe32(brr | core_mask)); in ls1043_pwr_domain_on()
/dports/sysutils/atf-sun50i_h6/arm-trusted-firmware-2.5/plat/layerscape/board/ls1043/
H A Dls1043_psci.c69 htobe32(1U << 31)); in ls1043_reset_core()
74 core_pos * 4, htobe32(1U << 31)); in ls1043_reset_core()
85 htobe32((uint32_t)0x2)); in ls1043_system_reset()
106 htobe32((uint32_t)(warmboot_entry >> 32))); in ls1043_pwr_domain_on()
109 htobe32((uint32_t)warmboot_entry)); in ls1043_pwr_domain_on()
120 htobe32(core_mask)); in ls1043_pwr_domain_on()
125 htobe32(core_mask)); in ls1043_pwr_domain_on()
129 htobe32(brr | core_mask)); in ls1043_pwr_domain_on()
/dports/sysutils/atf-sun50i_a64/arm-trusted-firmware-2.5/plat/layerscape/board/ls1043/
H A Dls1043_psci.c69 htobe32(1U << 31)); in ls1043_reset_core()
74 core_pos * 4, htobe32(1U << 31)); in ls1043_reset_core()
85 htobe32((uint32_t)0x2)); in ls1043_system_reset()
106 htobe32((uint32_t)(warmboot_entry >> 32))); in ls1043_pwr_domain_on()
109 htobe32((uint32_t)warmboot_entry)); in ls1043_pwr_domain_on()
120 htobe32(core_mask)); in ls1043_pwr_domain_on()
125 htobe32(core_mask)); in ls1043_pwr_domain_on()
129 htobe32(brr | core_mask)); in ls1043_pwr_domain_on()
/dports/sysutils/atf-rk3399/arm-trusted-firmware-2.5/plat/layerscape/board/ls1043/
H A Dls1043_psci.c69 htobe32(1U << 31)); in ls1043_reset_core()
74 core_pos * 4, htobe32(1U << 31)); in ls1043_reset_core()
85 htobe32((uint32_t)0x2)); in ls1043_system_reset()
106 htobe32((uint32_t)(warmboot_entry >> 32))); in ls1043_pwr_domain_on()
109 htobe32((uint32_t)warmboot_entry)); in ls1043_pwr_domain_on()
120 htobe32(core_mask)); in ls1043_pwr_domain_on()
125 htobe32(core_mask)); in ls1043_pwr_domain_on()
129 htobe32(brr | core_mask)); in ls1043_pwr_domain_on()
/dports/sysutils/atf-rk3328/arm-trusted-firmware-2.5/plat/layerscape/board/ls1043/
H A Dls1043_psci.c69 htobe32(1U << 31)); in ls1043_reset_core()
74 core_pos * 4, htobe32(1U << 31)); in ls1043_reset_core()
85 htobe32((uint32_t)0x2)); in ls1043_system_reset()
106 htobe32((uint32_t)(warmboot_entry >> 32))); in ls1043_pwr_domain_on()
109 htobe32((uint32_t)warmboot_entry)); in ls1043_pwr_domain_on()
120 htobe32(core_mask)); in ls1043_pwr_domain_on()
125 htobe32(core_mask)); in ls1043_pwr_domain_on()
129 htobe32(brr | core_mask)); in ls1043_pwr_domain_on()
/dports/www/srt/srt-1.4.4/test/
H A Dtest_common.cpp45 const uint32_t ip[4] = {htobe32(0xC0A80001), 0, 0, 0}; in TEST()
53 …const uint32_t ip[4] = {htobe32(0x20010db8), htobe32(0x85a308d3), htobe32(0x13198a2e), htobe32(0… in TEST()
64 const uint32_t ip[4] = {0, 0, htobe32(0x0000FFFF), htobe32(0xC0A80001)}; in TEST()
/dports/devel/premake5/premake-5.0.0-alpha16-src/contrib/mbedtls/3rdparty/everest/include/everest/kremlin/
H A Dc_endianness.h33 # define htobe32(x) OSSwapHostToBigInt32(x) macro
51 # define htobe32(x) BE_32(x) macro
69 # define htobe32(x) _byteswap_ulong(x) macro
88 # define htobe32(x) __builtin_bswap32(x) macro
105 # define htobe32(x) (x) macro
120 uint32_t __low = htobe32((uint32_t)__temp); \
121 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
131 # define htobe32(x) \ macro
137 # define be32toh(x) (htobe32((x)))
144 uint32_t __low = htobe32((uint32_t)__temp); \
[all …]
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/freebl/verified/kremlin/include/kremlin/
H A Dlowstar_endianness.h33 #define htobe32(x) OSSwapHostToBigInt32(x) macro
51 #define htobe32(x) BE_32(x) macro
69 #define htobe32(x) _byteswap_ulong(x) macro
88 #define htobe32(x) __builtin_bswap32(x) macro
105 #define htobe32(x) (x) macro
120 uint32_t __low = htobe32((uint32_t)__temp); \
121 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
137 #define be32toh(x) (htobe32((x)))
144 uint32_t __low = htobe32((uint32_t)__temp); \
145 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
[all …]
/dports/security/ca_root_nss/nss-3.71/nss/lib/freebl/verified/kremlin/include/kremlin/
H A Dlowstar_endianness.h33 #define htobe32(x) OSSwapHostToBigInt32(x) macro
51 #define htobe32(x) BE_32(x) macro
69 #define htobe32(x) _byteswap_ulong(x) macro
88 #define htobe32(x) __builtin_bswap32(x) macro
105 #define htobe32(x) (x) macro
120 uint32_t __low = htobe32((uint32_t)__temp); \
121 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
137 #define be32toh(x) (htobe32((x)))
144 uint32_t __low = htobe32((uint32_t)__temp); \
145 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
[all …]
/dports/www/firefox/firefox-99.0/security/nss/lib/freebl/verified/kremlin/include/kremlin/
H A Dlowstar_endianness.h33 #define htobe32(x) OSSwapHostToBigInt32(x) macro
51 #define htobe32(x) BE_32(x) macro
69 #define htobe32(x) _byteswap_ulong(x) macro
88 #define htobe32(x) __builtin_bswap32(x) macro
105 #define htobe32(x) (x) macro
120 uint32_t __low = htobe32((uint32_t)__temp); \
121 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
137 #define be32toh(x) (htobe32((x)))
144 uint32_t __low = htobe32((uint32_t)__temp); \
145 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
[all …]
/dports/security/nss/nss-3.76.1/nss/lib/freebl/verified/kremlin/include/kremlin/
H A Dlowstar_endianness.h33 #define htobe32(x) OSSwapHostToBigInt32(x) macro
51 #define htobe32(x) BE_32(x) macro
69 #define htobe32(x) _byteswap_ulong(x) macro
88 #define htobe32(x) __builtin_bswap32(x) macro
105 #define htobe32(x) (x) macro
120 uint32_t __low = htobe32((uint32_t)__temp); \
121 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
137 #define be32toh(x) (htobe32((x)))
144 uint32_t __low = htobe32((uint32_t)__temp); \
145 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/freebl/verified/kremlin/include/kremlin/
H A Dlowstar_endianness.h33 #define htobe32(x) OSSwapHostToBigInt32(x) macro
51 #define htobe32(x) BE_32(x) macro
69 #define htobe32(x) _byteswap_ulong(x) macro
88 #define htobe32(x) __builtin_bswap32(x) macro
105 #define htobe32(x) (x) macro
120 uint32_t __low = htobe32((uint32_t)__temp); \
121 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
137 #define be32toh(x) (htobe32((x)))
144 uint32_t __low = htobe32((uint32_t)__temp); \
145 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/freebl/verified/kremlin/include/kremlin/
H A Dlowstar_endianness.h33 #define htobe32(x) OSSwapHostToBigInt32(x) macro
51 #define htobe32(x) BE_32(x) macro
69 #define htobe32(x) _byteswap_ulong(x) macro
88 #define htobe32(x) __builtin_bswap32(x) macro
105 #define htobe32(x) (x) macro
120 uint32_t __low = htobe32((uint32_t)__temp); \
121 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
137 #define be32toh(x) (htobe32((x)))
144 uint32_t __low = htobe32((uint32_t)__temp); \
145 uint32_t __high = htobe32((uint32_t)(__temp >> 32)); \
[all …]
/dports/net/nbdkit/nbdkit-1.20.4/server/
H A Dprotocol-handshake-newstyle.c58 fixed_new_option_reply.option = htobe32 (option); in send_newstyle_option_reply()
59 fixed_new_option_reply.reply = htobe32 (reply); in send_newstyle_option_reply()
60 fixed_new_option_reply.replylen = htobe32 (0); in send_newstyle_option_reply()
87 fixed_new_option_reply.option = htobe32 (option); in send_newstyle_option_reply_exportname()
88 fixed_new_option_reply.reply = htobe32 (reply); in send_newstyle_option_reply_exportname()
97 len = htobe32 (name_len); in send_newstyle_option_reply_exportname()
121 fixed_new_option_reply.option = htobe32 (option); in send_newstyle_option_reply_info_export()
122 fixed_new_option_reply.reply = htobe32 (reply); in send_newstyle_option_reply_info_export()
151 fixed_new_option_reply.option = htobe32 (option); in send_newstyle_option_reply_meta_context()
152 fixed_new_option_reply.reply = htobe32 (reply); in send_newstyle_option_reply_meta_context()
[all …]
H A Dprotocol.c374 reply.magic = htobe32 (NBD_SIMPLE_REPLY_MAGIC); in send_simple_reply()
376 reply.error = htobe32 (nbd_errno (error, flags)); in send_simple_reply()
413 reply.magic = htobe32 (NBD_STRUCTURED_REPLY_MAGIC); in send_structured_reply_read()
417 reply.length = htobe32 (count + sizeof offset_data); in send_structured_reply_read()
517 blocks[i].length = htobe32 (blocks[i].length); in extents_to_block_descriptors()
518 blocks[i].status_flags = htobe32 (blocks[i].status_flags); in extents_to_block_descriptors()
547 reply.magic = htobe32 (NBD_STRUCTURED_REPLY_MAGIC); in send_structured_reply_block_status()
551 reply.length = htobe32 (sizeof context_id + in send_structured_reply_block_status()
561 context_id = htobe32 (base_allocation_id); in send_structured_reply_block_status()
591 reply.magic = htobe32 (NBD_STRUCTURED_REPLY_MAGIC); in send_structured_reply_error()
[all …]
/dports/security/py-bcrypt/bcrypt-3.2.0/src/_csrc/
H A Dportable_endian.h30 …) && defined(htole16) && defined(be16toh) && defined(le16toh) && defined(htobe32) && defined(htole…
40 # define htobe32(x) htonl(x) macro
55 # define htobe32(x) (x) macro
78 # define htobe32(x) OSSwapHostToBigInt32(x) macro
129 # define htobe32(x) _byteswap_ulong(x) macro
147 # define htobe32(x) (x) macro
177 # define htobe32(x) BE_32(x) macro
208 # ifndef htobe32
209 # define htobe32(x) be32toh(x) macro
/dports/security/n2n/n2n-2.8/include/
H A Dportable_endian.h34 …) && defined(htole16) && defined(be16toh) && defined(le16toh) && defined(htobe32) && defined(htole…
44 # define htobe32(x) htonl(x) macro
59 # define htobe32(x) (x) macro
82 # define htobe32(x) OSSwapHostToBigInt32(x) macro
133 # define htobe32(x) _byteswap_ulong(x) macro
151 # define htobe32(x) (x) macro
181 # define htobe32(x) BE_32(x) macro
212 # ifndef htobe32
213 # define htobe32(x) be32toh(x) macro
/dports/net/nbdkit/nbdkit-1.20.4/tests/
H A Dtest-layers.c191 cflags = htobe32 (be16toh (handshake.gflags)); in main()
199 option.option = htobe32 (NBD_OPT_EXPORT_NAME); in main()
200 option.optlen = htobe32 (0); in main()
409 request.magic = htobe32 (NBD_REQUEST_MAGIC); in main()
414 request.count = htobe32 (512); in main()
448 request.count = htobe32 (512); in main()
482 request.count = htobe32 (0); in main()
512 request.count = htobe32 (512); in main()
542 request.count = htobe32 (512); in main()
572 request.count = htobe32 (512); in main()
[all …]
/dports/net/nbdkit/nbdkit-1.20.4/common/include/
H A Dbyte-swapping.h64 #define htobe32(x) B_HOST_TO_BENDIAN_INT32(x) macro
75 #ifndef htobe32
82 # define htobe32(x) __bswap_32 (x) macro
98 # define htobe32(x) (x) macro
/dports/games/fheroes2/fheroes2-0.9.11/src/engine/
H A Dendian_h2.h41 #define htobe32( x ) _byteswap_ulong( x ) macro
52 #define htobe32( x ) OSSwapHostToBigInt32( x ) macro
66 #define htobe32( x ) __builtin_bswap32( x ) macro
80 #define htobe32( x ) __bswap32( x ) macro
/dports/devel/py-thriftpy2/thriftpy2-0.4.14/thriftpy2/protocol/cybin/
H A Dendian_port.h7 #define htobe32(x) OSSwapHostToBigInt32(x) macro
22 #ifndef htobe32
23 #define htobe32(x) bswap_32(x) macro
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/third_party/thriftpy/_shaded_thriftpy/protocol/cybin/
H A Dendian_port.h7 #define htobe32(x) OSSwapHostToBigInt32(x) macro
22 #ifndef htobe32
23 #define htobe32(x) bswap_32(x) macro

12345678910>>...25