Lines Matching full:he
99 HistEvent he; in histsave() local
119 if (history(hist, &he, H_SAVE_FP, f) < 1 || in histsave()
132 HistEvent he; in histload() local
137 if (history(hist, &he, H_LOAD, histfile) != -1 || errno == ENOENT) in histload()
230 HistEvent he; in sethistsize() local
237 history(hist, &he, H_SETSIZE, histsize); in sethistsize()
238 history(hist, &he, H_SETUNIQUE, 1); in sethistsize()
253 HistEvent he; in histcmd() local
400 history(hist, &he, H_FIRST); in histcmd()
401 retval = history(hist, &he, H_NEXT_EVENT, first); in histcmd()
402 for (;retval != -1; retval = history(hist, &he, direction)) { in histcmd()
405 out1fmt("%5d ", he.num); in histcmd()
406 out1str(he.str); in histcmd()
409 fc_replace(he.str, pat, repl) : he.str; in histcmd()
422 oldhistnum = he.num; in histcmd()
423 history(hist, &he, H_ENTER, s); in histcmd()
429 history(hist, &he, in histcmd()
439 if (he.num == last) in histcmd()
496 HistEvent he; in str_to_event() local
501 retval = history(hist, &he, H_FIRST); in str_to_event()
513 retval = history(hist, &he, H_NEXT); in str_to_event()
516 retval = history(hist, &he, H_LAST); in str_to_event()
518 retval = history(hist, &he, H_NEXT_EVENT, i); in str_to_event()
524 retval = history(hist, &he, last ? H_FIRST : H_LAST); in str_to_event()
534 retval = history(hist, &he, H_PREV_STR, str); in str_to_event()
538 return (he.num); in str_to_event()