Searched refs:CurrentIndex (Results 1 – 4 of 4) sorted by relevance
377 UINT32 CurrentIndex; in PrioritizeBootMode()383 for ( CurrentIndex = 0; in PrioritizeBootMode()384 CurrentIndex < ARRAY_SIZE (mBootModePriority); in PrioritizeBootMode()385 CurrentIndex++) { in PrioritizeBootMode()386 if (mBootModePriority[CurrentIndex] == *CurrentBootMode) { in PrioritizeBootMode()390 if (CurrentIndex >= ARRAY_SIZE (mBootModePriority)) { in PrioritizeBootMode()405 if (NewIndex < CurrentIndex) { in PrioritizeBootMode()
52 UINT16 CurrentIndex; in GetCurrentCapsuleLastIndex() local65 CurrentIndex = (UINT16)StrHexToUintn(&CapsuleLastStr[sizeof("Capsule") - 1]); in GetCurrentCapsuleLastIndex()66 return CurrentIndex; in GetCurrentCapsuleLastIndex()80 INTN CurrentIndex; in GetNewCapsuleResultIndex() local82 CurrentIndex = GetCurrentCapsuleLastIndex(); in GetNewCapsuleResultIndex()83 if (CurrentIndex >= PcdGet16(PcdCapsuleMax)) { in GetNewCapsuleResultIndex()88 return CurrentIndex + 1; in GetNewCapsuleResultIndex()
333 UINT32 CurrentIndex; in IScsiGetConfigFormEntryByIndex() local337 CurrentIndex = 0; in IScsiGetConfigFormEntryByIndex()341 if (CurrentIndex == Index) { in IScsiGetConfigFormEntryByIndex()346 CurrentIndex++; in IScsiGetConfigFormEntryByIndex()
2727 UINTN CurrentIndex; in ConSplitterAddGraphicsOutputMode() local2747 CurrentIndex = 0; in ConSplitterAddGraphicsOutputMode()2888 CurrentIndex = Index; in ConSplitterAddGraphicsOutputMode()2899 CurrentIndex = Index; in ConSplitterAddGraphicsOutputMode()2936 CurrentIndex = 0; in ConSplitterAddGraphicsOutputMode()2952 Mode = &Private->GraphicsOutputModeBuffer[CurrentIndex]; in ConSplitterAddGraphicsOutputMode()2956 CurrentGraphicsOutputMode->Mode = (UINT32) CurrentIndex; in ConSplitterAddGraphicsOutputMode()2984 Status = Private->GraphicsOutput.SetMode (&Private->GraphicsOutput, (UINT32) CurrentIndex); in ConSplitterAddGraphicsOutputMode()