Home
last modified time | relevance | path

Searched refs:argp (Results 1 – 25 of 100) sorted by relevance

1234

/glibc-2.36/argp/
Dargp-parse.c161 static const struct argp argp_default_argp =
193 static const struct argp argp_version_argp =
224 const struct argp *argp; member
267 const struct argp *argp; member
313 convert_options (const struct argp *argp, in convert_options() argument
318 const struct argp_option *real = argp->options; in convert_options()
319 const struct argp_child *children = argp->children; in convert_options()
321 if (real || argp->parser) in convert_options()
376 group->parser = argp->parser; in convert_options()
377 group->argp = argp; in convert_options()
[all …]
Dargp-help.c381 const struct argp *argp; member
404 const struct argp *argp; member
434 make_hol (const struct argp *argp, struct hol_cluster *cluster) in make_hol() argument
438 const struct argp_option *opts = argp->options; in make_hol()
486 entry->argp = argp; in make_hol()
509 struct hol_cluster *parent, const struct argp *argp) in hol_add_cluster() argument
519 cl->argp = argp; in hol_add_cluster()
618 entry->argp->argp_domain, 0); in hol_entry_first_short()
1016 argp_hol (const struct argp *argp, struct hol_cluster *cluster) in argp_hol() argument
1018 const struct argp_child *child = argp->children; in argp_hol()
[all …]
DMakefile21 subdir := argp
25 headers = argp.h bits/argp-ldbl.h
26 routines = $(addprefix argp-, ba fmtstream fs-xinl help parse pv \
29 tests = argp-test tst-argp1 bug-argp1 tst-argp2 bug-argp2 \
30 tst-ldbl-argp
32 CFLAGS-argp-help.c += $(uses-callbacks) -fexceptions
33 CFLAGS-argp-parse.c += $(uses-callbacks)
34 CFLAGS-argp-fmtstream.c += -fexceptions
Dargp.h108 struct argp; /* fwd declare this type */
182 struct argp struct
251 const struct argp *argp; member
276 const struct argp *root_argp;
370 extern error_t argp_parse (const struct argp *__restrict __argp,
374 extern error_t __argp_parse (const struct argp *__restrict __argp,
439 extern void argp_help (const struct argp *__restrict __argp,
442 extern void __argp_help (const struct argp *__restrict __argp,
505 extern void *_argp_input (const struct argp *__restrict __argp,
508 extern void *__argp_input (const struct argp *__restrict __argp,
Dtst-argp2.c50 static struct argp argp5 =
55 static struct argp argp4 =
60 static struct argp argp3 =
72 static struct argp argp2 =
84 static struct argp argp1 =
Dargp-test.c78 static struct argp sub_argp = {
194 static struct argp argp = { variable
204 argp_parse (&argp, argc, argv, 0, 0, &params); in main()
Dbug-argp2.c14 static struct argp argp = variable
25 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in do_test()
Dtst-argp1.c88 static struct argp argp = variable
102 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in do_test()
Dtst-ldbl-argp.c54 static struct argp
55 argp = variable
67 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in do_test_call()
/glibc-2.36/
DSHARED-FILES17 argp/argp-ba.c
18 argp/argp-ba.c
19 argp/argp-eexst.c
20 argp/argp-fmtstream.c
21 argp/argp-fmtstream.h
22 argp/argp-fs-xinl.c
23 argp/argp-help.c
24 argp/argp-namefrob.h
25 argp/argp-parse.c
26 argp/argp-pv.c
[all …]
/glibc-2.36/manual/
Dargp.texi4 @cindex argp (program argument parser)
5 @cindex argument parsing with argp
6 @cindex option parsing with argp
14 described in the GNU coding standards. Using argp makes it less likely
20 result appear seamless. A library can export an argp option parser that
26 @pindex argp.h
27 The header file @file{<argp.h>} should be included to use argp.
31 The main interface to argp is the @code{argp_parse} function. In many
36 @deftypefun {error_t} argp_parse (const struct argp *@var{argp}, int @var{argc}, char **@var{argv},…
37 @standards{GNU, argp.h}
[all …]
/glibc-2.36/manual/examples/
Dargp-ex2.c54 static struct argp argp = { 0, 0, 0, doc }; variable
59 argp_parse (&argp, argc, argv, 0, 0, 0); in main()
Dargp-ex3.c145 static struct argp argp = { options, parse_opt, args_doc, doc }; variable
159 argp_parse (&argp, argc, argv, 0, 0, &arguments); in main()
Dargp-ex4.c147 static struct argp argp = { options, parse_opt, args_doc, doc }; variable
164 argp_parse (&argp, argc, argv, 0, 0, &arguments); in main()
/glibc-2.36/nscd/
Dnscd.c131 static struct argp argp = variable
154 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
159 argp_help (&argp, stdout, ARGP_HELP_SEE, program_invocation_short_name); in main()
683 va_list argp; in do_exit() local
689 va_start (argp, format); in do_exit()
690 vfprintf (stderr, format, argp); in do_exit()
691 va_end (argp); in do_exit()
/glibc-2.36/login/programs/
Dpt_chown.c51 static struct argp argp = variable
198 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
204 argp_help (&argp, stdout, ARGP_HELP_SEE | ARGP_HELP_EXIT_ERR, in main()
/glibc-2.36/debug/
Dpcprofiledump.c73 static struct argp argp = variable
90 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
97 argp_help (&argp, stdout, ARGP_HELP_SEE | ARGP_HELP_EXIT_ERR, in main()
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm-compat/
DMakefile228 ifeq ($(subdir),argp)
229 ldbl-extra-routines += argp-help
231 $(objpfx)tst-ieee128-argp.c: tst-ldbl-argp.c
234 $(objpfx)tst-ibm128-argp.c: tst-ldbl-argp.c
237 tests-internal += tst-ieee128-argp tst-ibm128-argp
238 CFLAGS-tst-ieee128-argp.c += -mfloat128 -mabi=ieeelongdouble -Wno-psabi
239 CFLAGS-tst-ibm128-argp.c += -mabi=ibmlongdouble -Wno-psabi
/glibc-2.36/elf/
Dpldd.c67 static struct argp argp = variable
83 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
89 argp_help (&argp, stderr, ARGP_HELP_SEE, program_invocation_short_name); in main()
/glibc-2.36/po/
Dlt.po21 #: argp/argp-help.c:229
26 #: argp/argp-help.c:239
31 #: argp/argp-help.c:252
36 #: argp/argp-help.c:1350
40 #: argp/argp-help.c:1713
44 #: argp/argp-help.c:1717
48 #: argp/argp-help.c:1729
52 #: argp/argp-help.c:1784
57 #: argp/argp-parse.c:101
61 #: argp/argp-parse.c:102
[all …]
Dhu.po22 #: argp/argp-help.c:229
27 #: argp/argp-help.c:239
32 #: argp/argp-help.c:252
37 #: argp/argp-help.c:1350
41 #: argp/argp-help.c:1713
45 #: argp/argp-help.c:1717
49 #: argp/argp-help.c:1729
53 #: argp/argp-help.c:1756
58 #: argp/argp-help.c:1784
63 #: argp/argp-parse.c:101
[all …]
Dbe.po21 #: argp/argp-help.c:229
26 #: argp/argp-help.c:239
31 #: argp/argp-help.c:252
36 #: argp/argp-help.c:1350
40 #: argp/argp-help.c:1713
44 #: argp/argp-help.c:1717
48 #: argp/argp-help.c:1729
52 #: argp/argp-help.c:1756
57 #: argp/argp-help.c:1784
62 #: argp/argp-parse.c:101
[all …]
/glibc-2.36/locale/programs/
Dlocaledef.c174 static struct argp argp = variable
210 argp_parse (&argp, argc, argv, 0, &remaining, NULL); in main()
228 argp_help (&argp, stdout, ARGP_HELP_SEE | ARGP_HELP_EXIT_ERR, in main()
/glibc-2.36/sysdeps/ieee754/ldbl-opt/
DMakefile200 ifeq ($(subdir),argp)
201 tests-internal += tst-nldbl-argp
203 $(objpfx)tst-nldbl-argp.c: tst-ldbl-argp.c
206 CFLAGS-tst-nldbl-argp.c += -mlong-double-64
/glibc-2.36/malloc/
Dtst-malloc-stats-cancellation.c46 buffer_threadproc (void *argp) in buffer_threadproc() argument
48 struct buffer_tp_args *args = argp; in buffer_threadproc()

1234