Home
last modified time | relevance | path

Searched refs:distinguishedPath (Results 1 – 6 of 6) sorted by relevance

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCldrResolver.java48 protected boolean shouldIgnorePath(String distinguishedPath, in TestNoCodeFallback() argument
50 return super.shouldIgnorePath(distinguishedPath, file) in TestNoCodeFallback()
51 || file.getSourceLocaleID(distinguishedPath, null) in TestNoCodeFallback()
100 protected boolean shouldIgnorePath(String distinguishedPath, in shouldIgnorePath() argument
102 return distinguishedPath.endsWith("/alias") in shouldIgnorePath()
103 || distinguishedPath.startsWith("//ldml/identity/"); in shouldIgnorePath()
128 for (String distinguishedPath : ResolverUtils in testResolution()
131 if (!shouldIgnorePath(distinguishedPath, cldrResolved)) { in testResolution()
133 .getStringValue(distinguishedPath); in testResolution()
134 String toolValue = toolResolved.get(distinguishedPath); in testResolution()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/resolver/
DCldrResolver.java248 for (String distinguishedPath : basePaths) { in resolveLocaleInternal()
249 ResolverUtils.debugPrintln("Distinguished path: " + distinguishedPath, 5); in resolveLocaleInternal()
251 if (distinguishedPath.endsWith("/alias")) { in resolveLocaleInternal()
263 distinguishedPath, null).equals(CODE_FALLBACK)) { in resolveLocaleInternal()
269 String baseValue = file.getStringValue(distinguishedPath); in resolveLocaleInternal()
273 parentValue = ancestor.getStringValue(distinguishedPath); in resolveLocaleInternal()
283 …path = resolutionType == ResolutionType.SIMPLE ? distinguishedPath : file.getFullXPath(distinguish… in resolveLocaleInternal()
293 for (String distinguishedPath : ResolverUtils.getAllPaths(ancestor)) { in resolveLocaleInternal()
296 if (!basePaths.contains(distinguishedPath) && in resolveLocaleInternal()
297 … !ancestor.getStringValue(distinguishedPath).equals(CldrUtility.NO_INHERITANCE_MARKER)) { in resolveLocaleInternal()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DOutdatedPaths.java153 public boolean isOutdated(String locale, String distinguishedPath) { in isOutdated() argument
158 long id = StringId.getId(distinguishedPath); in isOutdated()
163 Boolean toSkip = SKIP_PATHS.get(distinguishedPath); in isOutdated()
177 public boolean isRawOutdated(String locale, String distinguishedPath) { in isRawOutdated() argument
182 long id = StringId.getId(distinguishedPath); in isRawOutdated()
192 public boolean isSkipped(String distinguishedPath) { in isSkipped() argument
193 return SKIP_PATHS.get(distinguishedPath) != null; in isSkipped()
203 public String getPreviousEnglish(String distinguishedPath) { in getPreviousEnglish() argument
204 long id = StringId.getId(distinguishedPath); in getPreviousEnglish()
DTestSupplementalData.java87 String distinguishedPath = it.next(); in showMultiZones() local
88 if (root.isPathExcludedForSurvey(distinguishedPath)) { in showMultiZones()
89 System.out.println("EX\t" + distinguishedPath); in showMultiZones()
91 System.out.println("\t" + distinguishedPath); in showMultiZones()
/external/cldr/tools/java/org/unicode/cldr/tool/
DDiffCldr.java103 for (String distinguishedPath : With.in(cldrFile.iterator())) { in main()
104 String path = cldrFile.getFullXPath(distinguishedPath); in main()
113 String value = cldrFile.getStringValue(distinguishedPath); in main()
114 …String bailey = cldrFileResolved.getBaileyValue(distinguishedPath, pathWhereFound, localeWhereFoun… in main()
/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRFile.java3515 public boolean isPathExcludedForSurvey(String distinguishedPath) {
3517 if (distinguishedPath.contains("/exemplarCity")) {
3519 typeValueMatcher.reset(distinguishedPath).find();
3632 public String getFillInValue(String distinguishedPath) {
3633 String winningPath = getWinningPath(distinguishedPath);
3653 public boolean isNotRoot(String distinguishedPath) {
3654 String source = getSourceLocaleID(distinguishedPath, null);