| /misc/config_tools/static_allocators/ |
| A D | main.py | 36 parser = argparse.ArgumentParser() variable 37 …parser.add_argument("--board", help="the XML file summarizing characteristics of the target board") 38 parser.add_argument("--scenario", help="the XML file specifying the scenario to be set up") 39 parser.add_argument("--output", help="location of the output XML") 40 args = parser.parse_args()
|
| /misc/config_tools/board_inspector/acpiparser/ |
| A D | dsdt.py | 10 from acpiparser.aml import parser 29 parser.AMLCode.parse(context, tree) 30 tree = parser.DeferredExpansion(context).transform(tree) 46 getattr(parser, label).parse(context, tree) 47 tree = parser.DeferredExpansion(context).transform(tree)
|
| /misc/config_tools/scenario_config/ |
| A D | validator.py | 30 def existing_file_type(parser): argument 33 parser.error(f"can't open {arg}: No such file or directory") 35 parser.error(f"can't open {arg}: Is not a file") 40 def log_level_type(parser): argument 46 parser.error(f"{arg} is not a valid log level") 105 …elems = elementpath.select(unified_node, report_on, variables = variables, parser = elementpath.XP… 300 parser = argparse.ArgumentParser() variable 301 …parser.add_argument("board", nargs="?", type=existing_file_type(parser), help="the board XML file … 302 …parser.add_argument("scenario", nargs="?", type=existing_file_type(parser), help="the scenario XML… 303 …parser.add_argument("--loglevel", default="warning", type=log_level_type(parser), help="choose log… [all …]
|
| A D | default_populator.py | 96 …parser = argparse.ArgumentParser(description="Populate a given scenario XML with default values of… variable 97 parser.add_argument("scenario", help="Path to the scenario XML file from users") 98 parser.add_argument("out", nargs="?", default="out.xml", help="Path where the output is placed") 99 …parser.add_argument("--schema", default=os.path.join(schema_dir, "config.xsd"), help="the XML sche… 100 args = parser.parse_args()
|
| A D | schema_slicer.py | 245 …parser = argparse.ArgumentParser(description="Slice a given scenario schema by VM types and views") variable 246 …parser.add_argument("out", nargs="?", default=os.path.join(schema_dir, "sliced.xsd"), help="Path w… 247 …parser.add_argument("--schema", default=os.path.join(schema_dir, "config.xsd"), help="the XML sche… 248 args = parser.parse_args()
|
| A D | config_summary.py | 460 parser = argparse.ArgumentParser() variable 461 parser.add_argument("board_file_name", 463 parser.add_argument("scenario_file_name", 465 parser.add_argument("rst_file_name", default="config_summary.rst", 468 args = parser.parse_args()
|
| A D | upgrader.py | 983 …parser = argparse.ArgumentParser(description="Try adapting data in a scenario XML to the latest sc… variable 984 parser.add_argument("scenario", help="Path to the scenario XML file from users") 985 parser.add_argument("out", nargs="?", default="out.xml", help="Path where the output is placed") 986 …parser.add_argument("--schema", default=os.path.join(schema_dir, "config.xsd"), help="the XML sche… 987 parser.add_argument("--launch", default=None, help="Path to the launch XML file") 988 args = parser.parse_args()
|
| /misc/config_tools/service_vm_config/ |
| A D | serial_config.py | 62 parser = argparse.ArgumentParser() variable 63 …parser.add_argument("--allocation", help="the XML file summarizing resource allocated by config to… 64 parser.add_argument("--scenario", help="the XML file specifying the scenario to be set up") 65 parser.add_argument("--out", help="location of the output serial configuration file") 66 args = parser.parse_args()
|
| /misc/config_tools/board_inspector/inspectorlib/ |
| A D | mmio.py | 20 parser = argparse.ArgumentParser() variable 21 parser.add_argument("file", help="board XML file") 22 args = parser.parse_args()
|
| /misc/config_tools/board_inspector/ |
| A D | board_inspector.py | 29 def __call__(self, parser, namespace, values, option_string=None): argument 34 …parser.error(f"{values} is ill-formed. The expected format is: <capacity_mask_length:int>,<clos_nu… 210 parser = argparse.ArgumentParser() variable 211 parser.add_argument("board_name", help="the name of the board that runs the ACRN hypervisor") 212 parser.add_argument("--out", help="the name of board info file") 213 …parser.add_argument("--basic", action="store_true", default=False, help="do not extract advanced i… 214 …parser.add_argument("--loglevel", default="warning", help="choose log level, e.g. debug, info, war… 215 …parser.add_argument("--check-device-status", action="store_true", default=False, help="filter out … 216 parser.add_argument("--add-llc-cat", default=None, action=AddLLCCATAction, 218 args = parser.parse_args()
|
| /misc/packaging/ |
| A D | gen_acrn_deb.py | 265 parser = argparse.ArgumentParser() variable 266 …parser.add_argument("deb_mode", help="choose deb mode, e.g. acrn_all, board_inspector, configurato… 267 …parser.add_argument("build_dir", help="the absolute address of the acrn-hypervisor build directory… 268 parser.add_argument("--version", default="1.0", help="the acrn-hypervisor version") 269 …parser.add_argument("--board_name", default="board", help="the name of the board that runs the ACR… 270 … parser.add_argument("--scenario", default="scenario", help="the acrn hypervisor scenario setting") 271 parser.add_argument("--debug", default=False, help="debug mode") 272 args = parser.parse_args()
|
| /misc/config_tools/configurator/pyodide/ |
| A D | updateSchema.py | 14 parser = etree.XMLParser(remove_blank_text=True) 15 self.board_etree = fromstring(board, parser)
|
| /misc/config_tools/configurator/packages/configurator/thirdLib/ |
| A D | manager.py | 131 parser = argparse.ArgumentParser( 134 parser.add_argument('operation', choices=['check', 'install', 'clean']) 135 parser.add_argument('-c', '--config', dest='config', default=library_json) 137 args = parser.parse_args()
|
| /misc/config_tools/acpi_gen/ |
| A D | bin_gen.py | 292 … parser = argparse.ArgumentParser(usage="python3 bin_gen.py --board [board] --scenario [scenario]" variable 297 …parser.add_argument("--board", required=True, help="the XML file summarizing characteristics of th… 298 …parser.add_argument("--scenario", required=True, help="the XML file specifying the scenario to be … 299 parser.add_argument("--asl", default=None, help="the input folder to store the ACPI ASL code. ") 300 parser.add_argument("--iasl_path", default=None, help="the path to the iasl compiler.") 301 parser.add_argument("--iasl_min_ver", default=None, help="the minimum iasl version.") 302 …parser.add_argument("--out", default=None, help="the output folder to store the ACPI binary code. " 306 args = parser.parse_args()
|
| /misc/config_tools/launch_config/ |
| A D | launch_cfg_gen.py | 482 parser = argparse.ArgumentParser() variable 483 …parser.add_argument("--board", help="the XML file summarizing characteristics of the target board") 484 parser.add_argument("--scenario", help="the XML file specifying the scenario to be set up") 485 parser.add_argument("--launch", default=None, help="(obsoleted. DO NOT USE)") 486 parser.add_argument("--user_vmid", type=int, default=0, 488 …parser.add_argument("--out", default="output", help="path to the directory where generated scripts… 489 args = parser.parse_args()
|
| /misc/config_tools/configurator/ |
| A D | yarn.lock | 5 "@babel/helper-string-parser@^7.25.9": 7 …d "https://mirrors.cloud.tencent.com/npm/@babel/helper-string-parser/-/helper-string-parser-7.25.9… 15 "@babel/parser@^7.16.4": 17 …resolved "https://mirrors.cloud.tencent.com/npm/@babel/parser/-/parser-7.26.3.tgz#8c51c5db6ddf0813… 27 "@babel/helper-string-parser" "^7.25.9" 508 "@babel/parser" "^7.16.4" 526 "@babel/parser" "^7.16.4" 555 "@babel/parser" "^7.16.4"
|