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

12

/freebsd-11-stable/contrib/gcclibs/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,
/freebsd-11-stable/contrib/gdb/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,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DOptionParser.cpp31 llvm::StringRef optstring, const Option *longopts,
34 while (longopts->definition != nullptr) {
36 opt.flag = longopts->flag;
37 opt.val = longopts->val;
38 opt.name = longopts->definition->long_option;
39 opt.has_arg = longopts->definition->option_has_arg;
41 ++longopts;
30 Parse(llvm::MutableArrayRef<char *> argv, llvm::StringRef optstring, const Option *longopts, int *longindex) argument
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/
H A Dh_getopt_long.c63 struct option *longopts = NULL; local
74 } else if (strncmp(line, "longopts:", 9) == 0) {
75 if (longopts) {
78 if (longopts[i].name != NULL)
79 free(__UNCONST(longopts[i].name));
80 free(longopts);
87 errx(1, "missing longopts at line %ld",
91 warnx("garbage in longopts at line %ld",
94 longopts =
97 if (longopts
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DGetOptInc.h46 const struct option *longopts, int *longindex);
51 const struct option *longopts, int *longindex);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DOptionParser.h44 llvm::StringRef optstring, const Option *longopts,
/freebsd-11-stable/contrib/gcclibs/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))
/freebsd-11-stable/contrib/elftoolchain/cxxfilt/
H A Dcxxfilt.c52 static struct option longopts[] = variable in typeref:struct:option
138 while ((opt = getopt_long(argc, argv, "_nps:V", longopts, NULL)) !=
/freebsd-11-stable/contrib/binutils/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
H A Dlexsup.c571 struct option *longopts; local
578 longopts = xmalloc (sizeof (*longopts) * (OPTION_COUNT + 1));
616 longopts[il] = ld_options[i].opt;
622 longopts[il].name = NULL;
625 ldemul_add_options (is, &shortopts, il, &longopts, irl, &really_longopts);
690 optc = getopt_long_only (argc, argv, shortopts, longopts, &longind);
/freebsd-11-stable/usr.bin/numactl/
H A Dnumactl.c49 static struct option longopts[] = { variable in typeref:struct:option
176 while ((ch = getopt_long(argc, argv, "c:gl:m:p:st:", longopts,
/freebsd-11-stable/usr.sbin/efidp/
H A Defidp.c45 static struct option longopts[] = { variable in typeref:struct:option
93 longopts, NULL)) != -1) {
/freebsd-11-stable/usr.bin/ar/
H A Dar.c82 static struct option longopts[] = variable in typeref:struct:option
118 while ((opt = getopt_long(argc, argv, "tDUV", longopts,
171 longopts, NULL)) != -1) {
/freebsd-11-stable/contrib/elftoolchain/ar/
H A Dar.c82 static struct option longopts[] = variable in typeref:struct:option
127 while ((opt = getopt_long(argc, argv, "tDUV", longopts,
177 longopts, NULL)) != -1) {
/freebsd-11-stable/contrib/gcclibs/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
/freebsd-11-stable/contrib/binutils/gas/
H A Das.c398 struct option *longopts;
500 longopts = xmalloc (sizeof (std_longopts) + md_longopts_size + sizeof (struct option));
501 memcpy (longopts, std_longopts, sizeof (std_longopts));
502 memcpy (((char *) longopts) + sizeof (std_longopts), md_longopts, md_longopts_size);
503 memset (((char *) longopts) + sizeof (std_longopts) + md_longopts_size,
521 int optc = getopt_long_only (old_argc, old_argv, shortopts, longopts,
894 free (longopts);
397 struct option *longopts; local
/freebsd-11-stable/usr.bin/look/
H A Dlook.c92 static struct option longopts[] = { variable in typeref:struct:option
114 while ((ch = getopt_long(argc, argv, "+adft:", longopts, NULL)) != -1)
/freebsd-11-stable/usr.bin/timeout/
H A Dtimeout.c192 const struct option longopts[] = { local
201 while ((ch = getopt_long(argc, argv, "+k:s:h", longopts, NULL)) != -1) {
/freebsd-11-stable/usr.sbin/efivar/
H A Defivar.c45 static struct option longopts[] = { variable in typeref:struct:option
259 longopts, NULL)) != -1) {
/freebsd-11-stable/usr.bin/etdump/
H A Detdump.c228 static struct option longopts[] = { local
234 while ((ch = getopt_long(argc, argv, "f:o:", longopts, NULL)) != -1) {
/freebsd-11-stable/usr.sbin/watchdogd/
H A Dwatchdogd.c107 static struct option longopts[] = { variable in typeref:struct:option
712 while ((c = getopt_long(argc, argv, getopt_shortopts, longopts,
758 lopt = longopts[longindex].name;
/freebsd-11-stable/sbin/mount_fusefs/
H A Dmount_fusefs.c126 static struct option longopts[] = { local
243 } while ((ch = getopt_long(argc, argv, "AvVho:SD:O:s:m:", longopts, NULL)) != -1);
/freebsd-11-stable/usr.bin/diff/
H A Ddiff.c60 static struct option longopts[] = { variable in typeref:struct:option
120 while ((ch = getopt_long(argc, argv, OPTIONS, longopts, NULL)) != -1) {
/freebsd-11-stable/usr.bin/sdiff/
H A Dsdiff.c91 static struct option longopts[] = { variable in typeref:struct:option
243 longopts, NULL)) != -1) {
/freebsd-11-stable/usr.bin/mkimg/
H A Dmkimg.c56 static struct option longopts[] = { variable in typeref:struct:option
566 longopts, NULL)) != -1) {

Completed in 192 milliseconds

12