history_index 145 src/simh/linehistory.c int history_index; /* The history index we are currently editing. */ history_index 1061 src/simh/linehistory.c FREE(history[history_len - 1 - l->history_index]); history_index 1062 src/simh/linehistory.c history[history_len - 1 - l->history_index] = strdup(l->buf); history_index 1063 src/simh/linehistory.c if (!history[history_len - 1 - l->history_index]) history_index 1076 src/simh/linehistory.c l->history_index += ( dir == LINENOISE_HISTORY_PREV ) ? 1 : -1; history_index 1077 src/simh/linehistory.c if (l->history_index < 0) history_index 1079 src/simh/linehistory.c l->history_index = 0; history_index 1082 src/simh/linehistory.c else if (l->history_index >= history_len) history_index 1084 src/simh/linehistory.c l->history_index = history_len - 1; history_index 1088 src/simh/linehistory.c strncpy(l->buf, history[history_len - 1 - l->history_index], l->buflen); history_index 1113 src/simh/linehistory.c FREE(history[history_len - 1 - l->history_index]); history_index 1114 src/simh/linehistory.c history[history_len - 1 - l->history_index] = strdup(l->buf); history_index 1115 src/simh/linehistory.c if (!history[history_len - 1 - l->history_index]) history_index 1132 src/simh/linehistory.c cnt = history_len - 2 - l->history_index; history_index 1153 src/simh/linehistory.c l->history_index = history_len - 1 - cnt; history_index 1161 src/simh/linehistory.c cnt = history_len - l->history_index; history_index 1182 src/simh/linehistory.c l->history_index = history_len - 1 - cnt; history_index 1298 src/simh/linehistory.c l.history_index = 0;