history_index 140 src/simh/linehistory.c int history_index; /* The history index we are currently editing. */ history_index 1056 src/simh/linehistory.c FREE(history[history_len - 1 - l->history_index]); history_index 1057 src/simh/linehistory.c history[history_len - 1 - l->history_index] = strdup(l->buf); history_index 1058 src/simh/linehistory.c if (!history[history_len - 1 - l->history_index]) history_index 1071 src/simh/linehistory.c l->history_index += ( dir == LINENOISE_HISTORY_PREV ) ? 1 : -1; history_index 1072 src/simh/linehistory.c if (l->history_index < 0) history_index 1074 src/simh/linehistory.c l->history_index = 0; history_index 1077 src/simh/linehistory.c else if (l->history_index >= history_len) history_index 1079 src/simh/linehistory.c l->history_index = history_len - 1; history_index 1083 src/simh/linehistory.c strncpy(l->buf, history[history_len - 1 - l->history_index], l->buflen); history_index 1108 src/simh/linehistory.c FREE(history[history_len - 1 - l->history_index]); history_index 1109 src/simh/linehistory.c history[history_len - 1 - l->history_index] = strdup(l->buf); history_index 1110 src/simh/linehistory.c if (!history[history_len - 1 - l->history_index]) history_index 1127 src/simh/linehistory.c cnt = history_len - 2 - l->history_index; history_index 1148 src/simh/linehistory.c l->history_index = history_len - 1 - cnt; history_index 1156 src/simh/linehistory.c cnt = history_len - l->history_index; history_index 1177 src/simh/linehistory.c l->history_index = history_len - 1 - cnt; history_index 1293 src/simh/linehistory.c l.history_index = 0;