Home
last modified time | relevance | path

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

12

/rk3399_rockchip-uboot/tools/buildman/
H A Dcmdline.py17 parser = OptionParser()
18 parser.add_option('-b', '--branch', type='string',
20 parser.add_option('-B', '--bloat', dest='show_bloat',
23 parser.add_option('-c', '--count', dest='count', type='int',
25 parser.add_option('-C', '--force-reconfig', dest='force_reconfig',
28 parser.add_option('-d', '--detail', dest='show_detail',
31 parser.add_option('-D', '--config-only', action='store_true', default=False,
33 parser.add_option('-e', '--show_errors', action='store_true',
35 parser.add_option('-f', '--force-build', dest='force_build',
38 parser.add_option('-F', '--force-build-failures', dest='force_build_failures',
[all …]
H A Dtoolchain.py441 parser = MyHTMLParser(fetch_arch)
442 parser.feed(html)
444 links += parser.links
445 elif parser.arch_link:
446 return url + parser.arch_link
/rk3399_rockchip-uboot/tools/binman/
H A Dcmdline.py21 parser = OptionParser()
22 parser.add_option('-b', '--board', type='string',
24 parser.add_option('-B', '--build-dir', type='string', default='b',
26 parser.add_option('-d', '--dt', type='string',
28 parser.add_option('-D', '--debug', action='store_true',
30 parser.add_option('-I', '--indir', action='append',
32 parser.add_option('-H', '--full-help', action='store_true',
34 parser.add_option('-O', '--outdir', type='string',
37 parser.add_option('-p', '--preserve', action='store_true',\
40 parser.add_option('-t', '--test', action='store_true',
[all …]
/rk3399_rockchip-uboot/tools/patman/
H A Dpatman.py31 parser = OptionParser() variable
32 parser.add_option('-H', '--full-help', action='store_true', dest='full_help',
34 parser.add_option('-c', '--count', dest='count', type='int',
36 parser.add_option('-i', '--ignore-errors', action='store_true',
39 parser.add_option('-m', '--no-maintainers', action='store_false',
42 parser.add_option('-n', '--dry-run', action='store_true', dest='dry_run',
44 parser.add_option('-p', '--project', default=project.DetectProject(),
47 parser.add_option('-r', '--in-reply-to', type='string', action='store',
49 parser.add_option('-s', '--start', dest='start', type='int',
51 parser.add_option('-t', '--ignore-bad-tags', action='store_true',
[all …]
H A Dpatman31 parser = OptionParser() variable
32 parser.add_option('-H', '--full-help', action='store_true', dest='full_help',
34 parser.add_option('-c', '--count', dest='count', type='int',
36 parser.add_option('-i', '--ignore-errors', action='store_true',
39 parser.add_option('-m', '--no-maintainers', action='store_false',
42 parser.add_option('-n', '--dry-run', action='store_true', dest='dry_run',
44 parser.add_option('-p', '--project', default=project.DetectProject(),
47 parser.add_option('-r', '--in-reply-to', type='string', action='store',
49 parser.add_option('-s', '--start', dest='start', type='int',
51 parser.add_option('-t', '--ignore-bad-tags', action='store_true',
[all …]
H A Dsettings.py223 def _UpdateDefaults(parser, config): argument
240 defaults = parser.get_default_values()
248 parser.set_default(name, val)
307 def Setup(parser, project_name, config_fname=''): argument
335 _UpdateDefaults(parser, config)
/rk3399_rockchip-uboot/scripts/
H A Dmkbootimg132 def __call__(self, parser, namespace, values, option_string=None): argument
177 parser = ArgumentParser()
178 parser.add_argument('--kernel', help='path to the kernel', type=FileType('rb'),
180 parser.add_argument('--ramdisk', help='path to the ramdisk', type=FileType('rb'))
181 parser.add_argument('--second', help='path to the 2nd bootloader', type=FileType('rb'))
182 parser.add_argument('--dtb', help='path to dtb', type=FileType('rb'))
183 recovery_dtbo_group = parser.add_mutually_exclusive_group()
187 parser.add_argument('--cmdline', help='extra arguments to be passed on the '
189 parser.add_argument('--base', help='base address', type=parse_int, default=0x10000000)
190 parser.add_argument('--kernel_offset', help='kernel offset', type=parse_int, default=0x00008000)
[all …]
H A Dunpack_bootimg523 parser = ArgumentParser(
528 parser.add_argument('--boot_img', type=FileType('rb'), required=True,
530 parser.add_argument('--out', default='out',
532 parser.add_argument('--format', choices=['info', 'mkbootimg'],
535 parser.add_argument('-0', '--null', action='store_true',
537 return parser.parse_args()
/rk3399_rockchip-uboot/tools/
H A Dmicrocode-tool.py248 parser = OptionParser()
249 parser.add_option('-d', '--mcfile', type='string', action='store',
251 parser.add_option('-H', '--headerfile', type='string', action='append',
253 parser.add_option('-m', '--model', type='string', action='store',
255 parser.add_option('-M', '--multiple', type='string', action='store',
257 parser.add_option('-o', '--outfile', type='string', action='store',
260 parser.usage += """ command
274 (options, args) = parser.parse_args()
276 parser.error('Please specify a command')
279 parser.error("Unknown command '%s'" % cmd)
[all …]
H A Dmicrocode-tool248 parser = OptionParser()
249 parser.add_option('-d', '--mcfile', type='string', action='store',
251 parser.add_option('-H', '--headerfile', type='string', action='append',
253 parser.add_option('-m', '--model', type='string', action='store',
255 parser.add_option('-M', '--multiple', type='string', action='store',
257 parser.add_option('-o', '--outfile', type='string', action='store',
260 parser.usage += """ command
274 (options, args) = parser.parse_args()
276 parser.error('Please specify a command')
279 parser.error("Unknown command '%s'" % cmd)
[all …]
H A Dmoveconfig.py1059 self.parser = KconfigParser(configs, options, self.build_dir)
1168 arch = self.parser.get_arch()
1200 (updated, suspicious, log) = self.parser.update_dotconfig()
1223 log = self.parser.check_defconfig()
1765 parser = optparse.OptionParser()
1767 parser.add_option('-a', '--add-imply', type='string', default='',
1770 parser.add_option('-A', '--skip-added', action='store_true', default=False,
1773 parser.add_option('-b', '--build-db', action='store_true', default=False,
1775 parser.add_option('-c', '--color', action='store_true', default=False,
1777 parser.add_option('-C', '--commit', action='store_true', default=False,
[all …]
H A Dgenboardscfg.py435 parser = optparse.OptionParser()
437 parser.add_option('-f', '--force', action="store_true", default=False,
439 parser.add_option('-j', '--jobs', type='int', default=cpu_count,
441 parser.add_option('-o', '--output', default=OUTPUT_FILE,
443 (options, args) = parser.parse_args()
/rk3399_rockchip-uboot/tools/dtoc/
H A Ddtoc.py59 parser = OptionParser() variable
60 parser.add_option('-d', '--dtb-file', action='store',
62 parser.add_option('--include-disabled', action='store_true',
64 parser.add_option('-o', '--output', action='store', default='-',
66 parser.add_option('-t', '--test', action='store_true', dest='test',
68 (options, args) = parser.parse_args()
H A Ddtoc59 parser = OptionParser() variable
60 parser.add_option('-d', '--dtb-file', action='store',
62 parser.add_option('--include-disabled', action='store_true',
64 parser.add_option('-o', '--output', action='store', default='-',
66 parser.add_option('-t', '--test', action='store_true', dest='test',
68 (options, args) = parser.parse_args()
/rk3399_rockchip-uboot/lib/optee_clientApi/
H A Dtabinary_to_cfile.py12 parser = argparse.ArgumentParser()
13 parser.add_argument('--prefix', required=True, \
16 parser.add_argument('--out', required=True, \
19 parser.add_argument('--TA', required=True, help='Name of TA')
21 return parser.parse_args()
H A Dtabinary_to_img.py12 parser = argparse.ArgumentParser()
14 parser.add_argument('--out', required=True, \
17 parser.add_argument('--tadir', required=True, help='Path of TA director')
19 return parser.parse_args()
/rk3399_rockchip-uboot/scripts/dtc/
H A Ddtc-parser.tab.c_shipped1 /* A Bison parser, made by GNU Bison 3.0.4. */
21 part or all of the Bison parser skeleton and distribute that work
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
33 /* C LALR(1) parser skeleton written by Richard Stallman, by
34 simplifying the original so-called "semantic" parser. */
65 #line 20 "dtc-parser.y" /* yacc.c:339 */
84 #line 85 "dtc-parser.tab.c" /* yacc.c:339 */
103 by #include "dtc-parser.tab.h". */
[all …]
H A DMakefile8 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o
25 HOSTCFLAGS_dtc-parser.tab.o := $(HOSTCFLAGS_DTC)
28 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
31 clean-files := dtc-lexer.lex.c dtc-parser.tab.c dtc-parser.tab.h
H A D.gitignore3 /dtc-parser.tab.c
4 /dtc-parser.tab.h
H A Ddtc-parser.tab.h_shipped1 /* A Bison parser, made by GNU Bison 3.0.4. */
21 part or all of the Bison parser skeleton and distribute that work
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
78 #line 39 "dtc-parser.y" /* yacc.c:1909 */
98 #line 99 "dtc-parser.tab.h" /* yacc.c:1909 */
H A DMakefile.dtc17 DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
/rk3399_rockchip-uboot/test/py/
H A Dconftest.py52 def pytest_addoption(parser): argument
62 parser.addoption('--build-dir', default=None,
64 parser.addoption('--result-dir', default=None,
66 parser.addoption('--persistent-data-dir', default=None,
68 parser.addoption('--board-type', '--bd', '-B', default='sandbox',
70 parser.addoption('--board-identity', '--id', default='na',
72 parser.addoption('--build', default=False, action='store_true',
74 parser.addoption('--gdbserver', default=None,
170 parser = ConfigParser.RawConfigParser()
171 parser.readfp(ini_sio)
[all …]
/rk3399_rockchip-uboot/include/linux/mtd/
H A Dpartitions.h80 extern void register_mtd_parser(struct mtd_part_parser *parser);
81 extern void deregister_mtd_parser(struct mtd_part_parser *parser);
/rk3399_rockchip-uboot/drivers/mtd/
H A Dmtdpart.c966 struct mtd_part_parser *parser; in parse_mtd_partitions() local
973 parser = get_partition_parser(*types); in parse_mtd_partitions()
974 if (!parser && !request_module("%s", *types)) in parse_mtd_partitions()
975 parser = get_partition_parser(*types); in parse_mtd_partitions()
976 if (!parser) in parse_mtd_partitions()
978 ret = (*parser->parse_fn)(master, pparts, data); in parse_mtd_partitions()
979 put_partition_parser(parser); in parse_mtd_partitions()
982 ret, parser->name, master->name); in parse_mtd_partitions()
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dzconf.tab.c_shipped1 /* A Bison parser, made by GNU Bison 3.0.4. */
21 part or all of the Bison parser skeleton and distribute that work
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
33 /* C LALR(1) parser skeleton written by Richard Stallman, by
34 simplifying the original so-called "semantic" parser. */
328 /* The parser invokes alloca or malloc; define the necessary symbols. */
958 /* YYINITDEPTH -- initial size of the parser's stacks. */
1099 correct lookahead information, and it depends on the parser not
[all …]

12