Searched refs:cld_language (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/components/translate/language_detection/ |
D | language_detection_util.cc | 95 int cld_language = 0; in DetermineTextLanguage() local 102 cld_language = in DetermineTextLanguage() 105 is_valid_language = cld_language != NUM_LANGUAGES && in DetermineTextLanguage() 106 cld_language != UNKNOWN_LANGUAGE && in DetermineTextLanguage() 107 cld_language != TG_UNKNOWN_LANGUAGE; in DetermineTextLanguage() 119 cld_language = language3[0]; in DetermineTextLanguage() 120 is_valid_language = cld_language != CLD2::NUM_LANGUAGES && in DetermineTextLanguage() 121 cld_language != CLD2::UNKNOWN_LANGUAGE && in DetermineTextLanguage() 122 cld_language != CLD2::TG_UNKNOWN_LANGUAGE; in DetermineTextLanguage() 150 LanguageCodeWithDialects(static_cast<Language>(cld_language)); in DetermineTextLanguage() [all …]
|
D | language_detection_util_unittest.cc | 102 std::string cld_language; in TEST_F() local 107 &cld_language, in TEST_F() 110 EXPECT_EQ("en", cld_language); in TEST_F() 122 std::string cld_language; in TEST_F() local 127 &cld_language, in TEST_F() 130 EXPECT_EQ("en", cld_language); in TEST_F() 143 std::string cld_language; in TEST_F() local 148 &cld_language, in TEST_F() 151 EXPECT_EQ("en", cld_language); in TEST_F() 163 std::string cld_language; in TEST_F() local [all …]
|
D | language_detection_util.h | 18 std::string* cld_language, 34 const std::string& cld_language); 40 const std::string& cld_language);
|
/external/chromium_org/chrome/renderer/translate/ |
D | translate_helper.cc | 103 std::string cld_language; in PageCaptured() local 106 content_language, html_lang, contents, &cld_language, &is_cld_reliable); in PageCaptured() 118 details.cld_language = cld_language; in PageCaptured()
|
/external/chromium_org/chrome/common/translate/ |
D | language_detection_details.h | 28 std::string cld_language; member
|
/external/chromium_org/chrome/browser/ui/webui/translate_internals/ |
D | translate_internals_handler.cc | 51 new base::StringValue(details.cld_language)); in OnLanguageDetection()
|
/external/chromium/chrome/browser/translate/ |
D | translate_manager.cc | 52 const char* cld_language; // Language the CLD reports. member 183 return kLocaleToCLDLanguages[i].cld_language; in GetLanguageCode()
|
/external/chromium_org/chrome/common/ |
D | render_messages.h | 232 IPC_STRUCT_TRAITS_MEMBER(cld_language)
|