Searched refs:history (Results 1 - 3 of 3) sorted by relevance
/system/core/liblinenoise/ |
H A D | linenoise.c | 91 char **history = NULL; variable 107 if (history) { 111 free(history[j]); 112 free(history); 224 /* The latest history entry is always our current buffer, that 295 /* up and down arrow: history */ 297 /* Update the current history entry before to 299 free(history[history_len-1-history_index]); 300 history[history_len-1-history_index] = strdup(buf); 310 strncpy(buf,history[history_le [all...] |
/system/core/sh/ |
H A D | histedit.c | 50 * Editline and history functions (and glue). 68 History *hist; /* history cookie */ 80 * Set history and editing status. Called whenever the status may 93 * turn history on 102 out2str("sh: can't initialize history\n"); 133 el_set(el, EL_HIST, history, hist); 179 history(hist, &he, H_SETSIZE, histsize); 251 error("history not active"); 254 error("missing history argument"); 367 * to the history elemen [all...] |
H A D | input.c | 224 /* Add non-blank lines to history. */ 353 history(hist, &he, whichprompt == 1? H_ENTER : H_APPEND,
|
Completed in 73 milliseconds