Home
last modified time | relevance | path

Searched refs:language3 (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/cld/encodings/compact_lang_det/
Dcompact_lang_det.cc22 Language language3[3]; in DetectLanguage() local
43 language3, in DetectLanguage()
61 Language* language3, in DetectLanguageSummary() argument
84 language3, in DetectLanguageSummary()
106 Language* language3, in DetectLanguageSummary() argument
126 language3, in DetectLanguageSummary()
148 Language* language3, in ExtDetectLanguageSummary() argument
171 language3, in ExtDetectLanguageSummary()
193 Language* language3, in ExtDetectLanguageSummary() argument
213 language3, in ExtDetectLanguageSummary()
[all …]
Dcompact_lang_det_impl.cc1650 void PrintLangs(FILE* f, const Language* language3, const int* percent3, in PrintLangs() argument
1653 if (language3[0] != UNKNOWN_LANGUAGE) { in PrintLangs()
1655 ExtLanguageName(language3[0]), in PrintLangs()
1659 if (language3[1] != UNKNOWN_LANGUAGE) { in PrintLangs()
1660 fprintf(f, "%s(%d%%) ", ExtLanguageName(language3[1]), percent3[1]); in PrintLangs()
1662 if (language3[2] != UNKNOWN_LANGUAGE) { in PrintLangs()
1663 fprintf(f, "%s(%d%%) ", ExtLanguageName(language3[2]), percent3[2]); in PrintLangs()
1849 int* reliable_percent3, Language* language3, int* percent3, in ExtractLangEtc() argument
1855 language3[0] = UNKNOWN_LANGUAGE; in ExtractLangEtc()
1856 language3[1] = UNKNOWN_LANGUAGE; in ExtractLangEtc()
[all …]
Dcompact_lang_det.h121 Language* language3,
137 Language* language3,
155 Language* language3,
177 Language* language3,
195 Language* language3,
Dcompact_lang_det_impl.h157 Language* language3,
Dcompact_lang_det_unittest_small.cc426 Language language3[3]; in TestExtCompactLangDetPlain() local
434 language3, in TestExtCompactLangDetPlain()
/external/chromium_org/third_party/cld/encodings/compact_lang_det/win/
Dcld_unicodetext.cc52 Language language3[3] = { in DetectLanguageOfUnicodeText() local
67 is_plain_text, language3, percent3, in DetectLanguageOfUnicodeText()
75 COMPILE_ASSERT(arraysize(language3) == arraysize(percent3), in DetectLanguageOfUnicodeText()
77 for (int i = 0; i < arraysize(language3); ++i) { in DetectLanguageOfUnicodeText()
78 if (IsValidLanguage(language3[i]) && !IS_LANGUAGE_UNKNOWN(language3[i]) && in DetectLanguageOfUnicodeText()
84 return language3[0]; in DetectLanguageOfUnicodeText()
/external/chromium_org/components/translate/core/language_detection/
Dlanguage_detection_util.cc114 CLD2::Language language3[3]; in DetermineTextLanguage() local
117 utf8_text.c_str(), (int)utf8_text.size(), true, language3, percent3, in DetermineTextLanguage()
119 cld_language = language3[0]; in DetermineTextLanguage()