Lines Matching refs:hisnum
18 static int hisnum[HIST_COUNT] = {0, 0, 0, 0, 0}; variable
55 return &hisnum[hist_type]; in get_hisnum()
197 hisptr->hisnum = 0; in clear_hist_entry()
253 history[type][i].hisnum = ++hisnum[type]; in in_history()
321 --hisnum[histype]; in add_to_history()
340 hisptr->hisnum = ++hisnum[histype]; in add_to_history()
361 return history[histype][hisidx[histype]].hisnum; in get_history_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()
440 hisnum[histype] = 0; // reset identifier counter in clr_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()
762 && hist[i].hisnum >= j && hist[i].hisnum <= k) in ex_history()
766 hist[i].hisnum); in ex_history()