IsValidLocaleSyntax  495 chrome/browser/chromeos/input_method/input_method_util_unittest.cc     EXPECT_TRUE(l10n_util::IsValidLocaleSyntax(language_code))
IsValidLocaleSyntax  143 chrome/browser/chromeos/login/startup_utils.cc   if (!l10n_util::IsValidLocaleSyntax(locale))
IsValidLocaleSyntax  150 chrome/browser/chromeos/login/startup_utils.cc   if (l10n_util::IsValidLocaleSyntax(locale))
IsValidLocaleSyntax  175 chrome/browser/extensions/external_provider_impl.cc             l10n_util::IsValidLocaleSyntax(current_locale)) {
IsValidLocaleSyntax  164 chrome/browser/speech/extension_api/tts_extension_api.cc   if (!lang.empty() && !l10n_util::IsValidLocaleSyntax(lang)) {
IsValidLocaleSyntax   43 chrome/common/extensions/api/i18n/default_locale_handler.cc       !l10n_util::IsValidLocaleSyntax(info->default_locale)) {
IsValidLocaleSyntax   86 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc           !l10n_util::IsValidLocaleSyntax(voice_data.lang)) {
IsValidLocaleSyntax   86 ui/base/l10n/l10n_util.h UI_BASE_EXPORT bool IsValidLocaleSyntax(const std::string& locale);
IsValidLocaleSyntax  430 ui/base/l10n/l10n_util_unittest.cc TEST_F(L10nUtilTest, IsValidLocaleSyntax) {
IsValidLocaleSyntax  432 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("en"));
IsValidLocaleSyntax  433 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("fr"));
IsValidLocaleSyntax  434 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("de"));
IsValidLocaleSyntax  435 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("pt"));
IsValidLocaleSyntax  436 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("zh"));
IsValidLocaleSyntax  437 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("fil"));
IsValidLocaleSyntax  438 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("haw"));
IsValidLocaleSyntax  439 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("en-US"));
IsValidLocaleSyntax  440 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("en_US"));
IsValidLocaleSyntax  441 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("en_GB"));
IsValidLocaleSyntax  442 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("pt-BR"));
IsValidLocaleSyntax  443 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("zh_CN"));
IsValidLocaleSyntax  444 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("zh_Hans"));
IsValidLocaleSyntax  445 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("zh_Hans_CN"));
IsValidLocaleSyntax  446 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("zh_Hant"));
IsValidLocaleSyntax  447 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("zh_Hant_TW"));
IsValidLocaleSyntax  448 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("fr_CA"));
IsValidLocaleSyntax  449 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("i-klingon"));
IsValidLocaleSyntax  450 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("es-419"));
IsValidLocaleSyntax  451 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("en_IE_PREEURO"));
IsValidLocaleSyntax  452 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("en_IE_u_cu_IEP"));
IsValidLocaleSyntax  453 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("en_IE@currency=IEP"));
IsValidLocaleSyntax  454 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("fr@x=y"));
IsValidLocaleSyntax  455 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax("zn_CN@foo=bar"));
IsValidLocaleSyntax  456 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax(
IsValidLocaleSyntax  458 ui/base/l10n/l10n_util_unittest.cc   EXPECT_TRUE(l10n_util::IsValidLocaleSyntax(
IsValidLocaleSyntax  462 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax(std::string()));
IsValidLocaleSyntax  463 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("x"));
IsValidLocaleSyntax  464 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("12"));
IsValidLocaleSyntax  465 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("456"));
IsValidLocaleSyntax  466 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("a1"));
IsValidLocaleSyntax  467 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("enUS"));
IsValidLocaleSyntax  468 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("zhcn"));
IsValidLocaleSyntax  469 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("en.US"));
IsValidLocaleSyntax  470 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("en#US"));
IsValidLocaleSyntax  471 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("-en-US"));
IsValidLocaleSyntax  472 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("en-US-"));
IsValidLocaleSyntax  473 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("123-en-US"));
IsValidLocaleSyntax  474 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("Latin"));
IsValidLocaleSyntax  475 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("German"));
IsValidLocaleSyntax  476 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("pt--BR"));
IsValidLocaleSyntax  477 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("sl-macedonia"));
IsValidLocaleSyntax  478 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("@"));
IsValidLocaleSyntax  479 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("en-US@"));
IsValidLocaleSyntax  480 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("en-US@x"));
IsValidLocaleSyntax  481 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("en-US@x="));
IsValidLocaleSyntax  482 ui/base/l10n/l10n_util_unittest.cc   EXPECT_FALSE(l10n_util::IsValidLocaleSyntax("en-US@=y"));