Searched refs:longopts (Results 1 - 25 of 42) sorted by relevance

12

/netbsd-6-1-5-RELEASE/tests/lib/libc/stdlib/
H A Dh_getopt_long.c56 struct option *longopts = NULL; local
67 } else if (strncmp(line, "longopts:", 9) == 0) {
68 if (longopts) {
71 if (longopts[i].name != NULL)
72 free(__UNCONST(longopts[i].name));
73 free(longopts);
80 errx(1, "missing longopts at line %ld",
84 warnx("garbage in longopts at line %ld",
87 longopts =
90 if (longopts
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/win32/Include/
H A Dgetopt.h116 const struct option *longopts, int *longind);
119 const struct option *longopts, int *longind);
124 const struct option *longopts, int *longind,
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/include/
H A Dgetopt.h122 const struct option *longopts, int *longind);
125 const struct option *longopts, int *longind);
130 const struct option *longopts, int *longind,
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/include/
H A Dgetopt.h122 const struct option *longopts, int *longind);
125 const struct option *longopts, int *longind);
130 const struct option *longopts, int *longind,
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/include/
H A Dgetopt.h122 const struct option *longopts, int *longind);
125 const struct option *longopts, int *longind);
130 const struct option *longopts, int *longind,
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/
H A Dgetopt.h111 const struct option *longopts, int *longind);
114 const struct option *longopts, int *longind);
119 const struct option *longopts, int *longind,
H A Dgetopt.c514 _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
518 const struct option *longopts;
618 + (longopts != NULL && argv[optind][1] == '-'));
636 if (longopts != NULL
653 for (p = longopts, option_index = 0; p->name; p++, option_index++)
833 table of longopts. */
840 for (p = longopts, option_index = 0; p->name; p++, option_index++)
/netbsd-6-1-5-RELEASE/gnu/dist/bc/h/
H A Dgetopt.h111 const struct option *longopts, int *longind);
114 const struct option *longopts, int *longind);
119 const struct option *longopts, int *longind,
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/include/
H A Dgetopt.h122 const struct option *longopts, int *longind);
125 const struct option *longopts, int *longind);
130 const struct option *longopts, int *longind,
/netbsd-6-1-5-RELEASE/bin/pax/
H A Dgetoldopt.c36 struct option *longopts, int *idx)
63 if (longopts != NULL) {
65 longopts, idx);
35 getoldopt(int argc, char **argv, const char *optstring, struct option *longopts, int *idx) argument
/netbsd-6-1-5-RELEASE/gnu/dist/bc/lib/
H A Dgetopt.c376 _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
380 const struct option *longopts;
457 + (longopts != NULL && argv[optind][1] == '-'));
475 if (longopts != NULL
492 for (p = longopts, option_index = 0; p->name; p++, option_index++)
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libcpp/
H A Dmakedepend.c83 static const struct option longopts[] = { local
89 switch (getopt_long (argc, argv, "hD:U:I:J:o:V:", longopts, 0))
/netbsd-6-1-5-RELEASE/gnu/dist/grep/lib/
H A Dgetopt.c516 _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
520 const struct option *longopts;
620 + (longopts != NULL && argv[optind][1] == '-'));
638 if (longopts != NULL
655 for (p = longopts, option_index = 0; p->name; p++, option_index++)
837 table of longopts. */
844 for (p = longopts, option_index = 0; p->name; p++, option_index++)
/netbsd-6-1-5-RELEASE/gnu/dist/diffutils/lib/
H A Dgetopt.c524 _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
528 const struct option *longopts;
635 + (longopts != NULL && argv[optind][1] == '-'));
653 if (longopts != NULL
670 for (p = longopts, option_index = 0; p->name; p++, option_index++)
855 table of longopts. */
862 for (p = longopts, option_index = 0; p->name; p++, option_index++)
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/
H A Dldemul.c132 struct option **longopts, int nrl,
136 (*ld_emulation->add_options) (ns, shortopts, nl, longopts,
131 ldemul_add_options(int ns, char **shortopts, int nl, struct option **longopts, int nrl, struct option **really_longopts) argument
/netbsd-6-1-5-RELEASE/usr.bin/tip/
H A Dcu.c62 static struct option longopts[] = { local
85 "E:F:P:a:p:c:l:s:hefot0123456789", longopts, NULL)) != -1) {
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/
H A Dgetopt.c527 const struct option *longopts,
626 + (longopts != NULL && argv[optind][1] == '-'));
644 if (longopts != NULL
661 for (p = longopts, option_index = 0; p->name; p++, option_index++)
843 table of longopts. */
850 for (p = longopts, option_index = 0; p->name; p++, option_index++)
522 _getopt_internal(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only) argument
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/
H A Dgetopt.c527 const struct option *longopts,
626 + (longopts != NULL && argv[optind][1] == '-'));
644 if (longopts != NULL
661 for (p = longopts, option_index = 0; p->name; p++, option_index++)
843 table of longopts. */
850 for (p = longopts, option_index = 0; p->name; p++, option_index++)
522 _getopt_internal(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only) argument
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libiberty/
H A Dgetopt.c527 const struct option *longopts,
626 + (longopts != NULL && argv[optind][1] == '-'));
644 if (longopts != NULL
661 for (p = longopts, option_index = 0; p->name; p++, option_index++)
843 table of longopts. */
850 for (p = longopts, option_index = 0; p->name; p++, option_index++)
522 _getopt_internal(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only) argument
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libiberty/
H A Dgetopt.c527 const struct option *longopts,
626 + (longopts != NULL && argv[optind][1] == '-'));
644 if (longopts != NULL
661 for (p = longopts, option_index = 0; p->name; p++, option_index++)
843 table of longopts. */
850 for (p = longopts, option_index = 0; p->name; p++, option_index++)
522 _getopt_internal(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only) argument
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/
H A Das.c421 struct option *longopts;
532 longopts = (struct option *) xmalloc (sizeof (std_longopts)
534 memcpy (longopts, std_longopts, sizeof (std_longopts));
535 memcpy (((char *) longopts) + sizeof (std_longopts), md_longopts, md_longopts_size);
536 memset (((char *) longopts) + sizeof (std_longopts) + md_longopts_size,
554 int optc = getopt_long_only (old_argc, old_argv, shortopts, longopts,
957 free (longopts);
420 struct option *longopts; local
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dgetopt.c377 const struct option *longopts, int *longind,
486 + (longopts != NULL && argv[d->optind][1] == '-'));
504 if (longopts != NULL
522 for (p = longopts, option_index = 0; p->name; p++, option_index++)
903 table of longopts. */
911 for (p = longopts, option_index = 0; p->name; p++, option_index++)
1143 const struct option *longopts, int *longind,
1151 result = _getopt_internal_r (argc, argv, optstring, longopts, longind,
372 _getopt_internal_r(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct, struct _getopt_data *d) argument
1138 _getopt_internal(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct) argument
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/lib/
H A Dgetopt.c380 const struct option *longopts, int *longind,
488 + (longopts != NULL && argv[d->optind][1] == '-'));
506 if (longopts != NULL
524 for (p = longopts, option_index = 0; p->name; p++, option_index++)
905 table of longopts. */
913 for (p = longopts, option_index = 0; p->name; p++, option_index++)
1145 const struct option *longopts, int *longind, int long_only)
1152 result = _getopt_internal_r (argc, argv, optstring, longopts,
375 _getopt_internal_r(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only, struct _getopt_data *d) argument
1140 _getopt_internal(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only) argument
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/libs/libgroff/
H A Dgetopt.c379 const struct option *longopts, int *longind,
488 + (longopts != NULL && argv[d->optind][1] == '-'));
506 if (longopts != NULL
524 for (p = longopts, option_index = 0; p->name; p++, option_index++)
905 table of longopts. */
913 for (p = longopts, option_index = 0; p->name; p++, option_index++)
1145 const struct option *longopts, int *longind,
1153 result = _getopt_internal_r (argc, argv, optstring, longopts, longind,
374 _getopt_internal_r(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct, struct _getopt_data *d) argument
1140 _getopt_internal(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct) argument
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Dgetopt.c377 const struct option *longopts, int *longind,
486 + (longopts != NULL && argv[d->optind][1] == '-'));
504 if (longopts != NULL
522 for (p = longopts, option_index = 0; p->name; p++, option_index++)
903 table of longopts. */
911 for (p = longopts, option_index = 0; p->name; p++, option_index++)
1143 const struct option *longopts, int *longind,
1151 result = _getopt_internal_r (argc, argv, optstring, longopts, longind,
372 _getopt_internal_r(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct, struct _getopt_data *d) argument
1138 _getopt_internal(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct) argument

Completed in 180 milliseconds

12