Lines Matching refs:idx_first
470 UINTN idx_first;
516 idx_first = config->idx_default-1;
518 idx_first = 0;
520 idx_last = idx_first + visible_max-1;
572 if (i < idx_first || i > idx_last)
574 uefi_call_wrapper(ST->ConOut->SetCursorPosition, 3, ST->ConOut, 0, y_start + i - idx_first);
583 uefi_call_wrapper(ST->ConOut->SetCursorPosition, 3, ST->ConOut, x_start-3, y_start + i - idx_first);
589 uefi_call_wrapper(ST->ConOut->SetCursorPosition, 3, ST->ConOut, 0, y_start + idx_highlight_prev - idx_first);
593 uefi_call_wrapper(ST->ConOut->SetCursorPosition, 3, ST->ConOut, x_start-3, y_start + idx_highlight_prev - idx_first);
597 uefi_call_wrapper(ST->ConOut->SetCursorPosition, 3, ST->ConOut, 0, y_start + idx_highlight - idx_first);
601 uefi_call_wrapper(ST->ConOut->SetCursorPosition, 3, ST->ConOut, x_start-3, y_start + idx_highlight - idx_first);
809 idx_first = 1 + idx_highlight - visible_max;
811 } else if (idx_highlight < idx_first) {
812 idx_first = idx_highlight;