Lines Matching refs:outbuff
98 static char *find_begin(char outbuff[], char *last, int endchar, int *type)
100 register char *cp=outbuff, *bp, *xp;
103 bp = outbuff;
207 int ed_expand(Edit_t *ep, char outbuff[],int *cur,int *eol,int mode, int count)
239 cp = (genchar *)outbuff + *cur;
242 *cur = ed_external((genchar*)outbuff,(char*)stakptr(0));
244 *eol = ed_external((genchar*)outbuff,outbuff);
247 out = outbuff + *cur + (sh_isoption(SH_VI)!=0);
258 begin = out = find_begin(outbuff,last,0,&var);
301 while(cp>outbuff && ((size=cp[-1])==' ' || size=='\t'))
303 if(!var && !strchr(ap->argval,'/') && (((cp==outbuff&&ep->sh->nextprompt==1) || (strchr(";&|(",size)) && (cp==outbuff+1||size=='('||cp[-2]!='>') && *begin!='~' )))
319 if(begin>outbuff && (begin[-1]=='"' || begin[-1]=='\''))
380 if(outbuff+size >= &outbuff[MAXLINE])
472 *cur = (out-outbuff);
476 *eol = (out-outbuff);
488 c = outbuff[*cur];
489 outbuff[*cur] = 0;
490 for(out=outbuff; *out;n++)
492 outbuff[*cur] = c;
494 outbuff[*eol+1] = 0;
495 *eol = ed_internal(outbuff,(genchar*)outbuff);