/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() 82 if (nb_total + p < desc_start || nb_total + p > desc_end) { in avb_descriptor_foreach()
|
/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() 101 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 | sun8i_emac.c | 519 uintptr_t desc_end = desc_start + in _sun8i_eth_recv() local 526 invalidate_dcache_range(desc_start, desc_end); in _sun8i_eth_recv() 565 uintptr_t desc_end = desc_start + in _sun8i_emac_eth_send() local 573 invalidate_dcache_range(desc_start, desc_end); in _sun8i_emac_eth_send() 593 flush_dcache_range(desc_start, desc_end); in _sun8i_emac_eth_send() 719 uintptr_t desc_end = desc_start + in _sun8i_free_pkt() local 726 flush_dcache_range(desc_start, desc_end); in _sun8i_free_pkt()
|
D | designware.c | 362 ulong desc_end = desc_start + in _dw_eth_send() local 374 invalidate_dcache_range(desc_start, desc_end); in _dw_eth_send() 405 flush_dcache_range(desc_start, desc_end); in _dw_eth_send() 425 ulong desc_end = desc_start + in _dw_eth_recv() local 431 invalidate_dcache_range(desc_start, desc_end); in _dw_eth_recv() 455 ulong desc_end = desc_start + in _dw_free_pkt() local 465 flush_dcache_range(desc_start, desc_end); in _dw_free_pkt()
|
/external/avb/test/ |
D | avbtool_unittest.cc | 593 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashFooterTest() local 597 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashFooterTest() 600 EXPECT_EQ("d00df00d", mem_to_hexstring(desc_end + o, d.salt_len)); in AddHashFooterTest() 603 mem_to_hexstring(desc_end + o, d.digest_len)); in AddHashFooterTest() 1086 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashtreeFooterTest() local 1090 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashtreeFooterTest() 1093 EXPECT_EQ("d00df00d", mem_to_hexstring(desc_end + o, d.salt_len)); in AddHashtreeFooterTest() 1096 mem_to_hexstring(desc_end + o, d.root_digest_len)); in AddHashtreeFooterTest() 1315 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashtreeFooterFECTest() local 1319 std::string(reinterpret_cast<const char*>(desc_end + o), in AddHashtreeFooterFECTest() [all …]
|
D | avb_slot_verify_unittest.cc | 874 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in TEST_F() local 878 std::string(reinterpret_cast<const char*>(desc_end + o), in TEST_F() 881 EXPECT_EQ("deadbeef", mem_to_hexstring(desc_end + o, hash_desc.salt_len)); in TEST_F() 884 mem_to_hexstring(desc_end + o, hash_desc.digest_len)); in TEST_F() 889 desc_end = reinterpret_cast<const uint8_t*>(descriptors[1]) + in TEST_F() 892 std::string(reinterpret_cast<const char*>(desc_end), in TEST_F() 1064 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in TEST_F() local 1068 std::string(reinterpret_cast<const char*>(desc_end + o), in TEST_F() 1071 EXPECT_EQ("deadbeef", mem_to_hexstring(desc_end + o, hash_desc.salt_len)); in TEST_F() 1074 mem_to_hexstring(desc_end + o, hash_desc.digest_len)); in TEST_F() [all …]
|
/external/u-boot/lib/efi_loader/ |
D | efi_memory.c | 252 uint64_t desc_end = desc->physical_start + desc_len; in efi_find_free_memory() local 253 uint64_t curmax = min(max_addr, desc_end); in efi_find_free_memory() 265 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()
|