Lines Matching refs:history
202 if (history(h, &ev, op) != 0) in _move_history()
316 history(h, &ev, H_SETSIZE, INT_MAX); /* unlimited */ in rl_initialize()
319 el_set(e, EL_HIST, history, h); in rl_initialize()
434 history(h, &ev, H_GETSIZE); in readline()
522 if (history(h, &ev, H_FIRST) != 0) in get_history_event()
580 if (history(h, &ev, H_CURR) != 0) { in get_history_event()
599 history(h, &ev, H_FIRST); in get_history_event()
615 if (history(h, &ev, H_CURR) != 0) in get_history_event()
621 (void)history(h, &ev, H_SET, num); in get_history_event()
1140 if (history(h, &ev, H_SETSIZE, max) == 0) in stifle_history()
1154 history(h, &ev, H_SETSIZE, INT_MAX); in unstifle_history()
1319 return history(h, &ev, H_LOAD, filename) == -1 ? in read_history()
1336 return history(h, &ev, H_SAVE, filename) == -1 ? in write_history()
1357 if (history(h, &ev, H_CURR) != 0) in history_get()
1362 if (history(h, &ev, H_LAST) != 0) in history_get()
1366 if (history(h, &ev, H_NEXT_EVDATA, num, &she.data)) in history_get()
1372 (void)history(h, &ev, H_SET, curr_num); in history_get()
1392 (void)history(h, &ev, H_ENTER, line); in add_history()
1393 if (history(h, &ev, H_GETSIZE) == 0) in add_history()
1415 if (history(h, &ev, H_DELDATA, num, &he->data) != 0) { in remove_history()
1421 if (history(h, &ev, H_GETSIZE) == 0) in remove_history()
1442 if (history(h, &ev, H_CURR) != 0) in replace_history_entry()
1447 if (history(h, &ev, H_LAST) != 0) in replace_history_entry()
1454 if (history(h, &ev, H_NEXT_EVDATA, num, &he->data)) in replace_history_entry()
1461 if (history(h, &ev, H_REPLACE, line, data)) in replace_history_entry()
1465 if (history(h, &ev, H_SET, curr_num)) in replace_history_entry()
1482 (void)history(h, &ev, H_CLEAR); in clear_history()
1496 if (history(h, &ev, H_CURR) != 0) in where_history()
1500 (void)history(h, &ev, H_FIRST); in where_history()
1502 while (ev.num != curr_num && history(h, &ev, H_NEXT) == 0) in where_history()
1530 if (history(h, &ev, H_CURR) != 0) in history_total_bytes()
1534 (void)history(h, &ev, H_FIRST); in history_total_bytes()
1538 while (history(h, &ev, H_NEXT) == 0); in history_total_bytes()
1541 history(h, &ev, H_PREV_EVENT, curr_num); in history_total_bytes()
1559 (void)history(h, &ev, H_CURR); in history_set_pos()
1566 if (history(h, &ev, H_DELDATA, pos, (void **)-1)) { in history_set_pos()
1567 (void)history(h, &ev, H_SET, curr_num); in history_set_pos()
1606 if (history(h, &ev, H_CURR) != 0) in history_search()
1613 if (history(h, &ev, direction < 0 ? H_NEXT:H_PREV) != 0) in history_search()
1616 (void)history(h, &ev, H_SET, curr_num); in history_search()
1629 return (history(h, &ev, direction < 0 ? in history_search_prefix()
1649 if (history(h, &ev, H_CURR) != 0) in history_search_pos()
1653 if (history_set_pos(off) != 0 || history(h, &ev, H_CURR) != 0) in history_search_pos()
1659 if (history(h, &ev, (pos < 0) ? H_PREV : H_NEXT) != 0) in history_search_pos()
1664 (void)history(h, &ev, in history_search_pos()