Lines Matching refs:temp
338 HIST_ENTRY *temp;
340 temp = current_history ();
342 if (temp && ((UNDO_LIST *)(temp->data) != rl_undo_list))
344 temp = replace_history_entry (where_history (), rl_line_buffer, (histdata_t)rl_undo_list);
345 free (temp->line);
346 FREE (temp->timestamp);
347 free (temp);
466 HIST_ENTRY *temp;
480 temp = (HIST_ENTRY *)NULL;
483 temp = next_history ();
484 if (!temp)
489 if (temp == 0)
493 rl_replace_from_history (temp, 0);
505 HIST_ENTRY *old_temp, *temp;
523 temp = old_temp = (HIST_ENTRY *)NULL;
526 temp = previous_history ();
527 if (temp == 0)
530 old_temp = temp;
536 if (!temp && old_temp)
537 temp = old_temp;
539 if (temp == 0)
543 rl_replace_from_history (temp, 0);