Home
last modified time | relevance | path

Searched refs:htobe64 (Results 1 – 12 of 12) sorted by relevance

/external/avb/test/
Davb_vbmeta_image_unittest.cc205 h->authentication_data_block_size = htobe64(size); in TEST_F()
211 h->auxiliary_data_block_size = htobe64(size); in TEST_F()
221 h->authentication_data_block_size = htobe64(size); in TEST_F()
227 h->auxiliary_data_block_size = htobe64(size); in TEST_F()
277 h->hash_offset = htobe64(4); in TEST_F()
278 h->hash_size = htobe64(be64toh(h->authentication_data_block_size)); in TEST_F()
284 h->hash_offset = htobe64(4); in TEST_F()
285 h->hash_size = htobe64(0xfffffffffffffffeUL); in TEST_F()
301 h->signature_offset = htobe64(4); in TEST_F()
302 h->signature_size = htobe64(be64toh(h->authentication_data_block_size)); in TEST_F()
[all …]
Davb_util_unittest.cc78 h.original_image_size = htobe64(n64); in TEST_F()
80 h.vbmeta_offset = htobe64(n64); in TEST_F()
82 h.vbmeta_size = htobe64(n64); in TEST_F()
124 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
125 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_KERNEL_CMDLINE); in TEST_F()
144 bad.parent_descriptor.tag = htobe64(0xf00dd00d); in TEST_F()
163 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
164 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_HASHTREE); in TEST_F()
174 h.image_size = htobe64(n64); in TEST_F()
176 h.tree_offset = htobe64(n64); in TEST_F()
[all …]
/external/libmtp/src/
Dgphoto2-endian-intel.h78 #ifndef htobe64
79 # define htobe64(x) swap64(x) macro
85 #define HTOBE64(x) (x) = htobe64(x)
125 # define htobe64a(a,x) *(uint64_t*)(a) = htobe64(x)
Dgphoto2-endian-ppc.h67 #ifndef htobe64
68 # define htobe64(x) (x) macro
/external/kmod/port-gnu/
Dendian-darwin.h34 # define htobe64(x) OSSwapHostToBigInt64(x) macro
78 # define htobe64(x) htonll(x) macro
96 # define htobe64(x) (x) macro
/external/vboot_reference/cgpt/
Dcgpt_endian.h31 # define htobe64(x) __bswap_64 (x) macro
46 # define htobe64(x) (x) macro
/external/libmtp/m4/
Dbyteorder.m4257 #ifndef htobe64
258 # define htobe64(x) (x)
304 #ifndef htobe64
305 # define htobe64(x) swap64(x)
311 #define HTOBE64(x) (x) = htobe64(x)
361 # define htobe64a(a,x) *(uint64_t*)(a) = htobe64(x)
/external/libexif/m4m/
Dgp-byteorder.m4240 #define htobe64(x) (x)
270 #define htobe64(x) swap64(x)
273 #define HTOBE64(x) (x) = htobe64(x)
306 #define htobe64a(a,x) *(uint64_t*)(a) = htobe64(x)
/external/nfacct/
Dnfacct.c284 nla_put_u64(msg, NFACCT_PKTS, htobe64(pkts)); in _nfacct_cmd_add()
285 nla_put_u64(msg, NFACCT_BYTES, htobe64(bytes)); in _nfacct_cmd_add()
/external/elfutils/libelf/
Delf_compress_gnu.c114 uint64_t be64_size = htobe64 (orig_size); in elf_compress_gnu()
/external/libvncserver/libvncserver/
Dwebsockets.c57 #define WS_NTOH64(n) htobe64(n)
60 #define WS_HTON64(n) htobe64(n)
/external/tpm2/
Dtpm_generated.c22 value_net = htobe64(*source); in uint8_t_Marshal()
70 value_net = htobe64(*source); in int8_t_Marshal()
118 value_net = htobe64(*source); in uint16_t_Marshal()
166 value_net = htobe64(*source); in int16_t_Marshal()
214 value_net = htobe64(*source); in uint32_t_Marshal()
262 value_net = htobe64(*source); in int32_t_Marshal()
310 value_net = htobe64(*source); in uint64_t_Marshal()
358 value_net = htobe64(*source); in int64_t_Marshal()