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

/freebsd-current/usr.sbin/fdread/
H A Dfdutil.h35 int getnum(const char *, int *);
H A Dfdutil.c202 if (getnum(s1, &out->sectrac))
208 if (getnum(s1, &j))
220 if (getnum(s1, &j))
229 if (getnum(s1, &out->gap))
235 if (getnum(s1, &j))
244 if (getnum(s1, &j))
286 if (getnum(s1, &j))
296 if (getnum(s1, &out->f_gap))
302 if (getnum(s1, &out->f_inter))
308 if (getnum(s
432 getnum(const char *s, int *res) function
[all...]
/freebsd-current/usr.bin/renice/
H A Drenice.c46 static int getnum(const char *, const char *, int *);
91 if (getnum("priority", *argv, &prio))
99 else if (getnum("uid", *argv, &who)) {
108 if (getnum("pid", *argv, &who)) {
152 getnum(const char *com, const char *str, int *val) function
/freebsd-current/share/examples/perfmon/
H A Dperfmon.c45 static int getnum(const char *, int, int);
84 pmc.pmc_unit = getnum(optarg, 0, 256);
87 pmc.pmc_mask = getnum(optarg, 0, 256);
90 loops = getnum(optarg, 1, INT_MAX - 1);
93 sleeptime = getnum(optarg, 0, INT_MAX - 1);
106 pmc.pmc_event = getnum(argv[optind], 0, 255);
165 getnum(const char *buf, int min, int max) function
/freebsd-current/usr.sbin/smbmsg/
H A Dsmbmsg.c75 static int getnum(const char *s);
90 getnum(const char *s) function
236 if ((cflag = getnum(optarg)) == -1)
249 if ((iflag = getnum(optarg)) == -1)
258 if ((oflag = getnum(optarg)) == -1)
271 if ((slave = getnum(optarg)) == -1)
304 if ((n = getnum(*argv)) == -1)
314 if ((n = getnum(*argv)) == -1)
/freebsd-current/usr.bin/rs/
H A Drs.cc82 static long getnum(const char *);
371 val = getnum(optarg);
380 skip = getnum(optarg);
388 gutter = getnum(optarg);
391 propgutter = getnum(optarg);
453 getnum(const char *p) function
/freebsd-current/tools/regression/fsx/
H A Dfsx.c936 getnum(char *s, char **e) function
1001 simulatedopcount = getnum(optarg, &endp);
1010 closeprob = getnum(optarg, &endp);
1022 invlprob = getnum(optarg, &endp);
1031 maxfilelen = getnum(optarg, &endp);
1036 monitorstart = getnum(optarg, &endp);
1041 monitorend = getnum(endp, &endp);
1051 maxoplen = getnum(optarg, &endp);
1056 progressinterval = getnum(optarg, &endp);
1064 readbdy = getnum(optar
[all...]
/freebsd-current/sys/netpfil/ipfw/test/
H A Dmain.c263 getnum(const char *s, char **next, const char *key) function
344 w = getnum(strsep(&cur, ":"), &p, "weight");
347 w_h = p ? getnum(p+1, &p, "weight_max") : w;
348 w_steps = p ? getnum(p+1, &p, "w_steps") : (w_h == w ?1:2);
349 len = getnum(strsep(&cur, ":"), &p, "len");
352 len_h = p ? getnum(p+1, &p, "len_max") : len;
353 l_steps = p ? getnum(p+1, &p, "l_steps") : (len_h == len ? 1 : 2);
354 flows = getnum(strsep(&cur, ":"), NULL, "flows");
453 c->loops = getnum(av[1], NULL, av[0]);
479 c->lmin = getnum(a
[all...]
/freebsd-current/contrib/less/
H A Doption.c95 *(pendopt->ovar) = getnum(&s, printopt, (int*)NULL);
276 *(o->ovar) = getnum(&s, printopt, (int*)NULL);
414 num = getnum(&s, NULL, &err);
621 public int getnum(char **sp, char *printopt, int *errp) function
H A Doptfunc.c182 int sline = getnum(&s, "j", &err);
242 int hs = getnum(&s, "#", &err);
973 n = getnum(&s, "header", &err);
984 n = getnum(&s, "header", &err);
H A Dtags.c324 taglinenum = getnum(&p, 0, &err);
H A Dfuncs.h290 public int getnum(char **sp, char *printopt, int *errp);
/freebsd-current/usr.sbin/fdcontrol/
H A Dfdcontrol.c92 } else if (getnum(optarg, &format)) {
/freebsd-current/usr.sbin/fdformat/
H A Dfdformat.c160 if (getnum(optarg, &fill)) {
169 if (getnum(optarg, &format)) {
/freebsd-current/usr.bin/printf/
H A Dprintf.c77 static int getnum(intmax_t *, uintmax_t *, int);
402 if (getnum(&val, &uval, signedconv))
558 if (getnum(&val, &uval, 1))
570 getnum(intmax_t *ip, uintmax_t *uip, int signedconv) function
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Dulp.c623 getnum (const char *s, int singleprec) function
662 b = a = getnum (argv[0], singleprec);
671 b = getnum (argv[1], singleprec);
678 b2 = a2 = getnum (argv[0], singleprec);
680 b2 = getnum (argv[1], singleprec);
/freebsd-current/contrib/tzcode/
H A Dlocaltime.c912 getnum(register const char *strp, int *const nump, const int min, const int max) function
952 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1);
958 strp = getnum(strp, &num, 0, MINSPERHOUR - 1);
965 strp = getnum(strp, &num, 0, SECSPERMIN);
1016 strp = getnum(strp, &rulep->r_day, 1, DAYSPERNYEAR);
1023 strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR);
1028 strp = getnum(strp, &rulep->r_week, 1, 5);
1033 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1);
1039 strp = getnum(strp, &rulep->r_day, 0, DAYSPERLYEAR - 1);
/freebsd-current/contrib/lua/src/
H A Dlstrlib.c1459 static int getnum (const char **fmt, int df) { function
1477 int sz = getnum(fmt, df);
1522 *size = getnum(fmt, -1);

Completed in 208 milliseconds