Searched defs:desc_end (Results 1 - 5 of 5) sorted by relevance
/external/avb/libavb/ |
H A D | avb_descriptor.c | 49 const uint8_t* desc_end; local 82 desc_end = desc_start + avb_be64toh(header->descriptors_size); 85 desc_end < image_data || desc_end > image_end || desc_end < desc_start) { 90 for (p = desc_start; p < desc_end;) { 101 if (nb_total + p < desc_start || nb_total + p > desc_end) {
|
/external/avb/test/ |
H A D | avb_slot_verify_unittest.cc | 650 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + local 654 std::string(reinterpret_cast<const char*>(desc_end + o), 657 EXPECT_EQ("deadbeef", mem_to_hexstring(desc_end + o, hash_desc.salt_len)); 660 mem_to_hexstring(desc_end + o, hash_desc.digest_len)); 665 desc_end = reinterpret_cast<const uint8_t*>(descriptors[1]) + 668 std::string(reinterpret_cast<const char*>(desc_end),
|
H A D | avbtool_unittest.cc | 509 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + local 513 std::string(reinterpret_cast<const char*>(desc_end + o), 516 EXPECT_EQ("d00df00d", mem_to_hexstring(desc_end + o, d.salt_len)); 519 mem_to_hexstring(desc_end + o, d.digest_len)); 821 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + local 825 std::string(reinterpret_cast<const char*>(desc_end + o), 828 EXPECT_EQ("d00df00d", mem_to_hexstring(desc_end + o, d.salt_len)); 831 mem_to_hexstring(desc_end + o, d.root_digest_len)); 1049 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + local 1053 std::string(reinterpret_cast<const char*>(desc_end 1381 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + local [all...] |
/external/vboot_reference/tests/ |
H A D | vb21_common_tests.c | 60 uint32_t desc_end, m; local 66 desc_end = c->fixed_size + c->desc_size; 68 c2 = (struct vb2_struct_common *)(cbuf + desc_end); 69 c2->total_size = c->total_size - desc_end; 124 cbuf[desc_end - 1] = 1; 136 m = desc_end; 137 TEST_SUCC(vb2_verify_common_member(cbuf, &m, desc_end, 4), 139 TEST_EQ(m, desc_end + 4, " new minimum"); 157 TEST_EQ(vb2_verify_common_member(cbuf, &m, desc_end - 4, 4), 161 m = desc_end [all...] |
/external/libunwind/src/ia64/ |
H A D | Gparser.c | 963 uint8_t *dp, *desc_end; 995 desc_end = dp + c->pi.unwind_info_size; 996 while (!sr->done && dp < desc_end) 961 uint8_t *dp, *desc_end; local
|
Completed in 226 milliseconds