Home
last modified time | relevance | path

Searched refs:chcount (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/lib/libc/port/stdio/
H A Ddoscan.c143 int chcount, flag_eof; in __wdoscan_u() local
182 chcount = 0; flag_eof = 0; in __wdoscan_u()
199 _wd_getwc(&chcount, iop))) in __wdoscan_u()
201 if (_wd_ungetwc(&chcount, inchar, iop) == WEOF) in __wdoscan_u()
210 _wd_getwc(&chcount, iop))) in __wdoscan_u()
212 if (_wd_ungetwc(&chcount, inchar, iop) in __wdoscan_u()
217 if ((inchar = _wd_getwc(&chcount, iop)) == ch) in __wdoscan_u()
219 if (_wd_ungetwc(&chcount, inchar, iop) != WEOF) { in __wdoscan_u()
227 while (isspace(inchar = locgetc(chcount))) in __wdoscan_u()
229 if (locungetc(chcount, inchar) == EOF) in __wdoscan_u()
[all …]
/titanic_50/usr/src/lib/libbc/libc/stdio/common/
H A Ddoscan.c42 #define locgetc() (chcount+=1,getc(iop))
43 #define locungetc(x) (chcount-=1,ungetc(x,iop))
45 static int chcount,flag_eof; variable
88 chcount=0; flag_eof=0; in _doscan()
106 chcount--; in _doscan()
122 chcount--; in _doscan()
174 *va_arg(va_alist, short *) = (short) chcount; in _doscan()
176 *va_arg(va_alist, long *) = (long) chcount; in _doscan()
178 *va_arg(va_alist, int *) = (int) chcount; in _doscan()
237 chcount--; in number()
[all …]
/titanic_50/usr/src/cmd/ed/
H A Ded.c2650 int chcount; /* # of char read. */ in eopen() local
2661 chcount = read(io, crbuf, LBSIZE); in eopen()
2663 if (isencrypt(crbuf, chcount)) in eopen()
2669 if (run_crypt(0L, crbuf, chcount, perm) == -1) in eopen()