Home
last modified time | relevance | path

Searched refs:cldrFileToCheck (Results 1 – 24 of 24) 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()
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()
DCheckCoverage.java124 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()
DCheckChildren.java62 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()
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()
DCheckAlt.java96 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()
DCheckCLDR.java76 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 …]
DCheckLogicalGroupings.java48 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()
DCheckForCopy.java231 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()
DFactoryCheckCLDR.java52 public CheckCLDR setCldrFileToCheck(CLDRFile cldrFileToCheck, Options options, in setCldrFileToCheck() argument
54 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckUnits.java34 …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()
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.java246 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()
DCheckWidths.java362 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()
DCheckConsistentCasing.java49 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()
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()
242 …pathsWithConflictingOrder2sample = DateOrder.getOrderingInfo(cldrFileToCheck, resolved, flexInfo.f… in setCldrFileToCheck()
259 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.java672 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/
DListUnits.java177 …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()
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()
DTestCheckNumbers.java46 CLDRFile cldrFileToCheck = new CLDRFile(xmlSource); in checkSingularity() local
50 checkNumbers.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in checkSingularity()
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.java106 CLDRFile cldrFileToCheck = factory.make(locale, true); in oldTestInvariantPaths() local
107 for (String path : cldrFileToCheck.fullIterable()) { in oldTestInvariantPaths()