/libcore/ojluni/src/main/java/sun/util/locale/ |
D | BaseLocale.java | 44 private final String script; field in BaseLocale 53 this.script = ""; in BaseLocale() 58 private BaseLocale(String language, String script, String region, String variant) { in BaseLocale() argument 60 this.script = (script != null) ? LocaleUtils.toTitleString(script).intern() : ""; in BaseLocale() 73 public static BaseLocale getInstance(String language, String script, in getInstance() argument 86 Key key = new Key(language, script, region, variant); in getInstance() 96 return script; in getScript() 117 && script == other.script in equals() 129 if (script.length() > 0) { in toString() 134 buf.append(script); in toString() [all …]
|
D | InternalLocaleBuilder.java | 47 private String script = ""; field in InternalLocaleBuilder 71 public InternalLocaleBuilder setScript(String script) throws LocaleSyntaxException { in setScript() argument 72 if (LocaleUtils.isEmpty(script)) { in setScript() 73 this.script = ""; in setScript() 75 if (!LanguageTag.isScript(script)) { in setScript() 76 throw new LocaleSyntaxException("Ill-formed script: " + script, 0); in setScript() 78 this.script = script; in setScript() 358 script = langtag.getScript(); in setLanguageTag() 378 String script = base.getScript(); in setLocale() local 413 if (script.length() > 0 && !LanguageTag.isScript(script)) { in setLocale() [all …]
|
D | LanguageTag.java | 54 private String script = ""; // script subtag field in LanguageTag 285 script = s; in parseScript() 420 String script = baseLocale.getScript(); in parseLocale() local 440 if (isScript(script)) { in parseLocale() 441 tag.script = canonicalizeScript(script); in parseLocale() 558 return script; in getScript() 724 if (script.length() > 0) { in toString() 725 sb.append(SEP).append(script); in toString()
|
/libcore/dom/src/test/resources/ |
D | staff2.dtd | 10 <!ELEMENT svg (rect, script, employee+)> 20 <!ELEMENT script (#PCDATA)> element 21 <!ATTLIST script type CDATA #IMPLIED>
|
/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 2372 String script = base.getScript(); in createObject() local 2388 List<Locale> tmpList = getDefaultList("nb", script, region, variant); in createObject() 2402 List<Locale> nynorskList = getDefaultList("nn", script, region, variant); in createObject() 2411 if (script.length() == 0 && region.length() > 0) { in createObject() 2418 script = "Hant"; in createObject() 2422 script = "Hans"; in createObject() 2425 } else if (script.length() > 0 && region.length() == 0) { in createObject() 2428 switch (script) { in createObject() 2439 return getDefaultList(language, script, region, variant); in createObject() 2442 …private static List<Locale> getDefaultList(String language, String script, String region, String v… in getDefaultList() argument [all …]
|
D | Locale.java | 820 static Locale getInstance(String language, String script, String country, in getInstance() argument 822 if (language== null || script == null || country == null || variant == null) { in getInstance() 827 extensions = getCompatibilityExtensions(language, script, country, variant); in getInstance() 830 BaseLocale baseloc = BaseLocale.getInstance(language, script, country, variant); in getInstance() 969 String language, region, script, country, variant; in initDefault() local 983 script = ""; in initDefault() 985 script = System.getProperty("user.script", ""); in initDefault() 991 return getInstance(language, script, country, variant, null); in initDefault() 2635 String script = (String)fields.get("script", ""); in readObject() local 2639 baseLocale = BaseLocale.getInstance(convertOldISOCodes(language), script, country, variant); in readObject() [all …]
|
/libcore/luni/src/test/etc/loading-test2-jar/ |
D | README.txt | 6 resources in any sane way. To update the resource, use the script
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | README.txt | 6 resources in any sane way. To update the resource, use the script
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 79 java.lang.String script, in getInstance() argument 319 java.lang.String script, in getCompatibilityExtensions() argument 562 public java.util.Locale.Builder setScript(java.lang.String script) { in setScript() argument
|
/libcore/ojluni/src/main/java/java/awt/font/ |
D | NumericShaper.java | 314 private static int toRangeIndex(Range script) { in toRangeIndex() argument 315 int index = script.ordinal(); in toRangeIndex()
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | Locale.annotated.java | 228 public java.util.Locale.Builder setScript(java.lang.String script) { throw new RuntimeException("St… in setScript() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 224 …va.util.Locale.Builder setScript(@libcore.util.Nullable java.lang.String script) { throw new Runti… in setScript() argument
|