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

/freebsd-10.3-release/contrib/dtc/
H A Dutil.c397 const char *short_opts, struct option const long_opts[],
413 for (i = 0; long_opts[i].name; ++i) {
415 int l = strlen(long_opts[i].name) + 1;
416 if (long_opts[i].has_arg == a_argument)
422 for (i = 0; long_opts[i].name; ++i) {
427 if (long_opts[i].val > '~')
430 fprintf(fp, " -%c, ", long_opts[i].val);
433 if (long_opts[i].has_arg == no_argument)
434 fprintf(fp, "--%-*s", optlen, long_opts[i].name);
436 fprintf(fp, "--%s %s%*s", long_opts[
396 util_usage(const char *errmsg, const char *synopsis, const char *short_opts, struct option const long_opts[], const char * const opts_help[]) argument
[all...]
H A Dutil.h200 * @param long_opts The structure of long options
201 * @param opts_help An array of help strings (should align with long_opts)
204 const char *short_opts, struct option const long_opts[],
227 /* Helper for aligning long_opts array */
/freebsd-10.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dibsendtrap.c137 static const struct option long_opts[] = { local
147 while ((ch = getopt_long(argc, argv, str_opts, long_opts, NULL)) != -1) {
H A Dsminfo.c101 static const struct option long_opts[] = { local
121 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dibaddr.c130 static const struct option long_opts[] = { local
150 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dibping.c204 static const struct option long_opts[] = { local
226 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dibstat.c210 static const struct option long_opts[] = { local
224 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dibsysstat.c254 static const struct option long_opts[] = { local
274 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dsmpdump.c243 static const struct option long_opts[] = { local
259 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dvendstat.c151 static const struct option long_opts[] = { local
169 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dibportstate.c246 static const struct option long_opts[] = { local
265 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dibroute.c395 static const struct option long_opts[] = { local
416 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dsmpquery.c437 static const struct option long_opts[] = { local
458 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dperfquery.c359 static const struct option long_opts[] = { local
380 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dibnetdiscover.c945 static const struct option long_opts[] = { local
971 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dibtracert.c728 static const struct option long_opts[] = { local
752 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
H A Dsaquery.c1632 static const struct option long_opts[] = { local
1663 while ((ch = getopt_long(argc, argv, str_opts, long_opts, NULL)) != -1) {
/freebsd-10.3-release/contrib/xz/src/lzmainfo/
H A Dlzmainfo.c65 static const struct option long_opts[] = { local
72 while ((c = getopt_long(argc, argv, "", long_opts, NULL)) != -1) {
/freebsd-10.3-release/contrib/xz/src/xzdec/
H A Dxzdec.c99 static const struct option long_opts[] = { local
114 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL))
/freebsd-10.3-release/contrib/xz/src/xz/
H A Dargs.c151 static const struct option long_opts[] = { local
215 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL))

Completed in 120 milliseconds