Home
last modified time | relevance | path

Searched refs:cldrFileToCheck (Results 1 – 21 of 21) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/test/
DCheckNew.java22 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
24 if (cldrFileToCheck == null) { in setCldrFileToCheck()
34 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
43 CLDRFile cldrFileToCheck = getCldrFileToCheck(); in handleCheck() local
47 if (cldrFileToCheck.isResolved()) { in handleCheck()
49 String localeFound = cldrFileToCheck.getSourceLocaleID(path, status); in handleCheck()
66 Date modified = cldrFileToCheck.getLastModifiedDate(path); in handleCheck()
69 boolean isOutdated = outdatedPaths.isOutdated(cldrFileToCheck.getLocaleID(), path); in handleCheck()
DCheckCoverage.java114 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
116 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
118 final String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
120 … supplementalData = SupplementalDataInfo.getInstance(cldrFileToCheck.getSupplementalDirectory()); in setCldrFileToCheck()
132 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
141 latin = ValuePathStatus.isLatinScriptLocale(cldrFileToCheck); in setCldrFileToCheck()
DCheckForCopy.java228 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
230 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
232 final String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
235 … UnicodeSet exemplars = cldrFileToCheck.getExemplarSet("main", CLDRFile.WinningChoice.WINNING); in setCldrFileToCheck()
251 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
255 private void generateExcludedItems(CLDRFile cldrFileToCheck) { in generateExcludedItems() argument
257 SupplementalDataInfo supplementalData = SupplementalDataInfo.getInstance(cldrFileToCheck in generateExcludedItems()
DCheckChildren.java61 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
63 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
64 … if (cldrFileToCheck.getLocaleID().equals("root")) return this; // Root's children can override. in setCldrFileToCheck()
75 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
76 CLDRLocale myLocale = CLDRLocale.getInstance(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
DCheckCasing.java29 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
31 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
32 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
33 uLocale = new ULocale(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
DCheckAlt.java98 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
100 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
109 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckCLDR.java72 private CLDRFile cldrFileToCheck; field in CheckCLDR
632 return cldrFileToCheck; in getCldrFileToCheck()
643 final public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Map<String, String> options, in setCldrFileToCheck() argument
645 return setCldrFileToCheck(cldrFileToCheck, new Options(options), possibleErrors); in setCldrFileToCheck()
660 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
662 this.cldrFileToCheck = cldrFileToCheck; in setCldrFileToCheck()
666 String locale = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
1068 if (cldrFileToCheck == null) { in check()
1092 && value.equals(cldrFileToCheck.getBaileyValue(path, null, null)) in check()
1093 && !value.equals(cldrFileToCheck.getWinningValue(path))) { in check()
[all …]
DFactoryCheckCLDR.java51 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
53 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckAttributeValues.java243 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
245 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
253 … pluralInfo = supplementalData.getPlurals(PluralType.cardinal, cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
254 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
255 isEnglish = "en".equals(localeIDParser.set(cldrFileToCheck.getLocaleID()).getLanguage()); in setCldrFileToCheck()
263 if (!localeMatcher.matches(cldrFileToCheck.getLocaleID())) { in setCldrFileToCheck()
267 new Object[] { cldrFileToCheck.getLocaleID() })); in setCldrFileToCheck()
DCheckExemplars.java118 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()
DCheckWidths.java352 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
354 final String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
355 … supplementalData = SupplementalDataInfo.getInstance(cldrFileToCheck.getSupplementalDirectory()); in setCldrFileToCheck()
358 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckConsistentCasing.java51 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
53 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
54 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
55 locale = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
DCheckNumbers.java85 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
87 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
88 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
90 isPOSIX = cldrFileToCheck.getLocaleID().indexOf("POSIX") >= 0; in setCldrFileToCheck()
93 …PluralInfo pluralInfo = supplementalData.getPlurals(PluralType.cardinal, cldrFileToCheck.getLocale… in setCldrFileToCheck()
DCheckDates.java158 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()
239 …pathsWithConflictingOrder2sample = DateOrder.getOrderingInfo(cldrFileToCheck, resolved, flexInfo.f… in setCldrFileToCheck()
256 dateFormatInfoFormat = sdi.getDayPeriods(Type.format, cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
DCheckDisplayCollisions.java638 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
640 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
641 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
643 …nameToSubdivisionId = EmojiSubdivisionNames.getNameToSubdivisionPath(cldrFileToCheck.getLocaleID()… in setCldrFileToCheck()
DDisplayAndInputProcessor.java159 public DisplayAndInputProcessor(CLDRFile cldrFileToCheck, boolean needsCollator) { in DisplayAndInputProcessor() argument
160 init(this.locale = CLDRLocale.getInstance(cldrFileToCheck.getLocaleID()), needsCollator); in DisplayAndInputProcessor()
163 public DisplayAndInputProcessor(CLDRFile cldrFileToCheck) { in DisplayAndInputProcessor() argument
164 init(this.locale = CLDRLocale.getInstance(cldrFileToCheck.getLocaleID()), true); in DisplayAndInputProcessor()
/external/cldr/tools/java/org/unicode/cldr/tool/
DListUnits.java178 …private static Pair<UnicodeSet, UnicodeSet> getCharacters(CLDRFile cldrFileToCheck, String numberS… in getCharacters() argument
184 add(cldrFileToCheck, "decimal", numberSystem, punctuation, errors); in getCharacters()
186 add(cldrFileToCheck, "group", numberSystem, punctuation, errors); in getCharacters()
188 add(cldrFileToCheck, "minusSign", numberSystem, punctuation, errors); in getCharacters()
190 add(cldrFileToCheck, "list", numberSystem, punctuation, errors); in getCharacters()
191 add(cldrFileToCheck, "percentSign", numberSystem, punctuation, errors); in getCharacters()
192 add(cldrFileToCheck, "perMille", numberSystem, punctuation, errors); in getCharacters()
193 add(cldrFileToCheck, "plusSign", numberSystem, punctuation, errors); in getCharacters()
202 …private static void add(CLDRFile cldrFileToCheck, String subtype, String numberSystem, UnicodeSet … in add() argument
203 final String result = getSymbolString(cldrFileToCheck, subtype, numberSystem); in add()
DShowCoverageLevels.java30 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/
DTestCheckWidths.java28 CLDRFile cldrFileToCheck = new CLDRFile(xmlSource); in TestBasic() local
31 x.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in TestBasic()
DTestInheritance.java747 CLDRFile cldrFileToCheck = testInfo.getCLDRFile(locale, in TestCldrFileConsistency() local
750 for (String path : cldrFileToCheck) { in TestCldrFileConsistency()
754 String fullPath = cldrFileToCheck.getFullXPath(path); in TestCldrFileConsistency()
757 fullPath = cldrFileToCheck.getFullXPath(path); in TestCldrFileConsistency()
758 String value = cldrFileToCheck.getStringValue(path); in TestCldrFileConsistency()
965 private void checkAliasValues(CLDRFile cldrFileToCheck, Set<String> locales) { in checkAliasValues() argument
967 Set<String> allAliasPaths = cldrFileToCheck.getPaths("//ldml/", in checkAliasValues()
974 String fullPath = cldrFileToCheck.getFullXPath(aliasPath); in checkAliasValues()
DTestCoverageLevel.java99 CLDRFile cldrFileToCheck = factory.make(locale, true); in oldTestInvariantPaths() local
100 for (String path : cldrFileToCheck.fullIterable()) { in oldTestInvariantPaths()