Lines Matching refs:htobe64
78 h.original_image_size = htobe64(n64);
80 h.vbmeta_offset = htobe64(n64);
82 h.vbmeta_size = htobe64(n64);
124 h.parent_descriptor.num_bytes_following = htobe64(nbf);
125 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_KERNEL_CMDLINE);
144 bad.parent_descriptor.tag = htobe64(0xf00dd00d);
163 h.parent_descriptor.num_bytes_following = htobe64(nbf);
164 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_HASHTREE);
174 h.image_size = htobe64(n64);
176 h.tree_offset = htobe64(n64);
178 h.tree_size = htobe64(n64);
186 h.fec_offset = htobe64(n64);
188 h.fec_size = htobe64(n64);
223 bad.parent_descriptor.tag = htobe64(0xf00dd00d);
250 h.parent_descriptor.num_bytes_following = htobe64(nbf);
251 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_HASH);
266 bad.parent_descriptor.tag = htobe64(0xf00dd00d);
293 h.parent_descriptor.num_bytes_following = htobe64(nbf);
294 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_CHAIN_PARTITION);
309 bad.parent_descriptor.tag = htobe64(0xf00dd00d);
336 h.parent_descriptor.num_bytes_following = htobe64(nbf);
337 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_PROPERTY);
338 h.key_num_bytes = htobe64(16);
339 h.value_num_bytes = htobe64(17);
350 bad.parent_descriptor.tag = htobe64(0xf00dd00d);
355 bad.key_num_bytes = htobe64(22);
360 bad.value_num_bytes = htobe64(23);
371 h.num_bytes_following = htobe64(n64);
373 h.tag = htobe64(n64);
386 h.num_bytes_following = htobe64(7);
524 TEST_F(UtilTest, htobe64) {
525 EXPECT_EQ(avb_htobe64(0x123456789abcdef0), htobe64(0x123456789abcdef0));