Lines Matching refs:NewOrder
330 UINT16 *NewOrder; in BcfgAdd() local
564 NewOrder = AllocateZeroPool((OrderCount+1)*sizeof(NewOrder[0])); in BcfgAdd()
565 ASSERT(NewOrder != NULL); in BcfgAdd()
566 CopyMem(NewOrder, CurrentOrder, (OrderCount)*sizeof(NewOrder[0])); in BcfgAdd()
572 NewOrder[Index] = NewOrder[Index-1]; in BcfgAdd()
575 NewOrder[Position] = (UINT16) TargetLocation; in BcfgAdd()
581 NewOrder in BcfgAdd()
584 FreePool(NewOrder); in BcfgAdd()
638 UINT16 *NewOrder; in BcfgRemove() local
653 NewOrder = AllocateZeroPool(OrderCount*sizeof(CurrentOrder[0])); in BcfgRemove()
654 if (NewOrder != NULL) { in BcfgRemove()
656 CopyMem(NewOrder, CurrentOrder, OrderCount*sizeof(CurrentOrder[0])); in BcfgRemove()
657 …CopyMem(NewOrder+Location, NewOrder+Location+1, (OrderCount - Location - 1)*sizeof(CurrentOrder[0]… in BcfgRemove()
664 NewCount*sizeof(NewOrder[0]), in BcfgRemove()
665 NewOrder); in BcfgRemove()
666 FreePool(NewOrder); in BcfgRemove()
699 UINT16 *NewOrder; in BcfgMove() local
703 NewOrder = AllocateCopyPool(OrderCount*sizeof(CurrentOrder[0]), CurrentOrder); in BcfgMove()
704 if (NewOrder == NULL) { in BcfgMove()
720 …CopyMem(NewOrder+OldLocation, NewOrder+OldLocation+1, (OrderCount - OldLocation - 1)*sizeof(Curren… in BcfgMove()
721 …CopyMem(NewOrder+NewLocation+1, NewOrder+NewLocation, (OrderCount - NewLocation - 1)*sizeof(Curren… in BcfgMove()
722 NewOrder[NewLocation] = Temp; in BcfgMove()
729 NewOrder); in BcfgMove()
731 FreePool(NewOrder); in BcfgMove()