Home
last modified time | relevance | path

Searched refs:eventno (Results 1 – 6 of 6) sorted by relevance

/external/libedit/src/
Dcommon.c644 int sv_event = el->el_history.eventno; in ed_prev_history()
649 if (el->el_history.eventno == 0) { /* save the current buffer in ed_prev_history()
656 el->el_history.eventno += el->el_state.argument; in ed_prev_history()
660 el->el_history.eventno = sv_event; in ed_prev_history()
686 el->el_history.eventno -= el->el_state.argument; in ed_next_history()
688 if (el->el_history.eventno < 0) { in ed_next_history()
689 el->el_history.eventno = 0; in ed_next_history()
715 if (el->el_history.eventno < 0) { in ed_search_prev_history()
720 el->el_history.eventno = 0; in ed_search_prev_history()
723 if (el->el_history.eventno == 0) { in ed_search_prev_history()
[all …]
Dsearch.c192 el->el_history.eventno); in c_setpat()
218 int ohisteventno = el->el_history.eventno; in ce_inc_search()
359 el->el_history.eventno = in ce_inc_search()
409 if (el->el_history.eventno != in ce_inc_search()
411 el->el_history.eventno = in ce_inc_search()
436 if (el->el_history.eventno != ohisteventno) { in ce_inc_search()
437 el->el_history.eventno = ohisteventno; in ce_inc_search()
Dhist.c103 if (el->el_history.eventno == 0) { /* if really the current line */ in hist_get()
126 for (h = 1; h < el->el_history.eventno; h++) in hist_get()
128 el->el_history.eventno = h; in hist_get()
Dvi.c959 int sv_event_no = el->el_history.eventno; in vi_to_history_line()
963 if (el->el_history.eventno == 0) { in vi_to_history_line()
972 el->el_history.eventno = 0x7fffffff; in vi_to_history_line()
980 el->el_history.eventno = 1; in vi_to_history_line()
983 el->el_history.eventno = 1 + el->el_history.ev.num in vi_to_history_line()
985 if (el->el_history.eventno < 0) { in vi_to_history_line()
986 el->el_history.eventno = sv_event_no; in vi_to_history_line()
992 el->el_history.eventno = sv_event_no; in vi_to_history_line()
Dhist.h51 int eventno; /* Event we are looking for */ member
Dchared.c479 el->el_history.eventno = 0; in ch_reset()