Home
last modified time | relevance | path

Searched refs:getnum (Results 1 – 19 of 19) sorted by relevance

/freebsd/share/examples/perfmon/
H A Dperfmon.c45 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 Dfdutil.c202 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 Dfdutil.h35 int getnum(const char *, int *);
/freebsd/usr.sbin/smbmsg/
H A Dsmbmsg.c75 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 Drenice.c46 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 Dltests.c1380 #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 Dlstrlib.c1459 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 Dfsx.c936 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 Dmain.c263 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 Drs.cc82 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/contrib/less/
H A Doption.c705 public int getnum(char **sp, constant char *printopt, lbool *errp)
621 public int getnum(char **sp, char *printopt, int *errp) getnum() function
H A Doptfunc.c
H A Dtags.c324 taglinenum = getnum(&p, 0, &err); in findctag()
H A Dfuncs.h324 public int getnum(char **sp, constant char *printopt, lbool *errp);
/freebsd/usr.bin/printf/
H A Dprintf.c77 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 Dulp.c641 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 Dfdformat.c160 if (getnum(optarg, &fill)) { in main()
169 if (getnum(optarg, &format)) { in main()
/freebsd/contrib/tzcode/
H A Dlocaltime.c856 getnum(register const char *strp, int *const nump, const int min, const int max)
896 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getqzname()
902 strp = getnum(strp, &num, 0, MINSPERHOUR - 1); in getqzname()
909 strp = getnum(strp, &num, 0, SECSPERMIN);
960 strp = getnum(strp, &rulep->r_day, 1, DAYSPERNYEAR); in getsecs()
967 strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR); in getsecs()
972 strp = getnum(strp, &rulep->r_week, 1, 5); in getsecs()
977 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1);
983 strp = getnum(strp, &rulep->r_day, 0, DAYSPERLYEAR - 1); in getoffset()
912 getnum(register const char *strp, int *const nump, const int min, const int max) getnum() function
/freebsd/usr.sbin/fdcontrol/
H A Dfdcontrol.c92 } else if (getnum(optarg, &format)) { in main()