/freebsd-10.3-release/contrib/dtc/ |
H A D | util.c | 397 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 D | util.h | 200 * @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 D | ibsendtrap.c | 137 static const struct option long_opts[] = { local 147 while ((ch = getopt_long(argc, argv, str_opts, long_opts, NULL)) != -1) {
|
H A D | sminfo.c | 101 static const struct option long_opts[] = { local 121 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | ibaddr.c | 130 static const struct option long_opts[] = { local 150 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | ibping.c | 204 static const struct option long_opts[] = { local 226 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | ibstat.c | 210 static const struct option long_opts[] = { local 224 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | ibsysstat.c | 254 static const struct option long_opts[] = { local 274 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | smpdump.c | 243 static const struct option long_opts[] = { local 259 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | vendstat.c | 151 static const struct option long_opts[] = { local 169 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | ibportstate.c | 246 static const struct option long_opts[] = { local 265 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | ibroute.c | 395 static const struct option long_opts[] = { local 416 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | smpquery.c | 437 static const struct option long_opts[] = { local 458 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | perfquery.c | 359 static const struct option long_opts[] = { local 380 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | ibnetdiscover.c | 945 static const struct option long_opts[] = { local 971 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | ibtracert.c | 728 static const struct option long_opts[] = { local 752 int ch = getopt_long(argc, argv, str_opts, long_opts, NULL);
|
H A D | saquery.c | 1632 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 D | lzmainfo.c | 65 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 D | xzdec.c | 99 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 D | args.c | 151 static const struct option long_opts[] = { local 215 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL))
|