Searched refs:long_opts (Results 1 - 18 of 18) sorted by relevance

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

Completed in 218 milliseconds