/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckNew.java | 22 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 24 if (cldrFileToCheck == null) { in setCldrFileToCheck() 27 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 28 isRoot = "root".equals(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck() 39 CLDRFile cldrFileToCheck = getCldrFileToCheck(); in handleCheck() local 43 … && cldrFileToCheck.getUnresolved().getStringValue(path) != null) { // don't check inherited values in handleCheck() 54 Date modified = cldrFileToCheck.getLastModifiedDate(path); in handleCheck() 57 boolean isOutdated = outdatedPaths.isOutdated(cldrFileToCheck.getLocaleID(), path) in handleCheck()
|
D | CheckCoverage.java | 124 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 126 if (cldrFileToCheck == null) return this; in setCldrFileToCheck() 128 final String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck() 130 … supplementalData = SupplementalDataInfo.getInstance(cldrFileToCheck.getSupplementalDirectory()); in setCldrFileToCheck() 142 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 151 latin = ValuePathStatus.isLatinScriptLocale(cldrFileToCheck); in setCldrFileToCheck()
|
D | CheckChildren.java | 62 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 64 if (cldrFileToCheck == null) return this; in setCldrFileToCheck() 65 … if (cldrFileToCheck.getLocaleID().equals("root")) return this; // Root's children can override. in setCldrFileToCheck() 76 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 77 CLDRLocale myLocale = CLDRLocale.getInstance(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
|
D | CheckCasing.java | 28 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 30 if (cldrFileToCheck == null) return this; in setCldrFileToCheck() 31 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 32 uLocale = new ULocale(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
|
D | CheckAlt.java | 96 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 98 if (cldrFileToCheck == null) return this; in setCldrFileToCheck() 107 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
|
D | CheckCLDR.java | 76 private CLDRFile cldrFileToCheck; field in CheckCLDR 631 return cldrFileToCheck; in getCldrFileToCheck() 642 final public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Map<String, String> options, in setCldrFileToCheck() argument 644 return setCldrFileToCheck(cldrFileToCheck, new Options(options), possibleErrors); in setCldrFileToCheck() 659 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 661 this.cldrFileToCheck = cldrFileToCheck; in setCldrFileToCheck() 665 String locale = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck() 1085 if (cldrFileToCheck == null) { in check() 1109 && !value.equals(cldrFileToCheck.getWinningValue(path)) in check() 1110 && cldrFileToCheck.getUnresolved().getStringValue(path) == null) { in check() [all …]
|
D | CheckLogicalGroupings.java | 48 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 50 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 59 String parent = LocaleIDParser.getParent(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck() 64 coverageLevel = CoverageLevel2.getInstance(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck() 278 final CLDRFile cldrFileToCheck = getCldrFileToCheck(); in getMaxDistance() local 281 …l String pathValue = cleanSpaces(path.contentEquals(path1) ? value : cldrFileToCheck.getWinningVal… in getMaxDistance()
|
D | CheckForCopy.java | 231 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 234 if (cldrFileToCheck == null) { in setCldrFileToCheck() 238 final String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck() 252 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
|
D | FactoryCheckCLDR.java | 52 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 54 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
|
D | CheckUnits.java | 34 …public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, List<CheckStatus> p… in setCldrFileToCheck() argument 35 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 37 … = CLDRConfig.getInstance().getSupplementalDataInfo().getGrammarInfo(cldrFileToCheck.getLocaleID()… in setCldrFileToCheck()
|
D | CheckExemplars.java | 118 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 120 if (cldrFileToCheck == null) return this; in setCldrFileToCheck() 121 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 122 String locale = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck() 126 isRoot = cldrFileToCheck.getLocaleID().equals("root"); in setCldrFileToCheck()
|
D | CheckAttributeValues.java | 246 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 248 if (cldrFileToCheck == null) return this; in setCldrFileToCheck() 256 … pluralInfo = supplementalData.getPlurals(PluralType.cardinal, cldrFileToCheck.getLocaleID()); in setCldrFileToCheck() 257 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 258 isEnglish = "en".equals(localeIDParser.set(cldrFileToCheck.getLocaleID()).getLanguage()); in setCldrFileToCheck() 266 if (!localeMatcher.test(cldrFileToCheck.getLocaleID())) { in setCldrFileToCheck() 270 new Object[] { cldrFileToCheck.getLocaleID() })); in setCldrFileToCheck()
|
D | CheckWidths.java | 362 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 364 final String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck() 365 … supplementalData = SupplementalDataInfo.getInstance(cldrFileToCheck.getSupplementalDirectory()); in setCldrFileToCheck() 368 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
|
D | CheckConsistentCasing.java | 49 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 51 if (cldrFileToCheck == null) return this; in setCldrFileToCheck() 52 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 53 locale = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
|
D | CheckNumbers.java | 92 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 94 if (cldrFileToCheck == null) return this; in setCldrFileToCheck() 95 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 97 isPOSIX = cldrFileToCheck.getLocaleID().indexOf("POSIX") >= 0; in setCldrFileToCheck() 100 …PluralInfo pluralInfo = supplementalData.getPlurals(PluralType.cardinal, cldrFileToCheck.getLocale… in setCldrFileToCheck()
|
D | CheckDates.java | 158 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 160 if (cldrFileToCheck == null) return this; in setCldrFileToCheck() 161 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck() 166 bi = BreakIterator.getCharacterInstance(new ULocale(cldrFileToCheck.getLocaleID())); in setCldrFileToCheck() 180 String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck() 242 …pathsWithConflictingOrder2sample = DateOrder.getOrderingInfo(cldrFileToCheck, resolved, flexInfo.f… in setCldrFileToCheck() 259 dateFormatInfoFormat = sdi.getDayPeriods(Type.format, cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
|
D | DisplayAndInputProcessor.java | 160 public DisplayAndInputProcessor(CLDRFile cldrFileToCheck, boolean needsCollator) { in DisplayAndInputProcessor() argument 161 init(this.locale = CLDRLocale.getInstance(cldrFileToCheck.getLocaleID()), needsCollator); in DisplayAndInputProcessor() 164 public DisplayAndInputProcessor(CLDRFile cldrFileToCheck) { in DisplayAndInputProcessor() argument 165 init(this.locale = CLDRLocale.getInstance(cldrFileToCheck.getLocaleID()), true); in DisplayAndInputProcessor()
|
D | CheckDisplayCollisions.java | 672 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument 674 if (cldrFileToCheck == null) return this; in setCldrFileToCheck() 675 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ListUnits.java | 177 …private static Pair<UnicodeSet, UnicodeSet> getCharacters(CLDRFile cldrFileToCheck, String numberS… in getCharacters() argument 183 add(cldrFileToCheck, "decimal", numberSystem, punctuation, errors); in getCharacters() 185 add(cldrFileToCheck, "group", numberSystem, punctuation, errors); in getCharacters() 187 add(cldrFileToCheck, "minusSign", numberSystem, punctuation, errors); in getCharacters() 189 add(cldrFileToCheck, "list", numberSystem, punctuation, errors); in getCharacters() 190 add(cldrFileToCheck, "percentSign", numberSystem, punctuation, errors); in getCharacters() 191 add(cldrFileToCheck, "perMille", numberSystem, punctuation, errors); in getCharacters() 192 add(cldrFileToCheck, "plusSign", numberSystem, punctuation, errors); in getCharacters() 201 …private static void add(CLDRFile cldrFileToCheck, String subtype, String numberSystem, UnicodeSet … in add() argument 202 final String result = getSymbolString(cldrFileToCheck, subtype, numberSystem); in add()
|
D | ShowCoverageLevels.java | 30 CLDRFile cldrFileToCheck = testInfo.getCldrFactory().make(locale, true); in main() local 31 for (String path : cldrFileToCheck) { in main() 32 String fullPath = cldrFileToCheck.getFullXPath(path); in main() 41 String value = cldrFileToCheck.getStringValue(path); in main()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCheckWidths.java | 28 CLDRFile cldrFileToCheck = new CLDRFile(xmlSource); in TestBasic() local 31 x.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in TestBasic()
|
D | TestCheckNumbers.java | 46 CLDRFile cldrFileToCheck = new CLDRFile(xmlSource); in checkSingularity() local 50 checkNumbers.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in checkSingularity()
|
D | TestInheritance.java | 746 CLDRFile cldrFileToCheck = testInfo.getCLDRFile(locale, in TestCldrFileConsistency() local 749 for (String path : cldrFileToCheck) { in TestCldrFileConsistency() 753 String fullPath = cldrFileToCheck.getFullXPath(path); in TestCldrFileConsistency() 756 fullPath = cldrFileToCheck.getFullXPath(path); in TestCldrFileConsistency() 757 String value = cldrFileToCheck.getStringValue(path); in TestCldrFileConsistency()
|
D | TestCoverageLevel.java | 106 CLDRFile cldrFileToCheck = factory.make(locale, true); in oldTestInvariantPaths() local 107 for (String path : cldrFileToCheck.fullIterable()) { in oldTestInvariantPaths()
|