Searched refs:HIST_COUNT (Results 1 – 3 of 3) sorted by relevance
| /vim-8.2.3635/src/ |
| H A D | cmdhist.c | 16 static histentry_T *(history[HIST_COUNT]) = {NULL, NULL, NULL, NULL, NULL}; 17 static int hisidx[HIST_COUNT] = {-1, -1, -1, -1, -1}; // lastused entry 18 static int hisnum[HIST_COUNT] = {0, 0, 0, 0, 0}; 132 for (type = 0; type < HIST_COUNT; ++type) // adjust the tables in init_history() 357 if (hislen == 0 || histype < 0 || histype >= HIST_COUNT in get_history_idx() 377 if (hislen == 0 || histype < 0 || histype >= HIST_COUNT in calc_hist_idx() 430 if (hislen != 0 && histype >= 0 && histype < HIST_COUNT) in clr_history() 464 && histype < HIST_COUNT in del_history_entry() 646 if (i >= HIST_CMD && i < HIST_COUNT) in f_histnr() 722 histype2 = HIST_COUNT-1; in ex_history()
|
| H A D | viminfo.c | 461 static histentry_T *viminfo_history[HIST_COUNT] = 463 static int viminfo_hisidx[HIST_COUNT] = {0, 0, 0, 0, 0}; 464 static int viminfo_hislen[HIST_COUNT] = {0, 0, 0, 0, 0}; 508 for (type = 0; type < HIST_COUNT; ++type) in prepare_viminfo_history() 612 if (type >= HIST_COUNT) in handle_viminfo_history() 800 for (type = 0; type < HIST_COUNT; ++type) in finish_viminfo_history() 834 for (type = 0; type < HIST_COUNT; ++type) in write_viminfo_history()
|
| H A D | vim.h | 1128 #define HIST_COUNT 5 // number of history tables macro
|