Home
last modified time | relevance | path

Searched refs:XPathParts (Results 1 – 25 of 117) 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()
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
241 XPathParts parts = XPathParts.getFrozenInstance(path); in addIndexInfo()
/external/cldr/tools/java/org/unicode/cldr/json/
DCldrItem.java9 import org.unicode.cldr.util.XPathParts;
220 XPathParts xpp = XPathParts.getFrozenInstance(path); in split()
221 XPathParts fullxpp = XPathParts.getFrozenInstance(fullPath); in split()
222 XPathParts untransformedxpp = XPathParts.getFrozenInstance(untransformedPath); in split()
223 XPathParts untransformedfullxpp = XPathParts.getFrozenInstance(untransformedFullPath); in split()
232 XPathParts newxpp = XPathParts.getInstance(xpp.toString()); in split()
233 XPathParts newfullxpp = XPathParts.getInstance(fullxpp.toString()); in split()
234XPathParts untransformednewxpp = XPathParts.getInstance(untransformedxpp.toString()); in split()
235XPathParts untransformednewfullxpp = XPathParts.getInstance(untransformedfullxpp.toString()); in split()
270 XPathParts xpp = XPathParts.getFrozenInstance(path); in needsSort()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DXPathParts.java37 public final class XPathParts implements Freezable<XPathParts> { class
48 … private static final Map<String, XPathParts> cache = new ConcurrentHashMap<String, XPathParts>();
50 public XPathParts() { in XPathParts() method in XPathParts
54 public XPathParts(Map<String, Map<String, String>> suppressionMap) { in XPathParts() method in XPathParts
75 public XPathParts clear() { in clear()
92 …public XPathParts writeDifference(PrintWriter pw, XPathParts filteredXPath, XPathParts lastFullXPa… in writeDifference()
168 comment = existing + XPathParts.NEWLINE + comment; in addComment()
210 … CldrUtility.joinWithSeparation(comments.get(c), XPathParts.NEWLINE, other.comments.get(c)); in joinAll()
274 …private XPathParts writeComment(PrintWriter pw, Comments xpath_comments, int index, Comments.Comme… in writeComment()
281 XPathParts.writeComment(pw, index - 1, comment, blockComment); in writeComment()
[all …]
DLogicalGrouping.java97 XPathParts parts = null; in getPaths()
100 … parts = XPathParts.getInstance(path); // can't always be frozen, some addPath do setAttribute in getPaths()
123 parts = XPathParts.getInstance(path); in getPaths()
167 XPathParts parts = XPathParts.getInstance(path); in isOptional()
213 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
220 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
232 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
245 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
274 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
288 void addPaths(Set<String> set, CLDRFile cldrFile, String path, XPathParts parts) { in addPaths()
[all …]
DCLDRFile.java45 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 = new XPathParts(defaultSuppressionMap); in write()
483 XPathParts current = new XPathParts(defaultSuppressionMap); in write()
484 XPathParts lastFiltered = new XPathParts(defaultSuppressionMap); in write()
485 XPathParts currentFiltered = new XPathParts(defaultSuppressionMap); in write()
510 XPathParts temp = current; in write()
[all …]
DXMLSource.java28 import org.unicode.cldr.util.XPathParts.Comments;
45 private transient XPathParts parts = new XPathParts();
139 XPathParts parts = XPathParts.getFrozenInstance(fullpath); in isDraft()
324 XPathParts partsOld = XPathParts.getFrozenInstance(oldPath); in changeNewToOld()
325 XPathParts partsNew = XPathParts.getFrozenInstance(newPath); in changeNewToOld()
326 XPathParts partsFull = XPathParts.getFrozenInstance(fullPath); in changeNewToOld()
784XPathParts xpathParts = XPathParts.getInstance(xpath); // not frozen, for putAttributeValue in getFullPath()
785XPathParts fullPathWhereFoundParts = XPathParts.getFrozenInstance(fullPathWhereFound); in getFullPath()
786XPathParts pathWhereFoundParts = XPathParts.getFrozenInstance(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 = XPathParts.getFrozenInstance(p); in TestXPathParts()
97 XPathParts xpp = XPathParts.getFrozenInstance(p); in TestMutableXPathParts()
112 XPathParts xpp = XPathParts.getFrozenInstance(p); in TestFastFrozenXPathParts()
127 XPathParts xpp = XPathParts.getInstance(p); in TestFastXPathParts()
138 XPathParts newParts = XPathParts.getFrozenInstance(path); in TestXPathPartsWithComparators()
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;
23 XPathParts parts = XPathParts.getFrozenInstance(path); in TestFile()
DTestPathsModule.java23 import org.unicode.cldr.util.XPathParts;
109 XPathParts fullParts = XPathParts.getFrozenInstance(path); in handlePathValue()
128 public void test(XPathParts fullParts, String value) { in test()
150 public void test(XPathParts fullParts, String value) { in test()
200 public void test(XPathParts fullParts, String value) { in test()
230 private int findFirstQ(XPathParts fullParts, int size) { in findFirstQ()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRModify.java64 import org.unicode.cldr.util.XPathParts;
65 import org.unicode.cldr.util.XPathParts.Comments;
66 import org.unicode.cldr.util.XPathParts.Comments.CommentType;
253 + XPathParts.NEWLINE
255 + XPathParts.NEWLINE
260 + XPathParts.NEWLINE
262 + XPathParts.NEWLINE
267 + XPathParts.NEWLINE
269 + XPathParts.NEWLINE
271 + 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()
DXMLModify.java17 import org.unicode.cldr.util.XPathParts;
79 XPathParts lastParts = new XPathParts(); in main()
88 XPathParts parts = XPathParts.getInstance(path); // not frozen, for setAttribute 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()
DPrepareRootAnnotations.java12 import org.unicode.cldr.util.XPathParts;
24 XPathParts parts = XPathParts.getFrozenInstance(path); in main()
/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.java23 import org.unicode.cldr.util.XPathParts;
294 XPathParts parts = XPathParts.getInstance(path); // not frozen, for removeElement in handleCheck()
358 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
363 parts = XPathParts.getFrozenInstance(curVal); in handleCheck()
376 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
383 parts = XPathParts.getFrozenInstance(curVal); in handleCheck()
410 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
415 parts = XPathParts.getFrozenInstance(curVal); in handleCheck()
425 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
430 parts = XPathParts.getFrozenInstance(curVal); in handleCheck()
[all …]
DCheckCurrencies.java6 import org.unicode.cldr.util.XPathParts;
14 XPathParts parts = new XPathParts(); // used to parse out a path
DCheckZones.java16 import org.unicode.cldr.util.XPathParts;
65 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
115 XPathParts parts = XPathParts.getFrozenInstance(path); in exampleTextForXpath()
DCheckMetazones.java7 import org.unicode.cldr.util.XPathParts;
42 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
DCheckAlt.java9 import org.unicode.cldr.util.XPathParts;
13 XPathParts parts = new XPathParts();
DCheckUnits.java8 import org.unicode.cldr.util.XPathParts;
55 XPathParts xpp = XPathParts.getFrozenInstance(path); in handleCheck()
DCheckLogicalGroupings.java16 import org.unicode.cldr.util.XPathParts;
176 XPathParts parts = XPathParts.getFrozenInstance(fPath); in handleCheck()
193 parts = XPathParts.getFrozenInstance(fPath); in handleCheck()
/external/cldr/tools/java/org/unicode/cldr/ant/
DCLDRConverterTool.java18 import org.unicode.cldr.util.XPathParts;
195 XPathParts parts = XPathParts.getFrozenInstance(xpathList.get(i)); in computeConvertibleXPaths()
223 XPathParts parts = XPathParts.getFrozenInstance(xpath); in computeConvertibleXPaths()
398 XPathParts nparts = XPathParts.getFrozenInstance(nxp); in computeConvertibleXPaths()

12345