Searched refs:LOOKAHEAD (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/ksh93/edit/
H A Dcompletion.c516 genchar buff[LOOKAHEAD+1];
529 if( strlen(out) > LOOKAHEAD )
531 c = out[LOOKAHEAD];
532 out[LOOKAHEAD] = 0;
536 out[LOOKAHEAD] = c;
538 strncpy((char*)buff,out,LOOKAHEAD);
539 buff[LOOKAHEAD] = 0;
H A Dedit.c779 if(n > LOOKAHEAD)
780 n = LOOKAHEAD;
1035 char readin[LOOKAHEAD+1];
1042 if((n=ed_read(ep,ep->e_fd,readin,-LOOKAHEAD,0)) > 0)
1084 if(n=keytrap(ep,readin,n,LOOKAHEAD-n,mode))
1109 if (ep->e_lookahead < LOOKAHEAD)
/ast/src/cmd/ie/
H A Dedit.h37 #define LOOKAHEAD 80 macro
41 # define READAHEAD LOOKAHEAD
100 int e_lbuf[LOOKAHEAD];/* pointer to look-ahead buffer */
H A Dedit.c667 genchar buff[LOOKAHEAD+1];
679 int c = out[LOOKAHEAD];
680 out[LOOKAHEAD] = 0;
682 out[LOOKAHEAD] = c;
684 strncpy((char*)buff,out,LOOKAHEAD);
953 char readin[LOOKAHEAD] ;
1057 if (lookahead < LOOKAHEAD)
/ast/src/cmd/ksh93/include/
H A Dedit.h48 #define LOOKAHEAD 80 macro
125 int e_lbuf[LOOKAHEAD];/* pointer to look-ahead buffer */

Completed in 15 milliseconds