/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | XPPUtil.java | 6 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()
|
D | ConvertTransforms.java | 20 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/ |
D | CldrItem.java | 9 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() 234 … XPathParts untransformednewxpp = XPathParts.getInstance(untransformedxpp.toString()); in split() 235 … XPathParts untransformednewfullxpp = XPathParts.getInstance(untransformedfullxpp.toString()); in split() 270 XPathParts xpp = XPathParts.getFrozenInstance(path); in needsSort() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | XPathParts.java | 37 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 …]
|
D | LogicalGrouping.java | 97 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 …]
|
D | CLDRFile.java | 45 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() 480 … XPathParts.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 …]
|
D | XMLSource.java | 28 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() 784 … XPathParts xpathParts = XPathParts.getInstance(xpath); // not frozen, for putAttributeValue in getFullPath() 785 … XPathParts fullPathWhereFoundParts = XPathParts.getFrozenInstance(fullPathWhereFound); in getFullPath() 786 … XPathParts pathWhereFoundParts = XPathParts.getFrozenInstance(fullStatus.pathWhereFound); in getFullPath()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestPerf.java | 16 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()
|
D | TestAlt.java | 14 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()
|
D | NumberingSystemsTest.java | 5 import org.unicode.cldr.util.XPathParts; 23 XPathParts parts = XPathParts.getFrozenInstance(path); in TestFile()
|
D | TestPathsModule.java | 23 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/ |
D | CLDRModify.java | 64 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 …]
|
D | GenerateTempDateData.java | 13 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()
|
D | XMLModify.java | 17 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()
|
D | DiffWithParent.java | 19 import org.unicode.cldr.util.XPathParts; 86 XPathParts fullParts = XPathParts.getFrozenInstance(fullPath); in showDistinguishingAttributes() 88 XPathParts parts = XPathParts.getFrozenInstance(path); in showDistinguishingAttributes()
|
D | PrepareRootAnnotations.java | 12 import org.unicode.cldr.util.XPathParts; 24 XPathParts parts = XPathParts.getFrozenInstance(path); in main()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | FlexibleDateFromCLDR.java | 24 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()
|
D | CheckDisplayCollisions.java | 23 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 …]
|
D | CheckCurrencies.java | 6 import org.unicode.cldr.util.XPathParts; 14 XPathParts parts = new XPathParts(); // used to parse out a path
|
D | CheckZones.java | 16 import org.unicode.cldr.util.XPathParts; 65 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck() 115 XPathParts parts = XPathParts.getFrozenInstance(path); in exampleTextForXpath()
|
D | CheckMetazones.java | 7 import org.unicode.cldr.util.XPathParts; 42 XPathParts parts = XPathParts.getFrozenInstance(path); in handleCheck()
|
D | CheckAlt.java | 9 import org.unicode.cldr.util.XPathParts; 13 XPathParts parts = new XPathParts();
|
D | CheckUnits.java | 8 import org.unicode.cldr.util.XPathParts; 55 XPathParts xpp = XPathParts.getFrozenInstance(path); in handleCheck()
|
D | CheckLogicalGroupings.java | 16 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/ |
D | CLDRConverterTool.java | 18 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()
|