Home
last modified time | relevance | path

Searched refs:NUM_LANGUAGES (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/cld/encodings/compact_lang_det/win/
Dcld_unicodetext.cc45 return NUM_LANGUAGES; in DetectLanguageOfUnicodeText()
49 return NUM_LANGUAGES; in DetectLanguageOfUnicodeText()
/external/chromium_org/third_party/cld/encodings/compact_lang_det/
Dext_lang_enc.cc203 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()
Dext_lang_enc.h20 #define EXT_LANGUAGE_BASE (NUM_LANGUAGES + 4)
Dcompact_lang_det_impl.cc334 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()
/external/chromium_org/third_party/cld/languages/public/
Dlanguages.h35 const int kNumLanguages = NUM_LANGUAGES;
/external/chromium_org/components/translate/core/language_detection/
Dlanguage_detection_util.cc105 is_valid_language = cld_language != NUM_LANGUAGES && in DetermineTextLanguage()
120 is_valid_language = cld_language != CLD2::NUM_LANGUAGES && in DetermineTextLanguage()
/external/chromium_org/third_party/cld/languages/proto/
Dlanguages.pb.h172 NUM_LANGUAGES = 161, // Always keep this at the end. It is not a enumerator
/external/chromium_org/third_party/cld/languages/internal/
Dlanguages.cc198 COMPILE_ASSERT(arraysize(kLanguageInfoTable) == NUM_LANGUAGES + 1,