/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | ICUTest.java | 71 assertEquals("Latn", ICU.getScript(ICU.addLikelySubtags("en_US"))); in test_getScript_addLikelySubtags() 72 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("he"))); in test_getScript_addLikelySubtags() 73 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("he_IL"))); in test_getScript_addLikelySubtags() 74 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("iw"))); in test_getScript_addLikelySubtags() 75 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("iw_IL"))); in test_getScript_addLikelySubtags() 79 assertEquals("Latn", ICU.addLikelySubtags(new Locale("en", "US")).getScript()); in test_addLikelySubtags() 80 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("he")).getScript()); in test_addLikelySubtags() 81 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("he", "IL")).getScript()); in test_addLikelySubtags() 82 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("iw")).getScript()); in test_addLikelySubtags() 83 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("iw", "IL")).getScript()); in test_addLikelySubtags() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 521 assertEquals("Latn", b.build().getScript()); in test_Builder_setScript() 541 assertEquals("", b.build().getScript()); in test_Builder_setScript() 546 assertEquals("", b.build().getScript()); in test_Builder_setScript() 560 assertEquals("", l.getScript()); in test_Builder_clear() 644 assertEquals("Latn", l.getScript()); in test_setLanguageTag_twoWellFormedSubtags() 650 assertEquals("", l.getScript()); in test_setLanguageTag_twoWellFormedSubtags() 732 assertEquals("", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() 739 assertEquals("Latn", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() 746 assertEquals("Latn", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() 753 assertEquals("", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 1013 System.getProperty(category.scriptKey, defaultLocale.getScript()), in initDefault() 1219 public String getScript() { in getScript() method in Locale 1220 return baseLocale.getScript(); in getScript() 1422 boolean s = (baseLocale.getScript().length() != 0); in toString() 1439 .append(baseLocale.getScript()); in toString() 1533 subtag = tag.getScript(); in toLanguageTag() 1704 exts = getCompatibilityExtensions(base.getLanguage(), base.getScript(), in forLanguageTag() 1948 String scriptCode = baseLocale.getScript(); in getDisplayScript() 2368 String scriptCode = baseLocale.getScript(); in getDisplayName() 2617 fields.put("script", baseLocale.getScript()); in writeObject() [all …]
|
D | ResourceBundle.java | 2372 String script = base.getScript(); in createObject() 2396 bokmalList.add(Locale.getInstance("no", l.getScript(), l.getCountry(), in createObject() 2891 String script = locale.getScript(); in toBundleName()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 107 NATIVE_METHOD(ICU, getScript, "(Ljava/lang/String;)Ljava/lang/String;"),
|
/libcore/ojluni/annotations/mmodule/sun/util/locale/ |
D | LanguageTag.annotated.java | 50 public java.lang.String getScript() { throw new RuntimeException("Stub!"); } in getScript() method in LanguageTag
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LanguageTag.java | 420 String script = baseLocale.getScript(); in parseLocale() 557 public String getScript() { in getScript() method in LanguageTag
|
D | InternalLocaleBuilder.java | 358 script = langtag.getScript(); in setLanguageTag() 378 String script = base.getScript(); in setLocale()
|
D | BaseLocale.java | 95 public String getScript() { in getScript() method in BaseLocale
|
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 415 public static native String getScript(String locale); in getScript() method in ICU
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | Locale.annotated.java | 77 public java.lang.String getScript() { throw new RuntimeException("Stub!"); } in getScript() method in Locale
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 75 @libcore.util.NonNull public java.lang.String getScript() { throw new RuntimeException("Stub!"); } in getScript() method in Locale
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 133 public java.lang.String getScript() { in getScript() method in Locale
|