/dports/audio/rhvoice/RHVoice-1.2.4/src/third-party/cldr/tools/java/org/unicode/cldr/api/ |
H A D | CldrPath.java | 130 private final CldrDataType dtdType; 144 CldrDataType dtdType, in CldrPath() argument 146 checkState(parent != null || dtdType.getLdmlName().equals(name), in CldrPath() 154 if (CldrPaths.isOrdered(dtdType, elementName)) { in CldrPath() 162 this.dtdType = checkNotNull(dtdType); in CldrPath() 163 this.ordering = CldrPaths.getPathComparator(dtdType); in CldrPath() 294 return dtdType; in getDataType() 382 if (dtdType == other.dtdType) { in compareTo() 385 return dtdType.compareTo(other.dtdType); in compareTo() 483 if (dtdType.getAttributeComparator() in appendToString() [all …]
|
H A D | CldrPaths.java | 207 static boolean isOrdered(CldrDataType dtdType, String elementName) { in isOrdered() argument 214 return ORDERED_ELEMENTS_MAP.get(dtdType).contains(elementName); in isOrdered() 292 CldrDataType dtdType = CldrDataType.forRawType(dtd.dtdType); in processXPath() local 336 elementName, attributes, dtdType, collectElementAttribute, valueAttributeCollector); in processXPath() 369 path = new CldrPath(path, elementName, keyValuePairs, dtdType, draftStatus, sortIndex); in processXPath() 379 CldrDataType dtdType, in processPathAttributes() argument 392 attributeMap.entrySet().stream(), elementName, collectValueAttribute, dtdType) in processPathAttributes() 401 CldrDataType dtdType) { in processAttributes() argument 403 if (dtdType.isValueAttribute(elementName, e.getKey())) { in processAttributes() 412 .filter(e -> dtdType.isDistinguishingAttribute(elementName, e.getKey())); in processAttributes()
|
H A D | XmlDataSource.java | 50 private final CldrDataType dtdType; field in XmlDataSource 78 XmlDataSource(CldrDataType dtdType, Set<Path> xmlFiles, CldrDraftStatus draftStatus) { in XmlDataSource() argument 79 this(dtdType, xmlFiles, draftStatus, XmlDataSource::openFile); in XmlDataSource() 84 …CldrDataType dtdType, Set<Path> xmlFiles, CldrDraftStatus draftStatus, Function<Path, Reader> open… in XmlDataSource() argument 86 this.dtdType = dtdType; in XmlDataSource() 98 read(value -> map.put(value.getPath(), value), dtdType, true); in getPathValueMap() 145 private void read(ValueVisitor visitor, CldrDataType dtdType, boolean validating) { in read() argument 148 xmlReader.setContentHandler(new PathValueHandler(visitor, dtdType)); in read()
|
/dports/audio/rhvoice/RHVoice-1.2.4/src/third-party/cldr/tools/java/org/unicode/cldr/tool/ |
H A D | GenerateReformattedXml.java | 8 for (DtdType dtdType : DtdType.values()) { in main() 9 if (args.length > 0 && !dtdType.toString().matches(args[0])) { in main() 12 System.out.println("\n#####\n\t" + dtdType + "\n#####"); in main() 13 System.out.println(DtdData.getInstance(dtdType)); in main()
|
H A D | VerifyAttributeValues.java | 50 …public void put(String file, DtdType dtdType, String element, String attribute, String attributeVa… 51 …file_element_attribute.put(file, new AttributeValueSpec(dtdType, element, attribute, attributeValu… 93 if (dtdData.dtdType == DtdType.ldml) { 123 …file_element_attribute.put(file, dtdData.dtdType, element, attribute, attributeValue, "deprecated"… 134 …file_element_attribute.put(file, dtdData.dtdType, element, attribute, attributeValue, reason.value… 137 … missing.add(new AttributeValueSpec(dtdData.dtdType, element, attribute, attributeValue));
|
H A D | ChartDtdDelta.java | 148 .addCell(datum.dtdType) in writeContents() 191 if (SKIP_TYPE_ELEMENTS.containsEntry(dtdCurrent.dtdType, name)) { in checkNames() 207 System.out.println(dtdCurrent.dtdType + "\t" + name); in checkNames() 209 if (DEBUG_DTD == dtdCurrent.dtdType && name.contains(DEBUG_ELEMENT)) { in checkNames() 260 final DtdType dtdType; field in ChartDtdDelta.DiffElement 274 dtdType = dtdCurrent.dtdType; in DiffElement() 294 .add("dtdType", dtdType) in toString()
|
H A D | ShowDtdDiffs.java | 88 …if (isDeprecated(dtdCurrent.dtdType, name, "*")) { // SDI.isDeprecated(dtdCurrent.dtdType, name, "… in checkNames() 146 …if (isDeprecated(dtdCurrent.dtdType, elementName, name)) { // SDI.isDeprecated(dtdCurrent, element… in getAttributeNames() 159 private static boolean isDeprecated(DtdType dtdType, String elementName, String attributeName) { in isDeprecated() argument 161 return DtdData.getInstance(dtdType).isDeprecated(elementName, attributeName, "*"); in isDeprecated()
|
H A D | GenerateItemCounts.java | 165 for (DtdType dtdType : DtdType.values()) { 166 if (dtdType == DtdType.ldmlICU) { 169 DtdData data = DtdData.getInstance(dtdType); 172 ELEMENTS_POSSIBLE.put(elementName, dtdType); 186 final R2<DtdType, String> attributeRow = Row.of(dtdType, elementName); 191 if (supp.isDeprecated(dtdType, elementName, attributeName, null)) { 194 if (!CLDRFile.isDistinguishing(dtdType, elementName, attributeName)) { 216 for (DtdType dtdType : possible) { 217 if (SUPPLEMENTAL_DATA_INFO.isDeprecated(dtdType, element, "*", "*")) { 218 deprecated.add(dtdType); [all …]
|
H A D | ShowStarredCoverage.java | 107 for (DtdType dtdType : DtdType.values()) { 108 if (dtdTypes != null && !dtdTypes.contains(dtdType)) { 111 for (String dir : dtdType.directories) { 112 if (dtdType == DtdType.ldml) { 115 doNonLdml(dtdType, dir, fileLocale, levelToPathHeaders); 203 …private static void doNonLdml(DtdType dtdType, String dir, String fileLocale, M3<Level, PathHeader… 221 DtdData dtdData = DtdData.getInstance(dtdType);
|
/dports/audio/rhvoice/RHVoice-1.2.4/src/third-party/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
H A D | TestPaths.java | 272 + dtdData.dtdType in check() 283 + dtdData.dtdType in check() 290 + dtdData.dtdType in check() 300 + dtdData.dtdType in check() 315 for (DtdType dtdType : DtdType.values()) { in show() 316 if (dtdType == DtdType.ldmlICU || in show() 323 + dtdType); in show() 326 DtdData dtdData = DtdData.getInstance(dtdType); in show() 334 + dtdType in show() 346 + dtdType in show() [all …]
|
H A D | TestDTDAttributes.java | 113 private void showDistinguishing(DtdType dtdType) { 115 .getInstance(dtdType).getElement2Attributes(); 126 .getInstance(dtdType).getElementAttribute2Data(); 129 boolean isOrdered = CLDRFile.isOrdered(element, dtdType); 154 logln(dtdType 178 logln("// " + dtdType + "\tboth: " + both); 603 DtdType dtdType, 622 if (CLDRFile.isOrdered(element, dtdType)) { 627 + checkAttributeStructure(dtdType, element, 633 checkStructure(dtdType, child, indent + 1, toChildren, [all …]
|
H A D | TestPathsModule.java | 120 protected DtdType dtdType; 127 this.dtdType = null; 131 if (dtdType == null) { 132 dtdType = DtdType.valueOf(fullParts.getElement(0)); 212 boolean distinguishing = CLDRFile.isDistinguishing(dtdType, 215 R3<DtdType, String, String> row = Row.of(dtdType, 238 boolean hasq = CLDRFile.isOrdered(element, dtdType); 265 R2<DtdType, String> row = Row.of(dtdType, element);
|
H A D | TestAttributeValues.java | 91 for (DtdType dtdType : checkTypes) { in TestValid() 92 PathChecker pathChecker = new PathChecker(this, DtdData.getInstance(dtdType)); in TestValid() 95 for (String stringDir : dtdType.directories) { in TestValid() 96 addXMLFiles(dtdType, mainDirs + stringDir, files); in TestValid() 131 private void addXMLFiles(DtdType dtdType, String path, Set<String> files) { in addXMLFiles() argument 138 && dtdType == DtdType.ldml) { in addXMLFiles() 150 addXMLFiles(dtdType, path + "/" + file, files); in addXMLFiles() 322 out.append("file\tCount:\t" + dtdData.dtdType + "\t" + fileCount + "\n"); in show() 323 out.append("element\tCount:\t" + dtdData.dtdType + "\t" + elementCount + "\n"); in show() 344 + "\t" + dtdData.dtdType in show() [all …]
|
H A D | TestBasic.java | 201 DtdType type = parts.getDtdData().dtdType; in checkDtds() 570 DtdType dtdType = null; in TestPaths() local 580 if (dtdType == null) { in TestPaths() 581 dtdType = DtdType.fromPath(path); in TestPaths() 636 if (CLDRFile.isDistinguishing(dtdType, element, attribute)) { in TestPaths() 1454 DtdData dtdData = DtdData.getInstance(myHandler.dtdType); in checkDtdComparatorForResource() 1477 DtdData dtdData = DtdData.getInstance(myHandler.dtdType); in checkDtdComparatorFor() 1483 private DtdType dtdType; field in TestBasic.MyHandler 1487 dtdType = overrideDtdType; in MyHandler() 1492 if (dtdType == null) { in handlePathValue() [all …]
|
/dports/audio/rhvoice/RHVoice-1.2.4/src/third-party/cldr/tools/java/org/unicode/cldr/util/ |
H A D | ElementAttributeInfo.java | 28 private DtdType dtdType; 38 public static final ElementAttributeInfo getInstance(DtdType dtdType) { 39 return getInstance(CLDRPaths.COMMON_DIRECTORY, dtdType); 42 public static final ElementAttributeInfo getInstance(String commonDirectory, DtdType dtdType) { 75 return result.get(dtdType); 94 this.dtdType = type; 114 return dtdType;
|
H A D | DtdDataCheck.java | 68 if (dtdData.dtdType == DtdType.ldml && elementsMissingDraft.size() != 0) { in show() 72 if (dtdData.dtdType == DtdType.ldml && elementsMissingAlt.size() != 0) { in show() 127 if (SUPPLEMENTAL.isDeprecated(dtdData.dtdType, element.name, a.name, "*")) { in show() 130 DEPRECATED.add(Row.of(dtdData.dtdType, element.name, a.name, "*")); in show() 133 … if (SUPPLEMENTAL.isDeprecated(dtdData.dtdType, element.name, a.name, value)) { in show() 135 … DEPRECATED.add(Row.of(dtdData.dtdType, element.name, a.name, value)); in show() 140 R2<DtdType, String> key = Row.of(dtdData.dtdType, a.name); in show() 141 … boolean isDisting = CLDRFile.isDistinguishing(dtdData.dtdType, element.name, a.name); in show()
|
H A D | CLDRPaths.java | 139 public final List<DtdType> dtdType; 141 private DIRECTORIES(DtdType... dtdType) { 142 this.dtdType = ImmutableList.copyOf(dtdType);
|
H A D | AttributeValueValidity.java | 217 for (DtdType dtdType : dtds) { 218 DtdData data = DtdData.getInstance(dtdType); 219 …<String, MatcherPattern>> element_attribute_validity = dtd_element_attribute_validity.get(dtdType); 221 … dtd_element_attribute_validity.put(dtdType, element_attribute_validity = new TreeMap<>()); in dtd_element_attribute_validity.put() argument 237 + dtdType 245 + dtdType 319 public static Relation<String, String> getAllPossibleMissing(DtdType dtdType) { in getAllPossibleMissing() argument 322 if (dtdType == DtdType.ldmlICU) { in getAllPossibleMissing() 326 DtdData dtdData2 = DtdData.getInstance(dtdType); in getAllPossibleMissing() 328 dtd_element_attribute_validity.get(dtdType), in getAllPossibleMissing() [all …]
|
H A D | DtdData.java | 56 public final DtdType dtdType; field in DtdData 125 …private Attribute(DtdType dtdType, Element element2, String aName, Mode mode2, String[] split, Str… in Attribute() argument 163 attributeValueComparator = getAttributeValueComparator(dtdType, element.name, name); in Attribute() 337 this.dtdType = type; in DtdData() 612 if (explicitDtdType != dtdType && explicitDtdType != dtdType.rootType) { in handleStartDtd() 747 elementMergeList.add(dtdType.toString()); in freeze() 920 Seen seen = new Seen(dtdType); in toString() 943 public Seen(DtdType dtdType) { in Seen() argument 944 if (dtdType.rootType == dtdType) { in Seen() 947 DtdData otherData = DtdData.getInstance(dtdType.rootType); in Seen() [all …]
|
H A D | PathChecker.java | 66 …String, Map<String, ValueStatus>>> elementToAttrToAttrValueToStatus = seenEAV.get(dtdData.dtdType); in checkAttribute() 68 …ing, Map<String, ValueStatus>>> subAlready = seenEAV.putIfAbsent(dtdData.dtdType, elementToAttrToA… in checkAttribute()
|
H A D | CLDRFile.java | 137 private DtdType dtdType; field in CLDRFile 213 this.dtdData = DtdData.getInstance(this.dtdType); in CLDRFile() 414 DtdType dtdType = DtdType.ldml; // default in write() local 432 fixedPath = dtdDir + dtdType + ".dtd"; in write() 1871 target.dtdType = DtdType.valueOf(name); 3714 if (dtdType == null) { 3717 switch (dtdType) { 3727 return getComparator(dtdType); 3731 return dtdType != null ? dtdType 3761 public void setDtdType(DtdType dtdType) { [all …]
|
/dports/editors/neovim/neovim-0.6.1/runtime/syntax/ |
H A D | dtd.vim | 109 syn region dtdEnum matchgroup=dtdType start="(" end=")" matchgroup=NONE contains=dtdEnum,dtdParamEn… 135 hi def link dtdType Type 136 hi def link dtdAttrType dtdType 137 hi def link dtdAttrDef dtdType 144 hi def link dtdEntityPunct dtdType 146 hi def link dtdParamEntityPunct dtdType 147 hi def link dtdParamEntityDecl dtdType
|
/dports/editors/vim/vim-8.2.3745/runtime/syntax/ |
H A D | dtd.vim | 109 syn region dtdEnum matchgroup=dtdType start="(" end=")" matchgroup=NONE contains=dtdEnum,dtdParamEn… 135 hi def link dtdType Type 136 hi def link dtdAttrType dtdType 137 hi def link dtdAttrDef dtdType 144 hi def link dtdEntityPunct dtdType 146 hi def link dtdParamEntityPunct dtdType 147 hi def link dtdParamEntityDecl dtdType
|
/dports/audio/rhvoice/RHVoice-1.2.4/src/third-party/cldr/tools/java/org/unicode/cldr/draft/ |
H A D | JsonConverter.java | 62 DtdType dtdType = null; in main() local 68 if (dtdType == null) { in main() 69 dtdType = DtdType.valueOf(parts.getElement(0)); in main() 71 rewrite(dtdType, oldParts, value, element2Attributes, parts); in main() 109 …private static boolean isDistinguishing(DtdType dtdType, final String element, final String attrib… in isDistinguishing() argument 119 return CLDRFile.isDistinguishing(dtdType, element, attribute); in isDistinguishing() 122 private static void rewrite(DtdType dtdType, XPathParts parts, String value, in rewrite() argument 143 if (!isDistinguishing(dtdType, element, attribute)) { in rewrite() 149 if (isDistinguishing(dtdType, element, attribute)) { in rewrite()
|
/dports/audio/rhvoice/RHVoice-1.2.4/src/third-party/cldr/tools/java/org/unicode/cldr/test/ |
H A D | QuickCheck.java | 204 DtdType dtdType = null; in checkPaths() local 254 if (dtdType == null) { in checkPaths() 255 dtdType = DtdType.valueOf(parts.getElement(0)); in checkPaths() 262 if (CLDRFile.isDistinguishing(dtdType, element, attribute)) { in checkPaths()
|