Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dsetup.c106 getnum(fd) in getnum() function
138 if ((header.magic = getnum(fd)) != __TERMINFO_MAGIC
139 || (header.name_size = getnum(fd)) < 0
140 || (header.bool_count = getnum(fd)) < 0
141 || (header.num_count = getnum(fd)) < 0
142 || (header.str_count = getnum(fd)) < 0
143 || (header.str_size = getnum(fd)) < 0)
179 tp->_num[i] = getnum(fd);
198 if ((offset = getnum(fd)) == SHRT_MIN)
/titanic_44/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dsetup.c123 getnum(int fd) in getnum() function
181 if ((header.magic = getnum(fd)) != __TERMINFO_MAGIC || in __m_read_terminfo()
182 (header.name_size = getnum(fd)) < 0 || in __m_read_terminfo()
183 (header.bool_count = getnum(fd)) < 0 || in __m_read_terminfo()
184 (header.num_count = getnum(fd)) < 0 || in __m_read_terminfo()
185 (header.str_count = getnum(fd)) < 0 || in __m_read_terminfo()
186 (header.str_size = getnum(fd)) < 0) { in __m_read_terminfo()
222 tp->_num[i] = getnum(fd); in __m_read_terminfo()
239 if ((offset = getnum(fd)) == SHRT_MIN) in __m_read_terminfo()
/titanic_44/usr/src/cmd/vi/port/
H A Dex_addr.c102 cnt = getnum(); in setcount()
140 cnt = getnum(); in setcount2()
160 getnum(void) in getnum() function
233 offset = getnum();
H A Dex_set.c248 (void)getnum(); /* value */ in set()
300 op->ovalue = getnum(); in set()
H A Dex_v.c344 vsetsiz(isdigit(peekchar()) ? getnum() : value(vi_WINDOW)); in vop()
/titanic_44/usr/src/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c110 static long unsigned getnum(int, int, int);
195 number = getnum(BASE10, width, SIGNED); in mks_vfscanf()
200 number = getnum(BASE10, width, UNSIGNED); in mks_vfscanf()
205 number = getnum(BASE16, width, SIGNED); in mks_vfscanf()
210 number = getnum(BASE8, width, SIGNED); in mks_vfscanf()
215 number = getnum(NOBASE, width, SIGNED); in mks_vfscanf()
540 getnum(int base, int width, int sign) in getnum() function
/titanic_44/usr/src/cmd/tabs/
H A Dtabs.c132 static int getnum(char **scan1);
170 margin = getnum(&scan); in main()
337 incr = getnum(&scan); in repetab()
360 if (t = getnum(&scan)) in arbitab()
369 if ((t = getnum(&scan)) > last) in arbitab()
656 getnum(char **scan1) in getnum() function
/titanic_44/usr/src/lib/libpkg/common/
H A Dgpkgmap.c61 static int getnum(FILE *fp, int base, long *d, long bad);
237 (getnum(fp, 10, (long *)&ept->cinfo.cksum, in gpkgmap()
239 getnum(fp, 10, (long *)&ept->cinfo.modtime, in gpkgmap()
310 if (getnum(fp, 10, (long *)&ept->ainfo.major, BADMAJOR) || in gpkgmap()
311 getnum(fp, 10, (long *)&ept->ainfo.minor, BADMINOR)) { in gpkgmap()
376 (getnum(fp, 10, (long *)&ept->cinfo.cksum, BADCONT) || in gpkgmap()
377 getnum(fp, 10, (long *)&ept->cinfo.modtime, BADCONT))) { in gpkgmap()
513 getnum(FILE *fp, int base, long *d, long bad) in getnum() function
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c140 static const char * getnum P((const char * strp, int * nump, int min,
470 getnum(strp, nump, min, max) in getnum() function
509 strp = getnum(strp, &num, 0, HOURSPERDAY);
515 strp = getnum(strp, &num, 0, MINSPERHOUR - 1);
521 strp = getnum(strp, &num, 0, SECSPERMIN - 1);
576 strp = getnum(strp, &rulep->r_day, 1, DAYSPERNYEAR);
583 strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR);
588 strp = getnum(strp, &rulep->r_week, 1, 5);
593 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1);
599 strp = getnum(strp, &rulep->r_day, 0, DAYSPERLYEAR - 1);
H A Dsetlocale.c144 static char *getnum(char *, char *);
474 p = getnum(p, &lconvp->frac_digits); in getlocale_monetary()
489 p = getnum(p, &lconvp->p_sign_posn); in getlocale_monetary()
492 p = getnum(p, &lconvp->n_sign_posn); in getlocale_monetary()
537 getnum(char *p, char *nump) in getnum() function
/titanic_44/usr/src/cmd/printf/
H A Dprintf.c78 static int getnum(intmax_t *, uintmax_t *, int);
386 if (getnum(&val, &uval, signedconv)) in doformat()
543 if (getnum(&val, &uval, 1)) in getint()
555 getnum(intmax_t *ip, uintmax_t *uip, int signedconv) in getnum() function
/titanic_44/usr/src/lib/libc/port/gen/
H A Dlocaltime.c422 static const char *getnum(const char *, int *, int, int);
2160 getnum(const char *strp, int *nump, int min, int max) in getnum() function
2197 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1); in getsecs()
2203 strp = getnum(strp, &num, 0, MINSPERHOUR - 1); in getsecs()
2210 strp = getnum(strp, &num, 0, SECSPERMIN); in getsecs()
2261 strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR); in getrule()
2266 strp = getnum(strp, &rulep->r_week, 1, 5); in getrule()
2271 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1); in getrule()
2278 strp = getnum(strp, &rulep->r_day, 1, DAYSPERNYEAR); in getrule()
2287 strp = getnum(strp, &rulep->r_day, 0, DAYSPERLYEAR - 1); in getrule()
[all …]
/titanic_44/usr/src/lib/libshell/common/sh/
H A Dnvdisc.c50 if(!fp->disc || (!fp->disc->getnum && !fp->disc->getval)) in nv_getv()
57 else if(fp && fp->disc->getnum) in nv_getv()
59 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp)); in nv_getv()
83 if(!fp->disc || (!fp->disc->getnum && !fp->disc->getval)) in nv_getn()
85 if(!fp->disc->getnum && nv_isattr(np,NV_INTEGER)) in nv_getn()
90 if(fp && fp->disc && fp->disc->getnum) in nv_getn()
91 d = (*fp->disc->getnum)(np,fp); in nv_getn()
518 dp->getnum = lookupn; in nv_setdisc()
1391 if(!fp->disc || (!fp->disc->getnum && !fp->disc->getval)) in nv_hasget()
H A Dnvtree.c314 …if((nfp=nextdisc(np)) && (nfp->disc->getval||nfp->disc->getnum) && nv_isvtree(np) && strcmp(cp,dp-… in nv_dirnext()
683 if(xp->disc && (xp->disc->getval || xp->disc->getnum)) in outval()
1025 if(fp->next->disc && (fp->next->disc->getnum || fp->next->disc->getval)) in nv_getvtree()
H A Dinit.c702 while(fp && !fp->disc->getnum && !fp->disc->getval) in hasgetdisc()
H A Dname.c2382 if(fp->disc && (fp->disc->getnum || fp->disc->getval)) in nv_optimize()
/titanic_44/usr/src/lib/libadm/common/
H A Dckitem.c49 static int getnum(char *, int, int *, int *);
191 getnum(char *strval, int max, int *begin, int *end) in getnum() function
256 if (getnum(strval, (int)menup->nchoices, &begin,
/titanic_44/usr/src/lib/libshell/common/include/
H A Dnval.h59 Sfdouble_t (*getnum)(Namval_t*, Namfun_t*); member
/titanic_44/usr/src/lib/libshell/amd64/include/ast/
H A Dnval.h68 Sfdouble_t (*getnum) __PROTO__((Namval_t*, Namfun_t*));
/titanic_44/usr/src/lib/libshell/i386/include/ast/
H A Dnval.h68 Sfdouble_t (*getnum) __PROTO__((Namval_t*, Namfun_t*));
/titanic_44/usr/src/lib/libshell/sparc/include/ast/
H A Dnval.h68 Sfdouble_t (*getnum) __PROTO__((Namval_t*, Namfun_t*));
/titanic_44/usr/src/lib/libshell/sparcv9/include/ast/
H A Dnval.h68 Sfdouble_t (*getnum) __PROTO__((Namval_t*, Namfun_t*));
/titanic_44/usr/src/lib/libshell/misc/
H A DERRATA.txt964 if(fp->next->disc && (fp->next->disc->getnum || fp->next->disc->getval))