Lines Matching refs:foundLocale
463 std::string foundLocale = intl::LocaleHelper::ConvertToStdString(locale); in ResolveLocale() local
464 icu::Locale foundLocaleData = BuildICULocale(foundLocale); in ResolveLocale()
474 auto doubleMatch = foundLocale.find(key); in ResolveLocale()
499 size_t found = foundLocale.find("-u-"); in ResolveLocale()
501 std::string extension = foundLocale.substr(found + INTL_INDEX_ONE); in ResolveLocale()
553 size_t found = foundLocale.find("-u-"); in ResolveLocale()
555 foundLocale = foundLocale.substr(0, found); in ResolveLocale()
561 size_t privateIndex = foundLocale.find("-x-"); in ResolveLocale()
565 foundLocale = foundLocale + supportedExtension; in ResolveLocale()
567 std::string preExtension = foundLocale.substr(0, privateIndex); in ResolveLocale()
568 std::string postExtension = foundLocale.substr(privateIndex); in ResolveLocale()
569 foundLocale = preExtension + supportedExtension + postExtension; in ResolveLocale()
575 result.locale = foundLocale; in ResolveLocale()
578 foundLocale = intl::LocaleHelper::ConvertToStdString(tag); in ResolveLocale()
582 result.locale = foundLocale; in ResolveLocale()