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