Searched refs:separator (Results 1 – 2 of 2) sorted by relevance
354 size_t separator = prefix.find('-'); in matches_locale() local355 if (separator == std::string::npos) { in matches_locale()358 std::regex loc_regex(prefix.substr(0, separator) + "-[A-Za-z]*" + prefix.substr(separator)); in matches_locale()
1321 size_t separator = new_locale.find('-'); in SetLocale() local1323 std::string lang = new_locale.substr(0, separator); in SetLocale()