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

/fuchsia/zircon/third_party/ulib/musl/src/misc/
H A Dnftw.c9 struct history { struct
10 struct history* chain;
21 int fd_limit, int flags, struct history* h) {
24 struct history new;
/fuchsia/zircon/third_party/ulib/linenoise/
H A Dlinenoise.c140 static char **history = NULL; variable
161 int history_index; /* The history index we are currently editing. */
753 /* Substitute the currently edited line with the next or previous history
759 /* Update the current history entry before to
761 free(history[history_len - 1 - l->history_index]);
762 history[history_len - 1 - l->history_index] = strdup(l->buf);
772 strncpy(l->buf,history[history_len - 1 - l->history_index],l->buflen);
847 /* The latest history entry is always our current buffer, that
882 free(history[history_len]);
906 free(history[history_le
[all...]
/fuchsia/zircon/kernel/lib/console/
H A Dconsole.cpp53 /* command history stuff */
54 static char* history; // HISTORY_LEN rows of LINE_LEN chars a piece variable
82 STATIC_COMMAND_MASKED("history", "command history", &cmd_history, CMD_AVAIL_ALWAYS)
102 return history + line * LINE_LEN;
114 printf("command history:\n");
125 /* allocate and set up the history buffer */
126 history = static_cast<char*>(calloc(1, HISTORY_LEN * LINE_LEN));
270 case 65: // up arrow -- previous history
271 case 66: // down arrow -- next history
[all...]

Completed in 34 milliseconds