Home
last modified time | relevance | path

Searched refs:LocaleInheritanceInfo (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/util/
H A DTestCLDRFile.java27 import org.unicode.cldr.util.LocaleInheritanceInfo.Reason;
236 List<LocaleInheritanceInfo> pwf = f.getPathsWhereFound(p); in testGetPaths()
239 new LocaleInheritanceInfo(locale, p, Reason.value), in testGetPaths()
240 new LocaleInheritanceInfo(XMLSource.ROOT_ID, p, Reason.none), in testGetPaths()
241 new LocaleInheritanceInfo(null, p, Reason.codeFallback)), in testGetPaths()
253 List<LocaleInheritanceInfo> pwf = f.getPathsWhereFound(p); in testGetPaths()
256 new LocaleInheritanceInfo(locale, p, Reason.inheritanceMarker), in testGetPaths()
257 new LocaleInheritanceInfo(parent, p, Reason.value), in testGetPaths()
258 new LocaleInheritanceInfo(XMLSource.ROOT_ID, p, Reason.none), in testGetPaths()
259 new LocaleInheritanceInfo(null, p, Reason.codeFallback)), in testGetPaths()
[all …]
/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
H A DLocaleInheritanceInfo.java4 public final class LocaleInheritanceInfo { class
115 LocaleInheritanceInfo(String locale, String path, Reason reason) { in LocaleInheritanceInfo() method in LocaleInheritanceInfo
121 LocaleInheritanceInfo(String locale, String path, Reason reason, String attribute) { in LocaleInheritanceInfo() method in LocaleInheritanceInfo
143 if (!(other instanceof LocaleInheritanceInfo)) return false; in equals()
144 final LocaleInheritanceInfo o = (LocaleInheritanceInfo) other; in equals()
H A DXMLSource.java34 import org.unicode.cldr.util.LocaleInheritanceInfo.Reason;
576 List<LocaleInheritanceInfo> list) { in getSourceLocaleIdExtended()
581 new LocaleInheritanceInfo( in getSourceLocaleIdExtended()
582 locale, path, LocaleInheritanceInfo.Reason.value)); in getSourceLocaleIdExtended()
586 new LocaleInheritanceInfo( in getSourceLocaleIdExtended()
587 locale, path, LocaleInheritanceInfo.Reason.none)); // not found in getSourceLocaleIdExtended()
970 String xpath, boolean skipInheritanceMarker, List<LocaleInheritanceInfo> list) { in getCachedFullStatus()
1042 List<LocaleInheritanceInfo> list) { in getSourceLocaleIdExtended()
1083 List<LocaleInheritanceInfo> list) { in getPathLocation()
1101 new LocaleInheritanceInfo( in getPathLocation()
[all …]
H A DCLDRFile.java64 import org.unicode.cldr.util.LocaleInheritanceInfo.Reason;
664 public List<LocaleInheritanceInfo> getPathsWhereFound(String xpath) { in getPathsWhereFound()
669 LinkedList<LocaleInheritanceInfo> list = new LinkedList<>(); in getPathsWhereFound()
686 list.addFirst(new LocaleInheritanceInfo(locale2, path2, Reason.constructed)); in getPathsWhereFound()
805 List<LocaleInheritanceInfo> list) { in getSourceLocaleIdExtended()
814 new LocaleInheritanceInfo( in getSourceLocaleIdExtended()
/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
H A DPathInfo.java158 for (final LocaleInheritanceInfo e : file.getPathsWhereFound(dPath)) { in showPath()