Lines Matching refs:htobe64
80 h.original_image_size = htobe64(n64); in TEST_F()
82 h.vbmeta_offset = htobe64(n64); in TEST_F()
84 h.vbmeta_size = htobe64(n64); in TEST_F()
126 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
127 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_KERNEL_CMDLINE); in TEST_F()
146 bad.parent_descriptor.tag = htobe64(0xf00dd00d); in TEST_F()
165 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
166 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_HASHTREE); in TEST_F()
176 h.image_size = htobe64(n64); in TEST_F()
178 h.tree_offset = htobe64(n64); in TEST_F()
180 h.tree_size = htobe64(n64); in TEST_F()
188 h.fec_offset = htobe64(n64); in TEST_F()
190 h.fec_size = htobe64(n64); in TEST_F()
225 bad.parent_descriptor.tag = htobe64(0xf00dd00d); in TEST_F()
252 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
253 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_HASH); in TEST_F()
268 bad.parent_descriptor.tag = htobe64(0xf00dd00d); in TEST_F()
295 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
296 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_CHAIN_PARTITION); in TEST_F()
311 bad.parent_descriptor.tag = htobe64(0xf00dd00d); in TEST_F()
338 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
339 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_PROPERTY); in TEST_F()
340 h.key_num_bytes = htobe64(16); in TEST_F()
341 h.value_num_bytes = htobe64(17); in TEST_F()
352 bad.parent_descriptor.tag = htobe64(0xf00dd00d); in TEST_F()
357 bad.key_num_bytes = htobe64(22); in TEST_F()
362 bad.value_num_bytes = htobe64(23); in TEST_F()
373 h.num_bytes_following = htobe64(n64); in TEST_F()
375 h.tag = htobe64(n64); in TEST_F()
388 h.num_bytes_following = htobe64(7); in TEST_F()
526 TEST_F(UtilTest, htobe64) { in TEST_F() argument
527 EXPECT_EQ(avb_htobe64(0x123456789abcdef0), htobe64(0x123456789abcdef0)); in TEST_F()