/external/llvm/unittests/Support/ |
D | DwarfTest.cpp | 69 TEST(DwarfTest, getLanguage) { in TEST() argument 71 EXPECT_EQ(DW_LANG_C89, getLanguage("DW_LANG_C89")); in TEST() 72 EXPECT_EQ(DW_LANG_C_plus_plus_11, getLanguage("DW_LANG_C_plus_plus_11")); in TEST() 73 EXPECT_EQ(DW_LANG_OCaml, getLanguage("DW_LANG_OCaml")); in TEST() 74 EXPECT_EQ(DW_LANG_Mips_Assembler, getLanguage("DW_LANG_Mips_Assembler")); in TEST() 77 EXPECT_EQ(0u, getLanguage("DW_LANG_invalid")); in TEST() 78 EXPECT_EQ(0u, getLanguage("DW_TAG_array_type")); in TEST() 79 EXPECT_EQ(0u, getLanguage("something else")); in TEST() 82 EXPECT_EQ(0u, getLanguage("DW_LANG_lo_user")); in TEST() 83 EXPECT_EQ(0u, getLanguage("DW_LANG_hi_user")); in TEST()
|
/external/testng/src/main/java/org/testng/xml/ |
D | XmlMethodSelector.java | 65 public String getLanguage() { in getLanguage() method in XmlMethodSelector 66 return m_script.getLanguage(); in getLanguage() 103 else if (getLanguage() != null) { in toXml() 105 scriptProp.setProperty("language", getLanguage()); in toXml() 128 + ((getLanguage() == null) ? 0 : getLanguage().hashCode()); in hashCode() 152 if (getLanguage() == null) { in equals() 153 if (other.getLanguage() != null) in equals() 155 } else if (!getLanguage().equals(other.getLanguage())) in equals()
|
/external/icu/icu4c/source/i18n/ |
D | csrsbcs.h | 142 const char *getLanguage() const; 152 const char *getLanguage() const; 162 const char *getLanguage() const; 174 const char *getLanguage() const; 184 const char *getLanguage() const; 194 const char *getLanguage() const; 206 const char *getLanguage() const; 218 const char *getLanguage() const; 231 const char *getLanguage() const; 242 const char *getLanguage() const; [all …]
|
D | csrmbcs.h | 73 const char *getLanguage() const = 0; 106 const char *getLanguage() const; 123 const char *getLanguage() const = 0; 145 const char *getLanguage() const; 160 const char *getLanguage() const; 178 const char *getLanguage() const; 197 const char *getLanguage() const;
|
D | csrsbcs.cpp | 955 const char *CharsetRecog_8859_5_ru::getLanguage() const in getLanguage() function in CharsetRecog_8859_5_ru 982 const char *CharsetRecog_8859_6_ar::getLanguage() const in getLanguage() function in CharsetRecog_8859_6_ar 1009 const char *CharsetRecog_8859_7_el::getLanguage() const in getLanguage() function in CharsetRecog_8859_7_el 1042 const char *CharsetRecog_8859_8_I_he::getLanguage() const in getLanguage() function in CharsetRecog_8859_8_I_he 1060 const char *CharsetRecog_8859_8_he::getLanguage() const in getLanguage() function in CharsetRecog_8859_8_he 1088 const char *CharsetRecog_8859_9_tr::getLanguage() const in getLanguage() function in CharsetRecog_8859_9_tr 1111 const char *CharsetRecog_windows_1256::getLanguage() const in getLanguage() function in CharsetRecog_windows_1256 1133 const char *CharsetRecog_windows_1251::getLanguage() const in getLanguage() function in CharsetRecog_windows_1251 1155 const char *CharsetRecog_KOI8_R::getLanguage() const in getLanguage() function in CharsetRecog_KOI8_R 1173 const char *CharsetRecog_IBM424_he::getLanguage() const in getLanguage() function in CharsetRecog_IBM424_he [all …]
|
D | csrmbcs.cpp | 282 const char *CharsetRecog_sjis::getLanguage() const in getLanguage() function in CharsetRecog_sjis 366 const char *CharsetRecog_euc_jp::getLanguage() const in getLanguage() function in CharsetRecog_euc_jp 388 const char *CharsetRecog_euc_kr::getLanguage() const in getLanguage() function in CharsetRecog_euc_kr 440 const char *CharsetRecog_big5::getLanguage() const in getLanguage() function in CharsetRecog_big5 516 const char *CharsetRecog_gb_18030::getLanguage() const in getLanguage() function in CharsetRecog_gb_18030
|
D | csmatch.cpp | 39 fLang = cr->getLanguage(); in set() 49 const char* CharsetMatch::getLanguage()const in getLanguage() function in CharsetMatch
|
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
D | ReportTaskLocaleTest.java | 29 assertEquals("", locale.getLanguage()); in testNone() 38 assertEquals("fr", locale.getLanguage()); in testLanguage() 47 assertEquals("fr", locale.getLanguage()); in testLanguageCountry() 56 assertEquals("de", locale.getLanguage()); in testLanguageCountryVariant()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CharsetRecog_sbcs.java | 592 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_5_ru 656 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_6_ar 720 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_7_el 790 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_8_I_he 812 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_8_he 878 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_9_tr 940 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_windows_1251 1001 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_windows_1256 1062 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_KOI8_R 1096 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_IBM424_he [all …]
|
D | CharsetRecog_mbcs.java | 234 public String getLanguage() in getLanguage() method in CharsetRecog_mbcs.CharsetRecog_sjis 301 public String getLanguage() in getLanguage() method in CharsetRecog_mbcs.CharsetRecog_big5 407 public String getLanguage() in getLanguage() method in CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_jp 442 public String getLanguage() in getLanguage() method in CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_kr 540 public String getLanguage() in getLanguage() method in CharsetRecog_mbcs.CharsetRecog_gb_18030
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetRecog_sbcs.java | 591 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_5_ru 655 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_6_ar 719 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_7_el 789 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_8_I_he 811 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_8_he 877 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_8859_9_tr 939 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_windows_1251 1000 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_windows_1256 1061 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_KOI8_R 1095 public String getLanguage() in getLanguage() method in CharsetRecog_sbcs.CharsetRecog_IBM424_he [all …]
|
D | CharsetRecog_mbcs.java | 233 public String getLanguage() in getLanguage() method in CharsetRecog_mbcs.CharsetRecog_sjis 300 public String getLanguage() in getLanguage() method in CharsetRecog_mbcs.CharsetRecog_big5 406 public String getLanguage() in getLanguage() method in CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_jp 441 public String getLanguage() in getLanguage() method in CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_kr 539 public String getLanguage() in getLanguage() method in CharsetRecog_mbcs.CharsetRecog_gb_18030
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 161 String lang = ulocale.getLanguage(); in canonicalize() 261 String baseLanguage = maximized.getLanguage(); in getBestMatchInternal() 317 String lang = key.getLanguage(); in processMapping() 326 String lang = key.getLanguage(); in processMapping() 370 final String language = languageCode.getLanguage(); in addLikelySubtags() 416 if (lang != null && !lang.equals(ulocale.getLanguage())) { in matches() 432 public String getLanguage() { in getLanguage() method in LocaleMatcher.LocalePatternMatcher 445 String result = getLanguage(); in toString() 644 …iff += languageScores.getScore(aMax, a.getLanguage(), aMax.getLanguage(), bMax, b.getLanguage(), b… in match() 728 String dlanguage = desiredMatcher.getLanguage(); in addDistance() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | LocaleMatcher.java | 158 String lang = ulocale.getLanguage(); in canonicalize() 254 String baseLanguage = maximized.getLanguage(); in getBestMatchInternal() 310 String lang = key.getLanguage(); in processMapping() 319 String lang = key.getLanguage(); in processMapping() 363 final String language = languageCode.getLanguage(); in addLikelySubtags() 409 if (lang != null && !lang.equals(ulocale.getLanguage())) { in matches() 425 public String getLanguage() { in getLanguage() method in LocaleMatcher.LocalePatternMatcher 438 String result = getLanguage(); in toString() 637 …iff += languageScores.getScore(aMax, a.getLanguage(), aMax.getLanguage(), bMax, b.getLanguage(), b… in match() 721 String dlanguage = desiredMatcher.getLanguage(); in addDistance() [all …]
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ |
D | ICULocaleServiceProvider.java | 83 StringBuilder id = new StringBuilder(result.getLanguage()); in toULocaleNoSpecialVariant() 120 …splocs.put(new Locale(spLoc.getLanguage(), spLoc.getCountry(), var + "_" + getIcuSuffix()), spLoc); in getSpecialLocalesMap() 136 String language = uloc.getLanguage(); in getLocales() 170 String language = loc.getLanguage(); in addLocale() 186 if (uloc.getLanguage().equals("nn") && uloc.getScript().length() == 0) { in addULocale() 187 Locale locNN = new Locale(uloc.getLanguage(), uloc.getCountry(), uloc.getVariant()); in addULocale()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | ClassificationBox.java | 43 public String getLanguage() { in getLanguage() method in ClassificationBox 102 buffer.append("ClassificationBox[language=").append(getLanguage()); in toString() 105 buffer.append(";language=").append(getLanguage()); in toString()
|
D | RatingBox.java | 61 public String getLanguage() { in getLanguage() method in RatingBox 116 buffer.append("RatingBox[language=").append(getLanguage()); in toString() 119 buffer.append(";language=").append(getLanguage()); in toString()
|
D | TitleBox.java | 46 public String getLanguage() { in getLanguage() method in TitleBox 87 return "TitleBox[language=" + getLanguage() + ";title=" + getTitle() + "]"; in toString()
|
D | DescriptionBox.java | 39 public String getLanguage() { in getLanguage() method in DescriptionBox 67 … return "DescriptionBox[language=" + getLanguage() + ";description=" + getDescription() + "]"; in toString()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/ |
D | TestCharsetDetector.java | 154 if (! m.getLanguage().equals("fr")) { in TestInputFilter() 162 if (! m.getLanguage().equals("en")) { in TestInputFilter() 430 String charsetMatchLanguage = m.getLanguage(); in checkMatch() 435 …" + encoding + ": language detection failure - expected " + language + ", got " + m.getLanguage()); in checkMatch() 523 CheckAssert(m.getLanguage().equals("ja")); in TestJapanese() 558 CheckAssert(m.getLanguage().endsWith("ar")); in TestArabic() 600 CheckAssert(m.getLanguage().endsWith("ar")); in TestArabic() 667 CheckAssert(m.getLanguage().equals("he")); in TestHebrew() 672 CheckAssert(m.getLanguage().equals("he")); in TestHebrew() 677 CheckAssert(m.getLanguage().equals("he")); in TestHebrew() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/ |
D | TestCharsetDetector.java | 158 if (! m.getLanguage().equals("fr")) { in TestInputFilter() 166 if (! m.getLanguage().equals("en")) { in TestInputFilter() 434 String charsetMatchLanguage = m.getLanguage(); in checkMatch() 439 …" + encoding + ": language detection failure - expected " + language + ", got " + m.getLanguage()); in checkMatch() 527 CheckAssert(m.getLanguage().equals("ja")); in TestJapanese() 562 CheckAssert(m.getLanguage().endsWith("ar")); in TestArabic() 604 CheckAssert(m.getLanguage().endsWith("ar")); in TestArabic() 671 CheckAssert(m.getLanguage().equals("he")); in TestHebrew() 676 CheckAssert(m.getLanguage().equals("he")); in TestHebrew() 681 CheckAssert(m.getLanguage().equals("he")); in TestHebrew() [all …]
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | LocaleNameTest.java | 46 if (forLocale.getLanguage().length() == 0) { in TestLanguageNames() 50 icuid.append(forLocale.getLanguage()); in TestLanguageNames() 65 String icuname = ULocale.getDisplayLanguage(forULocale.getLanguage(), inULocale); in TestLanguageNames() 66 if (icuname.equals(forULocale.getLanguage()) || icuname.length() == 0) { in TestLanguageNames() 237 …Locale forLocaleSingleVar = new Locale(forLocale.getLanguage(), forLocale.getCountry(), locSingleV… in TestVariantNames()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/vodafone/ |
D | ContentDistributorIdBox.java | 39 public String getLanguage() { in getLanguage() method in ContentDistributorIdBox 68 …return "ContentDistributorIdBox[language=" + getLanguage() + ";contentDistributorId=" + getContent… in toString()
|
D | AlbumArtistBox.java | 41 public String getLanguage() { in getLanguage() method in AlbumArtistBox 76 … return "AlbumArtistBox[language=" + getLanguage() + ";albumArtist=" + getAlbumArtist() + "]"; in toString()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | ContentLanguage.java | 121 return locale.getLanguage(); in getLanguageTag() 123 return locale.getLanguage() + '-' + locale.getCountry(); in getLanguageTag()
|