Home
last modified time | relevance | path

Searched refs:lastc (Results 1 – 14 of 14) sorted by path

/dragonfly/bin/sh/
H A Dexpand.c467 char lastc; in expbackq() local
499 lastc = *p++; in expbackq()
500 if (lastc == '\0') in expbackq()
502 if (nnl > 0 && lastc != '\n') { in expbackq()
506 if (strchr(ifs, lastc) != NULL) { in expbackq()
507 if (lastc == '\n') in expbackq()
510 NEXTWORD(lastc, flag, dest, dst); in expbackq()
513 if (quotes && syntax[(int)lastc] == CCTL) in expbackq()
515 USTPUTC(lastc, dest); in expbackq()
/dragonfly/contrib/gdb-7/readline/
H A Disearch.c113 cxt->lastc = 0;
316 c = cxt->lastc = _rl_read_mbstring (cxt->lastc, cxt->mb, MB_LEN_MAX);
364 cxt->lastc = -3;
366 cxt->lastc = -4;
368 cxt->lastc = -5;
370 cxt->lastc = -6;
385 if (cxt->lastc > 0 && strchr (cxt->search_terminators, cxt->lastc))
407 if (cxt->lastc >= 0 && (cxt->mb[0] && cxt->mb[1] == '\0') && ENDSRCH_CHAR (cxt->lastc))
417 if (cxt->lastc >= 0 && ENDSRCH_CHAR (cxt->lastc))
421 rl_execute_next (cxt->lastc);
[all …]
H A Dreadline.c483 static int lastc, eof_found; in readline_internal_char() local
486 lastc = -1; in readline_internal_char()
540 if (((c == _rl_eof_char && lastc != c) || c == EOF) && !rl_end) in readline_internal_char()
551 lastc = c; in readline_internal_char()
H A Drlprivate.h89 int lastc; member
/dragonfly/contrib/mpfr/src/
H A Dcmp2.c39 mp_limb_t *bp, *cp, bb, cc = 0, lastc = 0, dif, high_dif = 0; in mpfr_cmp2() local
141 lastc = cp[cn] << (GMP_NUMB_BITS - diff_exp); in mpfr_cmp2()
152 while (MPFR_UNLIKELY ((cn >= 0 || lastc != 0) in mpfr_cmp2()
156 cc = lastc; in mpfr_cmp2()
166 lastc = cp[cn] << (GMP_NUMB_BITS - 1); in mpfr_cmp2()
170 lastc = 0; in mpfr_cmp2()
203 while (MPFR_UNLIKELY (bn >= 0 && (cn >= 0 || lastc != 0))) in mpfr_cmp2()
209 cc = lastc; in mpfr_cmp2()
214 lastc = cp[cn] << (GMP_NUMB_BITS - diff_exp); in mpfr_cmp2()
217 lastc = 0; in mpfr_cmp2()
[all …]
/dragonfly/contrib/nvi2/common/
H A Dkey.c228 if (ach && sp->lastc == ach) in v_key_name()
230 sp->lastc = ach; in v_key_name()
H A Dscreen.h84 ARG_CHAR_T lastc; /* The last display character. */ member
/dragonfly/contrib/nvi2/regex/
H A Dengine.c688 RCHAR_T lastc; /* previous c */ in fast() local
701 lastc = c; in fast()
709 if ( (lastc == '\n' && m->g->cflags&REG_NEWLINE) || in fast()
710 (lastc == OUT && !(m->eflags&REG_NOTBOL)) ) { in fast()
726 if ( (flag == BOL || (lastc != OUT && !ISWORD(lastc))) && in fast()
730 if ( (lastc != OUT && ISWORD(lastc)) && in fast()
773 RCHAR_T lastc; /* previous c */ in slow() local
786 lastc = c; in slow()
793 (lastc == OUT && !(m->eflags&REG_NOTBOL)) ) { in slow()
809 if ( (flag == BOL || (lastc != OUT && !ISWORD(lastc))) && in slow()
[all …]
/dragonfly/games/snake/snake/
H A Dsnake.c249 int lastc = 0; in mainloop() local
266 c = lastc; in mainloop()
270 lastc = c; in mainloop()
/dragonfly/sys/dev/netif/ath/ath_hal/
H A Dah_regdomain.c408 int low_adj, hi_adj, channelSep, lastc; in getchannels() local
513 lastc = 0; in getchannels()
549 if (lastc && channelSep && in getchannels()
550 (c-lastc) < channelSep) in getchannels()
552 lastc = c; in getchannels()
/dragonfly/usr.bin/finger/
H A Dlprint.c291 char *p, lastc; in show_text() local
294 lastc = '\0'; in show_text()
316 vputc(lastc = *p); in show_text()
317 if (lastc != '\n') in show_text()
331 vputc(lastc = ch); in show_text()
332 if (lastc != '\n') in show_text()
H A Dnet.c104 int c, lastc; in do_protocol() local
165 lastc = 0; in do_protocol()
176 if (lastc == '\r') /* ^M^M - skip dupes */ in do_protocol()
179 lastc = '\r'; in do_protocol()
185 if (lastc != '\r' || c != '\n') in do_protocol()
186 lastc = c; in do_protocol()
188 lastc = '\n'; in do_protocol()
196 lastc = '\r'; in do_protocol()
198 if (lastc == '\n' || lastc == '\r') in do_protocol()
207 if (lastc != '\n') in do_protocol()
/dragonfly/usr.bin/tip/
H A Dcmds.c397 char *pc, lastc; in transmit() local
418 lastc = '\0'; in transmit()
430 lastc = c; in transmit()
469 if (lastc != '\n' && !boolean(value(RAWFTP))) in transmit()
/dragonfly/usr.bin/window/
H A Dwwupdate.c210 union ww_char lastc; in wwupdate1() local
233 lastc = *os; in wwupdate1()
260 os[-1] = lastc; in wwupdate1()