Home
last modified time | relevance | path

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

/external/avb/test/
Davb_util_unittest.cc51 h.key_num_bits = htobe32(n32); in TEST_F()
53 h.n0inv = htobe32(n32); in TEST_F()
77 h.version_major = htobe32(AVB_FOOTER_VERSION_MAJOR); in TEST_F()
78 h.version_minor = htobe32(AVB_FOOTER_VERSION_MINOR); in TEST_F()
102 h.version_minor = htobe32(AVB_FOOTER_VERSION_MINOR + 1); in TEST_F()
112 bad.version_major = htobe32(AVB_FOOTER_VERSION_MAJOR + 1); in TEST_F()
127 h.kernel_cmdline_length = htobe32(40); in TEST_F()
130 h.flags = htobe32(n32); in TEST_F()
150 bad.kernel_cmdline_length = htobe32(41); in TEST_F()
166 h.partition_name_len = htobe32(10); in TEST_F()
[all …]
Davb_vbmeta_image_unittest.cc158 h->required_libavb_version_major = htobe32(1 + AVB_VERSION_MAJOR); in TEST_F()
170 h->required_libavb_version_minor = htobe32(1 + AVB_VERSION_MINOR); in TEST_F()
249 htobe32(be32toh(h->authentication_data_block_size) - 32); in TEST_F()
256 htobe32(be32toh(h->auxiliary_data_block_size) - 32); in TEST_F()
374 h->algorithm_type = htobe32(_AVB_ALGORITHM_NUM_TYPES); in TEST_F()
508 h.required_libavb_version_major = htobe32(n32); in TEST_F()
510 h.required_libavb_version_minor = htobe32(n32); in TEST_F()
516 h.algorithm_type = htobe32(n32); in TEST_F()
540 h.flags = htobe32(n32); in TEST_F()
/external/arm-trusted-firmware/plat/layerscape/board/ls1043/
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()
/external/mbedtls/3rdparty/everest/include/everest/kremlin/
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 …]
/external/openthread/third_party/mbedtls/repo/3rdparty/everest/include/everest/kremlin/
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 …]
/external/webrtc/rtc_base/
Dbyte_order.h28 #define htobe32(v) OSSwapHostToBigInt32(v) macro
52 #define htobe32(v) htonl(v) macro
72 #define htobe32(v) (v) macro
117 uint32_t val = htobe32(v); in SetBE32()
191 return htobe32(n); in HostToNetwork32()
/external/kmod/port-gnu/
Dendian-darwin.h29 # define htobe32(x) OSSwapHostToBigInt32(x) macro
73 # define htobe32(x) htonl(x) macro
91 # define htobe32(x) (x) macro
/external/musl/src/locale/
Dcatgets.c23 uint32_t set_id_be = htobe32(set_id); in catgets()
24 uint32_t msg_id_be = htobe32(msg_id); in catgets()
/external/vboot_reference/cgpt/
Dcgpt_endian.h26 # define htobe32(x) __bswap_32 (x) macro
41 # define htobe32(x) (x) macro
/external/iperf3/src/
Dportable_endian.h53 # define htobe32(x) OSSwapHostToBigInt32(x) macro
99 # define htobe32(x) htonl(x) macro
117 # define htobe32(x) (x) macro
/external/linux-kselftest/tools/testing/selftests/powerpc/nx-gzip/include/
Dnxu.h452 #define putnn(ST, REG, X) (ST.REG = htobe32(unget32(ST, REG) | (((X) \
454 #define putpnn(ST, REG, X) ((ST)->REG = htobe32(ungetp32(ST, REG) \
457 #define put32(ST, REG, X) (ST.REG = htobe32(X))
458 #define putp32(ST, REG, X) ((ST)->REG = htobe32(X))
/external/musl/include/
Dendian.h37 #define htobe32(x) __bswap32(x) macro
50 #define htobe32(x) (uint32_t)(x) macro
/external/arm-trusted-firmware/include/lib/libc/
Dendian.h55 #define htobe32(x) bswap32((x)) macro
69 #define htobe32(x) ((uint32_t)(x)) macro
/external/libese/libese-sysdeps/
Dandroid-sysdeps.c33 uint32_t ese_htobe32(uint32_t host_32bits) { return htobe32(host_32bits); } in ese_htobe32()
/external/arm-trusted-firmware/drivers/nxp/csu/
Dcsu.c32 mmio_write_32((uintptr_t)reg, htobe32(val)); in enable_layerscape_ns_access()
/external/arm-trusted-firmware/plat/layerscape/common/
Dns_access.c33 mmio_write_32((uintptr_t)reg, htobe32(val)); in enable_devices_ns_access()
/external/ot-br-posix/src/common/
Dbyteswap.hpp48 #define htobe32(x) OSSwapHostToBigInt32(x) macro
Dtypes.hpp220 …oopback(void) const { return (m32[0] == 0 && m32[1] == 0 && m32[2] == 0 && m32[3] == htobe32(1)); } in IsLoopback()
/external/musl/arch/mips64/
Dreloc.h37 #define R_INFO(s,t) (htobe64((uint64_t)htobe32(s)<<32 | (uint64_t)t))
/external/tpm2-tss/src/util/
Dtss2_endian.h19 #define HOST_TO_BE_32(value) htobe32(value)
/external/libexif/m4m/
Dgp-byteorder.m4221 #define htobe32(x) htonl(x)
226 #define HTOBE32(x) (x) = htobe32(x)
305 #define htobe32a(a,x) *(uint32_t*)(a) = htobe32(x)
/external/puffin/src/
Dpuffdiff.cc89 uint32_t be_header_size = htobe32(header_size); in CreatePatch()
/external/ot-br-posix/src/border_agent/
Dborder_agent.cpp248 stateUint32 = htobe32(state.ToUint32()); in PublishMeshCopService()
/external/arm-trusted-firmware/drivers/ufs/
Dufs.c334 upiu->exp_data_trans_len = htobe32(length); in ufs_prepare_cmd()