Lines Matching refs:current_slot
989 std::string current_slot; in get_current_slot() local
990 if (fb->GetVar("current-slot", ¤t_slot) != fastboot::SUCCESS) return ""; in get_current_slot()
991 return current_slot; in get_current_slot()
1009 static std::string get_other_slot(const std::string& current_slot, int count) { in get_other_slot() argument
1012 char next = (current_slot[0] - 'a' + 1)%count + 'a'; in get_other_slot()
1016 static std::string get_other_slot(const std::string& current_slot) { in get_other_slot() argument
1017 return get_other_slot(current_slot, get_slot_count()); in get_other_slot()
1071 std::string current_slot; in do_for_partition() local
1079 current_slot = get_current_slot(); in do_for_partition()
1080 if (current_slot == "") { in do_for_partition()
1083 func(part + "_" + current_slot); in do_for_partition()
1154 std::string current_slot = get_current_slot(); in set_active() local
1155 if (current_slot != "") { in set_active()
1156 fb->SetActive(current_slot); in set_active()
1761 std::string current_slot; in Main() local
1762 if (fb->GetVar("current-slot", ¤t_slot) == fastboot::SUCCESS) { in Main()
1763 next_active = verify_slot(current_slot, false); in Main()