Home
last modified time | relevance | path

Searched refs:endd (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/libast/common/sfio/
H A Dsfvscanf.c66 uchar *d, *endd, *data; /* local buffering system */ member
74 (sc)->d = d, (sc)->endd = endd, (sc)->data = data, \
78 d = (sc)->d, endd = (sc)->endd, data = (sc)->data, \
102 if(sc->d >= sc->endd) /* refresh local buffer */
110 sc->endd = sc->f->endb;
112 if(sc->d >= sc->endd)
251 if(sc->d > sc->f->data && (n = sc->endd - sc->d) > 0 && n < SFMBMAX)
259 sc->endd = sc->f->endb;
260 if(!mbs) sc->f->endb = sc->endd; /* stop cc's "unused mbs" warning */
340 uchar *d, *endd, *data; local
[all …]
H A Dsfvprintf.c160 uchar *d, *endd; local
161 #define SFBUF(f) (d = f->next, endd = f->endb)
164 #define SFputc(f,c) { if(d < endd) { *d++ = (uchar)c; } \
167 #define SFnputc(f,c,n) { if(d+n <= endd) { while(n--) *d++ = (uchar)(c); } \
170 #define SFwrite(f,s,n) { if(d+n <= endd) { while(n--) *d++ = (uchar)(*s++); } \