/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
D | SupplementalData.java | 199 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() 513 return addLikelySubtags(localeId).map(LocaleId::getScript).orElse("Zzzz"); in scriptOf() 540 if ("Zzzz".equals(id.getScript())) { in addLikelySubtags() 549 if (!id.getLanguage().equals("und") && id.getScript() != null && id.getRegion() != null) { in addLikelySubtags() 563 if (id.getScript() == null) { in addLikelySubtags() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestIdentity.java | 39 String fScript = ltp.getScript().length() > 0 ? ltp.getScript() in TestIdentityVsFilename() 64 String iScript = ltp.getScript().length() > 0 ? ltp.getScript() in TestIdentityVsFilename()
|
D | TestInheritance.java | 201 String script = ltp.getScript(); in show() 258 String script = ltp.set(localeID).getScript(); in TestLikelyAndDefaultConsistency() 355 && !lp.set(loc).getScript() in TestParentLocaleInvariants() 356 .equals(lp.set(parentLocale).getScript())) { in TestParentLocaleInvariants() 361 if (lp.getScript().length() == 0 && lp.getRegion().length() == 0) { in TestParentLocaleInvariants() 417 String script = ltp.getScript(); in verifyScriptsWithDefaultContents() 478 String sourceScript = ltp.getScript(); in verifyLikelySubtagsImplicationsForDefaultContents() 482 String likelyMaxScript = ltp.getScript(); in verifyLikelySubtagsImplicationsForDefaultContents() 524 String dcScript = ltp.set(dc).getScript(); in verifyLikelySubtagsImplicationsForDefaultContents() 573 String sourceScript = ltp.getScript(); in verifyDefaultContentsImplicationsForLikelySubtags() [all …]
|
D | LikelySubtagsTest.java | 109 String sourceScript = ltp.getScript(); in add() 185 if (!sourceLtp.getScript().isEmpty()) in checkAdding() 187 sourceLtp.setScript(maxLtp.getScript()); in checkAdding() 257 String sourceScript = ltp.getScript(); in TestStability() 261 String targetScript = ltp.getScript(); in TestStability() 286 int script = UScript.getScript(ch); in TestForMissingScriptMetadata()
|
D | LanguageTest.java | 109 String script = parser.set(language).getScript(); in TestThatLanguagesHaveScript() 114 script = parser.set(likely).getScript(); in TestThatLanguagesHaveScript() 206 + (parser.getScript().isEmpty() ? "?" : getScriptName(parser in getLocaleName() 207 .getScript())) in getLocaleName()
|
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/ |
D | TestCaseEditController.java | 212 this.editInputString.setText(input.getScript()); in updateInputEditor() 216 this.editInputMulti.setText(input.getScript()); in updateInputEditor() 220 this.editInputFile.setText(input.getScript()); in updateInputEditor() 240 this.editOutputAST.setText(output.getScript()); in updateOutputEditor() 246 this.editOutputResult.setValue(output.getScript()); in updateOutputEditor() 252 this.editOutputStd.setText(output.getScript()); in updateOutputEditor() 258 this.editOutputReturn.setText(output.getScript()); in updateOutputEditor() 612 clamp(clampAtNewLine(item.getInput().getScript()), 18)); in getListCellRendererComponent() 614 clamp(clampAtNewLine(item.getOutput().getScript()), 18)); in getListCellRendererComponent()
|
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
D | TestCaseOutputResult.java | 48 return getScript(); in toString() 51 public String getScript() { in getScript() method in TestCaseOutputResult
|
D | TestCase.java | 59 return String.format("[%s]->[%s]", input.getScript(), output.getScript()); in toString()
|
D | ITestCaseOutput.java | 41 public String getScript() ; in getScript() method
|
D | ITestCaseInput.java | 33 public String getScript(); in getScript() method
|
D | TestCaseOutputReturn.java | 46 public String getScript() { in getScript() method in TestCaseOutputReturn
|
D | TestCaseOutputAST.java | 47 public String getScript() { in getScript() method in TestCaseOutputAST
|
D | TestCaseOutputStdOut.java | 50 public String getScript() { in getScript() method in TestCaseOutputStdOut
|
/external/cldr/tools/java/com/ibm/icu/util/ |
D | LocaleMatcher.java | 157 String script = ulocale.getScript(); in canonicalize() 359 final String script = languageCode.getScript(); in addLikelySubtags() 407 if (script != null && !script.equals(ulocale.getScript())) { in matches() 424 public String getScript() { in getScript() method in LocaleMatcher.LocalePatternMatcher 436 result += "-" + getScript(); in toString() 640 …diff += scriptScores.getScore(aMax, a.getScript(), aMax.getScript(), bMax, b.getScript(), bMax.get… in match() 729 String dscript = desiredMatcher.getScript(); in addDistance() 730 String sscript = supportedMatcher.getScript(); in addDistance()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ScriptPopulations.java | 35 String script = languageTagParser.getScript(); in main() 39 script = languageTagParser.set(maxFrom).getScript(); in main() 56 String script = languageTagParser.getScript(); in main()
|
D | CheckLangTagBNF.java | 180 System.out.println("ulocale.getScript " + loc2.getScript()); in main() 277 checkStrings("script", ltp.getScript(), slp.getScript()); in checkParse() 289 if (ltp.getScript().length() != 0) System.out.println("\tscript:\t" + ltp.getScript()); in checkParse()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | TestUScript.java | 41 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()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | TestUScript.java | 38 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()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CLDRLocale.java | 78 String s = cldrLocale.getScript(); in getDisplayName() 107 return ldn.scriptDisplayName(cldrLocale.getScript()); in getDisplayScript() 173 if (file != null) return file.getName("script", cldrLocale.getScript()); in getDisplayScript() 175 cldrLocale.getScript()); in getDisplayScript() 487 public String getScript() { 488 return parts == null ? null : parts.getScript();
|
D | LanguageTagCanonicalizer.java | 105 return parser.getScript(); in get() 162 if (mainField == LanguageTagField.script || ltp1.getScript().length() == 0) { in copyFields2() 163 ltp1.setScript(ltp2.getScript()); in copyFields2()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ULocale.java | 780 cmp = getScript().compareTo(other.getScript()); in compareTo() 921 public String getScript() { in getScript() method in ULocale 922 return base().getScript(); in getScript() 932 public static String getScript(String localeID) { in getScript() method in ULocale 933 return new LocaleIDParser(localeID).getScript(); in getScript() 1349 if ( ! testLocale.getScript().isEmpty() || in loadAliasData() 1655 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize() 1662 parser.getLanguage(), parser.getScript(), parser.getCountry(), in canonicalize() 1835 String script = getScript(); in isRightToLeft() 1852 script = likely.getScript(); in isRightToLeft() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | ULocale.java | 720 cmp = getScript().compareTo(other.getScript()); in compareTo() 851 public String getScript() { in getScript() method in ULocale 852 return base().getScript(); in getScript() 861 public static String getScript(String localeID) { in getScript() method in ULocale 862 return new LocaleIDParser(localeID).getScript(); in getScript() 1263 if ( ! testLocale.getScript().isEmpty() || in loadAliasData() 1568 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize() 1575 parser.getLanguage(), parser.getScript(), parser.getCountry(), in canonicalize() 1741 String script = getScript(); in isRightToLeft() 1758 script = likely.getScript(); in isRightToLeft() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | XLikelySubtags.java | 79 return new LSR(locale.getLanguage(), locale.getScript(), locale.getCountry()); in from() 83 return fromMaximalized(locale.getLanguage(), locale.getScript(), locale.getCountry()); in fromMaximalized() 167 final String script = ltp.getScript(); in init() 172 final String scriptTarget = ltp.getScript(); in init() 293 return maximize(source.getLanguage(), source.getScript(), source.getCountry()); in maximize() 472 scripts.add(ltp.getScript()); in main() 477 add(target, scriptCounter, ltp.getScript(), 1); in main() 482 scriptCounter.add(ltp.getScript(), 1); in main()
|
/external/parameter-framework/upstream/tools/xmlGenerator/ |
D | PFWScriptGenerator.py | 45 def getScript(self): member in PfwScriptTranslator 147 options.output.write("\n".join(translator.getScript()))
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
D | LocaleDistanceMapper.java | 198 public String getScript() { in getScript() method in LocaleDistanceMapper.LsrSpec 282 desired.getScript(), supported.getScript()); in addTo() 308 desired.getScript(), supported.getScript(), in addTo()
|