Home
last modified time | relevance | path

Searched refs:StorageWidth (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/
DVarCheckHiiLibNullClass.c97 if ((UINTN) (HiiQuestion->VarOffset + HiiQuestion->StorageWidth) > DataSize) { in VarCheckHiiQuestion()
98 …orageWidth(0x%02x)) > Size(0x%x)\n", HiiQuestion->VarOffset, HiiQuestion->StorageWidth, DataSize)); in VarCheckHiiQuestion()
103 CopyMem (&OneData, (UINT8 *) Data + HiiQuestion->VarOffset, HiiQuestion->StorageWidth); in VarCheckHiiQuestion()
110 CopyMem (&OneValue, Ptr, HiiQuestion->StorageWidth); in VarCheckHiiQuestion()
117 Ptr += HiiQuestion->StorageWidth; in VarCheckHiiQuestion()
141 CopyMem (&Minimum, Ptr, HiiQuestion->StorageWidth); in VarCheckHiiQuestion()
142 Ptr += HiiQuestion->StorageWidth; in VarCheckHiiQuestion()
143 CopyMem (&Maximum, Ptr, HiiQuestion->StorageWidth); in VarCheckHiiQuestion()
144 Ptr += HiiQuestion->StorageWidth; in VarCheckHiiQuestion()
158 if ((UINTN) (HiiQuestion->VarOffset + HiiQuestion->StorageWidth * MaxContainers) > DataSize) { in VarCheckHiiQuestion()
[all …]
DInternalVarCheckStructure.h44 UINT8 StorageWidth; member
51 UINT8 StorageWidth; member
59 UINT8 StorageWidth; member
66 UINT8 StorageWidth; member
75 UINT8 StorageWidth; member
DVarCheckHiiGen.c504 …on1->OpCode == HiiQuestion2->OpCode) && (HiiQuestion1->StorageWidth == HiiQuestion2->StorageWidth)… in MergeHiiQuestion()
520 CopyMem (&OneValue2, Ptr2, HiiQuestion2->StorageWidth); in MergeHiiQuestion()
525 CopyMem (&OneValue1, Ptr1, HiiQuestion1->StorageWidth); in MergeHiiQuestion()
532 Ptr1 += HiiQuestion1->StorageWidth; in MergeHiiQuestion()
538 NewLength = (UINT8) (NewLength + HiiQuestion1->StorageWidth); in MergeHiiQuestion()
540 Ptr2 += HiiQuestion2->StorageWidth; in MergeHiiQuestion()
559 CopyMem (&OneValue2, Ptr2, HiiQuestion2->StorageWidth); in MergeHiiQuestion()
564 CopyMem (&OneValue1, Ptr1, HiiQuestion1->StorageWidth); in MergeHiiQuestion()
571 Ptr1 += HiiQuestion1->StorageWidth; in MergeHiiQuestion()
577 CopyMem (Ptr, &OneValue2, HiiQuestion1->StorageWidth); in MergeHiiQuestion()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckPcdLib/
DVarCheckPcdLibNullClass.c105 CopyMem (&OneData, (UINT8 *) Data + PcdValidData->VarOffset, PcdValidData->StorageWidth); in VarCheckPcdValidData()
112 CopyMem (&OneValue, Ptr, PcdValidData->StorageWidth); in VarCheckPcdValidData()
119 Ptr += PcdValidData->StorageWidth; in VarCheckPcdValidData()
136 CopyMem (&Minimum, Ptr, PcdValidData->StorageWidth); in VarCheckPcdValidData()
137 Ptr += PcdValidData->StorageWidth; in VarCheckPcdValidData()
138 CopyMem (&Maximum, Ptr, PcdValidData->StorageWidth); in VarCheckPcdValidData()
139 Ptr += PcdValidData->StorageWidth; in VarCheckPcdValidData()
225 if (((UINTN) PcdValidData->VarOffset + PcdValidData->StorageWidth) <= DataSize) { in SetVariableCheckHandlerPcd()
270 DEBUG ((EFI_D_INFO, " StorageWidth - 0x%02x\n", PcdValidData->StorageWidth)); in DumpPcdValidData()
277 CopyMem (&OneValue, Ptr, PcdValidData->StorageWidth); in DumpPcdValidData()
[all …]
DVarCheckPcdStructure.h50 UINT8 StorageWidth; member
57 UINT8 StorageWidth; member
70 UINT8 StorageWidth; member
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DValidCheckingInfoObject.py66 realLength += item.StorageWidth
68 realLength += item.StorageWidth
69 realLength += item.StorageWidth
153 b = pack("=B", item.StorageWidth)
158 b = pack(FormatMap[item.StorageWidth], v_data)
160 realLength += item.StorageWidth
162 b = pack(FormatMap[item.StorageWidth], v_data[0])
164 realLength += item.StorageWidth
165 b = pack(FormatMap[item.StorageWidth], v_data[1])
167 realLength += item.StorageWidth
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/
DUefiIfrParser.c808 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT8); in ParseOpCodes()
816 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT16); in ParseOpCodes()
824 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT32); in ParseOpCodes()
832 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT64); in ParseOpCodes()
852 CurrentStatement->StorageWidth = (UINT16)(CurrentStatement->MaxContainers * sizeof (UINT8)); in ParseOpCodes()
860 CurrentStatement->BufferValue = AllocateZeroPool (CurrentStatement->StorageWidth); in ParseOpCodes()
869 CurrentStatement->StorageWidth = (UINT16) sizeof (BOOLEAN); in ParseOpCodes()
885 … CurrentStatement->StorageWidth = (UINT16)((UINTN) CurrentStatement->Maximum * sizeof (UINT16)); in ParseOpCodes()
889 CurrentStatement->BufferValue = AllocateZeroPool (CurrentStatement->StorageWidth); in ParseOpCodes()
904 … CurrentStatement->StorageWidth = (UINT16)((UINTN) CurrentStatement->Maximum * sizeof (UINT16)); in ParseOpCodes()
[all …]
DUefiIfrDefault.c119 SetNodeBuffer (Node, HiiValue, Question->VarStoreInfo.VarOffset, Question->StorageWidth); in GetQuestionDefault()
144 SetNodeBuffer (Node, HiiValue, Question->VarStoreInfo.VarOffset, Question->StorageWidth); in GetQuestionDefault()
169 SetNodeBuffer (Node, HiiValue, Question->VarStoreInfo.VarOffset, Question->StorageWidth); in GetQuestionDefault()
DUefiIfrParser.h204 UINT16 StorageWidth; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/
DSetup.c1439 if (LengthStr > (UINTN) Question->StorageWidth * 2) { in BufferToValue()
1440 Length = (UINTN) Question->StorageWidth * 2; in BufferToValue()
1502 UINTN StorageWidth; in GetQuestionValue() local
1531 if (Question->StorageWidth > Question->ValueExpression->Result.BufferLen) { in GetQuestionValue()
1535 …yMem (Question->HiiValue.Buffer, Question->ValueExpression->Result.Buffer, Question->StorageWidth); in GetQuestionValue()
1536 Question->HiiValue.BufferLen = Question->StorageWidth; in GetQuestionValue()
1558 if (Question->StorageWidth > Question->ReadExpression->Result.BufferLen) { in GetQuestionValue()
1562 …pyMem (Question->HiiValue.Buffer, Question->ReadExpression->Result.Buffer, Question->StorageWidth); in GetQuestionValue()
1563 Question->HiiValue.BufferLen = Question->StorageWidth; in GetQuestionValue()
1633 StorageWidth = Question->StorageWidth; in GetQuestionValue()
[all …]
DIfrParse.c716 Question->StorageWidth in InitializeRequestElement()
1971 CurrentStatement->StorageWidth = (UINT16) sizeof (EFI_HII_REF); in ParseOpCodes()
1988 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT8); in ParseOpCodes()
1996 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT16); in ParseOpCodes()
2004 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT32); in ParseOpCodes()
2012 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT64); in ParseOpCodes()
2047 CurrentStatement->StorageWidth = (UINT16) sizeof (BOOLEAN); in ParseOpCodes()
2064 … CurrentStatement->StorageWidth = (UINT16)((UINTN) CurrentStatement->Maximum * sizeof (CHAR16)); in ParseOpCodes()
2068 …CurrentStatement->BufferValue = AllocateZeroPool (CurrentStatement->StorageWidth + sizeof (CHAR16)… in ParseOpCodes()
2084 … CurrentStatement->StorageWidth = (UINT16)((UINTN) CurrentStatement->Maximum * sizeof (CHAR16)); in ParseOpCodes()
[all …]
DPresentation.c344 …DisplayStatement->CurrentValue.Buffer = AllocateCopyPool(Statement->StorageWidth,Statement->Buf… in InitializeDisplayStatement()
345 DisplayStatement->CurrentValue.BufferLen = Statement->StorageWidth; in InitializeDisplayStatement()
2022 … BackUpBuffer = AllocateCopyPool(Statement->StorageWidth + sizeof(CHAR16), Statement->BufferValue); in ProcessCallBackFunction()
2046 ASSERT (StrLen (NewString) * sizeof (CHAR16) <= Statement->StorageWidth); in ProcessCallBackFunction()
2047 if (StrLen (NewString) * sizeof (CHAR16) <= Statement->StorageWidth) { in ProcessCallBackFunction()
2048 ZeroMem (Statement->BufferValue, Statement->StorageWidth); in ProcessCallBackFunction()
2051 CopyMem (Statement->BufferValue, NewString, Statement->StorageWidth); in ProcessCallBackFunction()
2147 CopyMem (Statement->BufferValue, BackUpBuffer, Statement->StorageWidth + sizeof(CHAR16)); in ProcessCallBackFunction()
2296 ASSERT (StrLen (NewString) * sizeof (CHAR16) <= Statement->StorageWidth); in ProcessRetrieveForQuestion()
2297 if (StrLen (NewString) * sizeof (CHAR16) <= Statement->StorageWidth) { in ProcessRetrieveForQuestion()
[all …]
DSetup.h331 UINT16 StorageWidth; member
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/
DFrameworkFormCallback.h99 UINT8 StorageWidth; ///< Width of the value. member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/
DInputHandler.c397 OUT UINT16 *StorageWidth in GetValueFromNum() argument
416 *StorageWidth = (UINT16) sizeof (UINT8); in GetValueFromNum()
430 *StorageWidth = (UINT16) sizeof (UINT16); in GetValueFromNum()
444 *StorageWidth = (UINT16) sizeof (UINT32); in GetValueFromNum()
458 *StorageWidth = (UINT16) sizeof (UINT64); in GetValueFromNum()
508 UINT16 StorageWidth; in GetNumericInput() local
516 StorageWidth = 0; in GetNumericInput()
620 …lags & EFI_IFR_DISPLAY) == 0, QuestionValue, &EditValue, &Minimum, &Maximum, &Step, &StorageWidth); in GetNumericInput()
641 InputWidth = StorageWidth * 2; in GetNumericInput()
643 switch (StorageWidth) { in GetNumericInput()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/
DEfiInternalFormRepresentation.h420 UINT8 StorageWidth; // Width of the value member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DConfigRouting.c3514 UINT16 StorageWidth; in GetStorageWidth() local
3519 StorageWidth = (UINT16) sizeof (UINT8); in GetStorageWidth()
3523 StorageWidth = (UINT16) sizeof (UINT16); in GetStorageWidth()
3527 StorageWidth = (UINT16) sizeof (UINT32); in GetStorageWidth()
3531 StorageWidth = (UINT16) sizeof (UINT64); in GetStorageWidth()
3535 StorageWidth = (UINT16) sizeof (EFI_IFR_TIME); in GetStorageWidth()
3539 StorageWidth = (UINT16) sizeof (EFI_IFR_DATE); in GetStorageWidth()
3543 StorageWidth = 0; in GetStorageWidth()
3547 return StorageWidth; in GetStorageWidth()