Home
last modified time | relevance | path

Searched refs:ut_asserteq_mem (Results 1 – 20 of 20) sorted by relevance

/u-boot/test/lib/
A Dhexdump.c43 ut_asserteq_mem("\x64\x94\x21\xde", dst, 4); in lib_test_hex2bin()
45 ut_asserteq_mem("\xaa\x2e\x75\x45", dst, 4); in lib_test_hex2bin()
47 ut_asserteq_mem("\x75\x45\x3b\xc5", dst, 4); in lib_test_hex2bin()
49 ut_asserteq_mem("\xa1\x68\x84\xc3", dst, 4); in lib_test_hex2bin()
51 ut_asserteq_mem("\x15\x6b\x2e\x5e", dst, 4); in lib_test_hex2bin()
53 ut_asserteq_mem("\x2e\x03\x5f\xff", dst, 4); in lib_test_hex2bin()
55 ut_asserteq_mem("\x0f\xfc\xe9\x9f", dst, 4); in lib_test_hex2bin()
57 ut_asserteq_mem("\xd3\x99\x94\x43", dst, 4); in lib_test_hex2bin()
59 ut_asserteq_mem("\x91\xdd\x87\xbc", dst, 4); in lib_test_hex2bin()
61 ut_asserteq_mem("\x7f\xec\x89\x63", dst, 4); in lib_test_hex2bin()
A Dtest_aes.c51 ut_asserteq_mem(nocipher, uncipher, AES_BLOCK_LENGTH); in lib_test_aes_one_block()
71 ut_asserteq_mem(nocipher, uncipher, num_block * AES_BLOCK_LENGTH); in lib_test_aes_cbc_chain()
/u-boot/test/dm/
A Di2c.c52 ut_asserteq_mem(buf, "\0\0\0\0\0", sizeof(buf)); in dm_test_i2c_read_write()
55 ut_asserteq_mem(buf, "\0\0AB\0", sizeof(buf)); in dm_test_i2c_read_write()
124 ut_asserteq_mem(buf, "\0\0\0\0\0", sizeof(buf)); in dm_test_i2c_bytewise()
138 ut_asserteq_mem(buf, "\0\0\0\0\0", sizeof(buf)); in dm_test_i2c_bytewise()
160 ut_asserteq_mem(buf, "\0\0AB\0\0", sizeof(buf)); in dm_test_i2c_bytewise()
187 ut_asserteq_mem("AB\0\0\0\0", buf, sizeof(buf)); in dm_test_i2c_offset()
196 ut_asserteq_mem("ABAB\0", buf, sizeof(buf)); in dm_test_i2c_offset()
209 ut_asserteq_mem("ABCAB", buf, sizeof(buf)); in dm_test_i2c_offset()
217 ut_asserteq_mem("AB\0\0\0", buf, sizeof(buf)); in dm_test_i2c_offset()
225 ut_asserteq_mem("AB\0\0\0", buf, sizeof(buf)); in dm_test_i2c_offset()
[all …]
A Dmisc.c29 ut_asserteq_mem(buf, "TESTWRITE", 9); in dm_test_misc()
35 ut_asserteq_mem(buf, "Zero", 4); in dm_test_misc()
39 ut_asserteq_mem(buf, "Two", 3); in dm_test_misc()
42 ut_asserteq_mem(buf, "Forty-two", 9); in dm_test_misc()
46 ut_asserteq_mem(buf, "Forty-one", 9); in dm_test_misc()
A Dosd.c75 ut_asserteq_mem(text, in dm_test_osd_basics()
87 ut_asserteq_mem(colors, in dm_test_osd_basics()
106 ut_asserteq_mem(text, in dm_test_osd_basics()
118 ut_asserteq_mem(colors, in dm_test_osd_basics()
160 ut_asserteq_mem(text, in dm_test_osd_extended()
167 ut_asserteq_mem(colors, in dm_test_osd_extended()
202 ut_asserteq_mem(text, in dm_test_osd_extended()
209 ut_asserteq_mem(colors, in dm_test_osd_extended()
A Dmmc.c44 ut_asserteq_mem(write, read, sizeof(write)); in dm_test_mmc_blk()
50 ut_asserteq_mem(write, read, sizeof(write)); in dm_test_mmc_blk()
A Dpci_ep.c44 ut_asserteq_mem(&tmp_header, &ep_header, sizeof(ep_header)); in dm_test_pci_ep_base()
55 ut_asserteq_mem(&tmp_bar, &bar, sizeof(bar)); in dm_test_pci_ep_base()
A Daxi.c70 ut_asserteq_mem(data, tdata1, ARRAY_SIZE(tdata1)); in dm_test_axi_store()
74 ut_asserteq_mem(data + 3, tdata2, ARRAY_SIZE(tdata1)); in dm_test_axi_store()
A Dsf.c39 ut_asserteq_mem(src, dst, size); in dm_test_spi_flash()
52 ut_asserteq_mem(src, dst, size); in dm_test_spi_flash()
A Ddma.c34 ut_asserteq_mem(src_buf, dst_buf, len); in dm_test_dma_m2m()
76 ut_asserteq_mem(src_buf, dst_buf, len); in dm_test_dma()
121 ut_asserteq_mem(src_buf, dst_buf, len); in dm_test_dma_rx()
A Deth.c286 ut_asserteq_mem(eth->et_src, net_ethaddr, ARP_HLEN); in sb_check_arp_reply()
287 ut_asserteq_mem(eth->et_dest, priv->fake_host_hwaddr, ARP_HLEN); in sb_check_arp_reply()
294 ut_asserteq_mem(&arp->ar_sha, net_ethaddr, ARP_HLEN); in sb_check_arp_reply()
296 ut_asserteq_mem(&arp->ar_tha, priv->fake_host_hwaddr, ARP_HLEN); in sb_check_arp_reply()
377 ut_asserteq_mem(eth->et_src, net_ethaddr, ARP_HLEN); in sb_check_ping_reply()
378 ut_asserteq_mem(eth->et_dest, priv->fake_host_hwaddr, ARP_HLEN); in sb_check_ping_reply()
A Dacpi.c214 ut_asserteq_mem("ABCD", hdr.signature, sizeof(hdr.signature)); in dm_test_acpi_fill_header()
218 ut_asserteq_mem(OEM_ID, hdr.oem_id, sizeof(hdr.oem_id)); in dm_test_acpi_fill_header()
219 ut_asserteq_mem(OEM_TABLE_ID, hdr.oem_table_id, in dm_test_acpi_fill_header()
222 ut_asserteq_mem(ASLC_ID, hdr.aslc_id, sizeof(hdr.aslc_id)); in dm_test_acpi_fill_header()
318 ut_asserteq_mem(RSDP_SIG, rsdp->signature, sizeof(rsdp->signature)); in dm_test_acpi_setup_base_tables()
325 ut_asserteq_mem("RSDT", rsdt->header.signature, ACPI_NAME_LEN); in dm_test_acpi_setup_base_tables()
331 ut_asserteq_mem("XSDT", xsdt->header.signature, ACPI_NAME_LEN); in dm_test_acpi_setup_base_tables()
A Dof_extra.c34 ut_asserteq_mem(hash_expect, entry.hash, SHA256_SUM_LEN); in dm_test_ofnode_read_fmap_entry()
A Dremoteproc.c228 ut_asserteq_mem(loaded_firmware, valid_elf32, loaded_firmware_size); in dm_test_remoteproc_elf()
248 ut_asserteq_mem(loaded_firmware, valid_elf32 + shdr->sh_offset, in dm_test_remoteproc_elf()
A Dcros_ec.c169 ut_asserteq_mem(test_data, data, size); in dm_test_cros_ec_vstore()
A Dacpigen.c1198 ut_asserteq_mem(TEST_STRING, ptr, len); in dm_test_acpi_write_return()
/u-boot/test/
A Dunicode_ut.c75 ut_asserteq_mem(copy, c4, sizeof(c4)); in unicode_test_u16_strdup()
89 ut_asserteq_mem(copy, c1, sizeof(c1)); in unicode_test_u16_strcpy()
694 ut_asserteq_mem(u1, buf, sizeof(u1)); in unicode_test_utf8_to_utf32_stream()
698 ut_asserteq_mem(u2, buf, sizeof(u2)); in unicode_test_utf8_to_utf32_stream()
702 ut_asserteq_mem(u3, buf, sizeof(u3)); in unicode_test_utf8_to_utf32_stream()
706 ut_asserteq_mem(u4, buf, sizeof(u4)); in unicode_test_utf8_to_utf32_stream()
722 ut_asserteq_mem(expected, buf, sizeof(expected)); in unicode_test_efi_create_indexed_name()
A Dcompression.c167 ut_asserteq_mem(plain, in, in_size); in compress_using_bzip2()
202 ut_asserteq_mem(plain, in, in_size); in compress_using_lzma()
236 ut_asserteq_mem(plain, in, in_size); in compress_using_lzo()
271 ut_asserteq_mem(plain, in, in_size); in compress_using_lz4()
/u-boot/test/log/
A Dsyslog_test.c37 ut_asserteq_mem(&eth_hdr->et_dest, net_bcast_ethaddr, ARP_HLEN); in sb_log_tx_handler()
51 ut_asserteq_mem(env->expected, buf, in sb_log_tx_handler()
/u-boot/include/test/
A Dut.h198 #define ut_asserteq_mem(expr1, expr2, len) { \ macro

Completed in 19 milliseconds