• Home
  • Raw
  • Download

Lines Matching refs:Value

63   IN EFI_HII_VALUE      *Value  in HiiValueToUINT64()  argument
70 switch (Value->Type) { in HiiValueToUINT64()
72 RetVal = Value->Value.u8; in HiiValueToUINT64()
76 RetVal = Value->Value.u16; in HiiValueToUINT64()
80 RetVal = Value->Value.u32; in HiiValueToUINT64()
84 RetVal = Value->Value.b; in HiiValueToUINT64()
88 RetVal = *(UINT64*) &Value->Value.date; in HiiValueToUINT64()
92 RetVal = (*(UINT64*) &Value->Value.time) & 0xffffff; in HiiValueToUINT64()
96 RetVal = Value->Value.u64; in HiiValueToUINT64()
117 IN EFI_HII_VALUE *Value in IsTypeInBuffer() argument
120 switch (Value->Type) { in IsTypeInBuffer()
143 IN EFI_HII_VALUE *Value in IsTypeInUINT64() argument
146 switch (Value->Type) { in IsTypeInUINT64()
172 IN EFI_HII_VALUE *Value, in GetBufAndLenForValue() argument
177 switch (Value->Type) { in GetBufAndLenForValue()
179 *Buf = Value->Buffer; in GetBufAndLenForValue()
180 *BufLen = Value->BufferLen; in GetBufAndLenForValue()
184 *Buf = (UINT8 *) (&Value->Value.date); in GetBufAndLenForValue()
189 *Buf = (UINT8 *) (&Value->Value.time); in GetBufAndLenForValue()
194 *Buf = (UINT8 *) (&Value->Value.ref); in GetBufAndLenForValue()
237 if (Value1->Value.string == 0 || Value2->Value.string == 0) { in CompareHiiValue()
244 if (Value1->Value.string == Value2->Value.string) { in CompareHiiValue()
249 Str1 = GetToken (Value1->Value.string, HiiHandle); in CompareHiiValue()
257 Str2 = GetToken (Value2->Value.string, HiiHandle); in CompareHiiValue()
327 EFI_HII_VALUE Value; in ValueToOption() local
333 ZeroMem (&Value, sizeof (EFI_HII_VALUE)); in ValueToOption()
334 Value.Type = Option->OptionOpCode->Type; in ValueToOption()
335 …CopyMem (&Value.Value, &Option->OptionOpCode->Value, Option->OptionOpCode->Header.Length - OFFSET_… in ValueToOption()
337 if ((CompareHiiValue (&Value, OptionValue, &Result, NULL) == EFI_SUCCESS) && (Result == 0)) { in ValueToOption()
409 IN UINT64 Value in SetArrayData() argument
417 *(((UINT8 *) Array) + Index) = (UINT8) Value; in SetArrayData()
421 *(((UINT16 *) Array) + Index) = (UINT16) Value; in SetArrayData()
425 *(((UINT32 *) Array) + Index) = (UINT32) Value; in SetArrayData()
429 *(((UINT64 *) Array) + Index) = (UINT64) Value; in SetArrayData()
453 IN UINT64 Value, in FindArrayData() argument
468 ValueComp = (UINT8) Value; in FindArrayData()
472 ValueComp = (UINT16) Value; in FindArrayData()
476 ValueComp = (UINT32) Value; in FindArrayData()
480 ValueComp = (UINT64) Value; in FindArrayData()
520 INT64 Value; in PrintFormattedNumber() local
532 Value = (INT64) QuestionValue->Value.u64; in PrintFormattedNumber()
537 Value = (INT64) ((INT8) QuestionValue->Value.u8); in PrintFormattedNumber()
541 Value = (INT64) ((INT16) QuestionValue->Value.u16); in PrintFormattedNumber()
545 Value = (INT64) ((INT32) QuestionValue->Value.u32); in PrintFormattedNumber()
553 if (Value < 0) { in PrintFormattedNumber()
554 Value = -Value; in PrintFormattedNumber()
573 UnicodeSPrint (FormattedNumber, BufferSize, Format, Value); in PrintFormattedNumber()
887 …gUserInput->InputValue.Value.string = HiiSetString(gFormData->HiiHandle, gUserInput->InputValue.Va… in PasswordProcess()
1009 HiiValue.Value.u64 = 0; in ProcessOptions()
1011 HiiValue.Value.u64 = GetArrayData (ValueArray, ValueType, Index); in ProcessOptions()
1012 if (HiiValue.Value.u64 == 0) { in ProcessOptions()
1052 SetArrayData (ValueArray, ValueType, Index2, Option->OptionOpCode->Value.u64); in ProcessOptions()
1089 if (FindArrayData (ValueArray, ValueType, OneOfOption->OptionOpCode->Value.u64, NULL)) { in ProcessOptions()
1133 SetArrayData (ValueArray, ValueType, Index++, OneOfOption->OptionOpCode->Value.u64); in ProcessOptions()
1187 gUserInput->InputValue.Value.u8 = Option->OptionOpCode->Value.u8; in ProcessOptions()
1190 … CopyMem (&gUserInput->InputValue.Value.u16, &Option->OptionOpCode->Value.u16, sizeof (UINT16)); in ProcessOptions()
1193 … CopyMem (&gUserInput->InputValue.Value.u32, &Option->OptionOpCode->Value.u32, sizeof (UINT32)); in ProcessOptions()
1196 … CopyMem (&gUserInput->InputValue.Value.u64, &Option->OptionOpCode->Value.u64, sizeof (UINT64)); in ProcessOptions()
1228 gUserInput->InputValue.Value.b = (BOOLEAN) (QuestionValue->Value.b ? FALSE : TRUE); in ProcessOptions()
1240 if (QuestionValue->Value.b) { in ProcessOptions()
1285 if (QuestionValue->Value.date.Month == 0xff){ in ProcessOptions()
1288 …UnicodeSPrint (OptionString[0] + 1, 21 * sizeof (CHAR16), L"%02d", QuestionValue->Value.date.Month… in ProcessOptions()
1295 if (QuestionValue->Value.date.Day == 0xff){ in ProcessOptions()
1298 … UnicodeSPrint (OptionString[0] + 4, 21 * sizeof (CHAR16), L"%02d", QuestionValue->Value.date.Day); in ProcessOptions()
1305 if (QuestionValue->Value.date.Year == 0xff){ in ProcessOptions()
1308 …UnicodeSPrint (OptionString[0] + 7, 21 * sizeof (CHAR16), L"%04d", QuestionValue->Value.date.Year); in ProcessOptions()
1329 if (QuestionValue->Value.time.Hour == 0xff){ in ProcessOptions()
1332 …UnicodeSPrint (OptionString[0] + 1, 21 * sizeof (CHAR16), L"%02d", QuestionValue->Value.time.Hour); in ProcessOptions()
1339 if (QuestionValue->Value.time.Minute == 0xff){ in ProcessOptions()
1342 …UnicodeSPrint (OptionString[0] + 4, 21 * sizeof (CHAR16), L"%02d", QuestionValue->Value.time.Minut… in ProcessOptions()
1349 if (QuestionValue->Value.time.Second == 0xff){ in ProcessOptions()
1352 …UnicodeSPrint (OptionString[0] + 7, 21 * sizeof (CHAR16), L"%02d", QuestionValue->Value.time.Secon… in ProcessOptions()
1375 …gUserInput->InputValue.Value.string = HiiSetString(gFormData->HiiHandle, gUserInput->InputValue.Va… in ProcessOptions()