/openbmc/openbmc-test-automation/lib/ |
H A D | source.tcl | 28 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 D | boot_data.py | 41 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 D | gen_misc.py | 117 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 D | dump_utils.py | 129 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/qemu/tests/qemu-iotests/ |
H A D | 266 | 27 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 D | 209 | 24 file_path, log 28 disk = file_path('disk') 29 nbd_sock = file_path('nbd-sock', base_dir=iotests.sock_dir)
|
H A D | 304 | 24 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 D | 302 | 29 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 D | 277 | 25 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)
|
H A D | 264 | 26 from iotests import qemu_img_create, file_path, qemu_nbd_popen 28 disk_a, disk_b = file_path('disk_a', 'disk_b') 29 nbd_sock = file_path('nbd-sock', base_dir=iotests.sock_dir)
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_bootmgr.c | 44 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 D | convert_ip_to_dummy | 13 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 D | test-logging.c | 92 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/u-boot/cmd/ |
H A D | pxe.c | 88 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/scripts/ |
H A D | shaderinclude.py | 12 file_path = args[1] 13 basename = os.path.basename(file_path) 17 with open(file_path, "r", encoding='utf-8') as file:
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-yosemite4/plat-svc/files/ |
H A D | yosemite4-early-sys-init | 90 local file_path="/tmp/gpio/PRSNT_SB_SLOT${slot_i}_N" 93 if [[ -f "$file_path" ]]; then 95 value=$(cat "$file_path") 97 echo "Error: File $file_path does not exist" 108 echo "Error: Invalid value in $file_path, expected 0 or 1 but got '$value'"
|
/openbmc/qemu/scripts/coverage/ |
H A D | compare_gcov_json.py | 48 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 D | generate_testsuite_info.py | 139 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/qemu-iotests/tests/ |
H A D | parallels-read-bitmap | 22 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 D | nbd-reconnect-on-open | 24 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/linux/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 124 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/qemu/tests/avocado/ |
H A D | boot_linux_console.py | 45 file_path = process.run("ar t %s" % deb).stdout_text.split()[2] 46 process.run("ar x %s %s" % (deb, file_path)) 47 archive.extract(file_path, self.workdir)
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/ |
H A D | test_builddashboard_page.py | 107 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 D | test_multiple_interfaces.robot | 49 # 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} 97 Choose File ${xpath_upload_file} ${file_path}
|
/openbmc/openbmc-tools/dbus-vis/ |
H A D | initialization.js | 77 const file_path = fs.createWriteStream(path); 78 res.pipe(file_path); 79 file_path.on('finish', () => { 80 file_path.close();
|