Lines Matching refs:OrderCount
299 IN CONST UINTN OrderCount, in BcfgAdd() argument
338 if (Position > OrderCount) { in BcfgAdd()
339 Position = OrderCount; in BcfgAdd()
494 for (Index=0; Index < OrderCount; Index++) { in BcfgAdd()
551 NewOrder = AllocateZeroPool ((OrderCount + 1) * sizeof (NewOrder[0])); in BcfgAdd()
553 CopyMem (NewOrder, CurrentOrder, (OrderCount) * sizeof (NewOrder[0])); in BcfgAdd()
558 for (Index = OrderCount; Index > Position; Index--) { in BcfgAdd()
567 (OrderCount + 1) * sizeof (UINT16), in BcfgAdd()
620 IN CONST UINTN OrderCount, in BcfgRemove() argument
640 NewOrder = AllocateZeroPool(OrderCount*sizeof(CurrentOrder[0])); in BcfgRemove()
642 NewCount = OrderCount; in BcfgRemove()
643 CopyMem(NewOrder, CurrentOrder, OrderCount*sizeof(CurrentOrder[0])); in BcfgRemove()
644 …CopyMem(NewOrder+Location, NewOrder+Location+1, (OrderCount - Location - 1)*sizeof(CurrentOrder[0]… in BcfgRemove()
680 IN CONST UINTN OrderCount, in BcfgMove() argument
689 NewOrder = AllocateCopyPool(OrderCount*sizeof(CurrentOrder[0]), CurrentOrder); in BcfgMove()
697 if (NewLocation >= OrderCount) { in BcfgMove()
698 if (OrderCount > 0) { in BcfgMove()
699 NewLocation = (UINT16)OrderCount - 1; in BcfgMove()
706 …CopyMem(NewOrder+OldLocation, NewOrder+OldLocation+1, (OrderCount - OldLocation - 1)*sizeof(Curren… in BcfgMove()
707 …CopyMem(NewOrder+NewLocation+1, NewOrder+NewLocation, (OrderCount - NewLocation - 1)*sizeof(Curren… in BcfgMove()
714 OrderCount*sizeof(CurrentOrder[0]), in BcfgMove()
740 IN CONST UINTN OrderCount, in BcfgAddOpt() argument
781 …= Intermediate) || StrStr(Walker, L" ") == NULL || ((UINT16)Intermediate) > ((UINT16)OrderCount)) { in BcfgAddOpt()
922 ASSERT (OptionIndex <= OrderCount); in BcfgAddOpt()
1025 IN CONST UINTN OrderCount, in BcfgDisplayDump() argument
1043 if (OrderCount == 0) { in BcfgDisplayDump()
1050 for (LoopVar = 0 ; LoopVar < OrderCount ; LoopVar++) { in BcfgDisplayDump()