Home
last modified time | relevance | path

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

1234

/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DSupplementalData.java199 String getScript() { in getScript() method in SupplementalData.LocaleId
338 LocaleId key = LocaleId.of(id.getLanguage(), id.getScript(), null); in replaceDeprecatedTags()
358 if (id.getScript() != null) { in replaceDeprecatedTags()
359 String replacementScript = aliasTable.get(Alias.SCRIPT, id.getScript()); in replaceDeprecatedTags()
389 if (id.getScript() == null) { in replaceDeprecatedTags()
390 id.setScript(resolvedId.getScript()); in replaceDeprecatedTags()
518 return addLikelySubtags(localeId).map(LocaleId::getScript).orElse("Zzzz"); in scriptOf()
545 if ("Zzzz".equals(id.getScript())) { in addLikelySubtags()
554 if (!id.getLanguage().equals("und") && id.getScript() != null && id.getRegion() != null) { in addLikelySubtags()
568 if (id.getScript() == null) { in addLikelySubtags()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DULocale.java740 cmp = getScript().compareTo(other.getScript()); in compareTo()
874 public String getScript() { in getScript() method in ULocale
875 return base().getScript(); in getScript()
884 public static String getScript(String localeID) { in getScript() method in ULocale
885 return new LocaleIDParser(localeID).getScript(); in getScript()
1171 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1210 … !parser.getScript().isEmpty() ? parser.getScript() : replaceLocale.getScript(), in canonicalize()
1222 if (!parser.getScript().isEmpty() && !parser.getCountry().isEmpty()) { in canonicalize()
1225 … lscvToID(parser.getLanguage(), parser.getScript(), parser.getCountry(), null)) in canonicalize()
1230 replaceLocale.getScript(), in canonicalize()
[all …]
DGlobalizationPreferences.java797 String script = uloc.getScript(); in processLocales()
810 String s = u.getScript(); in processLocales()
985 String script = firstLocale.getScript(); in guessTerritory()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java38 UScript.COMMON==UScript.getScript(0x0640) && in TestGetScriptOfCharsWithScriptExtensions()
39 UScript.INHERITED==UScript.getScript(0x0650) && in TestGetScriptOfCharsWithScriptExtensions()
40 UScript.ARABIC==UScript.getScript(0xfdf2)) in TestGetScriptOfCharsWithScriptExtensions()
146 if(sample.length()!=1 || UScript.getScript(sample.charAt(0))!=UScript.LATIN) { in TestScriptMetadataAPI()
231 charScript, UScript.getScript(firstChar)); in TestScriptMetadata()
271 code = UScript.getScript(i); in TestAllCodepoints()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DTestUScript.java41 UScript.COMMON==UScript.getScript(0x0640) && in TestGetScriptOfCharsWithScriptExtensions()
42 UScript.INHERITED==UScript.getScript(0x0650) && in TestGetScriptOfCharsWithScriptExtensions()
43 UScript.ARABIC==UScript.getScript(0xfdf2)) in TestGetScriptOfCharsWithScriptExtensions()
149 if(sample.length()!=1 || UScript.getScript(sample.charAt(0))!=UScript.LATIN) { in TestScriptMetadataAPI()
234 charScript, UScript.getScript(firstChar)); in TestScriptMetadata()
274 code = UScript.getScript(i); in TestAllCodepoints()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java779 cmp = getScript().compareTo(other.getScript()); in compareTo()
920 public String getScript() { in getScript() method in ULocale
921 return base().getScript(); in getScript()
931 public static String getScript(String localeID) { in getScript() method in ULocale
932 return new LocaleIDParser(localeID).getScript(); in getScript()
1377 if ( ! testLocale.getScript().isEmpty() || in loadAliasData()
1756 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1763 parser.getLanguage(), parser.getScript(), parser.getCountry(), in canonicalize()
1936 String script = getScript(); in isRightToLeft()
1953 script = likely.getScript(); in isRightToLeft()
[all …]
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DLocaleDistanceMapper.java198 public String getScript() { in getScript() method in LocaleDistanceMapper.LsrSpec
282 desired.getScript(), supported.getScript()); in addTo()
308 desired.getScript(), supported.getScript(), in addTo()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/personname/
DPersonNameFormatterImpl.java280 …rScript = UScript.getCodeFromName(ULocale.addLikelySubtags(ULocale.forLocale(locale)).getScript()); in getNameLocale()
286 int script = UScript.getScript(givenName.charAt(i)); in getNameLocale()
318 stringScript = UScript.getScript(c); in scriptMatchesLocale()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
DICULocaleServiceProvider.java86 String script = result.getScript(); in toULocaleNoSpecialVariant()
144 if (uloc.getScript().length() > 0 && uloc.getCountry().length() > 0) { in getLocales()
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DAnyTransliterator.java365 s = UScript.getScript(ch); in next()
377 s = UScript.getScript(ch); in next()
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DLocaleNameTest.java115 if (forULocale.getScript().length() == 0) { in TestScriptNames()
120 if (icuname.equals(forULocale.getScript()) || icuname.length() == 0) { in TestScriptNames()
DTestUtil.java36 if (uloc.getScript().length() == 0) { in toICUExtendedLocale()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DAnyTransliterator.java365 s = UScript.getScript(ch); in next()
377 s = UScript.getScript(ch); in next()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DXLikelySubtags.java183 locale.getScript(), in canonicalize()
203 return makeMaximizedLsr(locale.getLanguage(), locale.getScript(), locale.getCountry(), in makeMaximizedLsrFrom()
213 return makeMaximizedLsr(locale.getLanguage(), locale.getScript(), locale.getCountry(), in makeMaximizedLsrFrom()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXLikelySubtags.java176 locale.getScript(), in canonicalize()
197 return makeMaximizedLsr(locale.getLanguage(), locale.getScript(), locale.getCountry(), in makeMaximizedLsrFrom()
208 return makeMaximizedLsr(locale.getLanguage(), locale.getScript(), locale.getCountry(), in makeMaximizedLsrFrom()
/third_party/icu/icu4c/source/common/unicode/
Dlocid.h477 inline const char * getScript( ) const;
1194 Locale::getScript() const in getScript() function
/third_party/node/deps/icu-small/source/common/unicode/
Dlocid.h477 inline const char * getScript( ) const;
1206 Locale::getScript() const in getScript() function
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DAnyTransliterator.java176 int scrpt = UScript.getScript(cp); in next()
188 int scrpt = UScript.getScript(cp); in next()
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dlocid.h477 inline const char * getScript( ) const;
1194 Locale::getScript() const in getScript() function
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DAlphabeticIndexTest.java284 int script = UScript.getScript(c); in TestFirstCharacters()
297 int script = UScript.getScript(c); in getFirstRealScript()
715 int script = UScript.getScript(current.codePointAt(0)); in firstStringsInScript()
762 UScript.getScript(Character.codePointAt(s, 1)) == UScript.UNKNOWN; in isUnassignedBoundary()
1184 UScript.getScript(bucket.getLabel().codePointAt(0))); in checkHasBuckets()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java281 int script = UScript.getScript(c); in TestFirstCharacters()
294 int script = UScript.getScript(c); in getFirstRealScript()
712 int script = UScript.getScript(current.codePointAt(0)); in firstStringsInScript()
759 UScript.getScript(Character.codePointAt(s, 1)) == UScript.UNKNOWN; in isUnassignedBoundary()
1181 UScript.getScript(bucket.getLabel().codePointAt(0))); in checkHasBuckets()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUTS46.java777 UScript.GREEK==UScript.getScript(Character.codePointAt(label, i+1)))) { in checkLabelContextO()
791 UScript.HEBREW==UScript.getScript(Character.codePointBefore(label, i)))) { in checkLabelContextO()
833 int script=UScript.getScript(c); in checkLabelContextO()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUTS46.java786 UScript.GREEK==UScript.getScript(Character.codePointAt(label, i+1)))) { in checkLabelContextO()
800 UScript.HEBREW==UScript.getScript(Character.codePointBefore(label, i)))) { in checkLabelContextO()
842 int script=UScript.getScript(c); in checkLabelContextO()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java795 String script = uloc.getScript(); in processLocales()
808 String s = u.getScript(); in processLocales()
983 String script = firstLocale.getScript(); in guessTerritory()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUScript.java1087 String script = locale.getScript(); in getCodesFromLocale()
1196 public static final int getScript(int codepoint){ in getScript() method in UScript

1234