Home
last modified time | relevance | path

Searched refs:place (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/freebsd/usr.bin/pr/
H A Degetopt.c71 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 Dgetopt.c50 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 Dgetopt.c59 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 Dgetopt_long.c99 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/stand/libsa/
H A Dgetopt.c50 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 Dgetopt.c63 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 Dgetopt_long.c92 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/smbfs/lib/smb/
H A Dcfopt.c56 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/contrib/llvm-project/lldb/source/Host/common/
H A DGetOptInc.cpp47 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/crypto/openssh/openbsd-compat/
H A Dgetopt_long.c115 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 …]
H A Dbsd-snprintf.c552 int place = 0; in fmtint() local
577 convert[place++] = in fmtint()
581 } while(uvalue && (place < 20)); in fmtint()
582 if (place == 20) place--; in fmtint()
583 convert[place] = 0; in fmtint()
585 zpadlen = max - place; in fmtint()
586 spadlen = min - MAX (max, place) - (signvalue ? 1 : 0); in fmtint()
598 zpadlen, spadlen, min, max, place); in fmtint()
620 while (place > 0) { in fmtint()
621 --place; in fmtint()
[all …]
/freebsd/contrib/ntp/sntp/libevent/WIN32-Code/
H A Dgetopt.c89 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 Dgetopt_long.c79 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 Dgetopt.c89 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 Dgetopt_long.c79 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/heimdal/lib/roken/
H A Dgetopt.c60 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/contrib/tcpdump/missing/
H A Dgetopt_long.c94 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 Dgetopt.c60 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 Dgetopt_long.c96 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/bin/pax/
H A Dgetoldopt.c27 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/sys/contrib/openzfs/config/
H A Dalways-sed.m42 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/contrib/ee/
H A Dnew_curse.c99 #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/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/
H A Dtst.argmap.d39 test_prov$1:::place
47 test_prov$1:::place
55 test_prov$1:::place
H A Dtst.args.d43 test_prov$1:::place
49 test_prov$1:::place
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_print.c441 int place = 0; in fmtint() local
467 convert[place++] = (caps ? "0123456789ABCDEF" : "0123456789abcdef") in fmtint()
470 } while (uvalue && (place < (int)sizeof(convert))); in fmtint()
471 if (place == sizeof(convert)) in fmtint()
472 place--; in fmtint()
473 convert[place] = 0; in fmtint()
475 zpadlen = max - place; in fmtint()
477 min - OSSL_MAX(max, place) - (signvalue ? 1 : 0) - strlen(prefix); in fmtint()
517 while (place > 0) { in fmtint()
518 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, convert[--place])) in fmtint()

12345678910>>...18