Home
last modified time | relevance | path

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

/bionic/libc/tools/
Dgenfunctosyscallnrs.py15 parser = SysCallsTxtParser()
16 parser.parse_open_file(open(file_path))
18 for syscall in parser.syscalls:
32 parser = argparse.ArgumentParser(
34 parser.add_argument("--verbose", "-v", help="Enables verbose logging.")
35 parser.add_argument("--out-dir",
37 parser.add_argument("base_file", metavar="base-file", type=str,
39 parser.add_argument("files", metavar="FILE", type=str, nargs="+",
41 args = parser.parse_args()
Dgenseccomp.py36 parser = SysCallsTxtParser()
37 parser.parse_open_file(open(file_path))
38 return set([x["name"] for x in parser.syscalls if x.get(architecture)])
263 parser = argparse.ArgumentParser(
265 parser.add_argument("--verbose", "-v", help="Enables verbose logging.")
266 parser.add_argument("--name-modifier",
269 parser.add_argument("--out-dir",
271 parser.add_argument("base_file", metavar="base-file", type=str,
273 parser.add_argument("files", metavar="FILE", type=str, nargs="+",
281 args = parser.parse_args()
Dgensyscalls.py432 parser = SysCallsTxtParser()
433 parser.parse_file(syscall_file)
435 for syscall in parser.syscalls:
458 for syscall in parser.syscalls:
/bionic/benchmarks/linker_relocation/regen/
Ddump_relocs.py233 parser = argparse.ArgumentParser()
234 parser.add_argument('input', type=str)
235 parser.add_argument('output', type=str)
236parser.add_argument('-L', dest='search_path', metavar='PATH', action='append', type=str, default=[…
238 args = parser.parse_args()
Dgen_bench.py373 parser = argparse.ArgumentParser()
374 parser.add_argument('input', type=str)
375 parser.add_argument('out_dir', type=str)
376 parser.add_argument('--ninja', action='store_true',
378 parser.add_argument('--cc',
383 args = parser.parse_args()
/bionic/libc/kernel/tools/
Dclean_header.py102 parser = cpp.BlockParser()
103 blocks = parser.parseFile(src_file)
104 if not parser.parsed:
/bionic/tools/versioner/src/
DSymbolFileParser.cpp306 SymbolFileParser parser(file_path, type); in parseSymbolFile() local
307 return parser.parse(); in parseSymbolFile()