/external/avb/libavb/ |
D | avb_descriptor.c | 49 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() 91 if (p + sizeof(AvbDescriptor) > desc_end) { in avb_descriptor_foreach() 109 if (nb_total + p < desc_start || nb_total + p > desc_end) { in avb_descriptor_foreach()
|
/external/u-boot/lib/libavb/ |
D | avb_descriptor.c | 30 const uint8_t* desc_end; in avb_descriptor_foreach() local 63 desc_end = desc_start + avb_be64toh(header->descriptors_size); in avb_descriptor_foreach() 66 desc_end < image_data || desc_end > image_end || desc_end < desc_start) { in avb_descriptor_foreach() 71 for (p = desc_start; p < desc_end;) { in avb_descriptor_foreach() 86 if (nb_total + p < desc_start || nb_total + p > desc_end) { in avb_descriptor_foreach()
|
/external/vboot_reference/tests/ |
D | vb21_common_tests.c | 60 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/u-boot/drivers/crypto/fsl/ |
D | desc_constr.h | 78 static inline u32 *desc_end(u32 *desc) in desc_end() function 109 dma_addr_t *offset = (dma_addr_t *)desc_end(desc); in append_ptr() 126 u32 *offset = desc_end(desc); in append_data() 136 u32 *cmd = desc_end(desc); in append_cmd() 147 u32 *offset = desc_end(desc); in append_u64() 190 u32 *cmd = desc_end(desc); \
|
/external/u-boot/drivers/net/ |
D | designware.c | 364 ulong desc_end = desc_start + in _dw_eth_send() local 376 invalidate_dcache_range(desc_start, desc_end); in _dw_eth_send() 411 flush_dcache_range(desc_start, desc_end); in _dw_eth_send() 431 ulong desc_end = desc_start + in _dw_eth_recv() local 437 invalidate_dcache_range(desc_start, desc_end); in _dw_eth_recv() 461 ulong desc_end = desc_start + in _dw_free_pkt() local 471 flush_dcache_range(desc_start, desc_end); in _dw_free_pkt()
|
D | sun8i_emac.c | 559 uintptr_t desc_end = desc_start + in _sun8i_eth_recv() local 566 invalidate_dcache_range(desc_start, desc_end); in _sun8i_eth_recv() 605 uintptr_t desc_end = desc_start + in _sun8i_emac_eth_send() local 613 invalidate_dcache_range(desc_start, desc_end); in _sun8i_emac_eth_send() 633 flush_dcache_range(desc_start, desc_end); in _sun8i_emac_eth_send() 779 uintptr_t desc_end = desc_start + in _sun8i_free_pkt() local 786 flush_dcache_range(desc_start, desc_end); in _sun8i_free_pkt()
|
/external/avb/test/ |
D | avbtool_unittest.cc | 596 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashFooterTest() local 600 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashFooterTest() 603 EXPECT_EQ("d00df00d", mem_to_hexstring(desc_end + o, d.salt_len)); in AddHashFooterTest() 606 mem_to_hexstring(desc_end + o, d.digest_len)); in AddHashFooterTest() 1120 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashtreeFooterTest() local 1124 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashtreeFooterTest() 1127 EXPECT_EQ("d00df00d", mem_to_hexstring(desc_end + o, d.salt_len)); in AddHashtreeFooterTest() 1130 mem_to_hexstring(desc_end + o, d.root_digest_len)); in AddHashtreeFooterTest() 1403 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashtreeFooterFECTest() local 1407 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashtreeFooterFECTest() [all …]
|
D | avb_slot_verify_unittest.cc | 945 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in TEST_F() local 949 std::string(reinterpret_cast<const char*>(desc_end + o), in TEST_F() 952 EXPECT_EQ("deadbeef", mem_to_hexstring(desc_end + o, hash_desc.salt_len)); in TEST_F() 955 mem_to_hexstring(desc_end + o, hash_desc.digest_len)); in TEST_F() 960 desc_end = reinterpret_cast<const uint8_t*>(descriptors[1]) + in TEST_F() 963 std::string(reinterpret_cast<const char*>(desc_end), in TEST_F() 1137 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in TEST_F() local 1141 std::string(reinterpret_cast<const char*>(desc_end + o), in TEST_F() 1144 EXPECT_EQ("deadbeef", mem_to_hexstring(desc_end + o, hash_desc.salt_len)); in TEST_F() 1147 mem_to_hexstring(desc_end + o, hash_desc.digest_len)); in TEST_F() [all …]
|
/external/u-boot/lib/efi_loader/ |
D | efi_memory.c | 396 uint64_t desc_end = desc->physical_start + desc_len; in efi_find_free_memory() local 397 uint64_t curmax = min(max_addr, desc_end); in efi_find_free_memory() 409 if ((ret + len) > desc_end) in efi_find_free_memory()
|
/external/bcc/src/cc/ |
D | bcc_elf.c | 98 const char *desc, *desc_end; in do_note_segment() local 111 desc_end = desc + hdr.n_descsz; in do_note_segment() 113 if (parse_stapsdt_note(&probe, desc, elf_class) == desc_end) { in do_note_segment()
|
/external/libunwind/src/ia64/ |
D | Gparser.c | 961 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()
|