Searched refs:oldc (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libcmd/
H A Dwclib.c340 int oldc; local
419 oldc = *cp;
423 oldc = *cp;
429 if(state && (state=chkstate(state,oldc)))
439 oldc = *cp;
/ast/src/cmd/ie/
H A Dhistory.c442 register int oldc = 0; local
467 oldc = 0;
472 if(oldc==H_CMDNO && incr==0)
478 else if(oldc == 0)
492 oldc = c;
643 register int oldc=0; local
654 if(c && oldc=='\n')
656 else if(oldc==last && c=='\n')
660 else if(oldc)
661 p_char(oldc);
[all...]
/ast/src/cmd/builtin/
H A Dtr.c428 register int oldc = -1; local
480 if (!(c & DELBIT) && c != oldc)
483 oldc = c | ONEBIT;
/ast/src/cmd/ksh93/edit/
H A Dhistory.c923 register int oldc=0; local
933 if(c && oldc=='\n')
935 else if(last && (c==0 || (c=='\n' && oldc==last)))
937 else if(oldc)
938 sfputc(outfile,oldc);
939 oldc = c;

Completed in 17 milliseconds