Lines Matching refs:which
119 /* Begin a session in which the history functions might be used. This
141 /* Returns the magic number which says what history element we are
198 /* Return the history entry which is logically at OFFSET in the history array.
368 replace_history_entry (which, line, data)
369 int which;
375 if (which < 0 || which >= history_length)
379 old_value = the_history[which];
384 the_history[which] = temp;
390 NEW. WHICH says which one(s) to replace: WHICH == -1 means to replace
396 replace_history_data (which,old, new)
397 int which;
403 if (which < -2 || which >= history_length || history_length == 0 || the_history == 0)
406 if (which >= 0)
408 entry = the_history[which];
423 if (which == -1)
427 if (which == -2 && last >= 0)
438 remove_history (which)
439 int which;
444 if (which < 0 || which >= history_length || history_length == 0 || the_history == 0)
447 return_value = the_history[which];
449 for (i = which; i < history_length; i++)