Home
last modified time | relevance | path

Searched refs:parser (Results 1 – 16 of 16) sorted by relevance

/misc/config_tools/static_allocators/
A Dmain.py36 parser = argparse.ArgumentParser() variable
37parser.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 Ddsdt.py10 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 Dvalidator.py30 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
301parser.add_argument("board", nargs="?", type=existing_file_type(parser), help="the board XML file …
302parser.add_argument("scenario", nargs="?", type=existing_file_type(parser), help="the scenario XML…
303parser.add_argument("--loglevel", default="warning", type=log_level_type(parser), help="choose log…
[all …]
A Ddefault_populator.py96parser = 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")
99parser.add_argument("--schema", default=os.path.join(schema_dir, "config.xsd"), help="the XML sche…
100 args = parser.parse_args()
A Dschema_slicer.py245parser = argparse.ArgumentParser(description="Slice a given scenario schema by VM types and views") variable
246parser.add_argument("out", nargs="?", default=os.path.join(schema_dir, "sliced.xsd"), help="Path w…
247parser.add_argument("--schema", default=os.path.join(schema_dir, "config.xsd"), help="the XML sche…
248 args = parser.parse_args()
A Dconfig_summary.py460 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 Dupgrader.py983parser = 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")
986parser.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 Dserial_config.py62 parser = argparse.ArgumentParser() variable
63parser.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 Dmmio.py20 parser = argparse.ArgumentParser() variable
21 parser.add_argument("file", help="board XML file")
22 args = parser.parse_args()
/misc/config_tools/board_inspector/
A Dboard_inspector.py29 def __call__(self, parser, namespace, values, option_string=None): argument
34parser.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")
213parser.add_argument("--basic", action="store_true", default=False, help="do not extract advanced i…
214parser.add_argument("--loglevel", default="warning", help="choose log level, e.g. debug, info, war…
215parser.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 Dgen_acrn_deb.py265 parser = argparse.ArgumentParser() variable
266parser.add_argument("deb_mode", help="choose deb mode, e.g. acrn_all, board_inspector, configurato…
267parser.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")
269parser.add_argument("--board_name", default="board", help="the name of the board that runs the ACR…
270parser.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 DupdateSchema.py14 parser = etree.XMLParser(remove_blank_text=True)
15 self.board_etree = fromstring(board, parser)
/misc/config_tools/configurator/packages/configurator/thirdLib/
A Dmanager.py131 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 Dbin_gen.py292parser = argparse.ArgumentParser(usage="python3 bin_gen.py --board [board] --scenario [scenario]" variable
297parser.add_argument("--board", required=True, help="the XML file summarizing characteristics of th…
298parser.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.")
302parser.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 Dlaunch_cfg_gen.py482 parser = argparse.ArgumentParser() variable
483parser.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,
488parser.add_argument("--out", default="output", help="path to the directory where generated scripts…
489 args = parser.parse_args()
/misc/config_tools/configurator/
A Dyarn.lock5 "@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"

Completed in 41 milliseconds