OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IsValidLanguageCode
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/components/translate/language_detection/
language_detection_util_unittest.cc
35
TEST_F(LanguageDetectionUtilTest,
IsValidLanguageCode
) {
39
EXPECT_TRUE(translate::
IsValidLanguageCode
(language));
42
EXPECT_TRUE(translate::
IsValidLanguageCode
(language));
45
EXPECT_TRUE(translate::
IsValidLanguageCode
(language));
48
EXPECT_TRUE(translate::
IsValidLanguageCode
(language));
52
EXPECT_FALSE(translate::
IsValidLanguageCode
(language));
56
EXPECT_FALSE(translate::
IsValidLanguageCode
(language));
60
EXPECT_FALSE(translate::
IsValidLanguageCode
(language));
language_detection_util.h
27
bool
IsValidLanguageCode
(const std::string& code);
language_detection_util.cc
65
if (!translate::
IsValidLanguageCode
(*code)) {
298
bool
IsValidLanguageCode
(const std::string& code) {
Completed in 24 milliseconds