Lines Matching refs:EditValue
498 UINT64 EditValue; in GetNumericInput() local
544 EditValue = 0; in GetNumericInput()
553 EditValue = QuestionValue->Value.date.Month; in GetNumericInput()
579 EditValue = QuestionValue->Value.date.Day; in GetNumericInput()
585 EditValue = QuestionValue->Value.date.Year; in GetNumericInput()
599 EditValue = QuestionValue->Value.time.Hour; in GetNumericInput()
605 EditValue = QuestionValue->Value.time.Minute; in GetNumericInput()
611 EditValue = QuestionValue->Value.time.Second; in GetNumericInput()
620 …ion->OpCode, (NumericOp->Flags & EFI_IFR_DISPLAY) == 0, QuestionValue, &EditValue, &Minimum, &Maxi… in GetNumericInput()
792 if ((INT64) EditValue >= (INT64) Minimum + (INT64) Step) { in GetNumericInput()
793 EditValue = EditValue - Step; in GetNumericInput()
794 } else if ((INT64) EditValue > (INT64) Minimum){ in GetNumericInput()
795 EditValue = Minimum; in GetNumericInput()
797 EditValue = Maximum; in GetNumericInput()
800 if (EditValue >= Minimum + Step) { in GetNumericInput()
801 EditValue = EditValue - Step; in GetNumericInput()
802 } else if (EditValue > Minimum){ in GetNumericInput()
803 EditValue = Minimum; in GetNumericInput()
805 EditValue = Maximum; in GetNumericInput()
810 if ((INT64) EditValue + (INT64) Step <= (INT64) Maximum) { in GetNumericInput()
811 EditValue = EditValue + Step; in GetNumericInput()
812 } else if ((INT64) EditValue < (INT64) Maximum) { in GetNumericInput()
813 EditValue = Maximum; in GetNumericInput()
815 EditValue = Minimum; in GetNumericInput()
818 if (EditValue + Step <= Maximum) { in GetNumericInput()
819 EditValue = EditValue + Step; in GetNumericInput()
820 } else if (EditValue < Maximum) { in GetNumericInput()
821 EditValue = Maximum; in GetNumericInput()
823 EditValue = Minimum; in GetNumericInput()
834 UnicodeSPrint (FormattedNumber, 21 * sizeof (CHAR16), L"%04d", (UINT16) EditValue); in GetNumericInput()
839 UnicodeSPrint (FormattedNumber, 21 * sizeof (CHAR16), L"%02d", (UINT8) EditValue); in GetNumericInput()
850 UnicodeSPrint (FormattedNumber, 21 * sizeof (CHAR16), L"%02d", (UINT8) EditValue); in GetNumericInput()
860 QuestionValue->Value.u64 = EditValue; in GetNumericInput()
911 ValidateFail = (INT64) EditValue > (INT64) Maximum ? TRUE : FALSE; in GetNumericInput()
913 ValidateFail = (INT64) EditValue < (INT64) Minimum ? TRUE : FALSE; in GetNumericInput()
920 } else if (EditValue < Minimum) { in GetNumericInput()
934 QuestionValue->Value.date.Month = (UINT8) EditValue; in GetNumericInput()
938 QuestionValue->Value.date.Day = (UINT8) EditValue; in GetNumericInput()
942 QuestionValue->Value.date.Year = (UINT16) EditValue; in GetNumericInput()
951 QuestionValue->Value.time.Hour = (UINT8) EditValue; in GetNumericInput()
955 QuestionValue->Value.time.Minute = (UINT8) EditValue; in GetNumericInput()
959 QuestionValue->Value.time.Second = (UINT8) EditValue; in GetNumericInput()
969 QuestionValue->Value.u64 = EditValue; in GetNumericInput()
997 EditValue = PreviousNumber[Count - 1]; in GetNumericInput()
1036 EditValue = LShiftU64 (EditValue, 4) + Digital; in GetNumericInput()
1041 EditValue = ~(MultU64x32 (~(EditValue - 1), 10) + (Key.UnicodeChar - L'0')) + 1; in GetNumericInput()
1043 EditValue = MultU64x32 (EditValue, 10) + (Key.UnicodeChar - L'0'); in GetNumericInput()
1047 EditValue = Digital; in GetNumericInput()
1052 EditValue = ~(Key.UnicodeChar - L'0') + 1; in GetNumericInput()
1054 EditValue = Key.UnicodeChar - L'0'; in GetNumericInput()
1066 ValidateFail = (INT64) EditValue < (INT64) Minimum ? TRUE : FALSE; in GetNumericInput()
1068 ValidateFail = (INT64) EditValue > (INT64) Maximum ? TRUE : FALSE; in GetNumericInput()
1074 EditValue = PreviousNumber[Count]; in GetNumericInput()
1078 if (EditValue > Maximum) { in GetNumericInput()
1081 EditValue = PreviousNumber[Count]; in GetNumericInput()
1090 PreviousNumber[Count] = EditValue; in GetNumericInput()