/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestPathHeader.java | 40 import org.unicode.cldr.util.PathHeader.PageId; 82 private EnumSet<PageId> badZonePages = EnumSet.of(PageId.UnknownT); 149 Multimap<PathHeader.PageId, PathHeader.SectionId> pageUniqueness = TreeMultimap.create(); in TestCompleteness() 150 …Multimap<String, Pair<PathHeader.SectionId, PathHeader.PageId>> headerUniqueness = TreeMultimap.cr… in TestCompleteness() 219 for (Entry<PageId, Collection<SectionId>> e : pageUniqueness.asMap().entrySet()) { in TestCompleteness() 226 … for (Entry<String, Collection<Pair<SectionId, PageId>>> e : headerUniqueness.asMap().entrySet()) { in TestCompleteness() 227 Collection<Pair<SectionId, PageId>> values = e.getValue(); in TestCompleteness() 420 verifyContains(PageId.Duration, filePaths, "few", false); in TestPluralPaths() 421 verifyContains(PageId.C_NAmerica, filePaths, "many", false); in TestPluralPaths() 422 verifyContains(PageId.C_SAmerica, filePaths, "many", false); in TestPluralPaths() [all …]
|
D | TestAnnotations.java | 29 import org.unicode.cldr.util.PathHeader.PageId; 184 TreeSet<R4<PageId, Long, String, R3<String, String, String>>> sorted = new TreeSet<>(); in TestCategories() 189 PageId majorCategory = PageId.forString(rawCategory); in TestCategories() 190 if (majorCategory == PageId.Symbols) { in TestCategories() 191 majorCategory = PageId.Symbols2; in TestCategories() 197 …R4<PageId, Long, String, R3<String, String, String>> row = Row.of(majorCategory, emojiOrder, minor… in TestCategories() 200 for (R4<PageId, Long, String, R3<String, String, String>> row : sorted) { in TestCategories() 201 PageId majorCategory = row.get0(); in TestCategories()
|
D | TestPaths.java | 32 import org.unicode.cldr.util.PathHeader.PageId; 75 && ph.getPageId() != PageId.Alphabetic_Information) { in VerifyEnglishVsRoot()
|
D | TestCLDRFile.java | 40 import org.unicode.cldr.util.PathHeader.PageId; 170 if (ph.getPageId() != PageId.Deprecated) { in testExtraPaths()
|
D | TestUtilities.java | 38 import org.unicode.cldr.util.PathHeader.PageId; 966 .getInstance().urls().forPage(maltese, PageId.C_SEAsia));
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ShowPathHeaderDescriptions.java | 15 import org.unicode.cldr.util.PathHeader.PageId; 82 Multimap<PageId, String> pv = TreeMultimap.create(); in showDescriptions() 85 Multimap<R2<SectionId, PageId>, String> spv = TreeMultimap.create(); in showDescriptions() 87 Multimap<R2<PageId, String>, String> phv = TreeMultimap.create(); in showDescriptions() 89 Multimap<R3<SectionId, PageId, String>, String> sphv = TreeMultimap.create(); in showDescriptions() 90 Multimap<String, R3<SectionId, PageId, String>> valueToKey = TreeMultimap.create(); in showDescriptions() 106 PageId pageId = pathHeader.getPageId(); in showDescriptions() 123 R3<SectionId, PageId, String> full = Row.of(sectionId, pageId, header); in showDescriptions() 145 …private static void showProgress(Set<String> done, Multimap<String, R3<SectionId, PageId, String>>… in showProgress() argument
|
D | FindWidths.java | 14 import org.unicode.cldr.util.PathHeader.PageId; 54 PageId pageId = ph.getPageId(); in main() 56 if (pageId == PageId.Alphabetic_Information in main() 77 PageId pageId = ph.getPageId(); in main() 79 if (pageId == PageId.Alphabetic_Information in main()
|
D | ShowStarredCoverage.java | 37 import org.unicode.cldr.util.PathHeader.PageId; 131 …static final Set<PageId> MainDateTimePages = EnumSet.of(PageId.Fields, PageId.Gregorian, PageId.Ge… 138 PageId pageId = ph.getPageId(); in condense() 150 : pageId == PageId.Fields ? "relative" in condense() 156 : pageId == PageId.Territories ? "Continents & Sub~" in condense() 161 …category = pageId == PageId.Compact_Decimal_Formatting ? (starredPath.contains("currency") ? "Curr… in condense() 167 : PageId.LinguisticElements.toString(); in condense()
|
D | GenerateChangeChart.java | 26 import org.unicode.cldr.util.PathHeader.PageId; 131 PageId pageId = pathHeader.getPageId(); in main() 204 PageId pageId = pathHeader.getPageId(); in add() 260 PageId pageId = pathHeader.getPageId(); in add()
|
D | ChartDelta.java | 41 import org.unicode.cldr.util.PathHeader.PageId; 72 private static final PageId DEBUG_PAGE_ID = PageId.DayPeriod; 520 if (ph.getPageId() == PageId.Unknown) { in getPathHeader()
|
D | GenerateSidewaysView.java | 41 import org.unicode.cldr.util.PathHeader.PageId; 803 if (pathHeader.getPageId() == PageId.Alphabetic_Information) { in getHeader()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CLDRURLS.java | 123 public final String forXpathHexId(String locale, PathHeader.PageId page, String hexid) { in forXpathHexId() 133 public final String forXpathHexId(CLDRLocale locale, PathHeader.PageId page, String hexid) { in forXpathHexId() 144 public final String forPage(String locale, PathHeader.PageId page) { in forPage() 148 public final String forPage(CLDRLocale locale, PathHeader.PageId page) { in forPage() 161 …public final String forSpecial(Special special, CLDRLocale locale, PathHeader.PageId page, String … in forSpecial()
|
D | PathHeader.java | 105 private static EnumNames<PageId> PageIdNames = new EnumNames<>(); 106 …private static Relation<SectionId, PageId> SectionIdToPageIds = Relation.of(new TreeMap<SectionId,… 143 public enum PageId { 300 private PageId(SectionId sectionId, String... alternateNames) { 312 public static PageId forString(String name) { 341 private final PageId pageId; 414 private PathHeader(SectionId sectionId, PageId pageId, String header, 475 public PageId getPageId() { 628 … static final Map<SectionId, Map<PageId, SectionPage>> sectionToPageToSectionPage = new EnumMap<>( 733 PageId.forString(fix(data.page, 0)), [all …]
|
D | VettingViewer.java | 37 import org.unicode.cldr.util.PathHeader.PageId; 486 Relation<R2<SectionId, PageId>, WritingInfo> sorted = Relation.of( in generateHtmlErrorTables() 487 new TreeMap<R2<SectionId, PageId>, Set<WritingInfo>>(), TreeSet.class); in generateHtmlErrorTables() 521 …public Relation<R2<SectionId, PageId>, WritingInfo> generateFileInfoReview(EnumSet<Choice> choices… in generateFileInfoReview() 526 Relation<R2<SectionId, PageId>, WritingInfo> sorted = Relation.of( in generateFileInfoReview() 527 new TreeMap<R2<SectionId, PageId>, Set<WritingInfo>>(), TreeSet.class); in generateFileInfoReview() 550 Relation<R2<SectionId, PageId>, WritingInfo> sorted, in getFileInfo() argument 573 Relation<R2<SectionId, PageId>, WritingInfo> sorted, in getFileInfo() argument 730 … R2<SectionId, PageId> group = Row.of(pretty.getSectionId(), pretty.getPageId()); in getFileInfo() 1233 Relation<R2<SectionId, PageId>, WritingInfo> sorted, in writeTables() argument [all …]
|
D | VerifyCompactNumbers.java | 26 import org.unicode.cldr.util.PathHeader.PageId; 233 … + CLDR_CONFIG.urls().forPage(cldrFile.getLocaleID(), PageId.Compact_Decimal_Formatting) in showNumbers() 234 + "'><em>" + PageId.Compact_Decimal_Formatting in showNumbers()
|