/external/chromium_org/components/translate/common/ |
D | translate_util_unittest.cc | 14 // Tests that synonym language code is converted to one used in supporting list. 16 std::string language; in TEST_F() local 18 language = std::string("nb"); in TEST_F() 19 translate::ToTranslateLanguageSynonym(&language); in TEST_F() 20 EXPECT_EQ("no", language); in TEST_F() 22 language = std::string("he"); in TEST_F() 23 translate::ToTranslateLanguageSynonym(&language); in TEST_F() 24 EXPECT_EQ("iw", language); in TEST_F() 26 language = std::string("jv"); in TEST_F() 27 translate::ToTranslateLanguageSynonym(&language); in TEST_F() [all …]
|
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
D | ext_lang_enc.h | 23 #define X_BORK_BORK_BORK (Language)(EXT_LANGUAGE_BASE+0) 24 #define X_PIG_LATIN (Language)(EXT_LANGUAGE_BASE+1) 25 #define X_HACKER (Language)(EXT_LANGUAGE_BASE+2) 26 #define X_KLINGON (Language)(EXT_LANGUAGE_BASE+3) 27 #define X_ELMER_FUDD (Language)(EXT_LANGUAGE_BASE+4) 29 // Pseudo-languages for Unicode scripts that express a single language 30 #define X_OGHAM (Language)(EXT_LANGUAGE_BASE+5) 31 #define X_RUNIC (Language)(EXT_LANGUAGE_BASE+6) 32 #define X_YI (Language)(EXT_LANGUAGE_BASE+7) 33 #define X_OLD_ITALIC (Language)(EXT_LANGUAGE_BASE+8) [all …]
|
D | compact_lang_det.cc | 14 // Scan interchange-valid UTF-8 bytes and detect most likely language 15 Language CompactLangDet::DetectLanguage( in DetectLanguage() 22 Language language3[3]; in DetectLanguage() 27 Language plus_one = UNKNOWN_LANGUAGE; in DetectLanguage() 30 Language language_hint = UNKNOWN_LANGUAGE; in DetectLanguage() 32 Language lang = CompactLangDetImpl::DetectLanguageSummaryV25( in DetectLanguage() 56 Language CompactLangDet::DetectLanguageSummary( in DetectLanguageSummary() 61 Language* language3, in DetectLanguageSummary() 68 Language plus_one = UNKNOWN_LANGUAGE; in DetectLanguageSummary() 71 Language language_hint = UNKNOWN_LANGUAGE; in DetectLanguageSummary() [all …]
|
/external/chromium_org/components/translate/language_detection/ |
D | language_detection_util_unittest.cc | 14 // Tests that well-known language code typos are fixed. 16 std::string language; in TEST_F() local 19 language = std::string("ja,en"); in TEST_F() 20 translate::CorrectLanguageCodeTypo(&language); in TEST_F() 21 EXPECT_EQ("ja", language); in TEST_F() 24 language = std::string("ja_JP"); in TEST_F() 25 translate::CorrectLanguageCodeTypo(&language); in TEST_F() 26 EXPECT_EQ("ja-JP", language); in TEST_F() 29 language = std::string("JA-jp"); in TEST_F() 30 translate::CorrectLanguageCodeTypo(&language); in TEST_F() [all …]
|
D | language_detection_util.cc | 28 // Similar language code list. Some languages are very similar and difficult 43 int GetSimilarLanguageGroupCode(const std::string& language) { in GetSimilarLanguageGroupCode() argument 45 if (language.find(kSimilarLanguageCodes[i].code) != 0) in GetSimilarLanguageGroupCode() 53 // Content-Language: en. 60 // Applies a series of language code modification in proper order. 85 // Returns the ISO 639 language code of the specified |text|, or 'unknown' if it 90 std::string language = translate::kUnknownLanguageCode; in DetermineTextLanguage() local 94 // Language or CLD2::Language in DetermineTextLanguage() 114 CLD2::Language language3[3]; in DetermineTextLanguage() 134 // reliable, or if the actual text used to detect the language was less than in DetermineTextLanguage() [all …]
|
/external/smack/src/org/jivesoftware/smack/packet/ |
D | Message.java | 17 * See the License for the specific language governing permissions and 55 private String language; field in Message 113 * The default subject of a message is the subject that corresponds to the message's language. 114 * (see {@link #getLanguage()}) or if no language is set to the applications default 115 * language (see {@link Packet#getDefaultLanguage()}). 124 * Returns the subject corresponding to the language. If the language is null, the method result 125 … * will be the same as {@link #getSubject()}. Null will be returned if the language does not have 128 * @param language the language of the subject to return. 129 * @return the subject related to the passed in language. 131 public String getSubject(String language) { in getSubject() argument [all …]
|
/external/chromium_org/third_party/cld/languages/public/ |
D | languages.h | 8 // This interface defines the Language enum and functions that depend 9 // only on Language values. 11 // A hash-function for Language, hash<Language>, is defined in 15 // Language enum defined in languages.proto 20 // - The Language enum in the default namespace. 26 // This one is a simple cleaned up version of language.proto, making the enum 37 // Return the default language (ENGLISH). 38 Language default_language(); 42 // Language predicates 58 // Function to check if the input is within range of the Language enum. If [all …]
|
/external/chromium_org/chrome/browser/resources/options/ |
D | language_options.html | 9 <div class="language-options-header"> 15 <div class="language-options"> 16 <div id="language-options-languages"> 18 <list id="language-options-list"></list> 19 <div class="language-options-lower-left"> 20 <button id="language-options-add-button" 24 <div id="language-options-list-dropmarker"></div> 26 <div id="language-options-details"> 27 <h3 id="language-options-language-name"></h3> 29 <div class="language-options-contents"> [all …]
|
D | language_options.js | 34 var PRELOAD_ENGINES_PREF = 'settings.language.preload_engines'; 38 * language menu. 42 var ENABLED_EXTENSION_IME_PREF = 'settings.language.enabled_extension_imes'; 53 * dictionary language, like "en-US". 70 * Encapsulated handling of ChromeOS language options page. 85 /* For recording the prospective language (the next locale after relaunch). 92 * Map from language code to spell check dictionary download status for that 93 * language. 114 * The list of extension IMEs that are enabled out of the language menu. 136 * language, like "en-US". [all …]
|
D | language_options.css | 5 .language-options { 10 .language-options-lower-left button, 11 #language-options-details button { 15 .language-options h3 { 23 .language-options-contents { 28 .language-options-contents > span:not(.input-method-label) { 34 .language-options-header, 35 .language-options-footer { 40 #language-options-languages, 41 #language-options-details { [all …]
|
D | language_list.js | 14 * Creates a new Language list item. 15 * @param {Object} languageInfo The information of the language. 31 * The language code of this language. 46 this.languageName.className = 'language-name'; 56 * Creates a new language list. 64 * Gets information of a language from the given language code. 65 * @param {string} languageCode Language code (ex. "fr"). 68 // Build the language code to language info dictionary at first time. 82 * Returns true if the given language code is valid. 83 * @param {string} languageCode Language code (ex. "fr"). [all …]
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | language_options_dictionary_download_browsertest.js | 6 * TestFixture for testing messages of dictionary download progress in language 33 // Verify that dictionary download success shows 'This language is used for 39 expectFalse($('language-options-spell-check-language-message').hidden); 40 expectTrue($('language-options-dictionary-downloading-message').hidden); 41 expectTrue($('language-options-dictionary-download-failed-message').hidden); 43 $('language-options-dictionary-download-fail-help-message').hidden); 47 // language' message. 52 expectTrue($('language-options-spell-check-language-message').hidden); 53 expectFalse($('language-options-dictionary-downloading-message').hidden); 54 expectTrue($('language-options-dictionary-download-failed-message').hidden); [all …]
|
/external/chromium/chrome/browser/resources/options/ |
D | language_options.js | 27 * Encapsulated handling of ChromeOS language options page. 48 var languageOptionsList = $('language-options-list'); 67 $('language-options-add-button').onclick = function(e) { 68 // Add the language without showing the overlay if it's specified in 73 $('language-options-list').addLanguage(addLanguageCode); 80 // Listen to user clicks on the add language list. 81 var addLanguageList = $('add-language-overlay-language-list'); 85 // Listen to add language dialog ok button. 86 var addLanguageOkButton = $('add-language-overlay-ok-button'); 99 preloadEnginesPref: 'settings.language.preload_engines', [all …]
|
D | language_options.html | 7 <div class="language-options-header"> 13 <div class="language-options"> 14 <div class="language-options-left"> 16 <list id="language-options-list"></list> 17 <div class="language-options-lower-left"> 18 <button id="language-options-add-button" 22 <div class="language-options-right"> 23 <h3 id="language-options-language-name"></h3> 25 <div class="language-options-contents"> 26 <button id="language-options-ui-language-button"></button> [all …]
|
D | language_options.css | 1 .language-options { 6 .language-options-lower-left button, 7 .language-options-right button { 11 .language-options h3 { 18 .language-options-contents { 24 .language-options-header, .language-options-footer { 28 .language-options-left, .language-options-right { 35 .language-options-left { 42 .language-options-lower-left { 48 .language-options-right { [all …]
|
D | language_list.js | 14 * Creates a new Language list item. 31 * The language code of this language. 54 * Creates a new language list. 62 * Gets display name from the given language code. 63 * @param {string} languageCode Language code (ex. "fr"). 66 // Build the language code to display name dictionary at first time. 71 var language = languageList[i]; 72 this.languageCodeToDisplayName_[language.code] = language.displayName; 80 * Gets native display name from the given language code. 81 * @param {string} languageCode Language code (ex. "fr"). [all …]
|
/external/chromium_org/third_party/cld/encodings/ |
D | lang_enc.h | 5 // This file is for i18n. It contains two enums, namely Language and 6 // Encoding, where Language is the linguistic convention, and Encoding 7 // contains information on both language encoding and character set. 9 // The language and encoding are both based on Teragram's conventions, 14 // Language/Encoding enums, language/encoding string names (typically 15 // the output from Language Encoding identifier), and language codes 18 // NOTE: Both Language and Encoding enums should always start from 32 // Given the language, returns a pointer to an array of encodings this 33 // language supports. Typically, the encs array has at least one 35 // array. The first encoding is the default encoding of the language. [all …]
|
/external/libvpx/libvpx/examples/includes/geshi/contrib/ |
D | langcheck.php | 6 * and the language files in subdirectory "../geshi/") 67 <title>GeSHi Language File Validation Script</title> 119 <h2>GeSHi Language File Validation Script</h2> 121 parent directory or in your include_path, and that the language files are in a 125 your language files can be improved. Please be patient, as this might take some time.</p> 150 … report_error(TYPE_ERROR, 'There\'s no information present on where to find the language files!'); 161 echo "</li>\n<li>Listing available language files ... "; 164 report_error(TYPE_ERROR, 'Error requesting listing for available language files!'); 184 …report_error(TYPE_WARNING, 'Unable to locate any usable language files in "'.GESHI_LANG_ROOT.'"!'); 196 echo "</li>\n<li>Validating language file for '$lang' ... "; [all …]
|
/external/chromium_org/tools/grit/grit/format/ |
D | rc.py | 42 This dictionary defines the language charset pair lookup table, which is used 43 for replacing the GRIT expand variables for language info in Product Version 44 resource. The key is the language ISO country code, and the value 45 is the language and character-set pair, which is a hexadecimal string 46 consisting of the concatenation of the language and character-set identifiers. 48 4 digits is the hex value of character-set id(code page)of the language. 51 Codepage resource: http://www.science.co.il/language/locale-codes.asp 54 file to set the language info. Here is an example how they should be used in 56 the language info correctly according to product locale. 77 # Language neutral LCID, unicode(1200) code page. [all …]
|
/external/chromium_org/chrome/browser/translate/ |
D | translate_ui_delegate.h | 44 // Returns the original language index. 47 // Updates the original language index. 50 // Returns the target language index. 53 // Updates the target language index. 56 // Returns the ISO code for the language at |index|. 59 // Returns the displayable name for the language at |index|. 62 // The original language for Translate. 65 // The target language for Translate. 77 // Returns true if the current language is blocked. 80 // Sets the value if the current language is blocked. [all …]
|
/external/chromium_org/chrome/common/ |
D | spellcheck_common.cc | 15 const char* language; // The language. member 16 const char* language_region; // language & region, used by dictionaries. 20 const char* language; // The language input. member 79 // This function returns the language-region version of language name. 84 if (g_supported_spellchecker_languages[i].language == input_language) { in GetSpellCheckLanguageRegion() 109 // version string, depending on the language. in GetVersionedFileName() 110 std::string language = GetSpellCheckLanguageRegion(input_language); in GetVersionedFileName() local 111 std::string versioned_bdict_file_name(language + kDefaultVersionString + in GetVersionedFileName() 114 if (language == special_version_string[i].language) { in GetVersionedFileName() 116 language + special_version_string[i].version + ".bdic"; in GetVersionedFileName() [all …]
|
/external/libvpx/libvpx/examples/includes/geshi/docs/ |
D | CHANGES | 9 Language files listed under each version were made by the author beside them, and then 16 - Added language files 19 * LSL2 (Linden Scripting Language) (William Fry) 25 the language file as "any whitespace" in the source (i.e. "CREATE TABLE" 28 - Improvements to language files (BenBE) 43 - Added language files 57 - Updated the language file check script in contrib/ (BenBE) 60 - Improvements to language files (BenBE) 71 * Added missing keywords to the Python language file, 75 * Improved MySQL language file (BenBE, JavaWoman) [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | ContentLanguage.java | 39 * 14.12 Content-Language 41 * The Content-Language entity-header field describes the natural 42 * language(s) of the intended audience for the enclosed entity. Note 46 * Content-Language = "Content-Language" ":" 1#language-tag 48 * Language tags are defined in section 3.10. The primary purpose of 49 * Content-Language is to allow a user to identify and differentiate 50 * entities according to the user's own preferred language. Thus, if the 54 * Content-Language: da 56 * If no Content-Language is specified, the default is that the content 57 * is intended for all language audiences. This might mean that the [all …]
|
/external/chromium/chrome/common/ |
D | spellcheck_common.cc | 12 // The language. 13 const char* language; member 15 // The corresponding language and region, used by the dictionaries. 58 // This function returns the language-region version of language name. 63 if (g_supported_spellchecker_languages[i].language == input_language) { in GetSpellCheckLanguageRegion() 79 // The language input. in GetVersionedFileName() 80 const char* language; in GetVersionedFileName() member 110 // version string, depending on the language. in GetVersionedFileName() 111 std::string language = GetSpellCheckLanguageRegion(input_language); in GetVersionedFileName() local 112 std::string versioned_bdict_file_name(language + kDefaultVersionString + in GetVersionedFileName() [all …]
|
/external/chromium_org/third_party/icu/source/data/lang/ |
D | en.txt | 28 afa{"Afro-Asiatic Language"} 34 alg{"Algonquian Language"} 40 apa{"Apache Language"} 45 art{"Artificial Language"} 50 ath{"Athapascan Language"} 51 aus{"Australian Language"} 58 bai{"Bamileke Language"} 62 bat{"Baltic Language"} 89 cai{"Central American Indian Language"} 91 cau{"Caucasian Language"} [all …]
|