Lines Matching refs:slot
56 std::cout << "The number of slots: " << bootSlots << "," << "current slot: " << currentSlot << std::endl;
72 int slot = atoi(argv[1]);
76 partitionslot->GetSlotSuffix(slot, suffix);
77 std::cout << "The slot " << slot << " matches with suffix: " << suffix << std::endl;
93 int slot = atoi(argv[1]);
97 partitionslot->SetActiveSlot(slot);
99 std::cout << "Set active slot: " << slot << std::endl;
115 int slot = atoi(argv[1]);
118 partitionslot->SetSlotUnbootable(slot);
119 std::cout << "Set unboot slot: " << slot << std::endl;
130 const_cast<char *>("get the number of slots and current slot"),
135 const_cast<char *>("get suffix that matches with the slot"),
136 const_cast<char *>("partitionslot getsuffix [slot]"), const_cast<char *>("partitionslot getsuffix")
140 const_cast<char *>("set active slot"),
141 const_cast<char *>("partitionslot setactive [slot]"), const_cast<char *>("partitionslot setactive")
145 const_cast<char *>("set unboot slot"),
146 const_cast<char *>("partitionslot setunboot [slot]"), const_cast<char *>("partitionslot setunboot")