Searched refs:num_bytes_following (Results 1 – 16 of 16) sorted by relevance
/external/avb/test/ |
D | avb_util_unittest.cc | 126 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F() 141 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F() 165 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F() 218 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F() 252 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F() 261 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F() 295 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F() 304 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F() 338 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F() 346 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F() [all …]
|
/external/u-boot/lib/libavb/ |
D | avb_descriptor.c | 13 dest->num_bytes_following = avb_be64toh(src->num_bytes_following); in avb_descriptor_validate_and_byteswap() 15 if ((dest->num_bytes_following & 0x07) != 0) { in avb_descriptor_validate_and_byteswap() 74 uint64_t nb_following = avb_be64toh(dh->num_bytes_following); in avb_descriptor_foreach()
|
D | avb_kernel_cmdline_descriptor.c | 33 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
|
D | avb_descriptor.h | 45 uint64_t num_bytes_following; member
|
D | avb_chain_partition_descriptor.c | 40 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_chain_partition_descriptor_validate_and_byteswap()
|
D | avb_hash_descriptor.c | 38 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hash_descriptor_validate_and_byteswap()
|
D | avb_hashtree_descriptor.c | 46 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hashtree_descriptor_validate_and_byteswap()
|
D | avb_property_descriptor.c | 34 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_property_descriptor_validate_and_byteswap()
|
/external/avb/libavb/ |
D | avb_descriptor.c | 32 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()
|
D | avb_kernel_cmdline_descriptor.c | 52 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
|
D | avb_descriptor.h | 64 uint64_t num_bytes_following; member
|
D | avb_chain_partition_descriptor.c | 59 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_chain_partition_descriptor_validate_and_byteswap()
|
D | avb_hash_descriptor.c | 57 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hash_descriptor_validate_and_byteswap()
|
D | avb_hashtree_descriptor.c | 65 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hashtree_descriptor_validate_and_byteswap()
|
D | avb_property_descriptor.c | 53 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_property_descriptor_validate_and_byteswap()
|
/external/avb/ |
D | avbtool | 1088 (self.tag, num_bytes_following) = ( 1090 self.data = data[self.SIZE:self.SIZE + num_bytes_following] 1115 num_bytes_following = len(self.data) 1116 nbf_with_padding = round_to_multiple(num_bytes_following, 8) 1117 padding_size = nbf_with_padding - num_bytes_following 1169 (tag, num_bytes_following, key_size, 1173 if tag != self.TAG or num_bytes_following != expected_size: 1200 num_bytes_following = self.SIZE + len(self.key) + len(self.value) + 2 - 16 1201 nbf_with_padding = round_to_multiple(num_bytes_following, 8) 1202 padding_size = nbf_with_padding - num_bytes_following [all …]
|