Lines Matching refs:num
499 history_length = ev.num; in readline()
577 int idx, sign, sub, num, begin, ret; in get_history_event() local
603 num = 0; in get_history_event()
605 num = num * 10 + cmd[idx] - '0'; in get_history_event()
609 num = history_length - num + history_base; in get_history_event()
611 if (!(he = history_get(num))) in get_history_event()
651 num = ev.num; in get_history_event()
685 (void)history(h, &ev, H_SET, num); in get_history_event()
1438 history_length = ev.num; in read_history()
1490 history_get(int num) in history_get() argument
1499 if (num < history_base) in history_get()
1505 curr_num = ev.num; in history_get()
1511 if (history(h, &ev, H_DELDATA, num - history_base, (void **)-1) != 0) in history_get()
1517 if (history(h, &ev, H_NEXT_EVDATA, ev.num, &she.data) != 0) in history_get()
1548 if (ev.num == history_length) in add_history()
1552 history_length = ev.num; in add_history()
1562 remove_history(int num) in remove_history() argument
1573 if (history(h, &ev, H_DELDATA, num, &he->data) != 0) { in remove_history()
1580 history_length = ev.num; in remove_history()
1590 replace_history_entry(int num, const char *line, histdata_t data) in replace_history_entry() argument
1602 curr_num = ev.num; in replace_history_entry()
1612 if (history(h, &ev, H_NEXT_EVDATA, num, &he->data)) in replace_history_entry()
1721 curr_num = ev.num; in history_total_bytes()
1801 curr_num = ev.num; in history_search()
1844 curr_num = ev.num; in history_search_pos()