Home
last modified time | relevance | path

Searched refs:num_bytes_following (Results 1 – 9 of 9) sorted by relevance

/external/avb/test/
Davb_util_unittest.cc124 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
139 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
163 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
216 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
250 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
259 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
293 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
302 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
336 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
344 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
[all …]
/external/avb/libavb/
Davb_descriptor.c32 dest->num_bytes_following = avb_be64toh(src->num_bytes_following); in avb_descriptor_validate_and_byteswap()
34 if ((dest->num_bytes_following & 0x07) != 0) { in avb_descriptor_validate_and_byteswap()
93 uint64_t nb_following = avb_be64toh(dh->num_bytes_following); in avb_descriptor_foreach()
Davb_kernel_cmdline_descriptor.c52 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
Davb_descriptor.h64 uint64_t num_bytes_following; member
Davb_chain_partition_descriptor.c59 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_chain_partition_descriptor_validate_and_byteswap()
Davb_hash_descriptor.c56 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hash_descriptor_validate_and_byteswap()
Davb_hashtree_descriptor.c64 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hashtree_descriptor_validate_and_byteswap()
Davb_property_descriptor.c53 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_property_descriptor_validate_and_byteswap()
/external/avb/
Davbtool1043 (self.tag, num_bytes_following) = (
1045 self.data = data[self.SIZE:self.SIZE + num_bytes_following]
1070 num_bytes_following = len(self.data)
1071 nbf_with_padding = round_to_multiple(num_bytes_following, 8)
1072 padding_size = nbf_with_padding - num_bytes_following
1122 (tag, num_bytes_following, key_size,
1126 if tag != self.TAG or num_bytes_following != expected_size:
1153 num_bytes_following = self.SIZE + len(self.key) + len(self.value) + 2 - 16
1154 nbf_with_padding = round_to_multiple(num_bytes_following, 8)
1155 padding_size = nbf_with_padding - num_bytes_following
[all …]