Lines Matching refs:historyLine
545 int32 historyLine = 0;
549 historyLine = currentHistoryLine - 1;
550 if (historyLine < 0)
551 historyLine = HISTORY_SIZE - 1;
557 historyLine = currentHistoryLine + 1;
558 if (historyLine >= HISTORY_SIZE)
559 historyLine = 0;
564 if (historyLine == sCurrentLine) {
565 sLineBuffer[historyLine][0] = '\0';
566 } else if (sLineBuffer[historyLine][0] == '\0') {
575 strcpy(buffer, sLineBuffer[historyLine]);
578 currentHistoryLine = historyLine;
591 int32 historyLine = currentHistoryLine;
593 historyLine = (historyLine + searchDirection
595 if (historyLine == sCurrentLine)
598 if (strncmp(sLineBuffer[historyLine], buffer,
606 if (!found || strlen(sLineBuffer[historyLine]) == 0)
611 strcpy(buffer, sLineBuffer[historyLine]);
617 currentHistoryLine = historyLine;