Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 21 of 21) sorted by relevance

/qemu/tests/functional/qemu_test/
H A Dconfig.py15 from pathlib import Path
21 return Path(__file__).parent.parent.parent.parent
26 return Path(root)
29 return Path(os.getcwd())
33 return Path(root)
H A Dasset.py16 from pathlib import Path
40 self.cache_dir = Path(cache_dir_env, "download")
42 self.cache_dir = Path(Path("~").expanduser(),
44 self.cache_file = Path(self.cache_dir, hashsum)
H A Dtestcase.py16 from pathlib import Path
120 return str(Path(Path(__file__).parent.parent, *args))
138 return str(Path(BUILD_DIR, *args))
158 return str(Path(self.workdir, *args))
178 return str(Path(self.outputdir, *args))
/qemu/tests/lcitool/
H A Drefresh18 from pathlib import Path
24 self_dir = Path(__file__).parent
26 dockerfiles_dir = Path(src_dir, "tests", "docker", "dockerfiles")
28 lcitool_path = Path(self_dir, "libvirt-ci", "bin", "lcitool")
67 filename = Path(src_dir, "tests", "docker", "dockerfiles", host + ".docker")
82 filename = Path(src_dir, ".gitlab-ci.d", "cirrus", target + ".vars")
88 filename = Path(src_dir, "tests", "vm", "generated", vm + ".json")
94 filename = Path(src_dir, "scripts", "ci", "setup", os, f"{target}-{arch}.yaml")
/qemu/scripts/coverage/
H A Dcompare_gcov_json.py19 from pathlib import Path
26 parser.add_argument('-a', type=Path, default=None,
29 parser.add_argument('-b', type=Path, default=None,
39 def load_json(json_file_path: Path, verbose = False) -> dict[str, set[int]]: argument
48 file_path = Path(filecov["file"])
51 resolved_path = Path(file_path).absolute()
/qemu/rust/qemu-api/
H A Dbuild.rs9 use std::{env, fs::remove_file, io::Result, path::Path};
18 let file = Path::new(&file); in main()
19 if !Path::new(&file).exists() { in main()
33 let dest_path = Path::new(&dest_path); in main()
/qemu/rust/qemu-api-macros/src/
H A Dlib.rs9 DeriveInput, Field, Fields, FieldsUnnamed, Ident, Meta, Path, Token, Variant,
158 fn get_repr_uN(input: &DeriveInput, msg: &str) -> Result<Path, MacroError> { in get_repr_uN() argument
164 Meta::Path(path) if path.is_ident("u8") => return Ok(path), in get_repr_uN()
165 Meta::Path(path) if path.is_ident("u16") => return Ok(path), in get_repr_uN()
166 Meta::Path(path) if path.is_ident("u32") => return Ok(path), in get_repr_uN()
167 Meta::Path(path) if path.is_ident("u64") => return Ok(path), in get_repr_uN()
199 repr: &Path, in derive_tryinto_body() argument
/qemu/tests/qemu-iotests/
H A Dtestrunner.py20 from pathlib import Path
39 def silent_unlink(path: Path) -> None: argument
244 f_test = Path(test)
245 f_reference = Path(self.find_reference(test))
268 Path(env[d]).mkdir(parents=True, exist_ok=True)
271 f_bad = Path(test_dir, f_test.name + '.out.bad')
272 f_notrun = Path(test_dir, f_test.name + '.notrun')
273 f_casenotrun = Path(test_dir, f_test.name + '.casenotrun')
H A Dtestenv.py22 from pathlib import Path
117 qemu_srctree_path = Path(__file__, '../../../python').resolve()
127 Path(self.test_dir).mkdir(parents=True, exist_ok=True)
132 Path(self.sock_dir).mkdir(parents=True, exist_ok=True)
224 self.build_root = Path(self.build_iotests).parent.parent
H A Dcheck23 from pathlib import Path
159 exec_path = Path(exec_pathstr).resolve()
/qemu/python/scripts/
H A Dvendor.py23 from pathlib import Path
48 vendor_dir = Path(__file__, "..", "..", "wheels").resolve()
H A Dmkvenv.py71 from pathlib import Path
321 env_dir: Union[str, Path], argument
511 wheels_dir: Optional[Union[str, Path]], argument
570 pypath = Path(sys.executable).resolve()
596 wheels_dir: Optional[Union[str, Path]] = None, argument
653 wheels_dir: Optional[Union[str, Path]] = None, argument
739 wheels_dir: Optional[Union[str, Path]] = None, argument
/qemu/docs/sphinx/
H A Ddepfile.py16 from pathlib import Path
31 for path in Path(static_path).rglob('*'):
H A Dqapidoc.py35 from pathlib import Path
390 name = Path(path).stem
558 argname = "_".join(Path(self.arguments[0]).parts)
559 name = Path(argname).stem + ".ir"
572 srctree = Path(self.env.app.config.qapidoc_srctree).resolve()
578 srcpath = Path(src).resolve()
/qemu/scripts/rust/
H A Drustc_args.py30 from pathlib import Path
204 workspace_cargo_toml = Path(args.workspace, "Cargo.toml").resolve()
/qemu/scripts/codeconverter/codeconverter/
H A Dpatching.py9 from pathlib import Path
303 filename: Path
309 self.filename = Path(filename)
317 nameparts = Path(name).parts
/qemu/scripts/
H A Ddevice-crash-test36 from pathlib import Path
42 path = Path(__file__).resolve()
/qemu/qapi/
H A Dstats.json168 # @qom-path: Path to the object for which the statistics are returned,
H A Dblock-export.json166 # @mountpoint: Path on which to export the block device via FUSE.
/qemu/
H A Dmeson_options.txt14 description: 'Path to smbd for slirp networking')
16 description: 'Path to ACPI disassembler')
/qemu/docs/system/
H A Ddevice-url-syntax.rst.inc152 Path on the remote server, including any query string.