Searched refs:lastc (Results 1 - 14 of 14) sorted by relevance

/freebsd-current/usr.bin/finger/
H A Dnet.c105 wint_t c, lastc; local
161 lastc = 0;
172 if (lastc == '\r') /* ^M^M - skip dupes */
175 lastc = '\r';
181 if (lastc != '\r' || c != '\n')
182 lastc = c;
184 lastc = '\n';
192 lastc = '\r';
194 if (lastc == '\n' || lastc
[all...]
H A Dlprint.c291 char *p, lastc; local
294 lastc = '\0';
316 vputc(lastc = *p);
317 if (lastc != '\n')
331 vputc(lastc = ch);
332 if (lastc != '\n')
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A Dregengine.inc733 int lastc; /* previous c */
746 lastc = c;
751 /* is there an EOL and/or BOL between lastc and c? */
754 if ( (lastc == '\n' && m->g->cflags&REG_NEWLINE) ||
755 (lastc == OUT && !(m->eflags&REG_NOTBOL)) ) {
771 if ( (flagch == BOL || (lastc != OUT && !ISWORD(lastc))) &&
775 if ( (lastc != OUT && ISWORD(lastc)) &&
840 int lastc; /* previou
[all...]
/freebsd-current/contrib/nvi/regex/
H A Dengine.c688 RCHAR_T lastc; /* previous c */ local
701 lastc = c;
706 /* is there an EOL and/or BOL between lastc and c? */
709 if ( (lastc == '\n' && m->g->cflags&REG_NEWLINE) ||
710 (lastc == OUT && !(m->eflags&REG_NOTBOL)) ) {
726 if ( (flag == BOL || (lastc != OUT && !ISWORD(lastc))) &&
730 if ( (lastc != OUT && ISWORD(lastc)) &&
773 RCHAR_T lastc; /* previou local
[all...]
/freebsd-current/lib/libc/regex/
H A Dengine.c851 wint_t lastc; /* previous c */ local
878 lastc = c;
889 /* is there an EOL and/or BOL between lastc and c? */
892 if ( (lastc == '\n' && m->g->cflags&REG_NEWLINE) ||
893 (lastc == OUT && !(m->eflags&REG_NOTBOL)) ) {
902 if (lastc == OUT && (m->eflags & REG_NOTBOL) == 0) {
920 if ( (flagch == BOL || (lastc != OUT && !ISWORD(lastc))) &&
924 if ( (lastc != OUT && ISWORD(lastc))
[all...]
/freebsd-current/contrib/nvi/common/
H A Dscreen.h84 ARG_CHAR_T lastc; /* The last display character. */ member in struct:_scr
H A Dkey.c229 if (ach && sp->lastc == ach)
231 sp->lastc = ach;
/freebsd-current/usr.bin/grep/
H A Dgrep.c319 int c, lastc, needpattern, newarg, prevoptind; local
343 lastc = '\0';
389 if (newarg || !isdigit(lastc))
624 lastc = c;
/freebsd-current/sys/kern/
H A Dtty_ttydisc.c145 unsigned char lastc = _POSIX_VDISABLE; local
152 clen = ttyinq_findchar(&tp->t_inq, breakc, clen, &lastc);
159 if (lastc == _POSIX_VDISABLE)
163 if (CMP_CC(VEOF, lastc))
197 unsigned char lastc = _POSIX_VDISABLE; local
225 &lastc);
246 if (CMP_CC(VEOF, lastc))
261 } while (uio->uio_resid > 0 && lastc == _POSIX_VDISABLE);
H A Dtty_inq.c408 char *lastc)
422 *lastc = tib->tib_data[boff];
407 ttyinq_findchar(struct ttyinq *ti, const char *breakc, size_t maxlen, char *lastc) argument
/freebsd-current/bin/sh/
H A Dexpand.c459 char lastc; local
491 lastc = *p++;
492 if (lastc == '\0')
494 if (nnl > 0 && lastc != '\n') {
498 if (strchr(ifs, lastc) != NULL) {
499 if (lastc == '\n')
502 NEXTWORD(lastc, flag, dest, dst);
505 if (quotes && syntax[(int)lastc] == CCTL)
507 USTPUTC(lastc, dest);
/freebsd-current/usr.bin/tip/tip/
H A Dcmds.c297 char *pc, lastc; local
318 lastc = '\0';
330 lastc = c;
368 if (lastc != '\n' && !boolean(value(RAWFTP)))
/freebsd-current/sys/sys/
H A Dttyqueue.h83 char *lastc);
/freebsd-current/usr.bin/diff/
H A Ddiffreg.c1247 int i, j, c, lastc, col, nc, newcol; local
1297 lastc = '\0';
1341 lastc == '.') {
1363 lastc = c;

Completed in 160 milliseconds