Lines Matching refs:action
687 cmd_updown(action) in cmd_updown() argument
688 int action; in cmd_updown()
712 ml = (action == EC_UP) ? ml->prev : ml->next;
821 int action; local
849 action = editchar(c, flags);
851 switch (action)
913 return (cmd_updown(action));
919 return (cmd_complete(action));
938 int action; local
945 action = cmd_ichar(os, s - os);
946 if (action != CC_OK)
949 return (action);
1112 next_compl(action, prev) in next_compl() argument
1113 int action; in next_compl()
1116 switch (action)
1134 cmd_complete(action) in cmd_complete() argument
1135 int action; in cmd_complete()
1139 if (!in_completion || action == EC_EXPAND)
1152 if (action == EC_EXPAND)
1165 tk_trial = next_compl(action, (char*)NULL);
1173 tk_trial = next_compl(action, tk_trial);
1235 int action; local
1301 action = cmd_edit(c);
1302 switch (action)
1306 return (action);
1419 read_cmdhist2(action, uparam, skip_search, skip_shell)
1420 void (*action)(void*,struct mlist*,char*);
1475 (*action)(uparam, ml, line+1);
1483 read_cmdhist(action, uparam, skip_search, skip_shell)
1484 void (*action)(void*,struct mlist*,char*);
1489 read_cmdhist2(action, uparam, skip_search, skip_shell);
1490 (*action)(uparam, NULL, NULL); /* signal end of file */