Home
last modified time | relevance | path

Searched refs:long_opts (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibdiag_common.c82 static struct option *long_opts = NULL; variable
186 struct option *o = long_opts; in ibdiag_show_usage()
192 if (long_opts[0].name) in ibdiag_show_usage()
194 for (o = long_opts; o->name; o++) { in ibdiag_show_usage()
340 struct option *long_opts, *l; in make_long_opts() local
348 long_opts = malloc((sizeof(common_opts) / sizeof(common_opts[0]) + n) * in make_long_opts()
349 sizeof(*long_opts)); in make_long_opts()
350 if (!long_opts) in make_long_opts()
353 l = long_opts; in make_long_opts()
367 return long_opts; in make_long_opts()
[all …]
/freebsd/contrib/byacc/
H A Dmain.c216 } long_opts[] = { variable
272 for (n = 0; n < SIZEOF(long_opts); ++n) in usage()
275 long_opts[n].long_opt, in usage()
276 long_opts[n].yacc_opt); in usage()
392 for (lc = 0; lc < SIZEOF(long_opts); ++lc) in getargs()
394 if (!strncmp(long_opts[lc].long_opt, a + 2, len - 2)) in getargs()
396 if (eqls != NULL && !long_opts[lc].yacc_arg) in getargs()
399 *a++ = long_opts[lc].yacc_opt; in getargs()
/freebsd/bin/nproc/
H A Dnproc.c34 static struct option long_opts[] = { variable
85 while ((ch = getopt_long(argc, argv, "", long_opts, NULL)) != -1) { in main()
/freebsd/usr.bin/mktemp/
H A Dmktemp.c50 static const struct option long_opts[] = { variable
73 while ((c = getopt_long(argc, argv, "dp:qt:u", long_opts, NULL)) != -1) in main()
/freebsd/usr.bin/head/
H A Dhead.c62 static const struct option long_opts[] = variable
89 while ((ch = getopt_long(argc, argv, "+n:c:qv", long_opts, NULL)) != -1) { in main()
/freebsd/contrib/libxo/xopo/
H A Dxopo.c103 static struct option long_opts[] = { variable
128 long_opts, NULL)) != -1) { in main()
/freebsd/usr.bin/cmp/
H A Dcmp.c53 static const struct option long_opts[] = variable
107 while ((ch = getopt_long(argc, argv, "+bhi:ln:sxz", long_opts, NULL)) != -1) in main()
/freebsd/usr.bin/tail/
H A Dtail.c62 static const struct option long_opts[] = variable
122 while ((ch = getopt_long(argc, argv, "+Fb:c:fn:qrv", long_opts, NULL)) != in main()
/freebsd/usr.bin/showmount/
H A Dshowmount.c92 static const struct option long_opts[] = { variable
117 while ((ch = getopt_long(argc, argv, "+adEe13", long_opts, NULL)) != -1) in main()
/freebsd/usr.bin/seq/
H A Dseq.c58 static const struct option long_opts[] = { variable
110 (c = getopt_long(argc, argv, "+f:hs:t:w", long_opts, NULL)) != -1) { in main()
/freebsd/usr.bin/uniq/
H A Duniq.c59 static const struct option long_opts[] = variable
93 while ((ch = getopt_long(argc, argv, "+D::cdif:s:u", long_opts, in main()
/freebsd/usr.bin/elfctl/
H A Delfctl.c73 static struct option long_opts[] = { variable
106 while ((ch = getopt_long(argc, argv, "hile:", long_opts, NULL)) != -1) { in main()
/freebsd/contrib/libxo/xo/
H A Dxo.c241 static struct option long_opts[] = { variable
289 long_opts, NULL)) != -1) { in main()
/freebsd/bin/ls/
H A Dls.c102 static const struct option long_opts[] = variable
279 "+1ABCD:FGHILPRSTUWXZabcdfghiklmnopqrstuvwxy,", long_opts, in main()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c825 static struct option *long_opts = NULL; variable
831 ASSERT3P(long_opts, ==, NULL); in init_options()
835 long_opts = umem_alloc(sizeof (struct option) * count, UMEM_NOFAIL); in init_options()
841 long_opts[i].val = option_table[i].short_opt; in init_options()
842 long_opts[i].name = option_table[i].long_opt; in init_options()
843 long_opts[i].has_arg = option_table[i].long_opt_param != NULL in init_options()
845 long_opts[i].flag = NULL; in init_options()
858 umem_free(long_opts, sizeof (struct option) * count); in fini_options()
861 long_opts = NULL; in fini_options()
969 while ((opt = getopt_long(argc, argv, short_opts, long_opts, in process_options()