/openbmc/qemu/tests/qemu-iotests/ |
H A D | iotests.py | 122 logger_name: str, level: int = logging.CRITICAL) -> Iterator[None]: 144 def qemu_tool_popen(args: Sequence[str], 154 def qemu_tool_pipe_and_status(tool: str, args: Sequence[str], 171 def qemu_img_create_prepare_args(args: List[str]) -> List[str]: 210 def qemu_tool(*args: str, check: bool = True, combine_stdio: bool = True 250 def qemu_img(*args: str, check: bool = True, combine_stdio: bool = True 277 def qemu_img_create(*args: str) -> 'subprocess.CompletedProcess[str]': 280 def qemu_img_json(*args: str) -> Any: 312 def qemu_img_measure(*args: str) -> Any: 315 def qemu_img_check(*args: str) -> Any: [all …]
|
H A D | linters.py | 59 tool: str, 60 args: List[str], 61 env: Optional[Mapping[str, str]] = None, argument
|
H A D | 297 | 35 def check_linter(linter: str) -> bool: 44 def test_pylint(files: List[str]) -> None: 54 def test_mypy(files: List[str]) -> None:
|
/openbmc/openbmc-build-scripts/tools/ |
H A D | owners | 53 def load(file: str) -> OwnersData: 63 self, args: argparse.Namespace, owners: Dict[str, OwnersData] 115 def __exact(self, file: str, entry: MatchEntry) -> None: 119 def __partial_regex(self, file: str, entry: MatchEntry) -> None: 123 def __regex(self, file: str, entry: MatchEntry) -> None: 127 def __suffix(self, file: str, entry: MatchEntry) -> None: 134 args: argparse.Namespace, data: Dict[str, OwnersData] 152 def review_js(reviewer: str, state: str) -> str:
|
/openbmc/qemu/scripts/qapi/ |
H A D | parser.py | 50 data: Mapping[str, object], 60 def __init__(self, parser: 'QAPISchemaParser', msg: str): 93 fname: str, 94 previously_included: Optional[Set[str]] = None, 181 def _add_expr(self, expr: Mapping[str, object], 195 def _include(include: str, 197 incl_fname: str, 198 previously_included: Set[str] 221 def _pragma(name: str, value: object, info: QAPISourceInfo) -> None: 223 def check_list_str(name: str, value: object) -> List[str]: [all …]
|
H A D | commands.py | 41 def gen_command_decl(name: str, 55 def gen_call(name: str, 163 def build_marshal_proto(name: str, 172 def gen_marshal_decl(name: str, 180 def gen_trace(name: str) -> str: 188 def gen_marshal(name: str, 278 def gen_register_command(name: str, 306 def __init__(self, prefix: str, gen_tracing: bool): 314 def _begin_user_module(self, name: str) -> None: 375 name: str, [all …]
|
H A D | introspect.py | 166 def to_c_string(string: str) -> str: 172 def __init__(self, prefix: str, unmask: bool): 217 def _name(self, name: str) -> str: 254 def _gen_tree(self, name: str, mtype: str, obj: Dict[str, object], 310 def visit_builtin_type(self, name: str, info: Optional[QAPISourceInfo], 311 json_type: str) -> None: 314 def visit_enum_type(self, name: str, info: Optional[QAPISourceInfo], 318 prefix: Optional[str]) -> None: 326 def visit_array_type(self, name: str, info: Optional[QAPISourceInfo], 333 def visit_object_type_flat(self, name: str, info: Optional[QAPISourceInfo], [all …]
|
H A D | backend.py | 21 output_dir: str, 22 prefix: str, 44 output_dir: str, 45 prefix: str,
|
/openbmc/qemu/python/qemu/machine/ |
H A D | machine.py | 77 command: str, output: Optional[str]): 124 binary: str, 125 args: Sequence[str] = (), 126 wrapper: Sequence[str] = (), 127 name: Optional[str] = None, 128 base_temp_dir: str = "/var/tmp", 131 console_log: Optional[str] = None, 132 log_dir: Optional[str] = None, 212 opaque: str, opts: str = '') -> _T: 232 file_path: Optional[str] = None) -> int: [all …]
|
H A D | qtest.py | 102 def cmd(self, qtest_cmd: str) -> str: 133 binary: str, 134 args: Sequence[str] = (), 135 wrapper: Sequence[str] = (), 136 name: Optional[str] = None, 137 base_temp_dir: str = "/var/tmp", 182 def qtest(self, cmd: str) -> str:
|
/openbmc/qemu/scripts/ |
H A D | get-wraps-from-cargo-registry.py | 22 def get_name_and_semver(namever: str) -> tuple[str, str]: 37 def find_installed_crate(self, namever: str) -> str | None: 50 def compare_build_rs(self, orig_dir: str, registry_namever: str) -> None: 69 def update_subproject(self, wrap_file: str, registry_namever: str) -> None:
|
H A D | u2f-setup-gen.py | 24 def write_setup_dir(dirpath: str, privkey_pem: bytes, cert_pem: bytes, 76 def generate_certificate(privkey_pem: str, pubkey_pem: str) -> str: 128 def generate_setup_dir(dirpath: str) -> None:
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | qmp_tui.py | 66 def format_json(msg: str) -> str: 143 def __init__(self, address: Union[str, Tuple[str, int]], num_retries: int, 155 def add_to_history(self, msg: str, level: Optional[str] = None) -> None: 215 def cb_send_to_server(self, raw_msg: str) -> None: 234 def unhandled_input(self, key: str) -> None: 278 def _set_status(self, msg: str) -> None: 411 def __init__(self, text: str = ''): 439 def keypress(self, size: Tuple[int, int], key: str) -> Optional[str]: 517 history: Union[str, List[Tuple[str, str]]]) -> None: argument 528 def mouse_event(self, size: Tuple[int, int], _event: str, button: float, [all …]
|
H A D | qmp_shell.py | 129 def append(self, value: str) -> None: 133 def complete(self, text: str, state: int) -> Optional[str]: 183 logfile: Optional[str] = None): 236 def _parse_value(cls, val: str) -> object: 262 tokens: Sequence[str], 289 def _build_cmd(self, cmdline: str) -> Optional[QMPMessage]: 338 def _print(self, qmp_message: object, fh: IO[str] = sys.stdout) -> None: 344 def _execute_cmd(self, cmdline: str) -> bool: 375 msg: str = 'Welcome to the QMP low-level shell!') -> None: 436 logfile: Optional[str] = None): [all …]
|
H A D | qmp_client.py | 43 def __init__(self, error_message: str, exc: Exception): 113 def __init__(self, error_message: str, msg: Message): 152 def __init__(self, error_message: str, msg: Message, sent: Message): 206 def __init__(self, name: Optional[str] = None) -> None: 447 async def _reply(self, msg_id: Union[str, None]) -> Message: 502 msg: Union[Message, Mapping[str, object], bytes], 596 def make_execute_msg(cls, cmd: str, 597 arguments: Optional[Mapping[str, object]] = None, 614 async def execute(self, cmd: str, 615 arguments: Optional[Mapping[str, object]] = None,
|
H A D | message.py | 63 value: Union[bytes, Mapping[str, object]] = b'{}', *, 83 def __getitem__(self, key: str) -> object: 86 def __setitem__(self, key: str, value: object) -> None: 90 def __delitem__(self, key: str) -> None: 180 def __init__(self, error_message: str, raw: bytes): 199 def __init__(self, error_message: str, value: object):
|
/openbmc/qemu/python/qemu/utils/ |
H A D | qom_fuse.py | 90 def get_ino(self, path: str) -> int: 98 def is_object(self, path: str) -> bool: 106 def is_property(self, path: str) -> bool: 119 def is_link(self, path: str) -> bool: 132 def read(self, path: str, size: int, offset: int, fh: IO[bytes]) -> bytes: 150 def readlink(self, path: str) -> Union[bool, str]: 158 def getattr(self, path: str, 203 def readdir(self, path: str, fh: IO[bytes]) -> Iterator[str]:
|
H A D | qom_common.py | 38 def __init__(self, name: str, type_: str, 39 description: Optional[str] = None, 47 def make(cls, value: Dict[str, Any]) -> 'ObjectPropertyInfo': 72 def __init__(self, name: str, type_: str, value: object): 78 def make(cls, value: Dict[str, Any]) -> 'ObjectPropertyValue': 102 def make(cls, value: Dict[str, Any]) -> 'ObjectPropertiesValues': 185 def qom_list(self, path: str) -> List[ObjectPropertyInfo]: 194 def qom_list_get(self, paths: List[str]) -> List[ObjectPropertiesValues]:
|
/openbmc/qemu/scripts/codeconverter/codeconverter/ |
H A D | patching.py | 71 def group(self, group: Union[int, str]) -> str: argument 74 def getgroup(self, group: str) -> Optional[str]: 95 def sub(self, original: str, replacement: str) -> str: 113 def make_patch(self, replacement: str) -> 'Patch': 117 def make_subpatch(self, start: int, end: int, replacement: str) -> 'Patch': 124 def append(self, s: str) -> 'Patch': 128 def prepend(self, s: str) -> 'Patch': 171 def finditer(klass, content: str, pos=0, endpos=-1) -> Iterable[Match]: 178 def domatch(klass, content: str, pos=0, endpos=-1) -> Optional[Match]: 184 …def group_finditer(self, klass: Type['FileMatch'], group: Union[str, int]) -> Iterable['FileMatch'… [all …]
|
H A D | qom_type_info.py | 121 def get_raw_initializer_value(self, field: str, default: str = '') -> str: 193 def append_field(self, field: str, value: str) -> Patch: 200 def patch_field(self, field: str, replacement: str) -> Patch: 208 def remove_field(self, field: str) -> Iterable[Patch]: 214 def remove_fields(self, *fields: str) -> Iterable[Patch]: 218 def patch_field_value(self, field: str, replacement: str) -> Patch: 450 def find_type_definitions(files: FileList, uppercase: str) -> Iterable[TypeDefinition]: 461 def gen_patches_for_type(self, uppercase: str, 463 fields: Dict[str, Optional[str]]) -> Iterable[Patch]: 909 def find_type_info(files: RegexpScanner, name: str) -> Optional[TypeInfoVar]:
|
/openbmc/qemu/docs/sphinx/ |
H A D | qapidoc.py | 129 def add_line_raw(self, line: str, source: str, *lineno: int) -> None: 143 def add_line(self, content: str, info: QAPISourceInfo) -> None: 151 content: str, 173 kind: str, 174 name: str, 175 body: str, 177 typ: Optional[str] = None, 211 kind: str, 213 body: str, 220 def reformat_arobase(text: str) -> str: [all …]
|
/openbmc/qemu/tests/functional/ |
H A D | test_acpi_bits.py | 59 binary: str, 60 args: Sequence[str] = (), 61 wrapper: Sequence[str] = (), 62 name: Optional[str] = None, 63 base_temp_dir: str = "/var/tmp", 64 debugcon_log: str = "debugcon-log.txt", 65 debugcon_addr: str = "0x403",
|
/openbmc/openbmc-tools/tof-voters/libvoters/ |
H A D | acceptable.py | 22 def project(name: str) -> bool: 37 def file(proj: str, filename: str) -> bool:
|
/openbmc/qemu/scripts/rust/ |
H A D | rustc_args.py | 46 def __init__(self, path: Optional[str], workspace: Optional[str]): 71 def get_table(self, key: str, can_be_workspace: bool = False) -> Mapping[Any, Any]: 119 def generate_cfg_flags(header: str, cargo_toml: CargoTOML) -> Iterable[str]:
|
/openbmc/phosphor-logging/test/ |
H A D | remote_logging_test_config.cpp | 76 std::string str = "*.* @@[abcd:ef01::01]:50000"; in TEST_F() local 87 std::string str = "*.* @@[abcd:ef01::01:50000"; in TEST_F() local 96 std::string str = "*.* @@abcd:ef01::01]:50000"; in TEST_F() local 105 std::string str = "*.* @@[abcd:ef01::01]:"; in TEST_F() local 114 std::string str = "*.* @@[abcd:ef01::01]:xxx"; in TEST_F() local 123 std::string str = "*.* @@[abcd:ef01::01]"; in TEST_F() local 132 std::string str = ""; in TEST_F() local 141 std::string str = "*.* @@[abcd:ef01::01]:50000"; in TEST_F() local 152 std::string str = "*.* @[abcd:ef01::01]:50000"; in TEST_F() local
|