Searched refs:NewPtr (Results 1 – 5 of 5) sorted by relevance
763 LEGACY_DEV_ORDER_ENTRY *NewPtr; in LegacyBmUpdateDevOrder() local876 NewPtr = NewDevOrder; in LegacyBmUpdateDevOrder()877 NewPtr->BbsType = Ptr->BbsType; in LegacyBmUpdateDevOrder()878 NewPtr->Length = (UINT16) (sizeof (UINT16) + FDCount * sizeof (UINT16)); in LegacyBmUpdateDevOrder()886 NewPtr->Data[FDIndex] = Ptr->Data[Index]; in LegacyBmUpdateDevOrder()889 NewFDPtr = NewPtr->Data; in LegacyBmUpdateDevOrder()895 NewPtr = (LEGACY_DEV_ORDER_ENTRY *) (&NewPtr->Data[NewPtr->Length / sizeof (UINT16) -1]); in LegacyBmUpdateDevOrder()896 NewPtr->BbsType = Ptr->BbsType; in LegacyBmUpdateDevOrder()897 NewPtr->Length = (UINT16) (sizeof (UINT16) + HDCount * sizeof (UINT16)); in LegacyBmUpdateDevOrder()905 NewPtr->Data[HDIndex] = Ptr->Data[Index]; in LegacyBmUpdateDevOrder()[all …]
34 UINTN CurrPtr, NewPtr; in RemoveUnusedMemoryNode() local41 NewPtr = (UINTN) &(Table->Memory[MemoryNodeNum]); in RemoveUnusedMemoryNode()43 CopyMem ((VOID *)NewPtr, (VOID *)CurrPtr, (UINTN)Table + Table->Header.Header.Length - CurrPtr); in RemoveUnusedMemoryNode()45 Table->Header.Header.Length -= CurrPtr - NewPtr; in RemoveUnusedMemoryNode()
394 VOID *NewPtr; in realloc() local426 NewPtr = RuntimeAllocateMem ((UINTN) size); in realloc()427 if (NewPtr == NULL) { in realloc()431 CopyMem (NewPtr, ptr, RT_PAGES_TO_SIZE (PageCount)); in realloc()435 return NewPtr; in realloc()
1073 LEGACY_DEV_ORDER_ENTRY *NewPtr; in BdsUpdateLegacyDevOrder() local1195 NewPtr = NewDevOrder; in BdsUpdateLegacyDevOrder()1196 NewPtr->BbsType = Ptr->BbsType; in BdsUpdateLegacyDevOrder()1197 NewPtr->Length = (UINT16) (sizeof (UINT16) + FDCount * sizeof (UINT16)); in BdsUpdateLegacyDevOrder()1206 NewPtr->Data[FDIndex] = Ptr->Data[Index]; in BdsUpdateLegacyDevOrder()1209 NewFDPtr = NewPtr->Data; in BdsUpdateLegacyDevOrder()1215 NewPtr = (LEGACY_DEV_ORDER_ENTRY *) (&NewPtr->Data[NewPtr->Length / sizeof (UINT16) -1]); in BdsUpdateLegacyDevOrder()1216 NewPtr->BbsType = Ptr->BbsType; in BdsUpdateLegacyDevOrder()1217 NewPtr->Length = (UINT16) (sizeof (UINT16) + HDCount * sizeof (UINT16)); in BdsUpdateLegacyDevOrder()1227 NewPtr->Data[HDIndex] = Ptr->Data[Index]; in BdsUpdateLegacyDevOrder()[all …]
1075 LEGACY_DEV_ORDER_ENTRY *NewPtr; in BdsUpdateLegacyDevOrder() local1197 NewPtr = NewDevOrder; in BdsUpdateLegacyDevOrder()1198 NewPtr->BbsType = Ptr->BbsType; in BdsUpdateLegacyDevOrder()1199 NewPtr->Length = (UINT16) (sizeof (UINT16) + FDCount * sizeof (UINT16)); in BdsUpdateLegacyDevOrder()1208 NewPtr->Data[FDIndex] = Ptr->Data[Index]; in BdsUpdateLegacyDevOrder()1211 NewFDPtr = NewPtr->Data; in BdsUpdateLegacyDevOrder()1217 NewPtr = (LEGACY_DEV_ORDER_ENTRY *) (&NewPtr->Data[NewPtr->Length / sizeof (UINT16) -1]); in BdsUpdateLegacyDevOrder()1218 NewPtr->BbsType = Ptr->BbsType; in BdsUpdateLegacyDevOrder()1219 NewPtr->Length = (UINT16) (sizeof (UINT16) + HDCount * sizeof (UINT16)); in BdsUpdateLegacyDevOrder()1229 NewPtr->Data[HDIndex] = Ptr->Data[Index]; in BdsUpdateLegacyDevOrder()[all …]