/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ShowDtdDiffs.java | 14 import org.unicode.cldr.util.DtdData; 15 import org.unicode.cldr.util.DtdData.Attribute; 16 import org.unicode.cldr.util.DtdData.Element; 46 DtdData dtdCurrent = null; in main() 48 dtdCurrent = DtdData.getInstance(type, current); in main() 56 DtdData dtdLast = null; in main() 59 dtdLast = DtdData.getInstance(type, last); in main() 72 private static void diff(String prefix, DtdData dtdLast, DtdData dtdCurrent) { in diff() 77 …private static void checkNames(String prefix, DtdData dtdCurrent, Map<String, Element> oldNameToEl… in checkNames() 139 …private static String getAttributeNames(DtdData dtdCurrent, String elementName, Map<Attribute, Int… in getAttributeNames() [all …]
|
D | ChartDtdDelta.java | 17 import org.unicode.cldr.util.DtdData; 18 import org.unicode.cldr.util.DtdData.Attribute; 19 import org.unicode.cldr.util.DtdData.Element; 95 DtdData dtdCurrent = null; in writeContents() 97 dtdCurrent = DtdData.getInstance(type, in writeContents() 106 DtdData dtdLast = null; in writeContents() 109 dtdLast = DtdData.getInstance(type, last); in writeContents() 150 private void diff(String prefix, DtdData dtdLast, DtdData dtdCurrent) { in diff() 160 …private void checkNames(String version, DtdData dtdCurrent, DtdData dtdLast, Map<String, Element> … in checkNames() 237 …public DiffElement(DtdData dtdCurrent, String version, String newPath, String newElement, Set<Stri… in DiffElement() [all …]
|
D | GenerateDtd.java | 9 import org.unicode.cldr.util.DtdData; 24 DtdData data = DtdData.getInstance(type); in main()
|
D | GenerateReformattedXml.java | 3 import org.unicode.cldr.util.DtdData; 13 System.out.println(DtdData.getInstance(dtdType)); in main()
|
D | DiffCldr.java | 19 import org.unicode.cldr.util.DtdData; 101 DtdData dtdData = cldrFile.getDtdData(); in main() 123 Splitter splitter = DtdData.getValueSplitter(pathPlain); in main() 216 if (!DtdData.isComment(pathPlain, item)) { in joinValues() 220 …return CollectionUtilities.join(DtdData.CR_SPLITTER.split(CollectionUtilities.join(values, " ␍ "))… in joinValues()
|
D | VerifyAttributeValues.java | 23 import org.unicode.cldr.util.DtdData; 24 import org.unicode.cldr.util.DtdData.Attribute; 25 import org.unicode.cldr.util.DtdData.Element; 59 private DtdData dtdData; // set from first element read 91 dtdData = DtdData.getInstance(DtdType.valueOf(parts.getElement(0))); in handlePathValue()
|
D | ShowStarredCoverage.java | 29 import org.unicode.cldr.util.DtdData; 221 DtdData dtdData = DtdData.getInstance(dtdType); in doNonLdml() 243 Splitter splitter = DtdData.getValueSplitter(pathPlain); in doNonLdml()
|
D | ChartDelta.java | 31 import org.unicode.cldr.util.DtdData; 578 return DtdData.BAR_SPLITTER; in getSplitter() 580 return DtdData.CR_SPLITTER; in getSplitter() 982 DtdData dtdData = null; in fillData() 994 dtdData = DtdData.getInstance(dtdType); in fillData() 1020 results.putAll(pathHeaderExtra, DtdData.SPACE_SPLITTER.splitToList(items)); in fillData() 1041 return DtdData.getValueSplitter(pathPlain); in getValueSplitter()
|
D | CheckHtmlFiles.java | 36 import org.unicode.cldr.util.DtdData; 37 import org.unicode.cldr.util.DtdData.Attribute; 38 import org.unicode.cldr.util.DtdData.Element; 180 DtdData dtdData = DtdData.getInstance(type); in checkForDtd()
|
D | GenerateItemCounts.java | 30 import org.unicode.cldr.util.DtdData; 31 import org.unicode.cldr.util.DtdData.Attribute; 32 import org.unicode.cldr.util.DtdData.Element; 168 DtdData data = DtdData.getInstance(dtdType); in checkBadAttributes()
|
D | GenerateAttributeList.java | 26 import org.unicode.cldr.util.DtdData; 189 Comparator<String> c = DtdData.getAttributeValueComparator(element, attribute); in add()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | DtdDataCheck.java | 17 import org.unicode.cldr.util.DtdData.Attribute; 18 import org.unicode.cldr.util.DtdData.AttributeType; 19 import org.unicode.cldr.util.DtdData.Element; 20 import org.unicode.cldr.util.DtdData.ElementType; 47 private DtdData dtdData; 49 public Walker(DtdData dtdData) { in Walker() 175 DtdData dtdData = DtdData.getInstance(type); in main() 193 dtdData = DtdData.getInstance(DtdType.ldml); in main() 237 DtdData dtdData = DtdData.getInstance(type); in main() 287 DtdData dtdData = DtdData.getInstance(type); in main()
|
D | AttributeValueValidity.java | 218 DtdData data = DtdData.getInstance(dtdType); 233 DtdData.Element elementInfo = data.getElementFromName().get(element); 241 … DtdData.Attribute attributeInfo = elementInfo.getAttributeNamed(attribute); 326 DtdData dtdData2 = DtdData.getInstance(dtdType); in getAllPossibleMissing() 331 for (DtdData.Element element : dtdData2.getElements()) { in getAllPossibleMissing() 338 for (DtdData.Attribute attribute : element.getAttributes().keySet()) { in getAllPossibleMissing() 827 …public static Status check(DtdData dtdData, String element, String attribute, String attributeValu… in check()
|
D | DtdData.java | 37 public class DtdData extends XMLFileReader.SimpleHandler { class 271 private DtdData(DtdType type, String version) { in DtdData() method in DtdData 324 private void setChildren(DtdData dtdData, String model, Set<String> precomments) { in setChildren() 606 public static DtdData getInstance(DtdType type) { in getInstance() 613 public static DtdData getInstance(DtdType type, String version) { in getInstance() 614 DtdData simpleHandler = new DtdData(type, version); in getInstance() 923 DtdData otherData = DtdData.getInstance(dtdType.rootType); in Seen() 928 private void walk(DtdData otherData, Element current) { in walk() 1641 private static final Map<DtdType, DtdData> CACHE; 1643 EnumMap<DtdType, DtdData> temp = new EnumMap<DtdType, DtdData>(DtdType.class);
|
D | CharacterFallbacks.java | 25 … Comparator<String> comp = DtdData.getInstance(DtdType.supplementalData).getDtdComparator(null); in CharacterFallbacks()
|
D | CLDRFile.java | 129 private DtdData dtdData; 1390 return DtdData.getInstance(type).isDistinguishing(elementName, attribute); in isDistinguishing() 1547 private DtdData dtdData; 1908 target.dtdData = dtdData = DtdData.getInstance(target.dtdType); 2562 return DtdData.getInstance(type).isOrdered(element); 2565 …private static Comparator<String> ldmlComparator = DtdData.getInstance(DtdType.ldmlICU).getDtdComp… 2903 if (!DtdData.getInstance(type).isOrdered(element)) break; 3671 return DtdData.getInstance(dtdType).getDtdComparator(null); 3684 public DtdData getDtdData() { 3686 : DtdData.getInstance(getDtdType()); [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestPaths.java | 24 import org.unicode.cldr.util.DtdData; 25 import org.unicode.cldr.util.DtdData.Attribute; 26 import org.unicode.cldr.util.DtdData.Element; 27 import org.unicode.cldr.util.DtdData.ElementType; 198 public boolean check(DtdData dtdData, XPathParts parts, String fullName) { in check() 251 DtdData dtdData = DtdData.getInstance(dtdType); in show() 332 DtdData dtdData = null; in TestNonLdml() 341 dtdData = DtdData.getInstance(type); in TestNonLdml() 419 private void checkParts(String path, DtdData dtdData) { in checkParts() 444 …private int removeNonDistinguishing(XPathParts parts, DtdData data, int counter, StringBuilder rem… in removeNonDistinguishing()
|
D | TestPerf.java | 12 import org.unicode.cldr.util.DtdData; 13 import org.unicode.cldr.util.DtdData.AttributeValueComparator; 139 DtdData dtdData = DtdData.getInstance(DtdType.ldml); in TestXPathPartsWithComparators() 150 DtdData dtdData = DtdData.getInstance(DtdType.ldml); in TestPathComparison()
|
D | TestDtdData.java | 19 import org.unicode.cldr.util.DtdData; 20 import org.unicode.cldr.util.DtdData.Attribute; 21 import org.unicode.cldr.util.DtdData.Element; 22 import org.unicode.cldr.util.DtdData.ElementType; 109 DtdData dtdData = DtdData.getInstance(DtdType.fromPath(path)); in TestRegularized() 167 DtdData dtdData = DtdData.getInstance(type); in TestValueAttributesWithChildren() 286 DtdData dtdData = DtdData.getInstance(type); in TestNewDtdData()
|
D | TestBasic.java | 39 import org.unicode.cldr.util.DtdData; 40 import org.unicode.cldr.util.DtdData.Attribute; 41 import org.unicode.cldr.util.DtdData.Element; 42 import org.unicode.cldr.util.DtdData.ElementType; 221 DtdData dtdData = DtdData.getInstance(type); in showFoundElements() 1098 DtdData dtdData = DtdData.getInstance(type); in TestDtdCompleteness() 1260 DtdData dtdData = DtdData.getInstance(type); in TestDtdCompatibility() 1327 DtdData dtdDataOld; in TestDtdCompatibility() 1329 dtdDataOld = DtdData.getInstance(type, version.toString()); in TestDtdCompatibility() 1414 DtdData.getInstance(DtdType.ldml).getDtdComparator(null), in TestDtdComparison() [all …]
|
D | TestAttributeValues.java | 21 import org.unicode.cldr.util.DtdData; 69 …Status value = AttributeValueValidity.check(DtdData.getInstance(DtdType.valueOf(parts.get(0))), pa… in quickTest()
|
D | TestCoverageLevel.java | 24 import org.unicode.cldr.util.DtdData; 25 import org.unicode.cldr.util.DtdData.Element; 405 DtdData dtdData = DtdData.getInstance(DtdType.ldml);
|
D | TestPathHeader.java | 30 import org.unicode.cldr.util.DtdData; 113 DtdData dtdData = null; in tempTestCompletenessLdmlDtd() 1119 DtdData dtdData = DtdData.getInstance(dtdType); in TestCompletenessNonLdmlDtd() 1160 public void checkPathHeader(DtdData dtdData, String rawPath) { in checkPathHeader()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckAttributeValues.java | 22 import org.unicode.cldr.util.DtdData; 23 import org.unicode.cldr.util.DtdData.Attribute; 24 import org.unicode.cldr.util.DtdData.Element; 60 static DtdData ldmlDtdData = DtdData.getInstance(DtdType.ldml);
|
/external/cldr/tools/java/org/unicode/cldr/json/ |
D | CldrItem.java | 7 import org.unicode.cldr.util.DtdData; 346 …result = DtdData.getInstance(fileDtdType).getDtdComparator(null).compare(untransformedPath, otherI… in compareTo()
|