Searched refs:history_len (Results 1 – 3 of 3) sorted by relevance
135 static int history_len = 0; variable741 if (history_len > 1) { in linenoiseEditHistoryNext()744 free(history[history_len - 1 - l->history_index]); in linenoiseEditHistoryNext()745 history[history_len - 1 - l->history_index] = strdup(l->buf); in linenoiseEditHistoryNext()751 } else if (l->history_index >= history_len) { in linenoiseEditHistoryNext()752 l->history_index = history_len-1; in linenoiseEditHistoryNext()755 strncpy(l->buf,history[history_len - 1 - l->history_index],l->buflen); in linenoiseEditHistoryNext()892 history_len--; in linenoiseEdit()893 free(history[history_len]); in linenoiseEdit()916 history_len--; in linenoiseEdit()[all …]
33614 .bss.history_len
34445 .bss.history_len