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.java181 public boolean isOutdated(String locale, String distinguishedPath) { in isOutdated() argument
186 long id = StringId.getId(distinguishedPath); in isOutdated()
191 Boolean toSkip = SKIP_PATHS.get(distinguishedPath); in isOutdated()
205 public boolean isRawOutdated(String locale, String distinguishedPath) { in isRawOutdated() argument
210 long id = StringId.getId(distinguishedPath); in isRawOutdated()
220 public boolean isSkipped(String distinguishedPath) { in isSkipped() argument
221 return SKIP_PATHS.get(distinguishedPath) != null; in isSkipped()
231 public String getPreviousEnglish(String distinguishedPath) { in getPreviousEnglish() argument
232 long id = StringId.getId(distinguishedPath); in getPreviousEnglish()
237 public CldrVersion getEnglishBirth(String distinguishedPath) { in getEnglishBirth() argument
[all …]
DTestSupplementalData.java84 String distinguishedPath = it.next(); in showMultiZones() local
85 if (root.isPathExcludedForSurvey(distinguishedPath)) { in showMultiZones()
86 System.out.println("EX\t" + distinguishedPath); in showMultiZones()
88 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.java3532 public boolean isPathExcludedForSurvey(String distinguishedPath) {
3534 if (distinguishedPath.contains("/exemplarCity")) {
3536 typeValueMatcher.reset(distinguishedPath).find();
3683 public String getFillInValue(String distinguishedPath) {
3684 String winningPath = getWinningPath(distinguishedPath);
3704 public boolean isNotRoot(String distinguishedPath) {
3705 String source = getSourceLocaleID(distinguishedPath, null);