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

/freebsd-11.0-release/usr.bin/finger/
H A Dnet.c112 wint_t c, lastc; local
168 lastc = 0;
179 if (lastc == '\r') /* ^M^M - skip dupes */
182 lastc = '\r';
188 if (lastc != '\r' || c != '\n')
189 lastc = c;
191 lastc = '\n';
199 lastc = '\r';
201 if (lastc == '\n' || lastc
[all...]
H A Dlprint.c298 char *p, lastc; local
301 lastc = '\0';
323 vputc(lastc = *p);
324 if (lastc != '\n')
338 vputc(lastc = ch);
339 if (lastc != '\n')
/freebsd-11.0-release/contrib/libreadline/
H A Disearch.c109 cxt->lastc = 0;
307 c = cxt->lastc = rl_read_key ();
312 c = cxt->lastc = _rl_read_mbstring (cxt->lastc, cxt->mb, MB_LEN_MAX);
344 cxt->lastc = (cxt->sflags & SF_REVERSE) ? -1 : -2;
346 cxt->lastc = (cxt->sflags & SF_REVERSE) ? -2 : -1;
348 cxt->lastc = -3;
350 cxt->lastc = -4;
352 cxt->lastc = -5;
354 cxt->lastc
[all...]
H A Dreadline.c450 static int lastc, eof_found; local
453 lastc = -1;
507 if (((c == _rl_eof_char && lastc != c) || c == EOF) && !rl_end)
518 lastc = c;
H A Drlprivate.h71 int lastc; member in struct:__rl_search_context
/freebsd-11.0-release/contrib/llvm/lib/Support/
H A Dregengine.inc691 int lastc; /* previous c */
704 lastc = c;
709 /* is there an EOL and/or BOL between lastc and c? */
712 if ( (lastc == '\n' && m->g->cflags&REG_NEWLINE) ||
713 (lastc == OUT && !(m->eflags&REG_NOTBOL)) ) {
729 if ( (flagch == BOL || (lastc != OUT && !ISWORD(lastc))) &&
733 if ( (lastc != OUT && ISWORD(lastc)) &&
776 int lastc; /* previou
[all...]
/freebsd-11.0-release/lib/libc/regex/
H A Dengine.c776 wint_t lastc; /* previous c */ local
801 lastc = c;
810 /* is there an EOL and/or BOL between lastc and c? */
813 if ( (lastc == '\n' && m->g->cflags&REG_NEWLINE) ||
814 (lastc == OUT && !(m->eflags&REG_NOTBOL)) ) {
830 if ( (flagch == BOL || (lastc != OUT && !ISWORD(lastc))) &&
834 if ( (lastc != OUT && ISWORD(lastc)) &&
882 wint_t lastc; /* previou local
[all...]
/freebsd-11.0-release/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-11.0-release/usr.bin/grep/
H A Dgrep.c343 int c, lastc, needpattern, newarg, prevoptind; local
377 lastc = '\0';
422 if (newarg || !isdigit(lastc))
665 lastc = c;
/freebsd-11.0-release/contrib/nvi/common/
H A Dscreen.h86 ARG_CHAR_T lastc; /* The last display character. */ member in struct:_scr
H A Dkey.c239 if (ach && sp->lastc == ach)
241 sp->lastc = ach;
/freebsd-11.0-release/sys/sys/
H A Dttyqueue.h82 char *lastc);
/freebsd-11.0-release/usr.bin/tip/tip/
H A Dcmds.c305 char *pc, lastc; local
326 lastc = '\0';
338 lastc = c;
376 if (lastc != '\n' && !boolean(value(RAWFTP)))
/freebsd-11.0-release/bin/sh/
H A Dexpand.c452 char lastc; local
483 lastc = *p++;
484 if (lastc == '\0')
486 if (lastc == '\n') {
501 if (strchr(ifs, lastc) != NULL)
502 NEXTWORD(lastc, flag, dest, dst);
505 if (quotes && syntax[(int)lastc] == CCTL)
507 USTPUTC(lastc, dest);
/freebsd-11.0-release/contrib/amd/hlfsd/
H A Dhomedir.c779 plt_dump(uid2home_t *lastc, pid_t this) argument
787 (int) (lastc ? lastc->child : -999));
/freebsd-11.0-release/sys/kern/
H A Dtty_inq.c345 char *lastc)
359 *lastc = tib->tib_data[boff];
344 ttyinq_findchar(struct ttyinq *ti, const char *breakc, size_t maxlen, char *lastc) argument
H A Dtty_ttydisc.c113 unsigned char lastc = _POSIX_VDISABLE; local
149 &lastc);
165 if (CMP_CC(VEOF, lastc))
175 } while (uio->uio_resid > 0 && lastc == _POSIX_VDISABLE);

Completed in 579 milliseconds