Lines Matching refs:suffixes
852 std::vector<std::string> suffixes;
854 if (!fb_getvar(transport, "slot-suffixes", &suffix_list)) {
855 die("Could not get suffixes.\n");
865 std::vector<std::string> suffixes = get_suffixes(transport);
866 if (!suffixes.empty()) {
867 return suffixes[0];
874 std::vector<std::string> suffixes = get_suffixes(transport);
881 if (!suffixes.empty()) {
882 for (size_t i = 0; i < suffixes.size(); i++) {
883 if (current_slot == suffixes[i])
884 return suffixes[(i+1)%suffixes.size()];
891 for (const std::string &suffix : suffixes) {
896 for (const std::string &suffix : suffixes) {
947 suffixes = get_suffixes(transport);
948 for (std::string &suffix : suffixes) {