Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 25 of 134) sorted by relevance

123456

/openbmc/openbmc-test-automation/lib/
H A Dsource.tcl28 set file_path $path/$file_name
29 if { [file executable $file_path] } { return $file_path }
59 set file_path [tcl_which $file_name]
60 if { $file_path == "" } {
71 set file_path [tcl_which ${file_name}.tcl]
72 if { $file_path == "" } {
82 set full_file_name "[file tail $file_path]"
92 if { [catch { uplevel 1 source $file_path } result] } {
94 append message " \"${file_path}\":\n${result}"
H A Dboot_data.py41 def create_boot_table(file_path=None, os_host=""): argument
59 if file_path is None:
61 file_path = os.environ.get(
65 file_path = os.environ.get(
69 file_path = os.environ.get(
73 if not file_path.startswith("/"):
74 file_path = code_base_dir_path + file_path
80 cmd_buf = "egrep -v '^[ ]*$|^[ ]*#' " + file_path + " > " + temp_file_path
155 file_path = gm.which(dir_path + boot_category)
156 boot_list = gm.file_to_list(file_path, newlines=0, comments=0, trim=1)
[all …]
H A Dgen_misc.py117 def which(file_path): argument
128 "which " + file_path, quiet=1, print_output=0, show_err=0
132 'Failed to find complete path for file "' + file_path + '".\n'
142 file_path = out_buf.rstrip("\n")
144 return file_path
323 def file_to_list(file_path, newlines=0, comments=1, trim=0): argument
337 file = open(file_path)
363 def append_file(file_path, buffer): argument
372 with open(file_path, "a") as file:
H A Ddump_utils.py129 for file_path in dump_list:
131 targ_dir_path + targ_file_prefix + os.path.basename(file_path)
134 "scp.Get File " + file_path + " " + targ_file_path, quiet=quiet
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-cython/
H A D0001-Output-import-relative-paths-in-generated-C-code.-GH.patch34 - file_path = StringEncoding.bytes_literal(func.pos[0].get_filenametable_entry().encode('utf…
35 + file_path = func.pos[0].get_filenametable_entry()
36 + if os.path.isabs(file_path):
37 + file_path = func.pos[0].get_description()
39 + file_path = pathlib.Path(file_path).as_posix()
40 + file_path = StringEncoding.bytes_literal(file_path.encode('utf-8'), 'utf8')
41 file_path_const = code.get_py_string_const(file_path, identifier=False, is_str=True)
58 file_path = source_desc.get_filenametable_entry()
59 if isabs(file_path):
60 - file_path = basename(file_path) # never include absolute paths
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D26627 def implicit_defaults(vm, file_path): argument
41 def explicit_defaults(vm, file_path): argument
57 def non_defaults(vm, file_path): argument
72 def non_chs_size_without_force(vm, file_path): argument
86 def zero_size(vm, file_path): argument
96 def maximum_chs_size(vm, file_path): argument
106 def maximum_size(vm, file_path): argument
121 with iotests.FilePath('t.vpc') as file_path, \
128 'filename': file_path,
131 vm.qmp_log('blockdev-add', driver='file', filename=file_path,
[all …]
H A D20924 file_path, log
28 disk = file_path('disk')
29 nbd_sock = file_path('nbd-sock', base_dir=iotests.sock_dir)
H A D30229 file_path,
44 src_disk = file_path("disk.qcow2")
58 tar_file = file_path("test.ova")
80 nbd_sock = file_path("nbd-sock", base_dir=iotests.sock_dir)
H A D30424 from iotests import qemu_img_create, qemu_img_log, file_path
29 test_img = file_path('test.qcow2')
30 target_img = file_path('target.qcow2')
H A D27725 from iotests import file_path, log
30 conf_file = file_path('nbd-fault-injector.conf')
31 nbd_sock = file_path('nbd-sock', base_dir=iotests.sock_dir)
/openbmc/qemu/tests/avocado/
H A Dreplay_kernel.py341 def do_test_advcal_2018(self, file_path, kernel_name, args=None): argument
342 archive.extract(file_path, self.workdir)
362 file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
364 self.do_test_advcal_2018(file_path, 'winter.zImage',
375 file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
376 self.do_test_advcal_2018(file_path, 'sanity-clause.elf')
386 file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
387 self.do_test_advcal_2018(file_path, 'ballerina.bin')
398 file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
399 self.do_test_advcal_2018(file_path, 'uImage')
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_bootmgr.c44 lo->file_path = (struct efi_device_path *)data; in efi_deserialize_load_option()
84 memcpy(p, lo->file_path, lo->file_path_length); in efi_serialize_load_option()
124 struct efi_device_path **file_path) in try_load_entry() argument
147 __func__, lo.label, lo.file_path); in try_load_entry()
149 ret = efi_load_image_from_path(lo.file_path, &image, &size); in try_load_entry()
155 efi_dp_split_file_path(lo.file_path, device_path, file_path); in try_load_entry()
170 struct efi_device_path **file_path) in efi_bootmgr_load() argument
189 image = try_load_entry(bootorder[i], device_path, file_path); in efi_bootmgr_load()
/openbmc/openbmc-test-automation/tools/
H A Dconvert_ip_to_dummy13 file_path="${1}" ; shift
22 if [ -z "${file_path}" ] ; then
29 sed -i 's/'${ip_addr_regex}'/DUMMYIP/g' ${file_path}
/openbmc/qemu/tests/unit/
H A Dtest-logging.c92 gchar *file_path = g_build_filename(dir, tpl, NULL); in set_log_path_tmp() local
94 qemu_set_log_filename(file_path, errp); in set_log_path_tmp()
95 g_free(file_path); in set_log_path_tmp()
153 g_autofree gchar *file_path = NULL; in test_logfile_lock() local
155 file_path = g_build_filename(dir, "qemu_test_logfile_lock0.log", NULL); in test_logfile_lock()
162 qemu_set_log_filename(file_path, &error_abort); in test_logfile_lock()
/openbmc/qemu/scripts/
H A Dshaderinclude.py12 file_path = args[1]
13 basename = os.path.basename(file_path)
17 with open(file_path, "r", encoding='utf-8') as file:
/openbmc/u-boot/cmd/
H A Dpxe.c88 static int get_bootfile_path(const char *file_path, char *bootfile_path, in get_bootfile_path() argument
95 if (file_path[0] == '/' && !is_pxe) in get_bootfile_path()
125 static int (*do_getfile)(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr);
128 static int do_get_tftp(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr) in do_get_tftp() argument
133 tftp_argv[2] = (void *)file_path; in do_get_tftp()
144 static int do_get_ext2(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr) in do_get_ext2() argument
149 fs_argv[4] = (void *)file_path; in do_get_ext2()
157 static int do_get_fat(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr) in do_get_fat() argument
162 fs_argv[4] = (void *)file_path; in do_get_fat()
170 static int do_get_any(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr) in do_get_any() argument
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dparallels-read-bitmap22 from iotests import qemu_nbd_popen, qemu_img_map, log, file_path
26 nbd_sock = file_path('nbd-sock', base_dir=iotests.sock_dir)
27 disk = iotests.file_path('disk')
H A Dnbd-reconnect-on-open24 from iotests import qemu_img_create, file_path, qemu_io_popen, qemu_nbd, \
29 disk = file_path('disk')
30 nbd_sock = file_path('nbd-sock', base_dir=iotests.sock_dir)
/openbmc/qemu/scripts/coverage/
H A Dcompare_gcov_json.py48 file_path = Path(filecov["file"])
51 resolved_path = Path(file_path).absolute()
53 file_path = resolved_path.relative_to(root_dir)
68 covered_lines[str(file_path)] = executed_lines
/openbmc/openbmc-test-automation/bin/
H A Dgenerate_testsuite_info.py139 for file_path in file_paths:
140 print(file_path)
141 if "__init__.robot" in file_path:
143 test_suite_obj = TestSuiteBuilder().build(file_path)
/openbmc/qemu/tests/functional/qemu_test/
H A Dlinuxkernel.py43 file_path = stdout.split()[2]
44 run_cmd(['ar', 'x', deb_path, file_path])
45 archive_extract(file_path, self.workdir)
/openbmc/linux/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c124 char file_path[PATH_MAX + 1]; in __write_cgroup_file() local
127 snprintf(file_path, sizeof(file_path), "%s/%s", cgroup_path, file); in __write_cgroup_file()
128 fd = open(file_path, O_RDWR); in __write_cgroup_file()
130 log_err("Opening %s", file_path); in __write_cgroup_file()
135 log_err("Writing to %s", file_path); in __write_cgroup_file()
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dtest_builddashboard_page.py107 file_path='/foo/recipeA.bb',
113 file_path='/foo/recipeB.bb',
122 file_path='/foo/customRecipeY.bb',
130 file_path='/foo/customRecipeZ.bb',
144 file_path='/foo/customRecipeOmega.bb',
155 file_path='/foo/nonImageRecipe.bb',
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/
H A Dtest_multiple_interfaces.robot49 # bmc_url certificate_type file_path
68 [Arguments] ${bmc_url} ${certificate_type} ${file_path} ${delete_cert}=${True}
75 # file_path Certificate file path (e.g. "/home/folder/file.pem").
77 ${path} ${ext}= Split Extension ${file_path}
95 Choose File ${xpath_upload_file} ${file_path}
/openbmc/qemu/tests/functional/
H A Dtest_sparc_sun4m.py19 file_path = self.ASSET_DAY11.fetch()
20 archive_extract(file_path, self.workdir)

123456