Home
last modified time | relevance | path

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

12

/u-boot/tools/buildman/
A Dcmdline.py15 parser = OptionParser()
18 parser.add_option('-b', '--branch', type='string',
20 parser.add_option('-B', '--bloat', dest='show_bloat',
30 parser.add_option('-d', '--detail', dest='show_detail',
45 parser.add_option('--fetch-arch', type='string',
49 parser.add_option('-g', '--git', type='string',
55 parser.add_option('-i', '--in-tree', dest='in_tree',
95 parser.add_option('--step', type='int',
99 parser.add_option('-T', '--threads', type='int',
114 parser.add_option('-x', '--exclude', dest='exclude',
[all …]
A Dtoolchain.py7 from html.parser import HTMLParser
500 parser = MyHTMLParser(fetch_arch)
501 parser.feed(html)
503 links += parser.links
504 elif parser.arch_link:
505 return url + parser.arch_link
/u-boot/tools/dtoc/
A Ddtoc73 parser = OptionParser() variable
74 parser.add_option('-B', '--build-dir', type='string', default='b',
76 parser.add_option('-c', '--c-output-dir', action='store',
78 parser.add_option('-C', '--h-output-dir', action='store',
80 parser.add_option('-d', '--dtb-file', action='store',
82 parser.add_option('--include-disabled', action='store_true',
84 parser.add_option('-o', '--output', action='store',
86 parser.add_option('-P', '--processes', type=int,
88 parser.add_option('-t', '--test', action='store_true', dest='test',
90 parser.add_option('-T', '--test-coverage', action='store_true',
[all …]
A Dmain.py73 parser = OptionParser() variable
74 parser.add_option('-B', '--build-dir', type='string', default='b',
76 parser.add_option('-c', '--c-output-dir', action='store',
78 parser.add_option('-C', '--h-output-dir', action='store',
80 parser.add_option('-d', '--dtb-file', action='store',
82 parser.add_option('--include-disabled', action='store_true',
84 parser.add_option('-o', '--output', action='store',
86 parser.add_option('-P', '--processes', type=int,
88 parser.add_option('-t', '--test', action='store_true', dest='test',
90 parser.add_option('-T', '--test-coverage', action='store_true',
[all …]
A Dtest_fdt620 parser = OptionParser() variable
621 parser.add_option('-B', '--build-dir', type='string', default='b',
623 parser.add_option('-P', '--processes', type=int,
625 parser.add_option('-t', '--test', action='store_true', dest='test',
627 parser.add_option('-T', '--test-coverage', action='store_true',
629 (options, args) = parser.parse_args()
A Dtest_fdt.py620 parser = OptionParser() variable
621 parser.add_option('-B', '--build-dir', type='string', default='b',
623 parser.add_option('-P', '--processes', type=int,
625 parser.add_option('-t', '--test', action='store_true', dest='test',
627 parser.add_option('-T', '--test-coverage', action='store_true',
629 (options, args) = parser.parse_args()
/u-boot/tools/patman/
A Dmain.py34 parser = ArgumentParser(epilog=epilog) variable
35 parser.add_argument('-b', '--branch', type=str,
39 parser.add_argument('-e', '--end', type=int, default=0,
41 parser.add_argument('-D', '--debug', action='store_true',
46 parser.add_argument('-P', '--patchwork-url',
56 subparsers = parser.add_subparsers(dest='cmd')
108 args, rest = parser.parse_known_args(argv)
110 settings.Setup(gitutil, parser, args.project, '')
111 args, rest = parser.parse_known_args(argv)
115 args = parser.parse_args(argv)
[all …]
A Dpatman34 parser = ArgumentParser(epilog=epilog) variable
35 parser.add_argument('-b', '--branch', type=str,
39 parser.add_argument('-e', '--end', type=int, default=0,
41 parser.add_argument('-D', '--debug', action='store_true',
46 parser.add_argument('-P', '--patchwork-url',
56 subparsers = parser.add_subparsers(dest='cmd')
108 args, rest = parser.parse_known_args(argv)
110 settings.Setup(gitutil, parser, args.project, '')
111 args, rest = parser.parse_known_args(argv)
115 args = parser.parse_args(argv)
[all …]
A Dsettings.py249 for parser in parsers:
250 pdefs = parser.parse_known_args()[0]
325 def Setup(gitutil, parser, project_name, config_fname=''): argument
353 _UpdateDefaults(parser, config)
/u-boot/tools/
A Dmicrocode-tool247 parser = OptionParser()
248 parser.add_option('-d', '--mcfile', type='string', action='store',
252 parser.add_option('-m', '--model', type='string', action='store',
254 parser.add_option('-M', '--multiple', type='string', action='store',
256 parser.add_option('-o', '--outfile', type='string', action='store',
259 parser.usage += """ command
273 (options, args) = parser.parse_args()
275 parser.error('Please specify a command')
278 parser.error("Unknown command '%s'" % cmd)
295 parser.error('You must specify a model to create')
[all …]
A Dmicrocode-tool.py247 parser = OptionParser()
248 parser.add_option('-d', '--mcfile', type='string', action='store',
252 parser.add_option('-m', '--model', type='string', action='store',
254 parser.add_option('-M', '--multiple', type='string', action='store',
256 parser.add_option('-o', '--outfile', type='string', action='store',
259 parser.usage += """ command
273 (options, args) = parser.parse_args()
275 parser.error('Please specify a command')
278 parser.error("Unknown command '%s'" % cmd)
295 parser.error('You must specify a model to create')
[all …]
A Dendian-swap.py15 parser = argparse.ArgumentParser(description=description)
16 parser.add_argument("input_bin", type=str, help="input binary")
17 parser.add_argument("output_bin", type=str, help="output binary")
18 parser.add_argument("-c", action="store", dest="chunk_size", type=int,
21 return parser.parse_args()
A Dzynqmp_pm_cfg_obj_convert.py11 parser = argparse.ArgumentParser( variable
13 parser.add_argument('-D', '--debug', action="store_true")
14 parser.add_argument(
17 parser.add_argument(
20 args = parser.parse_args()
A Dmoveconfig.py1235 arch = self.parser.get_arch()
1267 (updated, suspicious, log) = self.parser.update_dotconfig()
1290 log = self.parser.check_defconfig()
1832 parser = optparse.OptionParser()
1846 parser.add_option('-d', '--defconfigs', type='string',
1856 parser.add_option('-e', '--exit-on-error', action='store_true',
1868 parser.add_option('-r', '--git-ref', type='string',
1874 parser.usage += ' CONFIG ...'
1876 (options, configs) = parser.parse_args()
1880 parser.print_usage()
[all …]
A Dgenboardscfg.py429 parser = optparse.OptionParser()
431 parser.add_option('-f', '--force', action="store_true", default=False,
433 parser.add_option('-j', '--jobs', type='int', default=cpu_count,
435 parser.add_option('-o', '--output', default=OUTPUT_FILE,
437 parser.add_option('-q', '--quiet', action="store_true", help='run silently')
438 (options, args) = parser.parse_args()
/u-boot/tools/binman/
A Dcmdline.py26 parser = ArgumentParser(epilog=epilog)
27 parser.add_argument('-B', '--build-dir', type=str, default='b',
29 parser.add_argument('-D', '--debug', action='store_true',
31 parser.add_argument('-H', '--full-help', action='store_true',
33 parser.add_argument('--toolpath', type=str, action='append',
35 parser.add_argument('-v', '--verbosity', default=1,
39 subparsers = parser.add_subparsers(dest='cmd')
119 return parser.parse_args(argv)
/u-boot/scripts/dtc/
A DMakefile9 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o
16 HOSTCFLAGS_dtc-parser.tab.o := -I$(src)
19 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
A DMakefile.dtc17 DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
/u-boot/lib/crypto/
A Dasymmetric_type.c390 struct asymmetric_key_parser *parser; in asymmetric_key_preparse() local
401 list_for_each_entry(parser, &asymmetric_key_parsers, link) { in asymmetric_key_preparse()
402 pr_debug("Trying parser '%s'\n", parser->name); in asymmetric_key_preparse()
404 ret = parser->parse(prep); in asymmetric_key_preparse()
616 int register_asymmetric_key_parser(struct asymmetric_key_parser *parser) in register_asymmetric_key_parser() argument
624 if (strcmp(cursor->name, parser->name) == 0) { in register_asymmetric_key_parser()
626 parser->name); in register_asymmetric_key_parser()
632 list_add_tail(&parser->link, &asymmetric_key_parsers); in register_asymmetric_key_parser()
634 pr_notice("Asymmetric key parser '%s' registered\n", parser->name); in register_asymmetric_key_parser()
650 list_del(&parser->link); in unregister_asymmetric_key_parser()
[all …]
A DKconfig20 bool "RSA public key parser"
31 bool "X.509 certificate parser"
43 bool "PKCS#7 message parser"
/u-boot/test/py/
A Dconftest.py51 def pytest_addoption(parser): argument
61 parser.addoption('--build-dir', default=None,
63 parser.addoption('--result-dir', default=None,
65 parser.addoption('--persistent-data-dir', default=None,
67 parser.addoption('--board-type', '--bd', '-B', default='sandbox',
69 parser.addoption('--board-identity', '--id', default='na',
71 parser.addoption('--build', default=False, action='store_true',
75 parser.addoption('--gdbserver', default=None,
105 parser = configparser.RawConfigParser()
106 parser.read_file(ini_sio)
[all …]
/u-boot/include/linux/mtd/
A Dpartitions.h80 extern void register_mtd_parser(struct mtd_part_parser *parser);
81 extern void deregister_mtd_parser(struct mtd_part_parser *parser);
/u-boot/doc/
A DREADME.asn139 X509 certificate parser, pcks7 message parser and RSA public key parser
/u-boot/arch/arm/dts/
A Dns3-board.dts23 * Error log parser 0x8f11_3000 0x0010_0000
/u-boot/drivers/mtd/
A Dmtdpart.c968 struct mtd_part_parser *parser; in parse_mtd_partitions() local
975 parser = get_partition_parser(*types); in parse_mtd_partitions()
976 if (!parser && !request_module("%s", *types)) in parse_mtd_partitions()
977 parser = get_partition_parser(*types); in parse_mtd_partitions()
978 if (!parser) in parse_mtd_partitions()
980 ret = (*parser->parse_fn)(master, pparts, data); in parse_mtd_partitions()
981 put_partition_parser(parser); in parse_mtd_partitions()
984 ret, parser->name, master->name); in parse_mtd_partitions()

Completed in 26 milliseconds

12