Lines Matching refs:viminfo_hisidx
463 static int viminfo_hisidx[HIST_COUNT] = {0, 0, 0, 0, 0}; variable
528 viminfo_hisidx[type] = 0; in prepare_viminfo_history()
545 if (viminfo_hisidx[type] < viminfo_hislen[type]) in read_viminfo_history()
574 viminfo_history[type][viminfo_hisidx[type]].hisstr = p; in read_viminfo_history()
575 viminfo_history[type][viminfo_hisidx[type]].time_set = 0; in read_viminfo_history()
576 viminfo_history[type][viminfo_hisidx[type]].viminfo = TRUE; in read_viminfo_history()
577 viminfo_history[type][viminfo_hisidx[type]].hisnum = 0; in read_viminfo_history()
578 viminfo_hisidx[type]++; in read_viminfo_history()
614 if (viminfo_hisidx[type] < viminfo_hislen[type]) in handle_viminfo_history()
628 for (idx = 0; idx < viminfo_hisidx[type]; ++idx) in handle_viminfo_history()
658 viminfo_hisidx[type]++; in handle_viminfo_history()
679 idx = *hisidx + viminfo_hisidx[type]; in concat_history()
700 for (i = 0; i < viminfo_hisidx[type]; i++) in concat_history()
711 for (i = 0; i < viminfo_hisidx[type]; i++) in concat_history()
747 max_len = hislen + viminfo_hisidx[type]; in merge_history()
756 for (i = 0; i < viminfo_hisidx[type]; i++) in merge_history()
782 for (i = 0; i < viminfo_hisidx[type]; i++) in merge_history()
811 viminfo_hisidx[type] = 0; in finish_viminfo_history()
861 else if (viminfo_hisidx[type] > 0) in write_viminfo_history()
869 && !(round == 2 && i >= viminfo_hisidx[type])) in write_viminfo_history()
934 for (i = 0; i < viminfo_hisidx[type]; ++i) in write_viminfo_history()
938 viminfo_hisidx[type] = 0; in write_viminfo_history()