/freebsd/lib/libc/stdio/ |
H A D | printf-pos.c | 78 u_int nextarg; /* 1-based argument index */ member 95 types->nextarg = 1; in inittypes() 119 if (types->nextarg >= types->tablesize) { in _ensurespace() 123 if (types->nextarg > types->tablemax) in _ensurespace() 124 types->tablemax = types->nextarg; in _ensurespace() 138 types->table[types->nextarg++] = type; in addtype() 149 types->table[types->nextarg++] = T_INTMAXT; in addsarg() 151 types->table[types->nextarg++] = T_SSIZET; in addsarg() 153 types->table[types->nextarg++] = T_PTRDIFFT; in addsarg() 155 types->table[types->nextarg++] = T_LLONG; in addsarg() [all …]
|
H A D | xprintf.c | 273 int nextarg; in __v2printf() local 284 nextarg = 1; in __v2printf() 322 pi->get_prec = nextarg; in __v2printf() 323 argt[nextarg++] = PA_INT; in __v2printf() 342 pi->get_width = nextarg; in __v2printf() 343 argt[nextarg++] = PA_INT; in __v2printf() 371 if (nextarg > maxarg) in __v2printf() 372 maxarg = nextarg; in __v2printf() 373 nextarg = n; in __v2printf() 440 pi, __PRINTFMAXARG, &argt[nextarg]); in __v2printf() [all …]
|
H A D | vfprintf.c | 360 int nextarg; /* 1-based argument index */ in __vfprintf() local 392 ((argtable != NULL) ? *((type*)(&argtable[nextarg++])) : \ in __vfprintf() 393 (nextarg++, va_arg(ap, type))) in __vfprintf() 433 int hold = nextarg; \ in __vfprintf() 441 nextarg = n2; \ in __vfprintf() 443 nextarg = hold; \ in __vfprintf() 464 nextarg = 1; in __vfprintf() 564 nextarg = n; in __vfprintf()
|
H A D | vfwprintf.c | 434 int nextarg; /* 1-based argument index */ in __vfwprintf() local 466 ((argtable != NULL) ? *((type*)(&argtable[nextarg++])) : \ in __vfwprintf() 467 (nextarg++, va_arg(ap, type))) in __vfwprintf() 507 int hold = nextarg; \ in __vfwprintf() 515 nextarg = n2; \ in __vfwprintf() 517 nextarg = hold; \ in __vfwprintf() 536 nextarg = 1; in __vfwprintf() 633 nextarg = n; in __vfwprintf()
|
/freebsd/usr.bin/env/ |
H A D | envopts.c | 167 char *dest, **newargv, *newstr, **nextarg, **oldarg; in split_spaces() local 187 nextarg = newargv; in split_spaces() 188 *nextarg++ = **origv; in split_spaces() 217 bq_destlen = dest - *(nextarg - 1); in split_spaces() 225 copystr = expand_vars(in_arg, (nextarg - 1), in split_spaces() 242 bq_destlen = dest - *(nextarg - 1); in split_spaces() 337 *nextarg++ = dest; in split_spaces() 356 *nextarg = NULL; in split_spaces() 359 bq_destlen, *(nextarg - 1), bq_src); in split_spaces() 371 *nextarg++ = *oldarg; in split_spaces() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | vfprintf.c | 203 int nextarg; /* 1-based argument index */ local 280 int hold = nextarg; \ 286 nextarg = n2; \ 288 nextarg = hold; \ 304 (((argtable != NULL) ? (void) (ap = argtable[nextarg]) : (void) 0), \ 305 nextarg++, SM_VA_ARG(ap, type)) 308 ((argtable != NULL) ? (*((type*)(argtable[nextarg++]))) : \ 309 (nextarg++, SM_VA_ARG(ap, type))) 326 nextarg = 1; 414 nextarg = n; [all …]
|
/freebsd/usr.bin/find/ |
H A D | function.c | 63 static char *nextarg(OPTION *, char ***); 216 nextarg(OPTION *option, char ***argvp) in nextarg() function 272 nmins = nextarg(option, argvp); in c_Xmin() 321 value = nextarg(option, argvp); in c_Xtime() 347 dstr = nextarg(option, argvp); in c_mXXdepth() 541 ndepth = nextarg(option, argvp); in c_depth() 833 flags_str = nextarg(option, argvp); in c_flags() 947 fsname = nextarg(option, argvp); in c_fstype() 995 gname = nextarg(option, argvp); in c_group() 1051 inum_str = nextarg(option, argvp); in c_inum() [all …]
|
/freebsd/crypto/openssh/contrib/ |
H A D | ssh-copy-id | 133 if [ -r "$nextarg" ] && grep -iq ssh "$nextarg"; then 134 …ng hostname. Use "-i -- %s" if you really mean to use this as the hostname\n\n' "$0" "$nextarg" >&2 137 elif ! expr -- "$nextarg" : "-[$(echo "$OPTS" | tr -d :)-]" >/dev/null ; then 139 OPTARG="$nextarg"
|
/freebsd/contrib/one-true-awk/ |
H A D | run.c | 2065 Node *nextarg; in bltin() local 2074 nextarg = a[1]->nnext; in bltin() 2101 if (nextarg == NULL) { in bltin() 2108 nextarg = nextarg->nnext; in bltin() 2115 if (nextarg == 0) { in bltin() 2123 nextarg = nextarg->nnext; in bltin() 2126 if (nextarg == 0) { in bltin() 2134 nextarg = nextarg->nnext; in bltin() 2137 if (nextarg == 0) { in bltin() 2145 nextarg = nextarg->nnext; in bltin() [all …]
|
/freebsd/sbin/restore/ |
H A D | interactive.c | 56 static char *nextarg = NULL; variable 113 nextarg = NULL; in runcmdshell() 308 if (nextarg != NULL) in getcmd() 337 nextarg = cp; in getcmd() 342 cp = copynext(nextarg, rawname); in getcmd() 344 nextarg = NULL; in getcmd() 346 nextarg = cp; in getcmd()
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | process.cpp | 93 const char* nextarg; in argv_array() local 96 while ((nextarg = va_arg(ap, const char*)) != NULL) in argv_array() 97 m_args.push_back(nextarg); in argv_array()
|
/freebsd/usr.bin/rpcgen/ |
H A D | rpc_main.c | 1186 goto nextarg; in parseargs() 1198 goto nextarg; in parseargs() 1216 goto nextarg; in parseargs() 1222 goto nextarg; in parseargs() 1236 goto nextarg; in parseargs() 1244 nextarg: in parseargs()
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_token.c | 1362 const char *nextarg; in au_to_exec_args() local 1366 nextarg = *argv; in au_to_exec_args() 1368 while (nextarg != NULL) { in au_to_exec_args() 1371 nextlen = strlen(nextarg); in au_to_exec_args() 1374 nextarg = *(argv + count); in au_to_exec_args() 1385 nextarg = *(argv + i); in au_to_exec_args() 1386 ADD_MEM(dptr, nextarg, strlen(nextarg) + 1); in au_to_exec_args()
|
/freebsd/sys/security/audit/ |
H A D | bsm_token.c | 1337 const char *nextarg; in au_to_exec_args() local 1341 nextarg = *argv; in au_to_exec_args() 1343 while (nextarg != NULL) { in au_to_exec_args() 1346 nextlen = strlen(nextarg); in au_to_exec_args() 1349 nextarg = *(argv + count); in au_to_exec_args() 1358 nextarg = *(argv + i); in au_to_exec_args() 1359 ADD_MEM(dptr, nextarg, strlen(nextarg) + 1); in au_to_exec_args()
|
/freebsd/bin/ps/ |
H A D | ps.c | 1350 kludge_oldps_options(const char *optlist, char *origval, const char *nextarg) in kludge_oldps_options() argument 1388 if (nextarg == NULL || *nextarg == '-' || isdigitch(*nextarg)) in kludge_oldps_options()
|
/freebsd/usr.sbin/kbdcontrol/ |
H A D | kbdcontrol.c | 121 static char * nextarg(int ac, char **av, int *indp, int oc); 161 nextarg(int ac, char **av, int *indp, int oc) in nextarg() function 1326 nextarg(argc, argv, &optind, 'f')); in main()
|
/freebsd/usr.sbin/vidcontrol/ |
H A D | vidcontrol.c | 219 nextarg(int ac, char **av, int *indp, int oc, int strict) in nextarg() function 1468 optarg = nextarg(argc, argv, &optind, 'f', 0); in main() 1470 font = nextarg(argc, argv, &optind, 'f', 0); in main()
|