Home
last modified time | relevance | path

Searched refs:lastch (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/cmd/tr/
H A Dtr.c89 wint_t ch, cnt, lastch; in main() local
145 for (lastch = OOBCH; (ch = getwchar()) != WEOF; ) in main()
147 (lastch != ch || !cset_in(squeeze, ch))) { in main()
148 lastch = ch; in main()
181 for (lastch = OOBCH; (ch = getwchar()) != WEOF; ) in main()
182 if (lastch != ch || !cset_in(squeeze, ch)) { in main()
183 lastch = ch; in main()
232 ch = towupper(s1.lastch); in main()
233 (void) cmap_add(map, s1.lastch, ch); in main()
249 ch = towlower(s1.lastch); in main()
[all …]
H A Dstr.c76 s->lastch = backslash(s, &is_octal);
88 s->lastch = wch;
102 ++s->lastch;
114 ch = nextwctype(s->lastch, s->cclass);
119 s->lastch = ch;
126 s->lastch = ch;
180 s->lastch = -1; /* incremented before check in next() */
269 if (stopval < s->lastch) { in genrange()
273 s->cnt = stopval - s->lastch + 1; in genrange()
275 --s->lastch; in genrange()
[all …]
H A Dextern.h44 wint_t lastch; /* last character */ member
/titanic_50/usr/src/cmd/sgs/lex/common/
H A Dyyless.c109 register CHR *lastch, *ptr; local
111 lastch = YYTEXT+YYLENG;
133 while (lastch > ptr)
134 YYUNPUT(*--lastch);
135 *lastch = 0;
137 yyprevious = *--lastch;
/titanic_50/usr/src/lib/libcurses/screen/
H A Dwtouchln.c60 short *firstch, *lastch, b, e; in wtouchln() local
70 lastch = win->_lastch + y; in wtouchln()
81 for (; n-- > 0; firstch++, lastch++) { in wtouchln()
83 *firstch = b, *lastch = e; in wtouchln()
H A Dwvline.c53 short *lastch = &(win->_lastch[cury]); in wvline() local
65 lastch++) { in wvline()
69 if (curx > *lastch) in wvline()
70 *lastch = curx; in wvline()
H A Dmakenew.c115 short *lastch = win->_lastch, in _makenew() local
116 *elastch = lastch + nlines; in _makenew()
119 while (lastch < elastch) in _makenew()
121 *lastch++ = (short) ncols; in _makenew()
/titanic_50/usr/src/cmd/mailx/
H A Dcmd4.c310 register int lastch; in stripquotes() local
314 lastch = strlen(str)-1; in stripquotes()
315 if (any(*str, "\"'") && str[lastch] == *str) { in stripquotes()
316 str[lastch] = '\0'; in stripquotes()
/titanic_50/usr/src/cmd/sendmail/db/db/
H A Ddb_pr.c686 u_int lastch; local
692 lastch = '.';
696 lastch = *p;
704 lastch = '.';
707 if (lastch != '\n')