Lines Matching refs:hist
374 histentry_T *hist; in calc_hist_idx() local
381 hist = history[histype]; in calc_hist_idx()
384 while (hist[i].hisnum > num) in calc_hist_idx()
392 if (i >= 0 && hist[i].hisnum == num && hist[i].hisstr != NULL) in calc_hist_idx()
400 if (hist[i].hisstr != NULL) in calc_hist_idx()
692 histentry_T *hist; in ex_history() local
749 hist = history[histype1]; in ex_history()
753 j = (-j > hislen) ? 0 : hist[(hislen+j+idx+1) % hislen].hisnum; in ex_history()
755 k = (-k > hislen) ? 0 : hist[(hislen+k+idx+1) % hislen].hisnum; in ex_history()
761 if (hist[i].hisstr != NULL in ex_history()
762 && hist[i].hisnum >= j && hist[i].hisnum <= k) in ex_history()
766 hist[i].hisnum); in ex_history()
767 if (vim_strsize(hist[i].hisstr) > (int)Columns - 10) in ex_history()
768 trunc_string(hist[i].hisstr, IObuff + STRLEN(IObuff), in ex_history()
771 STRCAT(IObuff, hist[i].hisstr); in ex_history()