Home
last modified time | relevance | path

Searched refs:xPath (Results 1 – 17 of 17) sorted by relevance

/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/xml/
DHasXPath.java98 final XPath xPath = XPathFactory.newInstance().newXPath();
100 xPath.setNamespaceContext(namespaceContext);
102 return xPath.compile(xPathExpression);
120 public static Matcher<Node> hasXPath(String xPath, Matcher<String> valueMatcher) {
121 return hasXPath(xPath, NO_NAMESPACE_CONTEXT, valueMatcher);
138 …public static Matcher<Node> hasXPath(String xPath, NamespaceContext namespaceContext, Matcher<Stri…
139 return new HasXPath(xPath, namespaceContext, valueMatcher, STRING);
151 public static Matcher<Node> hasXPath(String xPath) {
152 return hasXPath(xPath, NO_NAMESPACE_CONTEXT);
166 public static Matcher<Node> hasXPath(String xPath, NamespaceContext namespaceContext) {
[all …]
/external/skia/docs/examples/
DRegion_op_6.cpp10 SkPath xPath, opPath;
11 paint.getTextPath("X", 1, 20, 110, &xPath);
12 xPath.setFillType(SkPathFillType::kInverseWinding);
18 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_op_1.cpp10 SkPath xPath;
11 paint.getTextPath("X", 1, 20, 110, &xPath);
14 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_op_3.cpp10 SkPath xPath, opPath;
11 paint.getTextPath("X", 1, 20, 110, &xPath);
16 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_contains.cpp10 SkPath xPath;
11 paint.getTextPath("X", 1, 20, 110, &xPath);
13 xRegion.setPath(xPath, SkRegion({0, 0, 256, 256}));
DRegion_op_2.cpp10 SkPath xPath;
11 paint.getTextPath("X", 1, 20, 110, &xPath);
14 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_contains_2.cpp10 SkPath xPath;
11 paint.getTextPath("X", 1, 20, 110, &xPath);
14 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_writeToMemory.cpp10 SkPath xPath;
11 paint.getTextPath("X", 1, 20, 110, &xPath);
14 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_contains_3.cpp10 SkPath xPath, testPath;
11 paint.getTextPath("X", 1, 20, 110, &xPath);
15 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_op_4.cpp10 SkPath xPath, opPath;
11 paint.getTextPath("X", 1, 20, 110, &xPath);
16 xRegion.setPath(xPath, SkRegion(drawBounds));
DRegion_op_5.cpp10 SkPath xPath, opPath;
11 paint.getTextPath("X", 1, 20, 110, &xPath);
16 xRegion.setPath(xPath, SkRegion(drawBounds));
/external/cldr/tools/java/org/unicode/cldr/util/
DXPathParts.java208 public String removeComment(CommentType style, String xPath) { in removeComment() argument
209 String result = comments.get(style).get(xPath); in removeComment()
210 if (result != null) comments.get(style).remove(xPath); in removeComment()
588 private XPathParts addInternal(String xPath, boolean initial) { in addInternal() argument
596 if (!xPath.startsWith(requiredPrefix)) { in addInternal()
597 return parseError(xPath, 0); in addInternal()
602 int len = xPath.length(); in addInternal()
604 char cp = xPath.charAt(i); in addInternal()
611 return parseError(xPath, i); in addInternal()
614 addElement(xPath.substring(stringStart, i)); in addInternal()
[all …]
DLDMLUtilities.java2178 XPath xPath = factory.newXPath(); in XPathAPI_selectNodeList() local
2179 setNamespace(xPath, xpath); in XPathAPI_selectNodeList()
2181 XPathExpression xPathExpression = xPath.compile(xpath); in XPathAPI_selectNodeList()
2191 XPath xPath = factory.newXPath(); in XPathAPI_selectNodeList() local
2192 setNamespace(xPath, xpath); in XPathAPI_selectNodeList()
2194 XPathExpression xPathExpression = xPath.compile(xpath); in XPathAPI_selectNodeList()
2204 XPath xPath = factory.newXPath(); in XPathAPI_selectNodeList() local
2205 setNamespace(xPath, xpath); in XPathAPI_selectNodeList()
2207 XPathExpression xPathExpression = xPath.compile(xpath); in XPathAPI_selectNodeList()
/external/skqp/docs/
DSkRegion_Reference.bmh1071 SkPath xPath;
1072 paint.getTextPath("X", 1, 20, 110, &xPath);
1074 xRegion.setPath(xPath, SkRegion({0, 0, 256, 256}));
1098 SkPath xPath;
1099 paint.getTextPath("X", 1, 20, 110, &xPath);
1102 xRegion.setPath(xPath, SkRegion(drawBounds));
1126 SkPath xPath, testPath;
1127 paint.getTextPath("X", 1, 20, 110, &xPath);
1131 xRegion.setPath(xPath, SkRegion(drawBounds));
1385 SkPath xPath;
[all …]
/external/objenesis/tck/src/test/java/org/objenesis/tck/
DOsgiTest.java79 final XPath xPath = xPathFactory.newXPath(); in getImplementationVersion() local
82 xPathExpression = xPath.compile("/project/parent/version"); in getImplementationVersion()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java1535 …public static org.hamcrest.Matcher<org.w3c.dom.Node> hasXPath(java.lang.String xPath, org.hamcrest… in hasXPath() argument
1536 return org.hamcrest.xml.HasXPath.hasXPath(xPath, valueMatcher); in hasXPath()
1553 …public static org.hamcrest.Matcher<org.w3c.dom.Node> hasXPath(java.lang.String xPath, javax.xml.na… in hasXPath() argument
1554 return org.hamcrest.xml.HasXPath.hasXPath(xPath, namespaceContext, valueMatcher); in hasXPath()
1566 public static org.hamcrest.Matcher<org.w3c.dom.Node> hasXPath(java.lang.String xPath) { in hasXPath() argument
1567 return org.hamcrest.xml.HasXPath.hasXPath(xPath); in hasXPath()
1581 …public static org.hamcrest.Matcher<org.w3c.dom.Node> hasXPath(java.lang.String xPath, javax.xml.na… in hasXPath() argument
1582 return org.hamcrest.xml.HasXPath.hasXPath(xPath, namespaceContext); in hasXPath()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTransformerImpl.java342 XPathContext xPath = new XPathContext(this); in TransformerImpl() local
343 xPath.setIncremental(m_incremental); in TransformerImpl()
344 xPath.getDTMManager().setIncremental(m_incremental); in TransformerImpl()
345 xPath.setSource_location(m_source_location); in TransformerImpl()
346 xPath.getDTMManager().setSource_location(m_source_location); in TransformerImpl()
349 xPath.setSecureProcessing(true); in TransformerImpl()
351 setXPathContext(xPath); in TransformerImpl()