Searched refs:NUM_LANGUAGES (Results 1 – 8 of 8) sorted by relevance
45 return NUM_LANGUAGES; in DetectLanguageOfUnicodeText()49 return NUM_LANGUAGES; in DetectLanguageOfUnicodeText()
203 COMPILE_ASSERT(arraysize(kExtLangDeclaredName) == NUM_LANGUAGES,244 if ((0 <= lang) && (lang < NUM_LANGUAGES)) { in ExtLanguageName()258 if ((0 <= lang) && (lang < NUM_LANGUAGES)) { in ExtLanguageDeclaredName()273 if ((0 <= lang) && (lang < NUM_LANGUAGES)) { in ExtLanguageCode()
20 #define EXT_LANGUAGE_BASE (NUM_LANGUAGES + 4)
334 COMPILE_ASSERT(arraysize(kLanguageHintProbs) == NUM_LANGUAGES,739 COMPILE_ASSERT(arraysize(kClosestAltLanguage) == NUM_LANGUAGES,1108 if (cld::UnpackLanguage(doc_tote->Key(sub)) >= NUM_LANGUAGES) { in RemoveExtendedLanguages()1158 if (lang < NUM_LANGUAGES) {altlang = kClosestAltLanguage[lang];} in RemoveUnreliableLanguages()1834 if (language_hint >= NUM_LANGUAGES) {return;} in ApplyLanguageHint()
35 const int kNumLanguages = NUM_LANGUAGES;
105 is_valid_language = cld_language != NUM_LANGUAGES && in DetermineTextLanguage()120 is_valid_language = cld_language != CLD2::NUM_LANGUAGES && in DetermineTextLanguage()
172 NUM_LANGUAGES = 161, // Always keep this at the end. It is not a enumerator
198 COMPILE_ASSERT(arraysize(kLanguageInfoTable) == NUM_LANGUAGES + 1,