Home
last modified time | relevance | path

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

/scripts/clang-tools/
Drun-clang-tools.py28 parser = argparse.ArgumentParser(description=usage)
31 parser.add_argument("type",
35 parser.add_argument("path", type=str, help=path_help)
37 return parser.parse_args()
Dgen_compile_commands.py37 parser = argparse.ArgumentParser(description=usage)
41 parser.add_argument('-d', '--directory', type=str, default='.',
46 parser.add_argument('-o', '--output', type=str, default=_DEFAULT_OUTPUT,
51 parser.add_argument('--log_level', choices=_VALID_LOG_LEVELS,
55 parser.add_argument('-a', '--ar', type=str, default='llvm-ar', help=ar_help)
60 parser.add_argument('paths', type=str, nargs='*', help=paths_help)
62 args = parser.parse_args()
/scripts/
Dspdxcheck.py91 self.parser = yacc.yacc(module = self, write_tables = False, debug = False)
165 self.parser.parse(expr, lexer = self.lexer)
217 parser.parse_lines(fd, args.maxlines, el.path)
247 parser = id_parser(spdx) variable
264 parser.parse_lines(stdin, args.maxlines, '-')
269 parser.parse_lines(open(p, 'rb'), args.maxlines, p)
286 sys.stderr.write('Files checked: %12d\n' %parser.checked)
287 sys.stderr.write('Lines checked: %12d\n' %parser.lines_checked)
288 sys.stderr.write('Files with SPDX: %12d\n' %parser.spdx_valid)
289 sys.stderr.write('Files with errors: %12d\n' %parser.spdx_errors)
Dcheckkconfigsymbols.py52 parser = argparse.ArgumentParser(description=usage)
54 parser.add_argument('-c', '--commit', dest='commit', action='store',
59 parser.add_argument('-d', '--diff', dest='diff', action='store',
64 parser.add_argument('-f', '--find', dest='find', action='store_true',
69 parser.add_argument('-i', '--ignore', dest='ignore', action='store',
74 parser.add_argument('-s', '--sim', dest='sim', action='store', default="",
77 parser.add_argument('--force', dest='force', action='store_true',
81 parser.add_argument('--no-color', dest='color', action='store_false',
86 args = parser.parse_args()
/scripts/dtc/
DMakefile9 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o
30 HOSTCFLAGS_dtc-parser.tab.o := -I $(srctree)/$(src)
33 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
/scripts/kconfig/
DMakefile149 common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o \
152 $(obj)/lexer.lex.o: $(obj)/parser.tab.h