Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 30) sorted by relevance

12

/test/lib/
A Dtime.c15 ulong base, start, next, diff; in test_get_timer() local
19 start = get_timer(0); in test_get_timer()
23 } while (start == next); in test_get_timer()
25 if (start + 1 != next) { in test_get_timer()
30 start++; in test_get_timer()
87 ulong start; in test_time_comparison() local
89 start = get_timer(0); in test_time_comparison()
91 while (get_timer(start) < 1000) in test_time_comparison()
108 ulong start, delta; in test_udelay() local
111 start = get_timer(0); in test_udelay()
[all …]
A Dabuf.c21 ulong start; in lib_test_abuf_set() local
23 start = ut_check_free(); in lib_test_abuf_set()
54 ulong start; in lib_test_abuf_init_const() local
96 ulong start; in lib_test_abuf_realloc() local
145 ulong start; in lib_test_abuf_realloc_size() local
174 ulong start; in lib_test_abuf_realloc_inc() local
199 ulong start; in lib_test_abuf_large() local
256 ulong start; in lib_test_abuf_uninit_move() local
395 ulong start; in lib_test_abuf_copy() local
418 ulong start; in lib_test_abuf_init_size() local
[all …]
A Dalist.c26 ulong start; in lib_test_alist_init() local
28 start = ut_check_free(); in lib_test_alist_init()
73 ulong start; in lib_test_alist_get() local
76 start = ut_check_free(); in lib_test_alist_get()
112 ulong start; in lib_test_alist_has() local
149 ulong start; in lib_test_alist_ensure() local
205 ulong start; in lib_test_alist_add() local
250 ulong start; in lib_test_alist_next() local
302 ulong start; in lib_test_alist_for_each() local
385 ulong start; in lib_test_alist_empty() local
[all …]
A Dstr.c294 ulong start; in test_str_to_list() local
297 start = ut_check_delta(0); in test_str_to_list()
300 ut_assertok(ut_check_delta(start)); in test_str_to_list()
303 ut_assertok(ut_check_delta(start)); in test_str_to_list()
307 ut_assertok(ut_check_delta(start)); in test_str_to_list()
315 ut_assertok(ut_check_delta(start)); in test_str_to_list()
324 ut_assertok(ut_check_delta(start)); in test_str_to_list()
327 start = ut_check_delta(0); in test_str_to_list()
334 ut_assertok(ut_check_delta(start)); in test_str_to_list()
345 ut_assertok(ut_check_delta(start)); in test_str_to_list()
[all …]
A Dmembuf.c20 memset(mb->start, '\0', mb->end - mb->start); in membuf_zero()
27 ut_assert(!(mb->head < mb->start || mb->head >= mb->end)); in membuf_check()
30 ut_assert(!(mb->tail < mb->start || mb->tail >= mb->end)); in membuf_check()
/test/dm/
A Dfdtdec.c28 resv.start = 0x1000; in dm_test_fdtdec_set_carveout()
33 resv.start = 0x10000; in dm_test_fdtdec_set_carveout()
38 resv.start = 0x100000; in dm_test_fdtdec_set_carveout()
78 resv.start = 0x1000; in dm_test_fdtdec_add_reserved_memory()
92 ut_assert(addr == resv.start); in dm_test_fdtdec_add_reserved_memory()
93 ut_assert(size == resv.end - resv.start + 1); in dm_test_fdtdec_add_reserved_memory()
99 resv.start = 0x2000; in dm_test_fdtdec_add_reserved_memory()
116 resv.start = 0x1000; in dm_test_fdtdec_add_reserved_memory()
A Dpart.c37 .start = 48, /* GPT data takes up the first 34 blocks or so */ in dm_test_part()
42 .start = 49, in dm_test_part()
127 ut_asserteq(reference->start, p.start); in do_get_info_test()
140 .start = 48, /* GPT data takes up the first 34 blocks or so */ in dm_test_part_get_info_by_type()
146 .start = 49, in dm_test_part_get_info_by_type()
154 .start = 1, in dm_test_part_get_info_by_type()
160 .start = 48, in dm_test_part_get_info_by_type()
A Dserial.c23 size_t start, putc_written; in dm_test_serial() local
79 start = sandbox_serial_written(); in dm_test_serial()
85 ut_asserteq(putc_written - start, in dm_test_serial()
A Dregmap.c32 ut_asserteq(0x10, map->ranges[0].start); in dm_test_regmap_base()
40 ut_asserteq(0x20, map->ranges[0].start); in dm_test_regmap_base()
44 ut_asserteq(addr, map->ranges[i].start); in dm_test_regmap_base()
61 ut_asserteq(0x40, map->ranges[0].start); in dm_test_regmap_base()
65 ut_asserteq(addr, map->ranges[i].start); in dm_test_regmap_base()
168 unsigned long start; in dm_test_regmap_poll() local
174 start = get_timer(0); in dm_test_regmap_poll()
183 ut_assert(get_timer(start) > (5 * CONFIG_SYS_HZ)); in dm_test_regmap_poll()
A Dfastboot.c27 .start = 48, /* GPT data takes up the first 34 blocks or so */ in dm_test_fastboot_mmc_part()
32 .start = 49, in dm_test_fastboot_mmc_part()
A Dvideo.c796 ut_asserteq(0, line->start); in dm_test_font_measure()
805 ut_asserteq(21, line->start); in dm_test_font_measure()
806 ut_asserteq(nl + 1, line->start); in dm_test_font_measure()
827 ut_asserteq(0, line->start); in dm_test_font_measure()
830 printf("line0 '%.*s'\n", line->len, test_string + line->start); in dm_test_font_measure()
832 test_string + line->start); in dm_test_font_measure()
839 ut_asserteq(21, line->start); in dm_test_font_measure()
840 ut_asserteq(nl + 1, line->start); in dm_test_font_measure()
846 test_string + line->start); in dm_test_font_measure()
853 ut_asserteq(21 + 130, line->start); in dm_test_font_measure()
[all …]
A Dofnode.c163 static int check_prop_values(struct unit_test_state *uts, ofnode start, in check_prop_values() argument
173 node = ofnode_by_prop_value(start, propname, propval, proplen); in check_prop_values()
1204 ulong start; in dm_test_ofnode_add_subnode() local
1213 start = ut_check_free(); in dm_test_ofnode_add_subnode()
1216 ut_assertok(ut_check_delta(start)); in dm_test_ofnode_add_subnode()
1460 ulong start; in dm_test_livetree_align() local
1462 start = (ulong)gd_of_root(); in dm_test_livetree_align()
1463 ut_asserteq(start, ALIGN(start, align)); in dm_test_livetree_align()
/test/py/tests/
A Dtest_memtest.py32 start = hex(f.get("start_addr", 0x0))
37 end = hex(int(start, 16) + int(size, 16))
38 return start, end, pattern, iteration, timeout
44 start, end, pattern, iteration, timeout = get_memtest_env(ubman)
60 start, end, pattern, iteration, timeout = get_memtest_env(ubman)
A Dtest_spi.py183 for start in range(0, total_size, erase_size):
366 start = 0
452 def erase_write_ops(ubman, start, size): argument
455 flash_ops(ubman, 'erase', start, size, 0, 0, EXPECTED_ERASE)
456 flash_ops(ubman, 'write', start, size, addr, 0, EXPECTED_WRITE)
619 start = random.randint(0, total_size)
624 esize = random.randint(0, total_size - start)
628 ubman, 'erase', start, esize, 0, 1, error_msg, EXPECTED_ERASE
642 ubman, 'erase', start, esize, 0, 1, error_msg, EXPECTED_ERASE
654 start = random.randint(0, (total_size - page_size))
[all …]
A Dtest_ut.py255 start = parts[partnum].start * sect_size
256 disk_data = disk_data[:start] + data + disk_data[start + len(data):]
324 start, size, num, name = line.split(maxsplit=3)
325 parts[int(num)] = Partition(int(start), int(size), name)
368 start = parts[partnum].start * sect_size
369 disk_data = disk_data[:start] + data + disk_data[start + len(data):]
406 start, size, num, name = line.split(maxsplit=3)
407 parts[int(num)] = Partition(int(start), int(size), name)
460 start, size, num, name = line.split(maxsplit=3)
461 parts[int(num)] = Partition(int(start), int(size), name)
A Dtest_dm.py36 start = False
40 if not start:
43 start = True
/test/boot/
A Dbootstd_common.c79 struct bootdev_hunter *start, *mmc; in bootstd_test_check_mmc_hunter() local
90 start = ll_entry_start(struct bootdev_hunter, bootdev_hunter); in bootstd_test_check_mmc_hunter()
92 seq = mmc - start; in bootstd_test_check_mmc_hunter()
/test/common/
A Dcread.c59 ulong start; in cread_test() local
94 start = get_timer(0); in cread_test()
97 duration = get_timer(start) - 1000; in cread_test()
/test/boot/files/
A Dexpo_layout.dts11 dynamic-start = <ID_DYNAMIC_START>;
45 start-bit = <0x400>;
58 start-bit = <0x422>;
/test/
A Dcmd_ut.c26 struct unit_test *start; member
115 int n_ents = ste->end - ste->start; in has_tests()
125 int n_ents = ste->end - ste->start; in run_suite()
132 ret = ut_run_list(uts, ste->name, prefix, ste->start, n_ents, in run_suite()
212 long n_ent = ste->end - ste->start; in do_ut_info()
A Dtest-main.c358 uts->start = mallinfo(); in test_pre_run()
714 uts->cur.start = get_timer(0); in ut_run_list()
759 uts->cur.duration_ms = get_timer(uts->cur.start) - test_offset; in ut_run_list()
/test/cmd/
A Drw.c17 .start = 48, /* GPT data takes up the first 34 blocks or so */ in setup_partitions()
22 .start = 52, in setup_partitions()
A Dbdinfo.c148 bd->bi_dram[i].start)); in bdinfo_check_mem()
/test/py/
A Dspawn.py273 if earliest_m and m.start() >= earliest_m.start():
278 pos = earliest_m.start()
/test/image/
A Dspl_load_fs.c247 dirent->start = cpu_to_le16(file_sector); in create_fat()
329 .start = 1, in spl_test_mmc_fs()
367 ut_asserteq(part.size, blk_dwrite(dev_desc, part.start, part.size, fs)); in spl_test_mmc_fs()

Completed in 53 milliseconds

12