Lines Matching refs:hist
78 History *hist; /* history cookie */
116 if (!hist) {
121 hist = history_init();
124 if (hist != NULL) {
174 if (hist)
175 el_set(el, EL_HIST, history, hist);
214 if (hist) {
215 history_end(hist);
216 hist = NULL;
262 (hs == NULL ? "''" : hs), flags, "!hist" + (hist != NULL)));
271 if (hist != NULL) {
274 history(hist, &he, H_SETSIZE, histsize + 1);
275 history(hist, &he, H_SETUNIQUE, 1);
287 (hs == NULL ? "''" : hs), flags, "!hist" + (hist != NULL)));
302 if (hist != NULL) {
309 history(hist, &he, H_LOAD, file);
343 (s == NULL ? "''" : s), flags, "!hist" + (hist != NULL)));
365 if (hist != NULL &&
532 if (hist == NULL)
552 (void) history(hist, &he, H_SAVE_FP, fp);
629 if (hist == NULL)
678 history(hist, &he, H_CLEAR);
835 history(hist, &he, H_FIRST);
836 retval = history(hist, &he, H_NEXT_EVENT, first);
837 for ( ; retval != -1; retval = history(hist, &he, direction)) {
854 if (displayhist && hist) {
859 history(hist, &he, H_ENTER, s);
1050 retval = history(hist, &he, H_FIRST);
1062 retval = history(hist, &he, H_NEXT);
1065 retval = history(hist, &he, H_LAST);
1067 retval = history(hist, &he, H_NEXT_EVENT, i);
1073 retval = history(hist, &he,
1083 retval = history(hist, &he, H_PREV_STR, str);