/freebsd-current/usr.sbin/fdread/ |
H A D | fdutil.h | 35 int getnum(const char *, int *);
|
H A D | fdutil.c | 202 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 D | renice.c | 46 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 D | perfmon.c | 45 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 D | smbmsg.c | 75 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 D | rs.cc | 82 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 D | fsx.c | 936 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 D | main.c | 263 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 D | option.c | 95 *(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 D | optfunc.c | 182 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 D | tags.c | 324 taglinenum = getnum(&p, 0, &err);
|
H A D | funcs.h | 290 public int getnum(char **sp, char *printopt, int *errp);
|
/freebsd-current/usr.sbin/fdcontrol/ |
H A D | fdcontrol.c | 92 } else if (getnum(optarg, &format)) {
|
/freebsd-current/usr.sbin/fdformat/ |
H A D | fdformat.c | 160 if (getnum(optarg, &fill)) { 169 if (getnum(optarg, &format)) {
|
/freebsd-current/usr.bin/printf/ |
H A D | printf.c | 77 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 D | ulp.c | 623 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 D | localtime.c | 912 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 D | lstrlib.c | 1459 static int getnum (const char **fmt, int df) { function 1477 int sz = getnum(fmt, df); 1522 *size = getnum(fmt, -1);
|