Searched refs:histype (Results 1 – 3 of 3) sorted by relevance
296 int histype, in add_to_history() argument321 --hisnum[histype]; in add_to_history()331 hisptr = &history[histype][hisidx[histype]]; in add_to_history()357 if (hislen == 0 || histype < 0 || histype >= HIST_COUNT in get_history_idx()361 return history[histype][hisidx[histype]].hisnum; 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()463 && histype >= 0 in del_history_entry()525 history[histype][i] = history[histype][j]; in del_history_idx()541 int histype; in f_histadd() local[all …]
1341 int histype, in cmdline_browse_history() argument1372 hiscnt = *get_hisidx(histype); in cmdline_browse_history()1373 else if (hiscnt == 0 && *get_hisidx(histype) in cmdline_browse_history()1376 else if (hiscnt != *get_hisidx(histype) + 1) in cmdline_browse_history()1387 if (hiscnt == *get_hisidx(histype)) in cmdline_browse_history()1425 p = get_histentry(histype)[hiscnt].hisstr; in cmdline_browse_history()1427 if (histype == HIST_SEARCH in cmdline_browse_history()1579 int histype; // history type to be used in getcmdline_int() local1712 histype = hist_char2type(firstc); in getcmdline_int()2442 && (some_key_typed || histype == HIST_SEARCH)) in getcmdline_int()[all …]
12 void add_to_history(int histype, char_u *new_entry, int in_map, int sep);