Lines Matching refs:temp
237 HIST_ENTRY *temp; in rl_maybe_replace_line() local
239 temp = current_history (); in rl_maybe_replace_line()
241 if (temp && ((UNDO_LIST *)(temp->data) != rl_undo_list)) in rl_maybe_replace_line()
243 temp = replace_history_entry (where_history (), rl_line_buffer, (histdata_t)rl_undo_list); in rl_maybe_replace_line()
244 free (temp->line); in rl_maybe_replace_line()
245 free (temp); in rl_maybe_replace_line()
358 HIST_ENTRY *temp; local
372 temp = (HIST_ENTRY *)NULL;
375 temp = next_history ();
376 if (!temp)
381 if (temp == 0)
385 rl_replace_from_history (temp, 0);
397 HIST_ENTRY *old_temp, *temp; local
415 temp = old_temp = (HIST_ENTRY *)NULL;
418 temp = previous_history ();
419 if (temp == 0)
422 old_temp = temp;
428 if (!temp && old_temp)
429 temp = old_temp;
431 if (temp == 0)
435 rl_replace_from_history (temp, 0);