Searched refs:getnum (Results 1 - 18 of 18) sorted by relevance

/freebsd-12-stable/usr.sbin/fdread/
H A Dfdutil.h37 int getnum(const char *, int *);
H A Dfdutil.c204 if (getnum(s1, &out->sectrac))
210 if (getnum(s1, &j))
222 if (getnum(s1, &j))
231 if (getnum(s1, &out->gap))
237 if (getnum(s1, &j))
246 if (getnum(s1, &j))
288 if (getnum(s1, &j))
298 if (getnum(s1, &out->f_gap))
304 if (getnum(s1, &out->f_inter))
310 if (getnum(s
434 getnum(const char *s, int *res) function
[all...]
/freebsd-12-stable/usr.bin/renice/
H A Drenice.c60 static int getnum(const char *, const char *, int *);
87 if (getnum("priority", *argv, &prio))
106 else if (getnum("uid", *argv, &who)) {
115 if (getnum("pid", *argv, &who)) {
157 getnum(const char *com, const char *str, int *val) function
/freebsd-12-stable/share/examples/perfmon/
H A Dperfmon.c47 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-12-stable/usr.sbin/smbmsg/
H A Dsmbmsg.c77 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-12-stable/tools/regression/fsx/
H A Dfsx.c938 getnum(char *s, char **e) function
992 simulatedopcount = getnum(optarg, &endp);
1001 closeprob = getnum(optarg, &endp);
1013 invlprob = getnum(optarg, &endp);
1022 maxfilelen = getnum(optarg, &endp);
1027 monitorstart = getnum(optarg, &endp);
1032 monitorend = getnum(endp, &endp);
1042 maxoplen = getnum(optarg, &endp);
1047 progressinterval = getnum(optarg, &endp);
1055 readbdy = getnum(optar
[all...]
/freebsd-12-stable/sys/netpfil/ipfw/test/
H A Dmain.c266 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-12-stable/usr.bin/rs/
H A Drs.c100 static char *getnum(int *, char *, int);
425 p = getnum(&owidth, p, 0);
432 p = getnum(&skip, p, 0);
440 p = getnum(&gutter, p, 0);
443 p = getnum(&propgutter, p, 0);
540 getnum(int *num, char *p, int strict) function
/freebsd-12-stable/contrib/less/
H A Doption.c101 *(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 Doptfunc.c184 int sline = getnum(&s, "j", &err);
249 int hs = getnum(&s, "#", &err);
H A Dtags.c342 taglinenum = getnum(&p, 0, &err);
H A Dfuncs.h265 public int getnum LESSPARAMS ((char **sp, char *printopt, int *errp));
/freebsd-12-stable/contrib/blacklist/bin/
H A Dconf.c93 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-12-stable/usr.sbin/fdcontrol/
H A Dfdcontrol.c94 } else if (getnum(optarg, &format)) {
/freebsd-12-stable/usr.bin/printf/
H A Dprintf.c93 static int getnum(intmax_t *, uintmax_t *, int);
418 if (getnum(&val, &uval, signedconv))
574 if (getnum(&val, &uval, 1))
586 getnum(intmax_t *ip, uintmax_t *uip, int signedconv) function
/freebsd-12-stable/usr.sbin/fdformat/
H A Dfdformat.c162 if (getnum(optarg, &fill)) {
171 if (getnum(optarg, &format)) {
/freebsd-12-stable/contrib/tzcode/stdtime/
H A Dlocaltime.c179 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-12-stable/contrib/lua/src/
H A Dlstrlib.c1193 static int getnum (const char **fmt, int df) { function
1211 int sz = getnum(fmt, df);
1254 *size = getnum(fmt, -1);

Completed in 323 milliseconds