| /test/py/tests/ |
| A D | test_sf.py | 120 count = sf_params['len'] 124 cmd = 'mw.b %08x %02x %x' % (addr, pattern, count) 126 crc_pattern = utils.crc32(ubman, addr, count) 133 crc_readback = utils.crc32(ubman, addr, count) 154 count = sf_params['len'] 157 cmd = 'mw.b %08x %02x %x' % (addr, pattern, count) 159 crc_pattern = utils.crc32(ubman, addr, count) 196 count = sf_params['len'] 198 cmd = 'sf erase %08x %x' % (offset, count) 202 cmd = 'mw.b %08x ff %x' % (addr, count) [all …]
|
| A D | test_suite.py | 205 count = re.search(r'Tests run: (\d*)', lines[-1]).group(1) 207 assert run == 2 * int(count)
|
| A D | test_dm.py | 38 indent = line.count('| ') + ('--' in line)
|
| A D | fs_helper.py | 51 count = (size + size_gran - 1) // size_gran
|
| A D | test_trace.py | 298 count = int(val) 299 total += count
|
| /test/dm/ |
| A D | ffa.c | 103 u32 count, i, j, valid_sps = 0; in test_partitions_and_comms() local 114 ut_asserteq(SANDBOX_SP_COUNT_PER_VALID_SERVICE, count); in test_partitions_and_comms() 122 for (i = 0; i < count ; i++) { in test_partitions_and_comms() 124 j < partitions->count; in test_partitions_and_comms() 210 u32 count; in dm_test_ffa_nack() local 229 ret = ffa_partition_info_get(dev, unvalid_svc_uuid, &count, NULL); in dm_test_ffa_nack() 237 count = 0; in dm_test_ffa_nack() 238 ret = ffa_partition_info_get(dev, unvalid_svc_uuid, &count, &descs); in dm_test_ffa_nack() 239 ut_asserteq(0, count); in dm_test_ffa_nack() 242 count = 0; in dm_test_ffa_nack() [all …]
|
| A D | ofread.c | 13 int res, len, count = 0; in dm_test_ofprop_get_property() local 21 switch (count) { in dm_test_ofprop_get_property() 43 count++; in dm_test_ofprop_get_property()
|
| A D | test-fdt.c | 403 int count; in dm_test_first_next_device_probeall() local 410 count++; in dm_test_first_next_device_probeall() 425 count++; in dm_test_first_next_device_probeall() 440 count++; in dm_test_first_next_device_probeall() 465 int count; in dm_test_uclass_foreach() local 467 count = 0; in dm_test_uclass_foreach() 469 count++; in dm_test_uclass_foreach() 472 count = 0; in dm_test_uclass_foreach() 474 count++; in dm_test_uclass_foreach() 521 int count; in dm_test_first_next_ok_device() local [all …]
|
| A D | usb.c | 129 int count = 0; in count_usb_devices() local 139 count++; in count_usb_devices() 143 count++; in count_usb_devices() 147 return count; in count_usb_devices()
|
| A D | ofnode.c | 170 int count; in check_prop_values() local 179 count = 1; in check_prop_values() 186 count++; in check_prop_values() 1236 int count; in dm_test_ofnode_for_each_prop() local 1239 count = 0; in dm_test_ofnode_for_each_prop() 1243 count++; in dm_test_ofnode_for_each_prop() 1249 count++; in dm_test_ofnode_for_each_prop() 1260 int count; in dm_test_ofnode_by_compatible() local 1262 count = 0; in dm_test_ofnode_by_compatible() 1265 count++; in dm_test_ofnode_by_compatible() [all …]
|
| A D | bus.c | 298 plat->count++; in test_bus_parent_plat() 299 ut_asserteq(1, plat->count); in test_bus_parent_plat() 304 ut_asserteq(1, plat->count); in test_bus_parent_plat() 317 ut_asserteq(1, plat->count); in test_bus_parent_plat() 336 ut_asserteq(0, plat->count); in test_bus_parent_plat()
|
| A D | blk.c | 52 int count = 0; in count_blk_devices() local 60 count++; in count_blk_devices() 62 return count; in count_blk_devices()
|
| A D | phy.c | 155 ut_asserteq(2, phys.count); in dm_test_phy_bulk() 167 ut_asserteq(3, phys.count); in dm_test_phy_bulk()
|
| /test/cmd/ |
| A D | mem_copy.c | 19 int d, s, count; member 23 const char *suffix, int d, int s, int count) in do_test() argument 40 bytes = count * w; in do_test() 49 run_commandf("cp%s 0x%lx 0x%lx 0x%x", suffix, addr + s, addr + d, count); in do_test() 75 ret = do_test(uts, ".b", p->d, p->s, p->count); in mem_test_cp_b() 101 ret = do_test(uts, ".w", p->d, p->s, p->count); in mem_test_cp_w() 127 ret = do_test(uts, ".l", p->d, p->s, p->count); in mem_test_cp_l() 134 ret = do_test(uts, "", p->d, p->s, p->count); in mem_test_cp_l() 161 ret = do_test(uts, ".q", p->d, p->s, p->count); in mem_test_cp_q()
|
| A D | bdinfo.c | 109 ut_assert_nextline(" %s.count = %#x", name, lmb_rgn_lst->count); in lmb_test_dump_region() 111 for (i = 0; i < lmb_rgn_lst->count; i++) { in lmb_test_dump_region()
|
| /test/lib/ |
| A D | alist.c | 34 ut_asserteq(0, lst.count); in lib_test_alist_init() 39 ut_asserteq(0, lst.count); in lib_test_alist_init() 46 ut_asserteq(0, lst.count); in lib_test_alist_init() 52 ut_asserteq(0, lst.count); in lib_test_alist_init() 58 ut_asserteq(0, lst.count); in lib_test_alist_init() 79 ut_asserteq(0, lst.count); in lib_test_alist_get() 87 ut_asserteq(2, lst.count); in lib_test_alist_get() 418 int count; in lib_test_alist_filter() local 474 count = 0; in lib_test_alist_filter() 478 count++; in lib_test_alist_filter() [all …]
|
| A D | uthread.c | 13 static int count; variable 22 count++; in worker() 43 count = 0; in uthread() 57 ut_asserteq(2, count); in uthread() 64 ut_asserteq(10, count); in uthread() 72 ut_asserteq(15, count); in uthread()
|
| /test/boot/ |
| A D | upl.c | 185 ut_asserteq(base->region.count, cmp->region.count); in compare_upl_mem() 220 ut_asserteq(base->region.count, cmp->region.count); in compare_upl_memmap() 237 ut_asserteq(base->region.count, cmp->region.count); in compare_upl_memres() 255 for (i = 0; i < base->reg.count; i++) in compare_upl_serial() 274 for (i = 0; i < base->reg.count; i++) in compare_upl_graphics() 302 ut_asserteq(base->image.count, cmp->image.count); in compare_upl() 308 ut_asserteq(base->mem.count, cmp->mem.count); in compare_upl() 309 for (i = 0; i < base->mem.count; i++) in compare_upl() 314 ut_asserteq(base->memmap.count, cmp->memmap.count); in compare_upl() 320 ut_asserteq(base->memres.count, cmp->memres.count); in compare_upl() [all …]
|
| /test/fs/ |
| A D | fs-test.sh | 134 dd if=/dev/zero of=$1 bs=1024 count=$((3 * 1024 * 1024)) 364 sudo dd if=/dev/urandom of="${GB2p5}" bs=1M count=1 \ 366 sudo dd if=/dev/urandom of="${GB2p5}" bs=1M count=2 seek=2047 \ 368 sudo dd if=/dev/urandom of="${GB2p5}" bs=1M count=1 seek=2499 \ 374 sudo dd if=/dev/urandom of="${MB1}" bs=1M count=1 \ 384 dd if="${MB1}" bs=1M skip=0 count=1 2> /dev/null | sha256sum > "$2" 388 dd if="${GB2p5}" bs=1M skip=0 count=1 \ 392 dd if="${GB2p5}" bs=1M skip=2499 count=1 \ 396 dd if="${GB2p5}" bs=1M skip=2047 count=1 \ 400 dd if="${GB2p5}" bs=1M skip=2048 count=1 \ [all …]
|
| A D | fat-noncontig-test.sh | 78 dd if=/dev/zero of=${img} bs=1024 count=$((40 * 1024)) 98 dd if=${fill} of=${fn} bs=512 count=${sects} >/dev/null 2>&1 100 dd if=${fill} of=${fn} bs=512 count=${sects} >/dev/null 2>&1
|
| /test/fuzz/ |
| A D | cmd_fuzz.c | 15 size_t count = FUZZ_TEST_COUNT(); in find_fuzz_test() local 18 for (i = 0; i < count; ++i) { in find_fuzz_test()
|
| /test/py/tests/test_efi_capsule/ |
| A D | capsule_gen_binman.dts | 114 monotonic-count = <0x1>; 129 monotonic-count = <0x1>; 145 monotonic-count = <0x1>; 161 monotonic-count = <0x1>;
|
| /test/ |
| A D | test-main.c | 267 static bool ut_list_has_dm_tests(struct unit_test *tests, int count, in ut_list_has_dm_tests() argument 272 for (test = tests; test < tests + count; test++) { in ut_list_has_dm_tests() 595 struct unit_test *tests, int count, in ut_run_tests() argument 613 for (test = tests; test < tests + count; test++) { in ut_run_tests() 619 for (upto = 0, test = tests; test < tests + count; test++, upto++) { in ut_run_tests() 702 const char *prefix, struct unit_test *tests, int count, in ut_run_list() argument 719 ut_list_has_dm_tests(tests, count, prefix, select_name)) { in ut_run_list() 733 printf("Running %d %s tests\n", count, category); in ut_run_list() 747 ret = ut_run_tests(uts, prefix, tests, count, select_name, in ut_run_list()
|
| /test/py/tests/test_fs/test_squashfs/ |
| A D | test_sqfs_load.py | 30 def uboot_md5sum(ubman, address, count): argument 42 out = ubman.run_command('md5sum {} {}'.format(address, count))
|
| /test/py/ |
| A D | utils.py | 327 def crc32(ubman, address, count): argument 342 output = ubman.run_command('crc32 %08x %x' % (address, count))
|