| /test/lib/ |
| A D | hexdump.c | 38 u8 dst[4]; in lib_test_hex2bin() local 40 hex2bin(dst, "649421de", 4); in lib_test_hex2bin() 42 hex2bin(dst, "aa2e7545", 4); in lib_test_hex2bin() 44 hex2bin(dst, "75453bc5", 4); in lib_test_hex2bin() 46 hex2bin(dst, "a16884c3", 4); in lib_test_hex2bin() 48 hex2bin(dst, "156b2e5e", 4); in lib_test_hex2bin() 50 hex2bin(dst, "2e035fff", 4); in lib_test_hex2bin() 52 hex2bin(dst, "0ffce99f", 4); in lib_test_hex2bin() 54 hex2bin(dst, "d3999443", 4); in lib_test_hex2bin() 56 hex2bin(dst, "91dd87bc", 4); in lib_test_hex2bin() [all …]
|
| /test/image/ |
| A D | spl_load.c | 66 *data_offset = data - dst; in create_legacy() 68 if (!dst) in create_legacy() 96 void *data = dst + 512; in create_imx8() 99 *data_offset = data - dst; in create_imx8() 101 if (!dst) in create_imx8() 111 img->offset = data - dst; in create_imx8() 134 if (fdt_create(dst, fit_size)) in start_fit() 138 if (fdt_begin_node(dst, "")) in start_fit() 160 return data - dst; in start_fit() 184 if (!dst) in create_fit() [all …]
|
| A D | spl_load_fs.c | 35 static size_t create_ext2(void *dst, size_t size, const char *filename, in create_ext2() argument 59 struct ext2_sblock *sblock = dst + super_block * block_size; in create_ext2() 60 struct ext2_block_group *bg = dst + group_block * block_size; in create_ext2() 66 struct ext2_dirent *dot = dst + root_block * block_size; in create_ext2() 81 if (!dst) in create_ext2() 106 memset(dst + block_bitmap_block * block_size, 0xff, block_size * 2); in create_ext2() 183 struct boot_sector *bs = dst + boot_sector * sector_size; in create_fat() 185 __le32 *fat = dst + fat_sector * sector_size; in create_fat() 186 struct dir_entry *dirent = dst + root_sector * sector_size; in create_fat() 208 if (!dst) in create_fat() [all …]
|
| /test/py/tests/test_fs/ |
| A D | test_rename.py | 23 dst = '%s/file2' % d 27 'mv host 0:0 %s %s' % (src, dst), 55 dst = '%s/file_exist' % d 59 'mv host 0:0 %s %s' % (src, dst), 87 dst = '%s/dir2' % d 91 'mv host 0:0 %s %s' % (src, dst), 120 dst = '%s/dir2' % d 152 dst = '%s/file2' % d 185 dst = '%s/dir2' % d 218 dst = '%s/dir2' % d [all …]
|
| /test/dm/ |
| A D | sf.c | 26 u8 *src, *dst; in dm_test_spi_flash() local 36 dst = map_sysmem(0x20000 + full_size, full_size); in dm_test_spi_flash() 37 ut_assertok(spi_flash_read_dm(dev, 0, size, dst)); in dm_test_spi_flash() 38 ut_asserteq_mem(src, dst, size); in dm_test_spi_flash() 42 ut_assertok(spi_flash_read_dm(dev, 0, size, dst)); in dm_test_spi_flash() 44 ut_asserteq(dst[i], 0xff); in dm_test_spi_flash() 50 ut_assertok(spi_flash_read_dm(dev, 0, size, dst)); in dm_test_spi_flash() 51 ut_asserteq_mem(src, dst, size); in dm_test_spi_flash()
|
| A D | blkmap.c | 21 int dst; member 49 memset(base + (m->dst + nr) * BLKSZ, in mkblob() 70 unordered + m->dst * BLKSZ)); in dm_test_blkmap_read() 99 buffer + m->dst * BLKSZ)); in dm_test_blkmap_write()
|
| A D | ofnode.c | 1399 ut_assertok(ofnode_copy_props(dst, src)); in check_copy_props() 1405 ofnode_read_string(dst, "compatible")); in check_copy_props() 1420 ofnode src, dst; in dm_test_ofnode_copy_props() local 1429 dst = ofnode_path("/some-bus"); in dm_test_ofnode_copy_props() 1431 ut_assertok(check_copy_props(uts, dst, src)); in dm_test_ofnode_copy_props() 1443 ofnode src, dst; in dm_test_ofnode_copy_props_ot() local 1447 dst = oftree_path(otree, "/node/subnode2"); in dm_test_ofnode_copy_props_ot() 1543 ofnode src, dst, node, try; in dm_test_ofnode_copy_node() local 1552 dst = ofnode_path("/some-bus"); in dm_test_ofnode_copy_node() 1568 ofnode src, dst, node; in dm_test_ofnode_copy_node_ot() local [all …]
|
| A D | video.c | 433 ulong dst = 0x10000; in dm_test_video_bmp16() local 440 ut_assertok(gunzip(map_sysmem(dst, 0), dst_len, map_sysmem(src, 0), in dm_test_video_bmp16() 443 ut_assertok(video_bmp_display(dev, dst, 0, 0, false)); in dm_test_video_bmp16() 457 ulong dst = 0x10000; in dm_test_video_bmp24() local 464 ut_assertok(gunzip(map_sysmem(dst, 0), dst_len, map_sysmem(src, 0), in dm_test_video_bmp24() 467 ut_assertok(video_bmp_display(dev, dst, 0, 0, false)); in dm_test_video_bmp24() 481 ulong dst = 0x10000; in dm_test_video_bmp24_32() local 488 ut_assertok(gunzip(map_sysmem(dst, 0), dst_len, map_sysmem(src, 0), in dm_test_video_bmp24_32() 491 ut_assertok(video_bmp_display(dev, dst, 0, 0, false)); in dm_test_video_bmp24_32()
|