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.c1438 Length = Question->StorageWidth + sizeof (CHAR16); in BufferToValue()
1454 if (Question->StorageWidth < ((LengthStr + 1) / 2)) { in BufferToValue()
1498 UINTN StorageWidth; in GetQuestionValue() local
1527 if (Question->StorageWidth > Question->ValueExpression->Result.BufferLen) { in GetQuestionValue()
1531 …yMem (Question->HiiValue.Buffer, Question->ValueExpression->Result.Buffer, Question->StorageWidth); in GetQuestionValue()
1532 Question->HiiValue.BufferLen = Question->StorageWidth; in GetQuestionValue()
1554 if (Question->StorageWidth > Question->ReadExpression->Result.BufferLen) { in GetQuestionValue()
1558 …pyMem (Question->HiiValue.Buffer, Question->ReadExpression->Result.Buffer, Question->StorageWidth); in GetQuestionValue()
1559 Question->HiiValue.BufferLen = Question->StorageWidth; in GetQuestionValue()
1629 StorageWidth = Question->StorageWidth; in GetQuestionValue()
[all …]
DIfrParse.c716 Question->StorageWidth in InitializeRequestElement()
1954 CurrentStatement->StorageWidth = (UINT16) sizeof (EFI_HII_REF); in ParseOpCodes()
1971 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT8); in ParseOpCodes()
1979 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT16); in ParseOpCodes()
1987 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT32); in ParseOpCodes()
1995 CurrentStatement->StorageWidth = (UINT16) sizeof (UINT64); in ParseOpCodes()
2030 CurrentStatement->StorageWidth = (UINT16) sizeof (BOOLEAN); in ParseOpCodes()
2047 … CurrentStatement->StorageWidth = (UINT16)((UINTN) CurrentStatement->Maximum * sizeof (CHAR16)); in ParseOpCodes()
2051 …CurrentStatement->BufferValue = AllocateZeroPool (CurrentStatement->StorageWidth + sizeof (CHAR16)… in ParseOpCodes()
2067 … 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()
2021 … BackUpBuffer = AllocateCopyPool(Statement->StorageWidth + sizeof(CHAR16), Statement->BufferValue); in ProcessCallBackFunction()
2045 ASSERT (StrLen (NewString) * sizeof (CHAR16) <= Statement->StorageWidth); in ProcessCallBackFunction()
2046 if (StrLen (NewString) * sizeof (CHAR16) <= Statement->StorageWidth) { in ProcessCallBackFunction()
2049 CopyMem (Statement->BufferValue, NewString, Statement->StorageWidth); in ProcessCallBackFunction()
2145 CopyMem (Statement->BufferValue, BackUpBuffer, Statement->StorageWidth + sizeof(CHAR16)); in ProcessCallBackFunction()
2294 ASSERT (StrLen (NewString) * sizeof (CHAR16) <= Statement->StorageWidth); in ProcessRetrieveForQuestion()
2295 if (StrLen (NewString) * sizeof (CHAR16) <= Statement->StorageWidth) { in ProcessRetrieveForQuestion()
2298 CopyMem (Statement->BufferValue, NewString, Statement->StorageWidth); in ProcessRetrieveForQuestion()
DSetup.h329 UINT16 StorageWidth; 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/IntelFrameworkPkg/Include/Protocol/
DFrameworkFormCallback.h99 UINT8 StorageWidth; ///< Width of the value. member
/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.c2808 UINT16 StorageWidth; in GetStorageWidth() local
2813 StorageWidth = (UINT16) sizeof (UINT8); in GetStorageWidth()
2817 StorageWidth = (UINT16) sizeof (UINT16); in GetStorageWidth()
2821 StorageWidth = (UINT16) sizeof (UINT32); in GetStorageWidth()
2825 StorageWidth = (UINT16) sizeof (UINT64); in GetStorageWidth()
2829 StorageWidth = (UINT16) sizeof (EFI_IFR_TIME); in GetStorageWidth()
2833 StorageWidth = (UINT16) sizeof (EFI_IFR_DATE); in GetStorageWidth()
2837 StorageWidth = 0; in GetStorageWidth()
2841 return StorageWidth; in GetStorageWidth()