Home
last modified time | relevance | path

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

12345

/external/cldr/tools/java/org/unicode/cldr/json/
DCldrItem.java9 import org.unicode.cldr.util.XPathParts;
220 XPathParts xpp = new XPathParts(); in split()
221 XPathParts fullxpp = new XPathParts(); in split()
222 XPathParts newxpp = new XPathParts(); in split()
223 XPathParts newfullxpp = new XPathParts(); in split()
224 XPathParts untransformedxpp = new XPathParts(); in split()
225 XPathParts untransformedfullxpp = new XPathParts(); in split()
226 XPathParts untransformednewxpp = new XPathParts(); in split()
227 XPathParts untransformednewfullxpp = new XPathParts(); in split()
238XPathParts[] newparts = { newxpp, newfullxpp, untransformednewxpp, untransformednewfullxpp }; in split()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DXPathParts.java32 public final class XPathParts implements Freezable<XPathParts> { class
41 … private static final Map<String, XPathParts> cache = new ConcurrentHashMap<String, XPathParts>();
45 public XPathParts() { in XPathParts() method in XPathParts
49 …public XPathParts(Comparator<String> attributeComparator, Map<String, Map<String, String>> suppres… in XPathParts() method in XPathParts
55 …public XPathParts(List<Element> elements, Comparator<String> attributeComparator, Map<String, Map<… in XPathParts() method in XPathParts
80 public XPathParts clear() { in clear()
98 …public XPathParts writeDifference(PrintWriter pw, XPathParts filteredXPath, XPathParts lastFullXPa… in writeDifference()
99 XPathParts filteredLastXPath, String v, Comments xpath_comments) { in writeDifference()
174 comment = existing + XPathParts.NEWLINE + comment; in addComment()
216 … CldrUtility.joinWithSeparation(comments.get(c), XPathParts.NEWLINE, other.comments.get(c)); in joinAll()
[all …]
DCLDRFile.java45 import org.unicode.cldr.util.XPathParts.Comments;
399 XPathParts parts = new XPathParts(null, null); in write()
473 XPathParts.writeComment(pw, 0, initialComment, true); in write()
475XPathParts.Comments tempComments = (XPathParts.Comments) dataSource.getXpathComments().clone(); in write()
483 XPathParts last = new XPathParts(attributeOrdering2, defaultSuppressionMap); in write()
484 XPathParts current = new XPathParts(attributeOrdering2, defaultSuppressionMap); in write()
485 XPathParts lastFiltered = new XPathParts(attributeOrdering2, defaultSuppressionMap); in write()
486 XPathParts currentFiltered = new XPathParts(attributeOrdering2, defaultSuppressionMap); in write()
500 XPathParts temp = current; in write()
527 XPathParts temp = current; in write()
[all …]
DDtdData.java729 XPathParts a = XPathParts.getFrozenInstance(path1); in compare()
730 XPathParts b = XPathParts.getFrozenInstance(path2); in compare()
1379 public boolean isMetadata(XPathParts pathPlain) { in isMetadata()
1389 public static boolean isMetadataOld(DtdType dtdType2, XPathParts pathPlain) { in isMetadataOld()
1440 public boolean isDeprecated(XPathParts pathPlain) { in isDeprecated()
1461 private final Set<XPathParts> list = new LinkedHashSet<>();
1465 list.add(new XPathParts().addElement(element)); in addElement()
1467 for (XPathParts item : list) { in addElement()
1474 for (XPathParts item : list) { in addAttribute()
1480 for (XPathParts item : list) { in setElement()
[all …]
DXMLSource.java28 import org.unicode.cldr.util.XPathParts.Comments;
46 private transient XPathParts parts = new XPathParts(null, null);
361 XPathParts partsOld = new XPathParts(); in changeNewToOld()
362 XPathParts partsNew = new XPathParts(); in changeNewToOld()
363 XPathParts partsFull = new XPathParts(); in changeNewToOld()
810 XPathParts xpathParts = new XPathParts().set(xpath); in getFullPath()
811 XPathParts fullPathWhereFoundParts = new XPathParts().set(fullPathWhereFound); in getFullPath()
812 XPathParts pathWhereFoundParts = new XPathParts().set(fullStatus.pathWhereFound); in getFullPath()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPerf.java16 import org.unicode.cldr.util.XPathParts;
47 XPathParts xpp = XPathParts.getFrozenInstance(p);
83 XPathParts xpp = new XPathParts().set(p); in TestXPathParts()
95 XPathParts xpp = new XPathParts(); in TestMutableXPathParts()
113 XPathParts xpp = XPathParts.getFrozenInstance(p); in TestFastFrozenXPathParts()
128 XPathParts xpp = XPathParts.getInstance(p); in TestFastXPathParts()
138 XPathParts normal = new XPathParts(); in TestXPathPartsWithComparators()
141 XPathParts newParts = new XPathParts(dtdData.getAttributeComparator(), in TestXPathPartsWithComparators()
DTestBCP47.java16 import org.unicode.cldr.util.XPathParts;
46 XPathParts parts = XPathParts.getInstance(path);
52 XPathParts parts = XPathParts.getInstance(path);
59 XPathParts parts = XPathParts.getInstance(path);
DTestPathsModule.java23 import org.unicode.cldr.util.XPathParts;
95 final XPathParts fullParts = new XPathParts();
130 public void test(XPathParts fullParts, String value) { in test()
152 public void test(XPathParts fullParts, String value) { in test()
202 public void test(XPathParts fullParts, String value) { in test()
232 private int findFirstQ(XPathParts fullParts, int size) { in findFirstQ()
DTestAlt.java14 import org.unicode.cldr.util.XPathParts;
55 XPathParts parts = XPathParts.getFrozenInstance(xpath); in testValues()
63 final XPathParts noAlt = parts.cloneAsThawed().removeAttribute(i, "alt"); in testValues()
DNumberingSystemsTest.java5 import org.unicode.cldr.util.XPathParts;
22 XPathParts parts = new XPathParts(); in TestFile()
DTestPaths.java36 import org.unicode.cldr.util.XPathParts;
198 public boolean check(DtdData dtdData, XPathParts parts, String fullName) { in check()
297 XPathParts parts = new XPathParts(); in TestNonLdml()
344 XPathParts pathParts = XPathParts.getFrozenInstance(path); in TestNonLdml()
420 XPathParts parts = new XPathParts().set(path); in checkParts()
444 …private int removeNonDistinguishing(XPathParts parts, DtdData data, int counter, StringBuilder rem… in removeNonDistinguishing()
/external/cldr/tools/java/org/unicode/cldr/tool/
DXMLModify.java17 import org.unicode.cldr.util.XPathParts;
76 XPathParts lastParts = new XPathParts(); in main()
85 XPathParts parts = XPathParts.getInstance(path); in main()
DCLDRModify.java63 import org.unicode.cldr.util.XPathParts;
64 import org.unicode.cldr.util.XPathParts.Comments;
65 import org.unicode.cldr.util.XPathParts.Comments.CommentType;
252 + XPathParts.NEWLINE
254 + XPathParts.NEWLINE
259 + XPathParts.NEWLINE
261 + XPathParts.NEWLINE
266 + XPathParts.NEWLINE
268 + XPathParts.NEWLINE
270 + XPathParts.NEWLINE
[all …]
DDiffWithParent.java19 import org.unicode.cldr.util.XPathParts;
85 static XPathParts fullParts = new XPathParts();
87 static XPathParts parts = new XPathParts();
DPrepareRootAnnotations.java12 import org.unicode.cldr.util.XPathParts;
24 XPathParts parts = XPathParts.getFrozenInstance(path); in main()
DGenerateCoverageLevels.java32 import org.unicode.cldr.util.XPathParts;
163 XPathParts lastParts = new XPathParts();
164 XPathParts nextParts = new XPathParts();
196 nextParts = new XPathParts(); in add()
204 …private void clean(XPathParts lastParts2, TreeMap<String, Relation<String, String>> differences2) { in clean()
215 private void setParts(XPathParts parts, String path) { in setParts()
421 XPathParts parts = new XPathParts(); in getRBNFData()
512 XPathParts parts = new XPathParts(); in getCollationData()
/external/cldr/tools/java/org/unicode/cldr/icu/
DConvertTransforms.java20 import org.unicode.cldr.util.XPathParts;
53 static final String HELP_TEXT1 = "Use the following options" + XPathParts.NEWLINE
54 + "-h or -?\t for this message" + XPathParts.NEWLINE
56 + CldrUtility.getCanonicalName(CLDRPaths.MAIN_DIRECTORY) + XPathParts.NEWLINE
57 + "\tExample:-sC:\\Unicode-CVS2\\cldr\\common\\gen\\source\\" + XPathParts.NEWLINE
59 + CldrUtility.getCanonicalName(CLDRPaths.GEN_DIRECTORY + "main/") + XPathParts.NEWLINE
60 + "-m<regex>\t to restrict the files to what matches <regex>" + XPathParts.NEWLINE
61 + "-a\t to only include transforms with approved/contributed status" + XPathParts.NEWLINE
238 static XPathParts parts = new XPathParts();
DXPPUtil.java6 import org.unicode.cldr.util.XPathParts;
58 private static final XPathParts xpp = new XPathParts(null, null);
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckCurrencies.java6 import org.unicode.cldr.util.XPathParts;
14 XPathParts parts = new XPathParts(); // used to parse out a path
DCheckMetazones.java7 import org.unicode.cldr.util.XPathParts;
13 XPathParts parts = new XPathParts(); // used to parse out a path
DCheckAlt.java9 import org.unicode.cldr.util.XPathParts;
13 XPathParts parts = new XPathParts();
DCheckDisplayCollisions.java24 import org.unicode.cldr.util.XPathParts;
279 XPathParts parts = new XPathParts().set(path); in handleCheck()
346 XPathParts parts = new XPathParts().set(path); in handleCheck()
364 XPathParts parts = XPathParts.getInstance(path); in handleCheck()
399 XPathParts parts = new XPathParts().set(path); in handleCheck()
414 XPathParts parts = new XPathParts().set(path); in handleCheck()
655 return new XPathParts().set(xpath).getAttributeValue(index, "type"); in getRegion()
DCheckUnits.java8 import org.unicode.cldr.util.XPathParts;
14 private static XPathParts xpp = new XPathParts();
DCheckZones.java16 import org.unicode.cldr.util.XPathParts;
51 XPathParts parts = new XPathParts(null, null);
115 public static String exampleTextForXpath(XPathParts parts, TimezoneFormatter timezoneFormatter, in exampleTextForXpath()
DCheckCasing.java7 import org.unicode.cldr.util.XPathParts;
24 XPathParts parts = new XPathParts(); // used to parse out a path

12345