/freebsd/usr.bin/pr/ |
H A D | egetopt.c | 71 static char *place = emsg; /* option letter processing */ in egetopt() local 78 *place = savec; in egetopt() 82 if (!*place) { in egetopt() 87 ((*(place = nargv[eoptind]) != '-') && (*place != '+'))) { in egetopt() 88 place = emsg; in egetopt() 92 delim = (int)*place; in egetopt() 93 if (place[1] && *++place == '-' && !place[1]) { in egetopt() 98 place = emsg; in egetopt() 106 if ((eoptopt = (int)*place++) == (int)':' || (eoptopt == (int)'?') || in egetopt() 112 if ((eoptopt == (int)'-') && !*place) in egetopt() [all …]
|
/freebsd/contrib/unifdef/FreeBSD/ |
H A D | getopt.c | 50 static char *place = EMSG; /* option letter processing */ in getopt() local 53 if (optreset || *place == 0) { /* update scanning pointer */ in getopt() 55 place = nargv[optind]; in getopt() 56 if (optind >= nargc || *place++ != '-') { in getopt() 58 place = EMSG; in getopt() 61 optopt = *place++; in getopt() 62 if (optopt == '-' && *place == 0) { in getopt() 65 place = EMSG; in getopt() 71 place = EMSG; in getopt() 77 optopt = *place++; in getopt() [all …]
|
/freebsd/lib/libc/stdlib/ |
H A D | getopt.c | 59 static char *place = EMSG; /* option letter processing */ in getopt() local 62 if (optreset || *place == 0) { /* update scanning pointer */ in getopt() 64 place = nargv[optind]; in getopt() 65 if (optind >= nargc || *place++ != '-') { in getopt() 67 place = EMSG; in getopt() 70 optopt = *place++; in getopt() 71 if (optopt == '-' && *place == 0) { in getopt() 74 place = EMSG; in getopt() 80 place = EMSG; in getopt() 86 optopt = *place++; in getopt() [all …]
|
H A D | getopt_long.c | 99 static char *place = EMSG; /* option letter processing */ variable 194 current_argv = place; in parse_long_options() 383 if (optreset || !*place) { /* update scanning pointer */ 386 place = EMSG; 403 if (*(place = nargv[optind]) != '-' || 405 place[1] == '\0') { 407 (place[1] == '\0' && strchr(options, '-') == NULL)) { 409 place = EMSG; /* found non-option */ 445 if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { 447 place = EMSG; [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | GetOptInc.cpp | 47 static const char *place = EMSG; /* option letter processing */ variable 119 current_argv = const_cast<char *>(place); in parse_long_options() 257 if (optreset || !*place) { /* update scanning pointer */ in getopt_internal() 260 place = EMSG; in getopt_internal() 275 if (*(place = nargv[optind]) != '-' || in getopt_internal() 276 (place[1] == '\0' && strchr(options, '-') == NULL)) { in getopt_internal() 277 place = EMSG; /* found non-option */ in getopt_internal() 311 if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { in getopt_internal() 313 place = EMSG; in getopt_internal() 333 if (long_options != NULL && place != nargv[optind] && in getopt_internal() [all …]
|
/freebsd/stand/libsa/ |
H A D | getopt.c | 50 static char *place = EMSG; /* option letter processing */ in getopt() local 53 if (optreset || !*place) { /* update scanning pointer */ in getopt() 55 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt() 56 place = EMSG; in getopt() 59 if (place[1] && *++place == '-') { /* found "--" */ in getopt() 61 place = EMSG; in getopt() 65 if ((optopt = (int)*place++) == (int)':' || in getopt() 73 if (!*place) in getopt() 81 if (!*place) in getopt() 85 if (*place) /* no white space */ in getopt() [all …]
|
/freebsd/contrib/libpcap/missing/ |
H A D | getopt.c | 63 static char *place = EMSG; /* option letter processing */ in getopt() local 72 if (optreset || !*place) { /* update scanning pointer */ in getopt() 74 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt() 75 place = EMSG; in getopt() 78 if (place[1] && *++place == '-') { /* found "--" */ in getopt() 80 place = EMSG; in getopt() 84 optopt = (int)*place++; in getopt() 86 if (!*place) in getopt() 101 if (!*place) in getopt() 110 if (!*place) in getopt() [all …]
|
/freebsd/contrib/libfido2/openbsd-compat/ |
H A D | getopt_long.c | 92 static char *place = EMSG; /* option letter processing */ variable 174 current_argv = place; in parse_long_options() 319 if (optreset || !*place) { /* update scanning pointer */ in getopt_internal() 322 place = EMSG; in getopt_internal() 339 if (*(place = nargv[optind]) != '-' || in getopt_internal() 340 (place[1] == '\0' && strchr(options, '-') == NULL)) { in getopt_internal() 341 place = EMSG; /* found non-option */ in getopt_internal() 377 if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { in getopt_internal() 379 place = EMSG; in getopt_internal() 400 if (long_options != NULL && place != nargv[optind] && in getopt_internal() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/WIN32-Code/ |
H A D | getopt.c | 89 static char *place = EMSG; /* option letter processing */ local 96 if (optreset || !*place) { /* update scanning pointer */ 98 if (optind >= nargc || *(place = nargv[optind]) != '-') { 99 place = EMSG; 102 if (place[1] && *++place == '-' /* found "--" */ 103 && place[1] == '\0') { 105 place = EMSG; 109 if ((optopt = (int)*place++) == (int)':' || 117 if (!*place) 126 if (!*place) [all …]
|
H A D | getopt_long.c | 79 static char *place = EMSG; /* option letter processing */ local 85 if (optreset || !*place) { /* update scanning pointer */ 87 if (optind >= nargc || *(place = nargv[optind]) != '-') { 88 place = EMSG; 91 if (place[1] && *++place == '-') { /* found "--" */ 93 place = EMSG; 97 if ((optopt = (int)*place++) == (int)':' || 105 if (!*place) 114 if (!*place) 117 if (*place) /* no white space */ [all …]
|
/freebsd/contrib/libevent/WIN32-Code/ |
H A D | getopt.c | 89 static char *place = EMSG; /* option letter processing */ local 96 if (optreset || !*place) { /* update scanning pointer */ 98 if (optind >= nargc || *(place = nargv[optind]) != '-') { 99 place = EMSG; 102 if (place[1] && *++place == '-' /* found "--" */ 103 && place[1] == '\0') { 105 place = EMSG; 109 if ((optopt = (int)*place++) == (int)':' || 117 if (!*place) 126 if (!*place) [all …]
|
H A D | getopt_long.c | 79 static char *place = EMSG; /* option letter processing */ local 85 if (optreset || !*place) { /* update scanning pointer */ 87 if (optind >= nargc || *(place = nargv[optind]) != '-') { 88 place = EMSG; 91 if (place[1] && *++place == '-') { /* found "--" */ 93 place = EMSG; 97 if ((optopt = (int)*place++) == (int)':' || 105 if (!*place) 114 if (!*place) 117 if (*place) /* no white space */ [all …]
|
/freebsd/crypto/krb5/src/util/support/ |
H A D | getopt.c | 92 static char *place = EMSG; /* option letter processing */ local 99 if (!*place) { /* update scanning pointer */ 100 if (optind >= nargc || *(place = nargv[optind]) != '-') { 101 place = EMSG; 104 if (place[1] && *++place == '-' /* found "--" */ 105 && place[1] == '\0') { 107 place = EMSG; 111 if ((optopt = (int)*place++) == (int)':' || 119 if (!*place) 128 if (!*place) [all …]
|
H A D | getopt_long.c | 78 static char *place = EMSG; /* option letter processing */ local 84 if (!*place) { /* update scanning pointer */ 85 if (optind >= nargc || *(place = nargv[optind]) != '-') { 86 place = EMSG; 89 if (place[1] && *++place == '-') { /* found "--" */ 91 place = EMSG; 95 if ((optopt = (int)*place++) == (int)':' || 103 if (!*place) 112 if (!*place) 115 if (*place) /* no white space */ [all …]
|
/freebsd/contrib/smbfs/lib/smb/ |
H A D | cfopt.c | 56 static const char *place = EMSG; /* option letter processing */ in cf_getopt() local 60 if (cf_optreset || !*place) { /* update scanning pointer */ in cf_getopt() 65 place = EMSG; in cf_getopt() 68 if (*(place = nargv[tmpind]) != '-') { in cf_getopt() 72 if (place[1] && *++place == '-') { /* found "--" */ in cf_getopt() 74 place = EMSG; in cf_getopt() 81 if ((cf_optopt = (int)*place++) == (int)':' || in cf_getopt() 89 if (!*place) in cf_getopt() 98 if (!*place) in cf_getopt() 102 if (*place) /* no white space */ in cf_getopt() [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getopt.c | 60 static char *place = EMSG; /* option letter processing */ in getopt() local 64 if (optreset || !*place) { /* update scanning pointer */ in getopt() 66 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt() 67 place = EMSG; in getopt() 70 if (place[1] && *++place == '-') { /* found "--" */ in getopt() 72 place = EMSG; in getopt() 76 if ((optopt = (int)*place++) == (int)':' || in getopt() 84 if (!*place) in getopt() 98 if (!*place) in getopt() 102 if (*place) /* no white space */ in getopt() [all …]
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | getopt_long.c | 115 static char *place = EMSG; /* option letter processing */ variable 197 current_argv = place; in parse_long_options() 342 if (optreset || !*place) { /* update scanning pointer */ in getopt_internal() 345 place = EMSG; in getopt_internal() 362 if (*(place = nargv[optind]) != '-' || in getopt_internal() 363 (place[1] == '\0' && strchr(options, '-') == NULL)) { in getopt_internal() 364 place = EMSG; /* found non-option */ in getopt_internal() 400 if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { in getopt_internal() 402 place = EMSG; in getopt_internal() 423 if (long_options != NULL && place != nargv[optind] && in getopt_internal() [all …]
|
/freebsd/contrib/tcpdump/missing/ |
H A D | getopt_long.c | 94 static const char *place = EMSG; /* option letter processing */ variable 219 current_argv = place; in parse_long_options() 414 if (!*place) { /* update scanning pointer */ 416 place = EMSG; 432 if (*(place = nargv[optind]) != '-' || 434 place[1] == '\0') { 436 (place[1] == '\0' && strchr(options, '-') == NULL)) { 438 place = EMSG; /* found non-option */ 474 if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { 476 place = EMSG; [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | getopt.c | 60 register const char *place; in ntp_getopt() local 87 for (place = optstring; place != NULL && *place != '\0'; ++place) in ntp_getopt() 88 if (*place == c) in ntp_getopt() 91 if (place == NULL || *place == '\0' || c == ':' || c == '?') { in ntp_getopt() 95 place++; in ntp_getopt() 96 if (*place == ':') { in ntp_getopt()
|
/freebsd/contrib/file/src/ |
H A D | getopt_long.c | 96 static const char *place = EMSG; /* option letter processing */ variable 201 if (optreset || !*place) { /* update scanning pointer */ 204 place = EMSG; 221 if ((*(place = nargv[optind]) != '-') 222 || (place[1] == '\0')) { /* found non-option */ 223 place = EMSG; 255 if (place[1] && *++place == '-') { /* found "--" */ 256 place++; 260 if ((optchar = (int)*place++) == (int)':' || 263 if (!*place) [all …]
|
/freebsd/sys/contrib/openzfs/config/ |
H A D | always-sed.m4 | 2 dnl # Set the flags used for sed in-place edits. 6 AC_CACHE_CHECK([for sed --in-place], [ac_cv_inplace], [ 9 AS_IF([$SED --in-place 's#foo#bar#' $tmpfile 2>/dev/null], 10 [ac_cv_inplace="--in-place"], 13 [AC_MSG_ERROR([$SED does not support in-place])])
|
/freebsd/bin/pax/ |
H A D | getoldopt.c | 27 char *place; in getoldopt() local 49 place = strchr(optstring, c); in getoldopt() 51 if (place == NULL || c == ':') { in getoldopt() 56 place++; in getoldopt() 57 if (*place == ':') { in getoldopt()
|
/freebsd/contrib/ee/ |
H A D | new_curse.c | 99 #define String_Out(table, stack, place) Info_Out(table, stack, place) argument 101 #define String_Out(table, stack, place) Cap_Out(table, stack, place) argument 1527 Cap_Out(string, p_list, place) /* interpret the output string if necessary */ in Cap_Out() argument 1530 int place; /* place keeper of top of stack */ 1542 p1 = p_list[--place]; 1543 p2 = p_list[--place]; 1643 Operation(Temp_Stack, place) /* handle conditional operations */ in Operation() argument 1645 int place; 1652 temp = Temp_Stack[--place]; 1657 temp = Temp_Stack[--place]; [all …]
|
/freebsd/contrib/tcp_wrappers/ |
H A D | tcpd.8 | 81 daemons will be moved to an "other" place. 84 original finger daemon to the "other" place and install tcpd in the 85 place of the original finger daemon. No changes are required to 90 # mkdir /other/place 91 # mv /usr/etc/in.fingerd /other/place 100 are left in their original place.
|
/freebsd/share/doc/usd/21.troff/ |
H A D | m1 | 61 a user-defined \fImacro\fR in place of the control line. 75 causes the interpolation (insertion in place) of the contents of the 77 in place of the function; 175 to generate the distance to the vertical or horizontal place \fIN\fR. 177 becomes the distance in basic units from the current vertical place on the page or in a \fIdiversio… 178 to the vertical place \fIN\fR. 182 the current horizontal place on the \fIinput\fR line to the horizontal place \fIN\fR. 510 \fB&mk\fI|R\fR none internal D Mark the \fIcurrent\fR vertical place 515 \fB&rt\fI|\(+-N\fR none internal D,\fBv\fR Return \fIupward only\fR to a marked vertical place 517 If \fI\(+-N\fR (w.r.t. current place) is given, [all …]
|