Lines Matching refs:entry
582 /* _py_free_history_entry: Utility function to free a history entry. */
586 /* Readline version >= 5.0 introduced a timestamp field into the history entry
592 _py_free_history_entry(HIST_ENTRY *entry)
594 histdata_t data = free_history_entry(entry);
603 _py_free_history_entry(HIST_ENTRY *entry)
605 if (entry->line)
606 free((void *)entry->line);
607 if (entry->data)
608 free(entry->data);
609 free(entry);
627 HIST_ENTRY *entry;
634 entry = remove_history(entry_number);
635 if (!entry) {
641 /* free memory allocated for the history entry */
642 _py_free_history_entry(entry);
685 /* free memory allocated for the old history entry */