/openbmc/linux/tools/testing/kunit/ |
H A D | kunit_kernel.py | 45 def __init__(self, linux_arch: str, cross_compile: Optional[str]): 60 def make_olddefconfig(self, build_dir: str, make_options: Optional[List[str]]) -> None: 74 def make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> None: 95 def start(self, params: List[str], build_dir: str) -> subprocess.Popen: 116 def start(self, params: List[str], build_dir: str) -> subprocess.Popen: 145 def start(self, params: List[str], build_dir: str) -> subprocess.Popen: 231 build_dir: str, 234 arch: Optional[str]=None, 280 def build_config(self, build_dir: str, make_options: Optional[List[str]]) -> bool: 308 def build_reconfig(self, build_dir: str, make_options: Optional[List[str]]) -> bool: [all …]
|
/openbmc/qemu/scripts/qapi/ |
H A D | common.py | 61 def c_enum_const(type_name: str, 62 const_name: str, 188 def guardend(name: str) -> str: 196 def gen_ifcond(ifcond: Optional[Union[str, Dict[str, Any]]], 197 cond_fmt: str, not_fmt: str, 198 all_operator: str, any_operator: str) -> str: 200 def do_gen(ifcond: Union[str, Dict[str, Any]], 223 def cgen_ifcond(ifcond: Optional[Union[str, Dict[str, Any]]]) -> str: 227 def docgen_ifcond(ifcond: Optional[Union[str, Dict[str, Any]]]) -> str: 232 def gen_if(cond: str) -> str: [all …]
|
H A D | gen.py | 95 def _wrap_ifcond(ifcond: QAPISchemaIfCond, before: str, after: str) -> str: 158 def __init__(self, fname: str, blurb: str, pydoc: str): 236 prefix: str, 237 what: str, 238 blurb: str, 239 pydoc: str): 255 what: str, 258 pydoc: str, 295 def _module_basename(self, what: str, name: str) -> str: 307 def _module_filename(self, what: str, name: str) -> str: [all …]
|
H A D | expr.py | 58 source: str) -> None: 68 def check_name_str(name: str, info: QAPISourceInfo, source: str) -> str: 94 def check_name_upper(name: str, info: QAPISourceInfo, source: str) -> None: 114 def check_name_lower(name: str, info: QAPISourceInfo, source: str, 139 def check_name_camel(name: str, info: QAPISourceInfo, source: str) -> None: 157 def check_defn_name_str(name: str, info: QAPISourceInfo, meta: str) -> None: 186 def check_keys(value: Dict[str, object], 188 source: str, 189 required: List[str], 190 optional: List[str]) -> None: [all …]
|
H A D | types.py | 44 def gen_enum_lookup(name: str, 88 def gen_enum(name: str, 255 def gen_type_cleanup_decl(name: str) -> str: 265 def gen_type_cleanup(name: str) -> str: 287 def __init__(self, prefix: str): 326 name: str, 337 name: str, 347 name: str, 370 name: str, 384 output_dir: str, [all …]
|
H A D | visit.py | 64 def gen_visit_object_members(name: str, 211 def gen_visit_enum(name: str) -> str: 226 def gen_visit_alternate(name: str, 304 def gen_visit_object(name: str) -> str: 339 def __init__(self, prefix: str): 373 name: str, 384 name: str, 393 name: str, 415 name: str, 426 output_dir: str, [all …]
|
H A D | parser.py | 50 data: Mapping[str, object], 60 def __init__(self, parser: 'QAPISchemaParser', msg: str): 93 fname: str, 181 def _add_expr(self, expr: Mapping[str, object], 195 def _include(include: str, 197 incl_fname: str, 198 previously_included: Set[str] 641 tag: Optional[str] = None): 649 def append_line(self, line: str) -> None: 733 def append_line(self, line: str) -> None: [all …]
|
H A D | schema.py | 52 ifcond: Optional[Union[str, Dict[str, object]]] = None, 120 name: str, 192 name: str, 203 name: str, 212 name: str, 224 name: str, 383 def __init__(self, name: str, json_type: str, c_type: str): 1181 name: str, 1216 self, name: str, json_type: str, c_type: str 1268 ifcond: Optional[Union[str, Dict[str, Any]]], [all …]
|
H A D | events.py | 30 def build_event_send_proto(name: str, 38 def gen_event_send_decl(name: str, 81 def gen_event_send(name: str, 85 event_enum_name: str, 86 event_emit: str) -> str: 178 def __init__(self, prefix: str): 186 def _begin_user_module(self, name: str) -> None: 230 name: str, 247 output_dir: str, 248 prefix: str) -> None:
|
/openbmc/linux/tools/perf/pmu-events/ |
H A D | jevents.py | 63 def removesuffix(s: str, suffix: str) -> str: 72 def file_name_to_table_name(prefix: str, parents: Sequence[str], 82 def c_len(s: str) -> int: 208 def fixdesc(s: str) -> str: 250 def real_event(name: str, event: str) -> Optional[str]: 404 def read_json_events(path: str, topic: str) -> Sequence[JsonEvent]: 451 def fix_none(s: Optional[str]) -> str: 558 def get_topic(topic: str) -> str: 601 def is_leaf_dir(path: str) -> bool: 1158 def dir_path(path: str) -> str: [all …]
|
/openbmc/telemetry/src/utils/ |
H A D | tstring.hpp | 13 static std::string str() in str() function 21 static std::string str() in str() function 29 static std::string str() in str() function 37 static std::string str() in str() function 45 static std::string str() in str() function 53 static std::string str() in str() function 61 static std::string str() in str() function 69 static std::string str() in str() function 77 static std::string str() in str() function 85 static std::string str() in str() function [all …]
|
/openbmc/qemu/python/scripts/ |
H A D | mkvenv.py | 321 env_dir: Union[str, Path], 439 packages: Sequence[str], 441 bin_path: Optional[str] = None, 488 def _path_is_prefix(prefix: Optional[str], path: str) -> bool: 506 dep_spec: str, 509 prog: Optional[str], 591 args: Sequence[str], 623 def _make_version_constraint(info: Dict[str, str], install: bool) -> str: argument 648 group: Dict[str, Dict[str, str]], argument 733 file: str, [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | testrunner.py | 46 def file_diff(file1: str, file2: str) -> List[str]: 77 def get(self, test: str, 104 def __init__(self, status: str, description: str = '', 125 def run_tests_pool(self, tests: List[str], 142 color: str = 'auto') -> None: 162 def test_print_one_line(self, test: str, 164 starttime: str, 165 endtime: Optional[str] = None, status: str = '...', 168 description: str = '', 218 def find_reference(self, test: str) -> str: [all …]
|
H A D | testenv.py | 37 def isxfile(path: str) -> bool: 41 def get_default_machine(qemu_prog: str) -> str: 84 def prepare_subprocess(self, args: List[str]) -> Dict[str, str]: 148 def root(*names: str) -> str: 178 def __init__(self, source_dir: str, build_dir: str, 179 imgfmt: str, imgproto: str, aiomode: str, 180 cachemode: Optional[str] = None, 181 imgopts: Optional[str] = None, 294 def print_env(self, prefix: str = '') -> None:
|
H A D | findtests.py | 28 def chdir(path: Optional[str] = None) -> Iterator[None]: 42 def __init__(self, test_dir: Optional[str] = None) -> None: 59 def add_group_file(self, fname: str) -> None: 74 def parse_test_name(self, name: str) -> str: 92 def find_tests(self, groups: Optional[List[str]] = None, 93 exclude_groups: Optional[List[str]] = None, 94 tests: Optional[List[str]] = None, 95 start_from: Optional[str] = None) -> List[str]:
|
H A D | iotests.py | 154 def qemu_tool_pipe_and_status(tool: str, args: Sequence[str], 330 def img_info_log(filename: str, filter_path: Optional[str] = None, 428 def __init__(self, *args: str, instance_id: str = 'a', qmp: bool = False): 460 def qmp(self, cmd: str, args: Optional[Dict[str, object]] = None) \ 469 def cmd(self, cmd: str, args: Optional[Dict[str, object]] = None) \ member in QemuStorageDaemon 545 def compare_images(img1: str, img2: str, 546 fmt1: str = imgfmt, fmt2: str = imgfmt) -> bool: 571 def image_size(img: str) -> int: 661 def filter_img_info(output: str, filename: str, 920 def pause_drive(self, drive: str, event: Optional[str] = None) -> None: [all …]
|
/openbmc/qemu/scripts/ |
H A D | xml-preprocess.py | 85 def _pp_include(self, xml_str: str) -> str: 95 def _pp_env_var(self, xml_str: str) -> str: 102 def _pp_sys_var(self, xml_str: str) -> str: 109 def _pp_cus_var(self, xml_str: str) -> str: 126 def _pp_foreach(self, xml_str: str) -> str: 149 def _pp_if_eval(self, xml_str: str) -> str: 218 def _pp_command(self, xml_str: str) -> str: 229 def _pp_blanks(self, xml_str: str) -> str: 236 def preprocess(self, xml_str: str) -> str: 264 def preprocess_xml(path: str) -> str: [all …]
|
H A D | block-coroutine-wrapper.py | 56 def __init__(self, param_decl: str) -> None: 66 def __init__(self, wrapper_type: str, return_type: str, name: str, 67 args: str, variant: str) -> None: 105 def gen_ctx(self, prefix: str = '') -> str: 117 def gen_list(self, format: str) -> str: 120 def gen_block(self, format: str) -> str: 133 def func_decl_iter(text: str) -> Iterator: 142 def snake_to_camel(func_name: str) -> str: 302 def gen_wrappers(input_code: str) -> str:
|
H A D | compare-machine-types.py | 68 def get_prop(self, driver: str, prop: str) -> str: 89 def __init__(self, vm: QEMUMachine, name: str) -> None: 110 def get_prop(self, driver: str, prop_name: str) -> str: 126 def get_prop(self, driver: str, prop_name: str) -> str: 146 def get_prop(self, driver: str, prop_name: str) -> str: 193 def get_prop(self, driver: str, prop: str) -> str: 204 def get_implementations(self, driver: str) -> List[str]: 214 def __init__(self, raw_mt_dict: Dict[str, Any], 242 req_mt: List[str], all_mt: bool) -> None: 253 def get_table(self, req_props: List[Tuple[str, str]]) -> pd.DataFrame: argument [all …]
|
/openbmc/qemu/docs/sphinx/ |
H A D | dbusdomain.py | 45 def get_index_text(self, modname: str, name: str) -> str: 50 self, name: str, sig: str, signode: desc_signature 76 def get_index_text(self, ifacename: str, name: str) -> str: 135 def get_index_text(self, ifacename: str, name: str) -> str: 186 def get_index_text(self, ifacename: str, name: str) -> str: 208 def get_index_text(self, ifacename: str, name: str) -> str: 362 self, name: str, objtype: str, node_id: str, location: Any = None 371 def find_obj(self, typ: str, name: str) -> Optional[Tuple[str, ObjectEntry]]: 385 fromdocname: str, 387 typ: str, [all …]
|
/openbmc/qemu/python/qemu/utils/ |
H A D | qemu_ga_client.py | 65 def __getattr__(self, name: str) -> Callable[..., Any]: 96 def read(self, path: str) -> bytes: 156 def fsfreeze(self, cmd: str) -> object: 168 def suspend(self, mode: str) -> None: 179 def shutdown(self, mode: str = 'powerdown') -> None: 189 def _cmd_cat(client: QemuGuestAgentClient, args: Sequence[str]) -> None: 218 def _cmd_fstrim(client: QemuGuestAgentClient, args: Sequence[str]) -> None: 231 def _cmd_info(client: QemuGuestAgentClient, args: Sequence[str]) -> None: 236 def _cmd_ping(client: QemuGuestAgentClient, args: Sequence[str]) -> None: 265 def _cmd_halt(client: QemuGuestAgentClient, args: Sequence[str]) -> None: [all …]
|
H A D | __init__.py | 39 def get_info_usernet_hostfwd_port(info_usernet_output: str) -> Optional[int]: 56 content: str = '', 58 name: Optional[str] = None, 60 upper_left: str = '┏', 61 lower_left: str = '┗', 62 horizontal: str = '━', 63 vertical: str = '┃', 104 def _bar(name: Optional[str], top: bool = True) -> str: 113 def _wrap(line: str) -> str:
|
/openbmc/qemu/tests/unit/ |
H A D | test-cutils.c | 51 const char *str = ""; in test_parse_uint_empty() local 183 const char *str; in test_parse_uint_overflow() local 215 const char *str; in test_parse_uint_negative() local 485 const char *str; in test_qemu_strtoi_overflow() local 549 const char *str; in test_qemu_strtoi_underflow() local 605 const char *str; in test_qemu_strtoi_negative() local 945 const char *str; in test_qemu_strtoui_overflow() local 1009 const char *str; in test_qemu_strtoui_underflow() local 1367 const char *str; in test_qemu_strtol_overflow() local 3561 char *str; in test_freq_to_str() local [all …]
|
/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, 132 log_dir: Optional[str] = None, 212 opaque: str, opts: str = '') -> _T: 252 def _remove_if_exists(path: str) -> None: 694 def qmp(self, cmd: str, 716 def cmd(self, cmd: str, member in QEMUMachine [all …]
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | models.py | 29 def __init__(self, raw: Mapping[str, Any]): 32 def _check_key(self, key: str) -> None: 36 def _check_value(self, key: str, type_: type, typestr: str) -> None: 43 def _check_member(self, key: str, type_: type, typestr: str) -> None: 63 def __init__(self, raw: Mapping[str, Any]): 91 def __init__(self, raw: Mapping[str, Any]): 113 def __init__(self, raw: Mapping[str, Any]): 135 def __init__(self, raw: Mapping[str, Any]):
|