/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/ |
D | VarCheckHiiLibNullClass.c | 97 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 …]
|
D | InternalVarCheckStructure.h | 44 UINT8 StorageWidth; member 51 UINT8 StorageWidth; member 59 UINT8 StorageWidth; member 66 UINT8 StorageWidth; member 75 UINT8 StorageWidth; member
|
D | VarCheckHiiGen.c | 504 …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/ |
D | VarCheckPcdLibNullClass.c | 105 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 …]
|
D | VarCheckPcdStructure.h | 50 UINT8 StorageWidth; member 57 UINT8 StorageWidth; member 70 UINT8 StorageWidth; member
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
D | ValidCheckingInfoObject.py | 66 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/ |
D | UefiIfrParser.c | 808 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 …]
|
D | UefiIfrDefault.c | 119 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()
|
D | UefiIfrParser.h | 204 UINT16 StorageWidth; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/ |
D | Setup.c | 1439 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 …]
|
D | IfrParse.c | 716 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 …]
|
D | Presentation.c | 344 …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 …]
|
D | Setup.h | 331 UINT16 StorageWidth; member
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/ |
D | FrameworkFormCallback.h | 99 UINT8 StorageWidth; ///< Width of the value. member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/ |
D | InputHandler.c | 397 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/ |
D | EfiInternalFormRepresentation.h | 420 UINT8 StorageWidth; // Width of the value member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
D | ConfigRouting.c | 3514 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()
|