Home
last modified time | relevance | path

Searched refs:XPathParts (Results 1 – 25 of 113) sorted by relevance

12345

/external/cldr/tools/java/org/unicode/cldr/icu/
DXPPUtil.java6 import org.unicode.cldr.util.XPathParts;
16 XPathParts xpp = XPathParts.getFrozenInstance(xpath); in getXpathName()
21 XPathParts xpp = XPathParts.getFrozenInstance(xpath); in getXpathName()
26 XPathParts xpp = XPathParts.getFrozenInstance(xpath); in getAttributeValue()
35 XPathParts xpp = XPathParts.getFrozenInstance(xpath); in getAttributeValue()
49 XPathParts xpp = XPathParts.getFrozenInstance(fullPath); in findAttributeValue()
/external/cldr/tools/java/org/unicode/cldr/json/
DCldrItem.java9 import org.unicode.cldr.util.XPathParts;
228 XPathParts xpp = XPathParts.getFrozenInstance(path); in split()
229 XPathParts fullxpp = XPathParts.getFrozenInstance(fullPath); in split()
230 XPathParts untransformedxpp = XPathParts.getFrozenInstance(untransformedPath); in split()
231 XPathParts untransformedfullxpp = XPathParts.getFrozenInstance(untransformedFullPath); in split()
240 XPathParts newxpp = xpp.cloneAsThawed(); in split()
241 XPathParts newfullxpp = fullxpp.cloneAsThawed(); in split()
242 XPathParts untransformednewxpp = untransformedxpp.cloneAsThawed(); in split()
243 XPathParts untransformednewfullxpp = untransformedfullxpp.cloneAsThawed(); in split()
278 XPathParts xpp = XPathParts.getFrozenInstance(path); in needsSort()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DXPathParts.java40 public final class XPathParts implements Freezable<XPathParts>, Comparable<XPathParts> { class
49 private static final Map<String, XPathParts> cache = new ConcurrentHashMap<>();
58 public XPathParts() { in XPathParts() method in XPathParts
79 public XPathParts clear() { in clear()
110 …public XPathParts writeDifference(PrintWriter pw, XPathParts filteredXPath, XPathParts lastFullXPa… in writeDifference()
202 comment = existing + XPathParts.NEWLINE + comment; in addComment()
245 … CldrUtility.joinWithSeparation(comments.get(c), XPathParts.NEWLINE, other.comments.get(c)); in joinAll()
309 …private XPathParts writeComment(PrintWriter pw, Comments xpath_comments, int index, Comments.Comme… in writeComment()
316 XPathParts.writeComment(pw, index - 1, comment, blockComment); in writeComment()
324 public int findFirstDifference(XPathParts last) { in findFirstDifference()
[all …]
DLogicalGrouping.java107 XPathParts parts = null; in getPaths()
110 parts = XPathParts.getFrozenInstance(path); in getPaths()
137 parts = XPathParts.getFrozenInstance(path).cloneAsThawed(); in getPaths()
185 XPathParts parts = XPathParts.getFrozenInstance(path); in isOptional()
245 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
252 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
264 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
277 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
305 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
319 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
[all …]
DPathChecker.java17 private static final Map<XPathParts, Boolean> seen = new ConcurrentHashMap<>();
24 XPathParts parts = XPathParts.getFrozenInstance(path); in checkPath()
33 XPathParts parts = XPathParts.getFrozenInstance(path); in checkPath()
40 …public boolean checkPath(XPathParts parts, Map<Row.R3<String, String, String>, ValueStatus> errors… in checkPath()
DCLDRFile.java50 import org.unicode.cldr.util.XPathParts.Comments;
413 XPathParts firstFullPathParts = null; in write()
420 firstFullPathParts = XPathParts.getFrozenInstance(firstFullPath); in write()
478 XPathParts.writeComment(pw, 0, initialComment, true); in write()
480XPathParts.Comments tempComments = (XPathParts.Comments) dataSource.getXpathComments().clone(); in write()
482 XPathParts last = null; in write()
497 XPathParts current = XPathParts.getFrozenInstance(xpath).cloneAsThawed(); in write()
522 XPathParts currentFiltered = XPathParts.getFrozenInstance(xpath).cloneAsThawed(); in write()
527 XPathParts current = XPathParts.getFrozenInstance(getFullXPath(xpath)).cloneAsThawed(); in write()
554 String extras = "Comments without bases" + XPathParts.NEWLINE; in write()
[all …]
DDtdPathIterator.java33 this.xpathParts = new XPathParts(); in DtdPathIterator()
37 final XPathParts xpathParts;
43 public void visit(Consumer<XPathParts> function, Function<Attribute, String> sample) { in visit()
48 …private void visit(Element parent, Consumer<XPathParts> visitor, Function<Attribute, String> sampl… in visit()
132 Set<XPathParts>seen = new HashSet<>(); in main()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPerf.java16 import org.unicode.cldr.util.XPathParts;
46 XPathParts xpp = XPathParts.getFrozenInstance(p);
82 XPathParts xpp = XPathParts.getFrozenInstance(p); in TestXPathParts()
96 XPathParts xpp = XPathParts.getFrozenInstance(p); in TestMutableXPathParts()
111 XPathParts xpp = XPathParts.getFrozenInstance(p); in TestFastFrozenXPathParts()
126 XPathParts xpp = XPathParts.getFrozenInstance(p); in TestFastXPathParts()
137 XPathParts newParts = XPathParts.getFrozenInstance(path); in TestXPathPartsWithComparators()
DTestPaths.java36 import org.unicode.cldr.util.XPathParts;
153 assertEquals("CanonicalOrder", XPathParts.getFrozenInstance(path).toString(), path); in checkFullpathValue()
158 … assertEquals("CanonicalOrder (FP)", XPathParts.getFrozenInstance(fullPath).toString(), fullPath); in checkFullpathValue()
264 public boolean check(DtdData dtdData, XPathParts parts, String fullName) { in check()
411 XPathParts parts = XPathParts.getFrozenInstance(path); in TestNonLdml()
417 XPathParts pathParts = XPathParts.getFrozenInstance(path); in TestNonLdml()
494 XPathParts parts = XPathParts.getFrozenInstance(path); in checkParts()
527 …private int removeNonDistinguishing(XPathParts parts, DtdData data, int counter, StringBuilder rem… in removeNonDistinguishing()
DNumberingSystemsTest.java5 import org.unicode.cldr.util.XPathParts;
23 XPathParts parts = XPathParts.getFrozenInstance(path); in TestFile()
DTestPathsModule.java24 import org.unicode.cldr.util.XPathParts;
111 XPathParts fullParts = XPathParts.getFrozenInstance(path); in handlePathValue()
130 public void test(XPathParts fullParts, String value) { in test()
152 public void test(XPathParts fullParts, String value) { in test()
203 public void test(XPathParts fullParts, String value) { in test()
233 private int findFirstQ(XPathParts fullParts, int size) { in findFirstQ()
DTestBCP47.java18 import org.unicode.cldr.util.XPathParts;
49 XPathParts parts = XPathParts.getFrozenInstance(path);
55 XPathParts parts = XPathParts.getFrozenInstance(path);
62 XPathParts parts = XPathParts.getFrozenInstance(path);
DTestAlt.java15 import org.unicode.cldr.util.XPathParts;
57 XPathParts parts = XPathParts.getFrozenInstance(xpath); in testValues()
65 final XPathParts noAlt = parts.cloneAsThawed().removeAttribute(i, "alt"); in testValues()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRModify.java65 import org.unicode.cldr.util.XPathParts;
66 import org.unicode.cldr.util.XPathParts.Comments;
67 import org.unicode.cldr.util.XPathParts.Comments.CommentType;
255 + XPathParts.NEWLINE
257 + XPathParts.NEWLINE
262 + XPathParts.NEWLINE
264 + XPathParts.NEWLINE
269 + XPathParts.NEWLINE
271 + XPathParts.NEWLINE
273 + XPathParts.NEWLINE
[all …]
DGenerateTempDateData.java13 import org.unicode.cldr.util.XPathParts;
41 XPathParts parts = XPathParts.getFrozenInstance(path); in main()
47 XPathParts parts = XPathParts.getFrozenInstance(path); in main()
54 XPathParts parts = XPathParts.getFrozenInstance(path); in main()
DDiffWithParent.java19 import org.unicode.cldr.util.XPathParts;
86 XPathParts fullParts = XPathParts.getFrozenInstance(fullPath); in showDistinguishingAttributes()
88 XPathParts parts = XPathParts.getFrozenInstance(path); in showDistinguishingAttributes()
DXMLModify.java17 import org.unicode.cldr.util.XPathParts;
79 XPathParts lastParts = null; in main()
88XPathParts parts = XPathParts.getFrozenInstance(path).cloneAsThawed(); // not frozen, for setAttri… in main()
DPrepareRootAnnotations.java12 import org.unicode.cldr.util.XPathParts;
24 XPathParts parts = XPathParts.getFrozenInstance(path); in main()
DGenerateCoverageLevels.java32 import org.unicode.cldr.util.XPathParts;
164 XPathParts lastParts = new XPathParts();
165 XPathParts nextParts = new XPathParts();
197 nextParts = new XPathParts(); in add()
216 private XPathParts setNewParts(String path) { in setNewParts()
217XPathParts parts = XPathParts.getFrozenInstance(path).cloneAsThawed(); // not frozen, for removeEl… in setNewParts()
433 XPathParts parts = XPathParts.getFrozenInstance(path); in getRBNFData()
531 XPathParts parts = XPathParts.getFrozenInstance(fullPath); in getCollationData()
/external/cldr/tools/java/org/unicode/cldr/test/
DFlexibleDateFromCLDR.java24 import org.unicode.cldr.util.XPathParts;
147 XPathParts parts = XPathParts.getFrozenInstance(path); in checkFlexibles()
157 XPathParts parts = XPathParts.getFrozenInstance(path); in checkFlexibles()
216 XPathParts parts = XPathParts.getFrozenInstance(path); in checkValueAgainstSkeleton()
220 XPathParts parts = XPathParts.getFrozenInstance(path); in checkValueAgainstSkeleton()
DCheckDisplayCollisions.java24 import org.unicode.cldr.util.XPathParts;
317XPathParts parts = XPathParts.getFrozenInstance(path).cloneAsThawed(); // not frozen, for removeEl… in handleCheck()
385 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
390 parts = XPathParts.getFrozenInstance(curVal); in handleCheck()
403 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
410 parts = XPathParts.getFrozenInstance(curVal); in handleCheck()
437 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
442 parts = XPathParts.getFrozenInstance(curVal); in handleCheck()
452 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
457 parts = XPathParts.getFrozenInstance(curVal); in handleCheck()
[all …]
DCheckZones.java16 import org.unicode.cldr.util.XPathParts;
66 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
116 XPathParts parts = XPathParts.getFrozenInstance(path); in exampleTextForXpath()
DCheckMetazones.java7 import org.unicode.cldr.util.XPathParts;
43 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
DExampleGenerator.java49 import org.unicode.cldr.util.XPathParts;
345 XPathParts parts = XPathParts.getFrozenInstance(xpath).cloneAsThawed(); in constructExampleHtml()
413 private String handleLabelPattern(XPathParts parts, String value) { in handleLabelPattern()
430 private String handleLabel(XPathParts parts, String value) { in handleLabel()
476 private String handleAnnotationName(XPathParts parts, String value) { in handleAnnotationName()
563 private String handleDayPeriod(XPathParts parts, String value) { in handleDayPeriod()
594 private UnitLength getUnitLength(XPathParts parts) { in getUnitLength()
598 private String handleFormatUnit(XPathParts parts, String value) { in handleFormatUnit()
628 private String handleFormatPerUnit(XPathParts parts, String value) { in handleFormatPerUnit()
633 public String handleCompoundUnit(XPathParts parts) { in handleCompoundUnit()
[all …]
DCheckCasing.java7 import org.unicode.cldr.util.XPathParts;
46 XPathParts parts = XPathParts.getFrozenInstance(fullPath); in handleCheck()

12345