Home
last modified time | relevance | path

Searched refs:desc_end (Results 1 – 5 of 5) sorted by relevance

/external/avb/libavb/
Davb_descriptor.c49 const uint8_t* desc_end; in avb_descriptor_foreach() local
82 desc_end = desc_start + avb_be64toh(header->descriptors_size); in avb_descriptor_foreach()
85 desc_end < image_data || desc_end > image_end || desc_end < desc_start) { in avb_descriptor_foreach()
90 for (p = desc_start; p < desc_end;) { in avb_descriptor_foreach()
101 if (nb_total + p < desc_start || nb_total + p > desc_end) { in avb_descriptor_foreach()
/external/vboot_reference/tests/
Dvb21_common_tests.c60 uint32_t desc_end, m; in test_common_header_functions() local
66 desc_end = c->fixed_size + c->desc_size; in test_common_header_functions()
68 c2 = (struct vb2_struct_common *)(cbuf + desc_end); in test_common_header_functions()
69 c2->total_size = c->total_size - desc_end; in test_common_header_functions()
124 cbuf[desc_end - 1] = 1; in test_common_header_functions()
136 m = desc_end; in test_common_header_functions()
137 TEST_SUCC(vb2_verify_common_member(cbuf, &m, desc_end, 4), in test_common_header_functions()
139 TEST_EQ(m, desc_end + 4, " new minimum"); in test_common_header_functions()
157 TEST_EQ(vb2_verify_common_member(cbuf, &m, desc_end - 4, 4), in test_common_header_functions()
161 m = desc_end + 4; in test_common_header_functions()
[all …]
/external/avb/test/
Davbtool_unittest.cc578 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashFooterTest() local
582 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashFooterTest()
585 EXPECT_EQ("d00df00d", mem_to_hexstring(desc_end + o, d.salt_len)); in AddHashFooterTest()
588 mem_to_hexstring(desc_end + o, d.digest_len)); in AddHashFooterTest()
925 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashtreeFooterTest() local
929 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashtreeFooterTest()
932 EXPECT_EQ("d00df00d", mem_to_hexstring(desc_end + o, d.salt_len)); in AddHashtreeFooterTest()
935 mem_to_hexstring(desc_end + o, d.root_digest_len)); in AddHashtreeFooterTest()
1153 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashtreeFooterFECTest() local
1157 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashtreeFooterFECTest()
[all …]
Davb_slot_verify_unittest.cc748 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in TEST_F() local
752 std::string(reinterpret_cast<const char*>(desc_end + o), in TEST_F()
755 EXPECT_EQ("deadbeef", mem_to_hexstring(desc_end + o, hash_desc.salt_len)); in TEST_F()
758 mem_to_hexstring(desc_end + o, hash_desc.digest_len)); in TEST_F()
763 desc_end = reinterpret_cast<const uint8_t*>(descriptors[1]) + in TEST_F()
766 std::string(reinterpret_cast<const char*>(desc_end), in TEST_F()
/external/libunwind/src/ia64/
DGparser.c961 uint8_t *dp, *desc_end; in create_state_record_for() local
993 desc_end = dp + c->pi.unwind_info_size; in create_state_record_for()
994 while (!sr->done && dp < desc_end) in create_state_record_for()