Lines Matching refs:he
601 HIST_ENTRY *he; in get_history_event() local
611 if (!(he = history_get(num))) in get_history_event()
615 return he->line; in get_history_event()
1241 HIST_ENTRY *he; in stifle_history() local
1251 he = remove_history(0); in stifle_history()
1252 el_free(he->data); in stifle_history()
1253 el_free((void *)(unsigned long)he->line); in stifle_history()
1254 el_free(he); in stifle_history()
1564 HIST_ENTRY *he; in remove_history() local
1570 if ((he = el_malloc(sizeof(*he))) == NULL) in remove_history()
1573 if (history(h, &ev, H_DELDATA, num, &he->data) != 0) { in remove_history()
1574 el_free(he); in remove_history()
1578 he->line = ev.str; in remove_history()
1582 return he; in remove_history()
1592 HIST_ENTRY *he; in replace_history_entry() local
1608 if ((he = el_malloc(sizeof(*he))) == NULL) in replace_history_entry()
1612 if (history(h, &ev, H_NEXT_EVDATA, num, &he->data)) in replace_history_entry()
1615 he->line = ev.str; in replace_history_entry()
1616 if (he->line == NULL) in replace_history_entry()
1626 return he; in replace_history_entry()
1628 el_free(he); in replace_history_entry()
2613 free_history_entry(HIST_ENTRY *he) in free_history_entry() argument
2615 return he ? NULL : NULL; in free_history_entry()