history_index 143 src/simh/linehistory.c int history_index; /* The history index we are currently editing. */ history_index 1068 src/simh/linehistory.c FREE(history[history_len - 1 - l->history_index]); history_index 1069 src/simh/linehistory.c history[history_len - 1 - l->history_index] = strdup(l->buf); history_index 1070 src/simh/linehistory.c if (!history[history_len - 1 - l->history_index]) history_index 1083 src/simh/linehistory.c l->history_index += ( dir == LINENOISE_HISTORY_PREV ) ? 1 : -1; history_index 1084 src/simh/linehistory.c if (l->history_index < 0) history_index 1086 src/simh/linehistory.c l->history_index = 0; history_index 1089 src/simh/linehistory.c else if (l->history_index >= history_len) history_index 1091 src/simh/linehistory.c l->history_index = history_len - 1; history_index 1095 src/simh/linehistory.c strncpy(l->buf, history[history_len - 1 - l->history_index], l->buflen); history_index 1119 src/simh/linehistory.c FREE(history[history_len - 1 - l->history_index]); history_index 1120 src/simh/linehistory.c history[history_len - 1 - l->history_index] = strdup(l->buf); history_index 1121 src/simh/linehistory.c if (!history[history_len - 1 - l->history_index]) history_index 1138 src/simh/linehistory.c cnt = history_len - 2 - l->history_index; history_index 1158 src/simh/linehistory.c l->history_index = history_len - 1 - cnt; history_index 1166 src/simh/linehistory.c cnt = history_len - l->history_index; history_index 1186 src/simh/linehistory.c l->history_index = history_len - 1 - cnt; history_index 1302 src/simh/linehistory.c l.history_index = 0;