Searched refs:OldBlockSize (Results 1 – 3 of 3) sorted by relevance
737 UINT32 OldBlockSize; in InsertLackStringBlock() local769 OldBlockSize = StringPackage->StringPkgHdr->Header.Length - StringPackage->StringPkgHdr->HdrSize; in InsertLackStringBlock()776 NewBlockSize = OldBlockSize + NewUCSBlockLen; in InsertLackStringBlock()778 NewBlockSize = OldBlockSize + NewUCSBlockLen - SkipLen; in InsertLackStringBlock()784 NewBlockSize = OldBlockSize + NewUCSBlockLen; in InsertLackStringBlock()790 NewBlockSize = OldBlockSize + NewUCSBlockLen + SkipLen; in InsertLackStringBlock()839 …CopyMem (BlockPtr, OldStringAddr + SkipLen, OldBlockSize - (OldStringAddr - StringPackage->StringB… in InsertLackStringBlock()848 StringPackage->StringPkgHdr->Header.Length += NewBlockSize - OldBlockSize; in InsertLackStringBlock()892 UINTN OldBlockSize; in SetStringWorker() local979 OldBlockSize = StringPackage->StringPkgHdr->Header.Length - StringPackage->StringPkgHdr->HdrSize; in SetStringWorker()[all …]
1021 UINT32 OldBlockSize; in HiiSetImage() local1087 OldBlockSize = sizeof (EFI_HII_IIBT_IMAGE_1BIT_BLOCK) - sizeof (UINT8) + in HiiSetImage()1093 OldBlockSize = sizeof (EFI_HII_IIBT_IMAGE_4BIT_BLOCK) - sizeof (UINT8) + in HiiSetImage()1099 OldBlockSize = sizeof (EFI_HII_IIBT_IMAGE_8BIT_BLOCK) - sizeof (UINT8) + in HiiSetImage()1110 OldBlockSize = sizeof (EFI_HII_IIBT_IMAGE_24BIT_BLOCK) - sizeof (EFI_HII_RGB_PIXEL) + in HiiSetImage()1146 BlockSize = ImagePackage->ImageBlockSize + NewBlockSize - OldBlockSize; in HiiSetImage()1155 Part2Size = ImagePackage->ImageBlockSize - Part1Size - OldBlockSize; in HiiSetImage()1160 CopyMem (BlockPtr, ImageBlock + OldBlockSize, Part2Size); in HiiSetImage()1166 ImagePackage->ImagePkgHdr.Header.Length += NewBlockSize - OldBlockSize; in HiiSetImage()1167 PackageListNode->PackageListHdr.PackageLength += NewBlockSize - OldBlockSize; in HiiSetImage()
902 UINT32 OldBlockSize; in AdjustStringPackage() local925 … OldBlockSize = StringPackage->StringPkgHdr->Header.Length - StringPackage->StringPkgHdr->HdrSize; in AdjustStringPackage()932 StringBlock = (UINT8 *) AllocateZeroPool (OldBlockSize + Skip2BlockSize); in AdjustStringPackage()939 … CopyMem (StringBlock, StringPackage->StringBlock, OldBlockSize - sizeof (EFI_HII_SIBT_END_BLOCK)); in AdjustStringPackage()943 BlockPtr = StringBlock + OldBlockSize - sizeof (EFI_HII_SIBT_END_BLOCK); in AdjustStringPackage()