| /test/dm/ |
| A D | host.c | 25 char fname[256]; in dm_test_host() local 42 ut_assertok(os_persistent_file(fname, sizeof(fname), "2MB.ext2.img")); in dm_test_host() 44 ut_assertok(host_attach_file(dev, fname)); in dm_test_host() 48 ut_asserteq_str(fname, plat->filename); in dm_test_host() 49 ut_assert(fname != plat->filename); in dm_test_host() 82 char fname[256]; in dm_test_host_dup() local 88 ut_assertok(os_persistent_file(fname, sizeof(fname), "2MB.ext2.img")); in dm_test_host_dup() 98 ut_assertok(os_persistent_file(fname, sizeof(fname), "1MB.fat32.img")); in dm_test_host_dup() 116 char fname[256]; in dm_test_cmd_host() local 123 ut_assertok(os_persistent_file(fname, sizeof(fname), "2MB.ext2.img")); in dm_test_cmd_host() [all …]
|
| A D | video.c | 369 static int read_file(struct unit_test_state *uts, const char *fname, in read_file() argument 379 fd = os_open(fname, OS_O_RDONLY); in read_file()
|
| /test/image/ |
| A D | spl_load_os.c | 16 char fname[256]; in spl_test_load() local 18 ut_assertok(sandbox_spl_load_fit(fname, sizeof(fname), &image)); in spl_test_load()
|
| /test/py/tests/ |
| A D | test_trace.py | 67 fname = os.path.join(TMPDIR, 'trace') 69 'host save hostfs - %x %s ${profoffset}' % (addr, fname)) 70 return fname, int(dm_f_time[0]) 99 def check_function(ubman, fname, proftool, map_fname, trace_dat): argument 110 ubman, [proftool, '-t', fname, '-o', trace_dat, '-m', map_fname, 170 def check_funcgraph(ubman, fname, proftool, map_fname, trace_dat): argument 186 ubman, [proftool, '-t', fname, '-o', trace_dat, '-m', map_fname, 252 def check_flamegraph(ubman, fname, proftool, map_fname, trace_fg): argument 271 ubman, [proftool, '-t', fname, '-o', trace_fg, '-m', map_fname, 316 fname, dm_f_time = collect_trace(ubman) [all …]
|
| A D | test_ut.py | 156 copy_partition(ubman, fsfile, fname) 208 copy_partition(ubman, fsfile, fname) 339 with open(fname, 'rb') as inf: 346 with open(fname, 'wb') as outf: 349 return fname 409 with open(fname, 'rb') as inf: 422 with open(fname, 'wb') as outf: 463 with open(fname, 'rb') as inf: 471 with open(fname, 'wb') as outf: 476 return fname [all …]
|
| A D | test_fit.py | 132 def filesize(fname): argument 140 return os.stat(fname).st_size 142 def read_file(fname): argument 150 with open(fname, 'rb') as fd: 159 fname = make_fname(filename) 163 with open(fname, 'w') as fd: 165 return fname
|
| A D | fit_util.py | 73 fname = make_fname(ubman, basename) 77 with open(fname, 'w', encoding='utf-8') as outf: 79 return fname
|
| A D | fs_helper.py | 93 fname = os.path.join(ubman.config.source_dir, f'{basename}{devnum}.img') 108 return fname, mnt
|
| A D | test_env.py | 559 fname = os.path.join(path, 'infile') 560 with open(fname, 'w') as inf: 562 result = utils.run_and_log(ubman, ['awk', '-f', script, fname])
|
| A D | test_efi_fit.py | 251 def make_efi(fname, efi_file, comp): argument 265 bin_path = make_fpath(fname)
|
| /test/py/ |
| A D | console_sandbox.py | 50 fname = '/tpl/u-boot-tpl' 52 fname = '/spl/u-boot-spl' if config_spl else '/u-boot' 53 print(fname) 57 cmd += [self.config.build_dir + fname, '-v']
|
| /test/ |
| A D | ut.c | 19 void ut_fail(struct unit_test_state *uts, const char *fname, int line, in ut_fail() argument 23 printf("%s:%d, %s(): %s\n", fname, line, func, cond); in ut_fail() 27 void ut_failf(struct unit_test_state *uts, const char *fname, int line, in ut_failf() argument 33 printf("%s:%d, %s(): %s: ", fname, line, func, cond); in ut_failf()
|
| A D | test-main.c | 199 const char *fname = strrchr(test->file, '/') + 1; in ut_test_run_on_flattree() local 204 return !strstr(fname, "video") || strstr(test->name, "video_base"); in ut_test_run_on_flattree() 474 const char *fname = strrchr(test->file, '/') + 1; in ut_run_test() local 480 printf("Test: %s: %s%s\n", test_name, fname, note); in ut_run_test()
|