/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 | 505 assertEquals("Latn", b.build().getScript()); in test_Builder_setScript() 525 assertEquals("", b.build().getScript()); in test_Builder_setScript() 530 assertEquals("", b.build().getScript()); in test_Builder_setScript() 544 assertEquals("", l.getScript()); in test_Builder_clear() 628 assertEquals("Latn", l.getScript()); in test_setLanguageTag_twoWellFormedSubtags() 634 assertEquals("", l.getScript()); in test_setLanguageTag_twoWellFormedSubtags() 716 assertEquals("", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() 723 assertEquals("Latn", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() 730 assertEquals("Latn", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() 737 assertEquals("", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() [all …]
|
/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/ojluni/src/main/java/java/util/ |
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/java/libcore/icu/ |
D | ICU.java | 474 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/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 116 return env->NewStringUTF(icuLocale.locale().getScript()); in ICU_getScript() 836 NATIVE_METHOD(ICU, getScript, "(Ljava/lang/String;)Ljava/lang/String;"),
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 133 public java.lang.String getScript() { 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
|