Home
last modified time | relevance | path

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

/NextBSD/share/examples/perfmon/
HDperfmon.c47 static int getnum(const char *, int, int);
86 pmc.pmc_unit = getnum(optarg, 0, 256); in main()
89 pmc.pmc_mask = getnum(optarg, 0, 256); in main()
92 loops = getnum(optarg, 1, INT_MAX - 1); in main()
95 sleeptime = getnum(optarg, 0, INT_MAX - 1); in main()
108 pmc.pmc_event = getnum(argv[optind], 0, 255); in main()
167 getnum(const char *buf, int min, int max) in getnum() function
/NextBSD/usr.sbin/fdread/
HDfdutil.c227 if (getnum(s1, &out->sectrac)) in parse_fmt()
233 if (getnum(s1, &j)) in parse_fmt()
245 if (getnum(s1, &j)) in parse_fmt()
254 if (getnum(s1, &out->gap)) in parse_fmt()
260 if (getnum(s1, &j)) in parse_fmt()
269 if (getnum(s1, &j)) in parse_fmt()
311 if (getnum(s1, &j)) in parse_fmt()
321 if (getnum(s1, &out->f_gap)) in parse_fmt()
327 if (getnum(s1, &out->f_inter)) in parse_fmt()
333 if (getnum(s1, &out->offset_side2)) in parse_fmt()
[all …]
HDfdutil.h35 int getnum(const char *, int *);
/NextBSD/usr.sbin/smbmsg/
HDsmbmsg.c75 static int getnum(const char *s);
90 getnum(const char *s) in getnum() function
240 if ((cflag = getnum(optarg)) == -1) in main()
253 if ((iflag = getnum(optarg)) == -1) in main()
262 if ((oflag = getnum(optarg)) == -1) in main()
275 if ((slave = getnum(optarg)) == -1) in main()
308 if ((n = getnum(*argv)) == -1) in main()
318 if ((n = getnum(*argv)) == -1) in main()
/NextBSD/usr.bin/renice/
HDrenice.c58 static int getnum(const char *, const char *, int *);
85 if (getnum("priority", *argv, &prio)) in main()
104 else if (getnum("uid", *argv, &who)) { in main()
113 if (getnum("pid", *argv, &who)) { in main()
155 getnum(const char *com, const char *str, int *val) in getnum() function
/NextBSD/tools/regression/fsx/
HDfsx.c956 getnum(char *s, char **e) in getnum() function
1009 simulatedopcount = getnum(optarg, &endp); in main()
1018 closeprob = getnum(optarg, &endp); in main()
1030 invlprob = getnum(optarg, &endp); in main()
1039 maxfilelen = getnum(optarg, &endp); in main()
1044 monitorstart = getnum(optarg, &endp); in main()
1049 monitorend = getnum(endp, &endp); in main()
1059 maxoplen = getnum(optarg, &endp); in main()
1064 progressinterval = getnum(optarg, &endp); in main()
1072 readbdy = getnum(optarg, &endp); in main()
[all …]
/NextBSD/sys/netpfil/ipfw/test/
HDmain.c237 getnum(const char *s, char **next, const char *key) in getnum() function
313 w = getnum(strsep(&cur, ":"), &p, "weight"); in parse_flowsets()
316 w_h = p ? getnum(p+1, &p, "weight_max") : w; in parse_flowsets()
317 w_steps = p ? getnum(p+1, &p, "w_steps") : (w_h == w ?1:2); in parse_flowsets()
318 len = getnum(strsep(&cur, ":"), &p, "len"); in parse_flowsets()
321 len_h = p ? getnum(p+1, &p, "len_max") : len; in parse_flowsets()
322 l_steps = p ? getnum(p+1, &p, "l_steps") : (len_h == len ? 1 : 2); in parse_flowsets()
323 flows = getnum(strsep(&cur, ":"), NULL, "flows"); in parse_flowsets()
407 c->loops = getnum(av[1], NULL, av[0]); in init()
443 c->lmin = getnum(av[1], NULL, av[0]); in init()
[all …]
/NextBSD/usr.bin/rs/
HDrs.c98 static char *getnum(int *, char *, int);
423 p = getnum(&owidth, p, 0); in getargs()
430 p = getnum(&skip, p, 0); in getargs()
438 p = getnum(&gutter, p, 0); in getargs()
441 p = getnum(&propgutter, p, 0); in getargs()
538 getnum(int *num, char *p, int strict) in getnum() function
/NextBSD/contrib/less/
HDoptfunc.c164 int sline = getnum(&s, "j", &err);
229 int hs = getnum(&s, "#", &err);
543 fg = getnum(&s, "D", &err);
554 bg = getnum(&s, "D", &err);
HDoption.c101 *(pendopt->ovar) = getnum(&s, printopt, (int*)NULL);
279 *(o->ovar) = getnum(&s, printopt, (int*)NULL);
422 num = getnum(&s, NULL, &err);
630 getnum(sp, printopt, errp) in getnum() function
HDfuncs.h225 public int getnum ();
HDtags.c339 taglinenum = getnum(&p, 0, &err);
/NextBSD/usr.bin/printf/
HDprintf.c95 static int getnum(intmax_t *, uintmax_t *, int);
416 if (getnum(&val, &uval, signedconv)) in printf_doformat()
572 if (getnum(&val, &uval, 1)) in getint()
584 getnum(intmax_t *ip, uintmax_t *uip, int signedconv) in getnum() function
/NextBSD/gnu/usr.bin/rcs/lib/
HDrcssyn.c217 register struct hshentry *delta = getnum(); in getdnum()
247 if ((delta = getnum())) in getadmin()
281 if (!(delta=getnum())) { in getadmin()
HDrcsgen.c234 if (!(nextdelta=getnum())) {
HDrcsbase.h570 struct hshentry *getnum P((void));
HDrcslex.c504 struct hshentry * getnum() in getnum() function
/NextBSD/usr.sbin/sicontrol/
HDsicontrol.c82 int getnum(char *);
309 tc.tc_int = getnum(av[0]) / 10; in rxint()
335 tc.tc_int = getnum(av[0]); in txint()
692 getnum(char *str) in getnum() function
/NextBSD/contrib/tzcode/stdtime/
HDlocaltime.c179 static const char * getnum(const char * strp, int * nump, int min,
730 getnum(strp, nump, min, max) in getnum() 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(strp, &rulep->r_day, 0, DAYSPERLYEAR - 1);
/NextBSD/usr.sbin/fdformat/
HDfdformat.c160 if (getnum(optarg, &fill)) { in main()
169 if (getnum(optarg, &format)) { in main()
/NextBSD/usr.sbin/fdcontrol/
HDfdcontrol.c91 } else if (getnum(optarg, &format)) { in main()
/NextBSD/gnu/usr.bin/rcs/rlog/
HDrlog.c647 if (!(Delta = getnum())) in readdeltalog()
/NextBSD/gnu/usr.bin/rcs/rcs/
HDrcs.c909 if (!(nextdelta=getnum()))