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);
263 begin = out = find_begin(outbuff,last,0,&var);
306 while(cp>outbuff && ((size=cp[-1])==' ' || size=='\t'))
308 if(!var && !strchr(ap->argval,'/') && (((cp==outbuff&&ep->sh->nextprompt==1) || (strchr(";&|(",size)) && (cp==outbuff+1||size=='('||cp[-2]!='>') && *begin!='~' )))
324 if(begin>outbuff && (begin[-1]=='"' || begin[-1]=='\''))
387 if(outbuff+size >= &outbuff[MAXLINE])
479 *cur = (out-outbuff);
483 *eol = (out-outbuff);
495 c = outbuff[*cur];
496 outbuff[*cur] = 0;
497 for(out=outbuff; *out;n++)
499 outbuff[*cur] = c;
501 outbuff[*eol+1] = 0;
502 *eol = ed_internal(outbuff,(genchar*)outbuff);