Lines Matching refs:CurrentCommandIndex
168 UINT32 CurrentCommandIndex = MaxCommandIndex;
344 if (!CurrentCommandIndex)
351 if (CurrentCommandIndex > PreviousCommandIndex)
353 CurrentCommandIndex = PreviousCommandIndex;
358 NextCommand = AcpiDbGetHistoryByIndex (CurrentCommandIndex);
371 PreviousCommandIndex = CurrentCommandIndex;
372 CurrentCommandIndex--;
384 if (CurrentCommandIndex < PreviousCommandIndex)
386 CurrentCommandIndex = PreviousCommandIndex;
391 if ((CurrentCommandIndex + 1) > MaxCommandIndex)
395 PreviousCommandIndex = CurrentCommandIndex;
399 PreviousCommandIndex = CurrentCommandIndex;
400 CurrentCommandIndex++;
404 NextCommand = AcpiDbGetHistoryByIndex (CurrentCommandIndex);