Home
last modified time | relevance | path

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

/external/avb/test/
Davb_util_unittest.cc125 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
140 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
164 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
217 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
251 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
260 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
294 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
303 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
337 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
345 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()
128 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.c57 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hash_descriptor_validate_and_byteswap()
Davb_hashtree_descriptor.c65 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/
Davbtool.py1178 (self.tag, num_bytes_following) = (
1180 self.data = data[self.SIZE:self.SIZE + num_bytes_following]
1205 num_bytes_following = len(self.data)
1206 nbf_with_padding = round_to_multiple(num_bytes_following, 8)
1207 padding_size = nbf_with_padding - num_bytes_following
1266 (tag, num_bytes_following, key_size,
1270 if tag != self.TAG or num_bytes_following != expected_size:
1308 num_bytes_following = (
1310 nbf_with_padding = round_to_multiple(num_bytes_following, 8)
1311 padding_size = nbf_with_padding - num_bytes_following
[all …]
Davbtool1178 (self.tag, num_bytes_following) = (
1180 self.data = data[self.SIZE:self.SIZE + num_bytes_following]
1205 num_bytes_following = len(self.data)
1206 nbf_with_padding = round_to_multiple(num_bytes_following, 8)
1207 padding_size = nbf_with_padding - num_bytes_following
1266 (tag, num_bytes_following, key_size,
1270 if tag != self.TAG or num_bytes_following != expected_size:
1308 num_bytes_following = (
1310 nbf_with_padding = round_to_multiple(num_bytes_following, 8)
1311 padding_size = nbf_with_padding - num_bytes_following
[all …]