| /freebsd/share/examples/perfmon/ |
| H A D | perfmon.c | 45 static int getnum(const char *, int, int); 84 pmc.pmc_unit = getnum(optarg, 0, 256); in main() 87 pmc.pmc_mask = getnum(optarg, 0, 256); in main() 90 loops = getnum(optarg, 1, INT_MAX - 1); in main() 93 sleeptime = getnum(optarg, 0, INT_MAX - 1); in main() 106 pmc.pmc_event = getnum(argv[optind], 0, 255); in main() 165 getnum(const char *buf, int min, int max) in getnum() function
|
| /freebsd/usr.sbin/fdread/ |
| H A D | fdutil.c | 202 if (getnum(s1, &out->sectrac)) in parse_fmt() 208 if (getnum(s1, &j)) in parse_fmt() 220 if (getnum(s1, &j)) in parse_fmt() 229 if (getnum(s1, &out->gap)) in parse_fmt() 235 if (getnum(s1, &j)) in parse_fmt() 244 if (getnum(s1, &j)) in parse_fmt() 286 if (getnum(s1, &j)) in parse_fmt() 296 if (getnum(s1, &out->f_gap)) in parse_fmt() 302 if (getnum(s1, &out->f_inter)) in parse_fmt() 308 if (getnum(s1, &out->offset_side2)) in parse_fmt() [all …]
|
| H A D | fdutil.h | 35 int getnum(const char *, int *);
|
| /freebsd/usr.sbin/smbmsg/ |
| H A D | smbmsg.c | 75 static int getnum(const char *s); 90 getnum(const char *s) in getnum() function 236 if ((cflag = getnum(optarg)) == -1) in main() 249 if ((iflag = getnum(optarg)) == -1) in main() 258 if ((oflag = getnum(optarg)) == -1) in main() 271 if ((slave = getnum(optarg)) == -1) in main() 304 if ((n = getnum(*argv)) == -1) in main() 314 if ((n = getnum(*argv)) == -1) in main()
|
| /freebsd/usr.bin/renice/ |
| H A D | renice.c | 46 static int getnum(const char *, const char *, int *); 91 if (getnum("priority", *argv, &prio)) in main() 99 else if (getnum("uid", *argv, &who)) { in main() 108 if (getnum("pid", *argv, &who)) { in main() 152 getnum(const char *com, const char *str, int *val) in getnum() function
|
| /freebsd/contrib/lua/src/ |
| H A D | ltests.c | 1380 #define getnum (getnum_aux(L, L1, &pc)) macro 1420 int narg = getnum; in runC() 1421 int nres = getnum; in runC() 1425 int narg = getnum; in runC() 1426 int nres = getnum; in runC() 1431 int sz = getnum; in runC() 1438 int sz = getnum; in runC() 1450 lua_concat(L1, getnum); in runC() 1478 int a = getnum; int b = getnum; int c = getnum; in runC() 1484 lua_insert(L1, getnum); in runC() [all …]
|
| 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);
|
| /freebsd/tools/regression/fsx/ |
| H A D | fsx.c | 936 getnum(char *s, char **e) in getnum() function 1001 simulatedopcount = getnum(optarg, &endp); in main() 1010 closeprob = getnum(optarg, &endp); in main() 1022 invlprob = getnum(optarg, &endp); in main() 1031 maxfilelen = getnum(optarg, &endp); in main() 1036 monitorstart = getnum(optarg, &endp); in main() 1041 monitorend = getnum(endp, &endp); in main() 1051 maxoplen = getnum(optarg, &endp); in main() 1056 progressinterval = getnum(optarg, &endp); in main() 1064 readbdy = getnum(optarg, &endp); in main() [all …]
|
| /freebsd/sys/netpfil/ipfw/test/ |
| H A D | main.c | 263 getnum(const char *s, char **next, const char *key) in getnum() function 344 w = getnum(strsep(&cur, ":"), &p, "weight"); in parse_flowsets() 347 w_h = p ? getnum(p+1, &p, "weight_max") : w; in parse_flowsets() 348 w_steps = p ? getnum(p+1, &p, "w_steps") : (w_h == w ?1:2); in parse_flowsets() 349 len = getnum(strsep(&cur, ":"), &p, "len"); in parse_flowsets() 352 len_h = p ? getnum(p+1, &p, "len_max") : len; in parse_flowsets() 353 l_steps = p ? getnum(p+1, &p, "l_steps") : (len_h == len ? 1 : 2); in parse_flowsets() 354 flows = getnum(strsep(&cur, ":"), NULL, "flows"); in parse_flowsets() 453 c->loops = getnum(av[1], NULL, av[0]); in init() 479 c->lmin = getnum(av[1], NULL, av[0]); in init() [all …]
|
| /freebsd/usr.bin/rs/ |
| H A D | rs.cc | 82 static long getnum(const char *); 371 val = getnum(optarg); in getargs() 380 skip = getnum(optarg); in getargs() 388 gutter = getnum(optarg); in getargs() 391 propgutter = getnum(optarg); in getargs() 453 getnum(const char *p) in getnum() function
|
| /freebsd/usr.bin/printf/ |
| H A D | printf.c | 77 static int getnum(intmax_t *, uintmax_t *, int); 402 if (getnum(&val, &uval, signedconv)) in printf_doformat() 558 if (getnum(&val, &uval, 1)) in getint() 570 getnum(intmax_t *ip, uintmax_t *uip, int signedconv) in getnum() function
|
| /freebsd/contrib/arm-optimized-routines/math/test/ |
| H A D | ulp.c | 641 getnum (const char *s, int singleprec) in getnum() function 700 b = a = getnum (argv[0], singleprec); in parsegen() 709 b = getnum (argv[1], singleprec); in parsegen() 716 b2 = a2 = getnum (argv[0], singleprec); in parsegen() 718 b2 = getnum (argv[1], singleprec); in parsegen()
|
| /freebsd/usr.sbin/fdformat/ |
| H A D | fdformat.c | 160 if (getnum(optarg, &fill)) { in main() 169 if (getnum(optarg, &format)) { in main()
|
| /freebsd/usr.sbin/fdcontrol/ |
| H A D | fdcontrol.c | 92 } else if (getnum(optarg, &format)) { in main()
|
| /freebsd/contrib/tzcode/ |
| H A D | localtime.c | 1386 getnum(register const char *strp, int *const nump, const int min, const int max) in getnum() function 1426 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getsecs() 1432 strp = getnum(strp, &num, 0, MINSPERHOUR - 1); in getsecs() 1439 strp = getnum(strp, &num, 0, SECSPERMIN); in getsecs() 1490 strp = getnum(strp, &rulep->r_day, 1, DAYSPERNYEAR); in getrule() 1497 strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR); in getrule() 1502 strp = getnum(strp, &rulep->r_week, 1, 5); in getrule() 1507 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); in getrule() 1513 strp = getnum(strp, &rulep->r_day, 0, DAYSPERLYEAR - 1); in getrule()
|
| /freebsd/contrib/less/ |
| H A D | tags.c | 324 if (getnum(&p, NULL, FALSE, &n)) in findctag()
|
| H A D | option.c | 711 public lbool getnum(char **sp, constant char *printopt, lbool neg_ok, mutable int *p_num) in getnum() function
|
| H A D | funcs.h | 347 public lbool getnum(char **sp, constant char *printopt, lbool neg_ok, mutable int *p_num);
|