Home
last modified time | relevance | path

Searched refs:getScript (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/icu/
DICUTest.java71 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/
DLocaleTest.java505 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/
DLanguageTag.annotated.java50 public java.lang.String getScript() { throw new RuntimeException("Stub!"); } in getScript() method in LanguageTag
/libcore/ojluni/src/main/java/sun/util/locale/
DLanguageTag.java420 String script = baseLocale.getScript(); in parseLocale()
557 public String getScript() { in getScript() method in LanguageTag
DInternalLocaleBuilder.java358 script = langtag.getScript(); in setLanguageTag()
378 String script = base.getScript(); in setLocale()
DBaseLocale.java95 public String getScript() { in getScript() method in BaseLocale
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java2372 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/
DICU.java474 public static native String getScript(String locale); in getScript() method in ICU
/libcore/ojluni/annotations/mmodule/java/util/
DLocale.annotated.java77 public java.lang.String getScript() { throw new RuntimeException("Stub!"); } in getScript() method in Locale
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp116 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/
DLocale.java133 public java.lang.String getScript() { in getScript() method in Locale
/libcore/ojluni/annotations/sdk/nullability/java/util/
DLocale.annotated.java75 @libcore.util.NonNull public java.lang.String getScript() { throw new RuntimeException("Stub!"); } in getScript() method in Locale