Lines Matching refs:mode
102 int mode=*type;
128 if(mode!='*' && (isaletter(c) || c=='{'))
159 *type = mode;
202 * mode is '*' for inline expansion,
203 * mode is '\' for filename completion
204 * mode is '=' cause files to be listed in select format
207 int ed_expand(Edit_t *ep, char outbuff[],int *cur,int *eol,int mode, int count)
218 if(mode=='=' && count>0)
222 mode = '?';
257 var = mode;
285 if(mode=='?')
286 mode = '*';
287 if(var!='$' && mode=='\\' && out[-1]!='*')
294 if(mode!='*')
335 if(mode=='=')
353 if(mode=='\\')
388 if(cmd_completion && mode=='\\')
390 else if(mode=='*')
407 if(mode=='\\')
417 mode = (out==saveout);
420 if(mode && out[-1]!='/')