/netbsd/tests/lib/libc/stdlib/ |
H A D | h_getopt_long.c | 56 struct option *longopts = NULL; in main() local 68 if (longopts) { in main() 71 if (longopts[i].name != NULL) in main() 73 free(longopts); in main() 87 longopts = in main() 90 if (longopts == NULL) in main() 96 if (longopts == NULL) in main() 140 longopts[nlongopts].val = in main() 197 switch (longopts[li].has_arg) { in main() 200 longopts[li].name); in main() [all …]
|
/netbsd/external/gpl2/gmake/dist/ |
H A D | getopt.h | 111 const struct option *longopts, int *longind); 114 const struct option *longopts, int *longind); 119 const struct option *longopts, int *longind,
|
H A D | getopt.c | 504 const struct option *longopts, int *longind, int long_only) in _getopt_internal() argument 602 + (longopts != NULL && argv[optind][1] == '-')); in _getopt_internal() 620 if (longopts != NULL in _getopt_internal() 637 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal() 824 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
|
/netbsd/external/gpl3/gdb/dist/include/ |
H A D | getopt.h | 121 const struct option *longopts, int *longind); 124 const struct option *longopts, int *longind); 129 const struct option *longopts, int *longind,
|
/netbsd/external/gpl3/binutils.old/dist/include/ |
H A D | getopt.h | 121 const struct option *longopts, int *longind); 124 const struct option *longopts, int *longind); 129 const struct option *longopts, int *longind,
|
/netbsd/external/gpl3/binutils/dist/include/ |
H A D | getopt.h | 121 const struct option *longopts, int *longind); 124 const struct option *longopts, int *longind); 129 const struct option *longopts, int *longind,
|
/netbsd/external/gpl3/gcc.old/dist/include/ |
H A D | getopt.h | 121 const struct option *longopts, int *longind); 124 const struct option *longopts, int *longind); 129 const struct option *longopts, int *longind,
|
/netbsd/external/gpl3/gdb.old/dist/include/ |
H A D | getopt.h | 121 const struct option *longopts, int *longind); 124 const struct option *longopts, int *longind); 129 const struct option *longopts, int *longind,
|
/netbsd/external/gpl3/gcc/dist/include/ |
H A D | getopt.h | 121 const struct option *longopts, int *longind); 124 const struct option *longopts, int *longind); 129 const struct option *longopts, int *longind,
|
/netbsd/bin/pax/ |
H A D | getoldopt.c | 37 struct option *longopts, int *idx) in getoldopt() argument 64 if (longopts != NULL) { in getoldopt() 66 longopts, idx); in getoldopt()
|
/netbsd/external/gpl2/grep/dist/lib/ |
H A D | getopt.c | 512 _getopt_internal (argc, argv, optstring, longopts, longind, long_only) in _getopt_internal() argument 516 const struct option *longopts; 616 + (longopts != NULL && argv[optind][1] == '-')); 634 if (longopts != NULL 651 for (p = longopts, option_index = 0; p->name; p++, option_index++) 840 for (p = longopts, option_index = 0; p->name; p++, option_index++)
|
/netbsd/external/gpl2/diffutils/dist/lib/ |
H A D | getopt.c | 520 _getopt_internal (argc, argv, optstring, longopts, longind, long_only) in _getopt_internal() argument 524 const struct option *longopts; 631 + (longopts != NULL && argv[optind][1] == '-')); 649 if (longopts != NULL 666 for (p = longopts, option_index = 0; p->name; p++, option_index++) 858 for (p = longopts, option_index = 0; p->name; p++, option_index++)
|
/netbsd/external/gpl3/binutils/dist/ld/emultempl/ |
H A D | ticoff.em | 52 struct option **longopts, int nrl ATTRIBUTE_UNUSED, 61 *longopts = (struct option *) 62 xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long)); 63 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
|
H A D | pdp11.em | 43 struct option **longopts, 56 *longopts 57 = xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long)); 58 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
|
/netbsd/external/gpl3/gdb/dist/libiberty/ |
H A D | getopt.c | 522 const struct option *longopts, in _getopt_internal() argument 621 + (longopts != NULL && argv[optind][1] == '-')); in _getopt_internal() 639 if (longopts != NULL in _getopt_internal() 656 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal() 845 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
|
/netbsd/external/gpl3/binutils.old/dist/libiberty/ |
H A D | getopt.c | 522 const struct option *longopts, in _getopt_internal() argument 621 + (longopts != NULL && argv[optind][1] == '-')); in _getopt_internal() 639 if (longopts != NULL in _getopt_internal() 656 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal() 845 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
|
/netbsd/external/gpl3/binutils/dist/libiberty/ |
H A D | getopt.c | 522 const struct option *longopts, in _getopt_internal() argument 621 + (longopts != NULL && argv[optind][1] == '-')); in _getopt_internal() 639 if (longopts != NULL in _getopt_internal() 656 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal() 845 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
|
/netbsd/external/gpl3/gcc.old/dist/libiberty/ |
H A D | getopt.c | 522 const struct option *longopts, in _getopt_internal() argument 621 + (longopts != NULL && argv[optind][1] == '-')); in _getopt_internal() 639 if (longopts != NULL in _getopt_internal() 656 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal() 845 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
|
/netbsd/external/gpl3/gdb.old/dist/libiberty/ |
H A D | getopt.c | 522 const struct option *longopts, in _getopt_internal() argument 621 + (longopts != NULL && argv[optind][1] == '-')); in _getopt_internal() 639 if (longopts != NULL in _getopt_internal() 656 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal() 845 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
|
/netbsd/external/gpl3/gcc/dist/libiberty/ |
H A D | getopt.c | 522 const struct option *longopts, in _getopt_internal() argument 621 + (longopts != NULL && argv[optind][1] == '-')); in _getopt_internal() 639 if (longopts != NULL in _getopt_internal() 656 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal() 845 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
|
/netbsd/external/gpl3/gdb/dist/ld/emultempl/ |
H A D | pdp11.em | 43 struct option **longopts, 56 *longopts 57 = xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long)); 58 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
|
H A D | ticoff.em | 52 struct option **longopts, int nrl ATTRIBUTE_UNUSED, 61 *longopts = (struct option *) 62 xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long)); 63 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
|
/netbsd/external/gpl3/binutils.old/dist/ld/emultempl/ |
H A D | ticoff.em | 52 struct option **longopts, int nrl ATTRIBUTE_UNUSED, 61 *longopts = (struct option *) 62 xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long)); 63 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
|
/netbsd/external/gpl3/gdb.old/dist/ld/emultempl/ |
H A D | pdp11.em | 43 struct option **longopts, 56 *longopts 57 = xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long)); 58 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
|
H A D | ticoff.em | 52 struct option **longopts, int nrl ATTRIBUTE_UNUSED, 61 *longopts = (struct option *) 62 xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long)); 63 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
|