Searched refs:the_history (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.0-release/contrib/libreadline/
H A Dhistory.c52 /* The number of slots to increase the_history by. */
64 static HIST_ENTRY **the_history = (HIST_ENTRY **)NULL; variable
95 state->entries = the_history;
111 the_history = state->entries;
128 This just adds up the lengths of the_history->lines and the associated
135 for (i = result = 0; the_history && the_history[i]; i++)
136 result += HISTENT_BYTES (the_history[i]);
155 if (pos > history_length || pos < 0 || !the_history)
167 return (the_history);
[all...]
H A Dhistfile.c456 HIST_ENTRY **the_history; /* local */ local
461 the_history = history_list ();
465 buffer_size += 2 + HISTENT_BYTES (the_history[i]);
468 if (history_write_timestamps && the_history[i]->timestamp && the_history[i]->timestamp[0])
469 buffer_size += strlen (the_history[i]->timestamp) + 1;
470 buffer_size += strlen (the_history[i]->line) + 1;
500 if (history_write_timestamps && the_history[i]->timestamp && the_history[i]->timestamp[0])
502 strcpy (buffer + j, the_history[
[all...]
H A Dhistsearch.c71 HIST_ENTRY **the_history; /* local */ local
88 the_history = history_list ();
98 line = the_history[i]->line;

Completed in 111 milliseconds