Home
last modified time | relevance | path

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

123

/glibc-2.36/argp/
Dargp-parse.c221 argp_parser_t parser; member
250 if (group->parser) in group_parse()
257 err = (*group->parser)(key, arg, state); in group_parse()
265 struct parser struct
302 struct parser *parser; member
321 if (real || argp->parser) in convert_options()
349 && find_long_option (cvt->parser->long_opts, opt->name) < 0) in convert_options()
368 + (((group - cvt->parser->groups) + 1) << USER_BITS); in convert_options()
376 group->parser = argp->parser; in convert_options()
415 parser_convert (struct parser *parser, const struct argp *argp, int flags) in parser_convert() argument
[all …]
/glibc-2.36/resolv/
Dres_init.c177 resolv_conf_parser_init (struct resolv_conf_parser *parser, in resolv_conf_parser_init() argument
180 parser->buffer = NULL; in resolv_conf_parser_init()
181 parser->search_list_store = NULL; in resolv_conf_parser_init()
182 nameserver_list_init (&parser->nameserver_list); in resolv_conf_parser_init()
183 search_list_init (&parser->search_list); in resolv_conf_parser_init()
184 sort_list_init (&parser->sort_list); in resolv_conf_parser_init()
188 parser->template.retrans = preinit->retrans; in resolv_conf_parser_init()
189 parser->template.retry = preinit->retry; in resolv_conf_parser_init()
190 parser->template.options = preinit->options | RES_INIT; in resolv_conf_parser_init()
194 parser->template.retrans = RES_TIMEOUT; in resolv_conf_parser_init()
[all …]
/glibc-2.36/benchtests/scripts/
Dplot_strings.py355 parser = argparse.ArgumentParser(description= variable
360 parser.add_argument("bench", nargs="+",
365 parser.add_argument("-b", "--baseline", type=str,
367 parser.add_argument("-d", "--display", action="store_true",
369 parser.add_argument("-e", "--extension", type=str, default="png",
372 parser.add_argument("-g", "--grid", action="store_const", default="",
374 parser.add_argument("-i", "--ifuncs", nargs="+", default="all",
376 parser.add_argument("-k", "--key", type=str, default="length",
378 parser.add_argument("-l", "--logarithmic", action="store_const",
381 parser.add_argument("-o", "--outdir", type=str, default=os.getcwd(),
[all …]
Dcompare_strings.py188 parser = argparse.ArgumentParser() variable
191 req = parser.add_argument_group(title='required arguments')
200 parser.add_argument('-f', '--functions',
202 parser.add_argument('-b', '--base',
204 parser.add_argument('-g', '--graph', action='store_true',
206 parser.add_argument('--no-diff', action='store_true',
208 parser.add_argument('--no-header', action='store_true',
211 args = parser.parse_args()
Dcompare_bench.py181 parser = argparse.ArgumentParser(description='Take two benchmark and compare their timings.') variable
184 parser.add_argument('bench1', help='First bench to compare')
185 parser.add_argument('bench2', help='Second bench to compare')
188 parser.add_argument('--schema',
191parser.add_argument('--threshold', default=10.0, type=float, help='Only print those with equal or …
192parser.add_argument('--stats', default='min mean', type=str, help='Only consider values from the s…
194 args = parser.parse_args()
/glibc-2.36/conform/
Dlinknamespace.py75 parser = argparse.ArgumentParser(description='Check link-time namespace.')
76 parser.add_argument('--header', metavar='HEADER',
78 parser.add_argument('--standard', metavar='STD',
80 parser.add_argument('--cc', metavar='CC',
82 parser.add_argument('--flags', metavar='CFLAGS',
84 parser.add_argument('--stdsyms', metavar='FILE',
86 parser.add_argument('--libsyms', metavar='FILE',
88 parser.add_argument('--readelf', metavar='READELF',
90 args = parser.parse_args()
Dlist-header-symbols.py56 parser = argparse.ArgumentParser(description='List exported symbols.')
57 parser.add_argument('--headers', metavar='HEADERS',
59 parser.add_argument('--standard', metavar='STD',
61 parser.add_argument('--cc', metavar='CC',
63 parser.add_argument('--flags', metavar='CFLAGS',
65 args = parser.parse_args()
/glibc-2.36/scripts/
Dgen-as-const.py72 parser = argparse.ArgumentParser(
74 parser.add_argument('--cc', metavar='CC',
76 parser.add_argument('--test', action='store_true',
78 parser.add_argument('--python', action='store_true',
80 parser.add_argument('sym_file',
82 args = parser.parse_args()
Dlist-fixed-bugs.py35 parser = argparse.ArgumentParser(description=__doc__)
36 parser.add_argument('version',
38 return parser
58 parser = get_parser()
59 opts = parser.parse_args(argv)
Dcheck-wrapper-headers.py92 parser = argparse.ArgumentParser(
94 parser.add_argument('--root', metavar='DIRECTORY', required=True,
96 parser.add_argument('--subdir', metavar='DIRECTORY', required=True,
98 parser.add_argument('--generated', metavar='FILE', default="", nargs="*",
100 parser.add_argument('headers', help='Header files to process', nargs='+')
101 args = parser.parse_args()
Dtst-ld-trace.py91 parser = argparse.ArgumentParser(description=__doc__)
92 parser.add_argument('command',
94 parser.add_argument('reference',
96 return parser
100 parser = get_parser()
101 opts = parser.parse_args(argv)
Dmove-symbol-to-libc.py144 parser = argparse.ArgumentParser(description=__doc__)
145 parser.add_argument('--only-linux', action='store_true',
147 parser.add_argument('symbols', help='name of the symbol to move',
149 return parser
153 parser = get_parser()
154 opts = parser.parse_args(argv)
Dcheck-wx-segment.py62 parser = argparse.ArgumentParser(description=__doc__)
63 parser.add_argument('--xfail',
66 parser.add_argument('phdrs',
69 opts = parser.parse_args(sys.argv)
Dtst-elf-edit.py208 parser = argparse.ArgumentParser(description=__doc__)
209 parser.add_argument('-a', dest='align',
211 parser.add_argument('--maximize-tls-size', action='store_true',
213 parser.add_argument('output',
215 return parser
219 parser = get_parser()
220 opts = parser.parse_args(argv)
/glibc-2.36/sysdeps/unix/sysv/linux/
Dupdate-syscall-lists.py52 parser = argparse.ArgumentParser(
54 parser.add_argument('--cc', metavar='CC', required=True,
56 parser.add_argument('--lock', metavar='PATH', required=True,
58 parser.add_argument('arch_syscall', metavar='ARCH-SYSCALL-H',
60 parser.add_argument('names_list', metavar='SYSCALL-NAMES-LIST',
63 args = parser.parse_args()
Dtst-glibcsyscalls.py28 parser = argparse.ArgumentParser(
30 parser.add_argument('--cc', metavar='CC', required=True,
32 parser.add_argument('syscall_numbers_list', metavar='PATH',
34 parser.add_argument('syscall_names_list', metavar='PATH',
37 args = parser.parse_args()
Dtst-signal-numbers.py28 parser = argparse.ArgumentParser(
30 parser.add_argument('--cc', metavar='CC',
32 args = parser.parse_args()
Dtst-mman-consts.py29 parser = argparse.ArgumentParser(
32 parser.add_argument('--cc', metavar='CC',
34 args = parser.parse_args()
Dtst-pidfd-consts.py29 parser = argparse.ArgumentParser(
32 parser.add_argument('--cc', metavar='CC',
34 args = parser.parse_args()
Dtst-socket-consts.py27 parser = argparse.ArgumentParser(
30 parser.add_argument('--cc', metavar='CC',
32 args = parser.parse_args()
Dtst-mount-consts.py29 parser = argparse.ArgumentParser(
32 parser.add_argument('--cc', metavar='CC',
34 args = parser.parse_args()
/glibc-2.36/elf/
Dtst-relro-symbols.py57 parser = argparse.ArgumentParser(description=__doc__)
58 parser.add_argument('object', help='path to object file to check')
59 parser.add_argument('--required', metavar='NAME', default=(),
61 parser.add_argument('--optional', metavar='NAME', default=(),
63 return parser
67 parser = get_parser()
68 opts = parser.parse_args(argv)
/glibc-2.36/manual/
Dargp.texi4 @cindex argp (program argument parser)
20 result appear seamless. A library can export an argp option parser that
39 @c Optionally alloca()tes standard help options, initializes the parser,
52 @c group->parser (from argp->parser)
68 length @var{argc}, using the argp parser @var{argp}. @xref{Argp
73 @xref{Argp Flags}. @var{input} is passed through to the argp parser
76 parameters to the parser and passing back the results.
134 suppressed or modified, as when the argp parser is going to be used by
162 @code{struct argp}, which is known as an @dfn{argp parser}:
173 options this argp parser understands; it may be zero if there are no
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/aarch64/
Dvltest.py68 parser = argparse.ArgumentParser(description= variable
73 parser.add_argument("vl", nargs=1, type=int,
78 parser.add_argument('args', nargs=argparse.REMAINDER,
81 args = parser.parse_args()
/glibc-2.36/stdio-common/
Dtst-errno-manual.py62 parser = argparse.ArgumentParser(description='Generate errlist.h')
63 parser.add_argument('-m', dest='manual', metavar='FILE',
65 parser.add_argument('-e', dest='errlist', metavar='FILE',
67 args = parser.parse_args()

123