/freebsd-11-stable/usr.sbin/fdread/ |
H A D | fdutil.h | 37 int getnum(const char *, int *);
|
H A D | fdutil.c | 229 if (getnum(s1, &out->sectrac)) 235 if (getnum(s1, &j)) 247 if (getnum(s1, &j)) 256 if (getnum(s1, &out->gap)) 262 if (getnum(s1, &j)) 271 if (getnum(s1, &j)) 313 if (getnum(s1, &j)) 323 if (getnum(s1, &out->f_gap)) 329 if (getnum(s1, &out->f_inter)) 335 if (getnum(s 459 getnum(const char *s, int *res) function [all...] |
/freebsd-11-stable/usr.bin/renice/ |
H A D | renice.c | 58 static int getnum(const char *, const char *, int *); 85 if (getnum("priority", *argv, &prio)) 104 else if (getnum("uid", *argv, &who)) { 113 if (getnum("pid", *argv, &who)) { 155 getnum(const char *com, const char *str, int *val) function
|
/freebsd-11-stable/share/examples/perfmon/ |
H A D | perfmon.c | 47 static int getnum(const char *, int, int); 86 pmc.pmc_unit = getnum(optarg, 0, 256); 89 pmc.pmc_mask = getnum(optarg, 0, 256); 92 loops = getnum(optarg, 1, INT_MAX - 1); 95 sleeptime = getnum(optarg, 0, INT_MAX - 1); 108 pmc.pmc_event = getnum(argv[optind], 0, 255); 167 getnum(const char *buf, int min, int max) function
|
/freebsd-11-stable/usr.sbin/smbmsg/ |
H A D | smbmsg.c | 77 static int getnum(const char *s); 92 getnum(const char *s) function 238 if ((cflag = getnum(optarg)) == -1) 251 if ((iflag = getnum(optarg)) == -1) 260 if ((oflag = getnum(optarg)) == -1) 273 if ((slave = getnum(optarg)) == -1) 306 if ((n = getnum(*argv)) == -1) 316 if ((n = getnum(*argv)) == -1)
|
/freebsd-11-stable/tools/regression/fsx/ |
H A D | fsx.c | 963 getnum(char *s, char **e) function 1017 simulatedopcount = getnum(optarg, &endp); 1026 closeprob = getnum(optarg, &endp); 1038 invlprob = getnum(optarg, &endp); 1047 maxfilelen = getnum(optarg, &endp); 1052 monitorstart = getnum(optarg, &endp); 1057 monitorend = getnum(endp, &endp); 1067 maxoplen = getnum(optarg, &endp); 1072 progressinterval = getnum(optarg, &endp); 1080 readbdy = getnum(optar [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/test/ |
H A D | main.c | 266 getnum(const char *s, char **next, const char *key) function 347 w = getnum(strsep(&cur, ":"), &p, "weight"); 350 w_h = p ? getnum(p+1, &p, "weight_max") : w; 351 w_steps = p ? getnum(p+1, &p, "w_steps") : (w_h == w ?1:2); 352 len = getnum(strsep(&cur, ":"), &p, "len"); 355 len_h = p ? getnum(p+1, &p, "len_max") : len; 356 l_steps = p ? getnum(p+1, &p, "l_steps") : (len_h == len ? 1 : 2); 357 flows = getnum(strsep(&cur, ":"), NULL, "flows"); 456 c->loops = getnum(av[1], NULL, av[0]); 482 c->lmin = getnum(a [all...] |
/freebsd-11-stable/usr.bin/rs/ |
H A D | rs.c | 98 static char *getnum(int *, char *, int); 423 p = getnum(&owidth, p, 0); 430 p = getnum(&skip, p, 0); 438 p = getnum(&gutter, p, 0); 441 p = getnum(&propgutter, p, 0); 538 getnum(int *num, char *p, int strict) function
|
/freebsd-11-stable/contrib/less/ |
H A D | option.c | 101 *(pendopt->ovar) = getnum(&s, printopt, (int*)NULL); 282 *(o->ovar) = getnum(&s, printopt, (int*)NULL); 425 num = getnum(&s, NULL, &err); 651 getnum(sp, printopt, errp) function
|
H A D | optfunc.c | 184 int sline = getnum(&s, "j", &err); 249 int hs = getnum(&s, "#", &err);
|
H A D | tags.c | 342 taglinenum = getnum(&p, 0, &err);
|
H A D | funcs.h | 265 public int getnum LESSPARAMS ((char **sp, char *printopt, int *errp));
|
/freebsd-11-stable/gnu/usr.bin/rcs/lib/ |
H A D | rcssyn.c | 217 register struct hshentry *delta = getnum(); 247 if ((delta = getnum())) 281 if (!(delta=getnum())) {
|
H A D | rcsgen.c | 234 if (!(nextdelta=getnum())) {
|
H A D | rcsbase.h | 570 struct hshentry *getnum P((void));
|
H A D | rcslex.c | 6 * getid, getnum, readstring, printstring, savestring, 504 struct hshentry * getnum() function
|
/freebsd-11-stable/contrib/blacklist/bin/ |
H A D | conf.c | 93 getnum(const char *f, size_t l, bool local, void *rp, const char *name, function 132 return getnum(f, l, local, &c->c_nfail, "nfail", p); 210 return getnum(f, l, local, r, "service", p); 229 return getnum(f, l, local, mask, "mask", d); 334 return getnum(f, l, local, &c->c_proto, "protocol", p); 345 return getnum(f, l, local, &c->c_family, "family", p); 359 return getnum(f, l, local, &c->c_uid, "user", p);
|
/freebsd-11-stable/usr.sbin/sicontrol/ |
H A D | sicontrol.c | 82 int getnum(char *); 309 tc.tc_int = getnum(av[0]) / 10; 335 tc.tc_int = getnum(av[0]); 692 getnum(char *str) function
|
/freebsd-11-stable/usr.sbin/fdcontrol/ |
H A D | fdcontrol.c | 93 } else if (getnum(optarg, &format)) {
|
/freebsd-11-stable/usr.bin/printf/ |
H A D | printf.c | 96 static int getnum(intmax_t *, uintmax_t *, int); 420 if (getnum(&val, &uval, signedconv)) 576 if (getnum(&val, &uval, 1)) 588 getnum(intmax_t *ip, uintmax_t *uip, int signedconv) function
|
/freebsd-11-stable/usr.sbin/fdformat/ |
H A D | fdformat.c | 162 if (getnum(optarg, &fill)) { 171 if (getnum(optarg, &format)) {
|
/freebsd-11-stable/contrib/tzcode/stdtime/ |
H A D | localtime.c | 179 static const char * getnum(const char * strp, int * nump, int min, 730 getnum(strp, nump, min, max) function 775 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); 781 strp = getnum(strp, &num, 0, MINSPERHOUR - 1); 788 strp = getnum(strp, &num, 0, SECSPERMIN); 842 strp = getnum(strp, &rulep->r_day, 1, DAYSPERNYEAR); 849 strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR); 854 strp = getnum(strp, &rulep->r_week, 1, 5); 859 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); 865 strp = getnum(str [all...] |
/freebsd-11-stable/contrib/lua/src/ |
H A D | lstrlib.c | 1193 static int getnum (const char **fmt, int df) { function 1211 int sz = getnum(fmt, df); 1254 *size = getnum(fmt, -1);
|
/freebsd-11-stable/gnu/usr.bin/rcs/rcs/ |
H A D | rcs.c | 909 if (!(nextdelta=getnum()))
|
/freebsd-11-stable/gnu/usr.bin/rcs/rlog/ |
H A D | rlog.c | 647 if (!(Delta = getnum()))
|