Home
last modified time | relevance | path

Searched refs:cldrFileToCheck (Results 1 – 22 of 22) 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()
65 Date modified = cldrFileToCheck.getLastModifiedDate(path); in handleCheck()
68 boolean isOutdated = outdatedPaths.isOutdated(cldrFileToCheck.getLocaleID(), path) in handleCheck()
DCheckCoverage.java123 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
125 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
127 final String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
129 … supplementalData = SupplementalDataInfo.getInstance(cldrFileToCheck.getSupplementalDirectory()); in setCldrFileToCheck()
141 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
150 latin = ValuePathStatus.isLatinScriptLocale(cldrFileToCheck); in setCldrFileToCheck()
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.java28 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()
DCheckForCopy.java239 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
241 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
243 final String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
246 … UnicodeSet exemplars = cldrFileToCheck.getExemplarSet("main", CLDRFile.WinningChoice.WINNING); in setCldrFileToCheck()
258 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); 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()
DCheckLogicalGroupings.java35 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
37 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
46 String parent = LocaleIDParser.getParent(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
51 coverageLevel = CoverageLevel2.getInstance(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
DCheckCLDR.java76 private CLDRFile cldrFileToCheck; field in CheckCLDR
628 return cldrFileToCheck; in getCldrFileToCheck()
639 final public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Map<String, String> options, in setCldrFileToCheck() argument
641 return setCldrFileToCheck(cldrFileToCheck, new Options(options), possibleErrors); in setCldrFileToCheck()
656 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
658 this.cldrFileToCheck = cldrFileToCheck; in setCldrFileToCheck()
662 String locale = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
1063 if (cldrFileToCheck == null) { in check()
1087 && value.equals(cldrFileToCheck.getBaileyValue(path, null, null)) in check()
1088 && !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()
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()
DCheckAttributeValues.java244 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
246 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
254 … pluralInfo = supplementalData.getPlurals(PluralType.cardinal, cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
255 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
256 isEnglish = "en".equals(localeIDParser.set(cldrFileToCheck.getLocaleID()).getLanguage()); in setCldrFileToCheck()
264 if (!localeMatcher.matches(cldrFileToCheck.getLocaleID())) { in setCldrFileToCheck()
268 new Object[] { cldrFileToCheck.getLocaleID() })); in setCldrFileToCheck()
DCheckWidths.java361 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
363 final String localeID = cldrFileToCheck.getLocaleID(); in setCldrFileToCheck()
364 … supplementalData = SupplementalDataInfo.getInstance(cldrFileToCheck.getSupplementalDirectory()); in setCldrFileToCheck()
367 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.java92 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()
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()
DDisplayAndInputProcessor.java160 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()
DCheckDisplayCollisions.java641 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
643 if (cldrFileToCheck == null) return this; in setCldrFileToCheck()
644 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
/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.java746 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()
DTestCoverageLevel.java99 CLDRFile cldrFileToCheck = factory.make(locale, true); in oldTestInvariantPaths() local
100 for (String path : cldrFileToCheck.fullIterable()) { in oldTestInvariantPaths()