Searched refs:hisidx (Results 1 – 2 of 2) sorted by relevance
49 return &hisidx[hist_type]; in get_hisidx()172 j = hisidx[type]; in init_history()181 if (j == hisidx[type]) in init_history()219 if (hisidx[type] < 0) in in_history()221 i = hisidx[type]; in in_history()246 while (i != hisidx[type]) in in_history()330 hisidx[histype] = 0; in add_to_history()496 hisidx[histype] = -1; in del_history_entry()531 hisidx[histype] = i; in del_history_idx()665 i = hisidx[HIST_CMD]; in remove_key_from_history()[all …]
676 int *hisidx = get_hisidx(type); in concat_history() local685 *hisidx = idx; in concat_history()688 if (*hisidx == -1) in concat_history()689 *hisidx = hislen - 1; in concat_history()696 } while (idx != *hisidx); in concat_history()697 if (idx != *hisidx && --idx < 0) in concat_history()743 int *hisidx = get_hisidx(type); in merge_history() local779 *hisidx = (i < len ? i : len) - 1; in merge_history()837 int *hisidx = get_hisidx(type); in write_viminfo_history() local860 i = *hisidx; in write_viminfo_history()[all …]