HomeSort by: relevance | last modified time | path
    Searched refs:getnum (Results 1 - 19 of 19) sorted by relevancy

  /src/libexec/getty/
extern.h 43 long getnum(char *);
  /src/lib/libcrypt/
crypt.h 27 crypt_private int getnum(const char *, size_t *);
util.c 50 getnum(const char *str, size_t *num) function
pw_gensalt.c 108 if (getnum(option, &nrounds) == -1)
147 if (getnum(option, &nrounds) == -1)
189 if ((getnum(a, &tmp)) == -1) {
197 if ((getnum(a, &tmp)) == -1) {
205 if ((getnum(a, &tmp)) == -1) {
namespace.h 94 #define getnum __libcrypt_internal_getnum macro
crypt-argon2.c 291 if ((getnum(a, &tmp))<0) { /* on error, default to current */
315 if ((getnum(p, &tmp)) < 0) {
323 if ((getnum(p, &tmp)) < 0) {
331 if ((getnum(p, &tmp)) < 0) {
  /src/usr.bin/renice/
renice.c 54 static int getnum(const char *, const char *, int *);
79 if (getnum("priority", *argv, &prio))
106 if (getnum("pid", *argv, &twho)) {
123 getnum(const char *com, const char *str, int *val) function
  /src/usr.sbin/chroot/
chroot.c 62 getnum(const char *str, uintmax_t *num) function
90 if (getnum(group, &num) == -1)
105 if (getnum(user, &num) == -1)
  /src/games/monop/
execute.c 73 static int getnum(const char *what, char *txt, int min, int max, int *ret);
467 return getnum("format version", txt+21,
532 if (getnum("numplayers", txt, 2, MAX_PL, &num_play) < 0) {
544 if (getnum("currentplayer", txt, 0, num_play-1, &player) < 0) {
553 if (getnum("doubles", txt, 0, 2, &num_doub) < 0) {
607 if (getnum(attribute, txt, 0, INT_MAX, &pp->money) < 0) {
612 if (getnum(attribute, txt, 0, N_SQRS, &tmp) < 0) {
617 if (getnum(attribute, txt, 0, 2, &tmp) < 0) {
622 if (getnum(attribute, txt, 0, 3, &tmp) < 0) {
647 if (getnum(attribute, txt, dp->num_cards, dp->num_cards
722 getnum(const char *what, char *txt, int min, int max, int *ret) function
    [all...]
  /src/sbin/mount_nfs/
mount_nfs.c 195 getnum(const char *s, int c) function
242 nfsargsp->readahead = getnum(optarg, c);
255 nfsargsp->deadthresh = getnum(optarg, c);
262 num = getnum(optarg, c);
268 nfsargsp->readdirsize = getnum(optarg, c);
384 retrycnt = getnum(optarg, c);
387 nfsargsp->rsize = getnum(optarg, c);
397 nfsargsp->timeo = getnum(optarg, c);
401 nfsargsp->wsize = getnum(optarg, c);
405 nfsargsp->retrans = getnum(optarg, c)
    [all...]
  /src/lib/libc/gen/
disklabel.c 137 #define getnum(field, dname) \ macro
141 getnum(dp->d_ntracks, "nt");
142 getnum(dp->d_nsectors, "ns");
143 getnum(dp->d_ncylinders, "nc");
175 getnum(pp->p_offset, poffset);
  /src/usr.bin/fmt/
fmt.c 81 static int getnum(const char *, const char *, size_t *, int);
123 (void)getnum(optarg, "goal", &goal_length, 1);
128 (void)getnum(optarg, "max", &max_length, 1);
144 if (compat && argc > 0 && getnum(*argv, "goal", &goal_length, 0)) {
147 if (argc > 0 && getnum(*argv, "max", &max_length, 0)) {
187 getnum(const char *str, const char *what, size_t *res, int badnum) function
  /src/usr.bin/rs/
rs.c 101 static char *getnum(int *, char *, int);
431 p = getnum(&owidth, p, 0);
439 p = getnum(&skip, p, 0);
447 p = getnum(&gutter, p, 0);
450 p = getnum(&propgutter, p, 0);
544 getnum(int *num, char *p, int strict) /* num = number p points to; if (strict) complain */ function
  /src/usr.bin/cal/
cal.c 204 static int getnum(const char *);
233 after = getnum(optarg);
238 before = getnum(optarg);
243 after = before = getnum(optarg);
248 dow = getnum(optarg);
869 getnum(const char *p) function
  /src/bin/rcp/
rcp.c 554 #define getnum(t) (t) = 0; while (isdigit((unsigned char)*cp)) (t) = (t) * 10 + (*cp++ - '0'); macro
559 getnum(mtime.tv_sec);
562 getnum(mtime.tv_usec);
565 getnum(atime.tv_sec);
568 getnum(atime.tv_usec);
  /src/sbin/disklabel/
interact.c 75 static intmax_t getnum(struct disklabel *, char *, intmax_t);
532 if ((im = getnum(lp, line, 0)) == -1 || im < 0) {
552 if ((im = getnum(lp, line, lp->d_secperunit - p->p_offset))
737 getnum(struct disklabel *lp, char *buf, intmax_t defaultval) function
  /src/lib/libc/time/
localtime.c 1466 getnum(register const char *strp, int *const nump, const int min, const int max) function
1512 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1);
1518 strp = getnum(strp, &num, 0, MINSPERHOUR - 1);
1525 strp = getnum(strp, &num, 0, SECSPERMIN);
1576 strp = getnum(strp, &rulep->r_day, 1, DAYSPERNYEAR);
1583 strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR);
1588 strp = getnum(strp, &rulep->r_week, 1, 5);
1593 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1);
1599 strp = getnum(strp, &rulep->r_day, 0, DAYSPERLYEAR - 1);
  /src/games/hunt/huntd/
driver.c 136 getnum(const char *s, unsigned long *ret) function
222 if (getnum(optarg, &optargnum) < 0) {
  /src/sbin/fdisk/
fdisk.c 319 getnum(const char *str, int *num) function
347 if (getnum(arg, &num) == -1)
358 if (getnum(arg, &num) == -1)
369 if (getnum(arg, &num) == -1)

Completed in 32 milliseconds