/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/ |
XmlDocumentationTest.java | 23 import javax.xml.xpath.XPath; 24 import javax.xml.xpath.XPathConstants; 25 import javax.xml.xpath.XPathExpressionException; 26 import javax.xml.xpath.XPathFactory; 47 private XPath xpath; field in class:XmlDocumentationTest 70 xpath = XPathFactory.newInstance().newXPath(); 127 return (String) xpath.evaluate(query, doc, XPathConstants.STRING);
|
/external/autotest/server/cros/ap_configurators/ |
trendnet812dru_ap_configurator.py | 84 xpath = '//input[@maxlength="32" and @name="wl_ssid"]' 85 self.set_content_of_text_field_by_xpath(ssid, xpath, abort_check=True) 100 xpath = '//select[@name="wl_nmode"]' 101 while self.number_of_items_in_popup_by_xpath(xpath) < 2: 103 self.select_item_from_popup_by_xpath(mode_name, xpath) 111 xpath = '//select[@name="wl_bss_enabled"]' 113 self.select_item_from_popup_by_xpath('On', xpath) 115 self.select_item_from_popup_by_xpath('Off', xpath) 119 xpath = '//select[@name="wl_closed"]' 121 self.select_item_from_popup_by_xpath('Enabled', xpath) [all...] |
buffaloag300h_ap_configurator.py | 82 xpath = '//select[@name="ath0_net_mode"]' 84 xpath = '//select[@name="ath1_net_mode"]' 92 self.select_item_from_popup_by_xpath(mode_name, xpath) 106 xpath = '//input[@name="ath0_ssid"]' 108 xpath = '//input[@name="ath1_ssid"]' 109 self.set_content_of_text_field_by_xpath(ssid, xpath) 124 xpath = '//select[@name="ath0_channel"]' 126 xpath = '//select[@name="ath1_channel"]' 131 self.select_item_from_popup_by_xpath(channel_choices[position], xpath) 148 xpath = '//select[@name="ath0_security_mode"] [all...] |
belkinF6D4230_ap_configurator.py | 27 xpath = '//select[@name="wchan"]' 28 self.select_item_from_popup_by_xpath(channel_choices[position], xpath) 40 xpath = '//select[@name="wbr"]' 41 self.select_item_from_popup_by_xpath(mode_name, xpath, 80 xpath= '//h1[contains(text(), "Duplicate Administrator")]' 81 if (self.driver.find_element_by_xpath(xpath)):
|
netgearwnr1000v4_ap_configurator.py | 81 xpath = '//div[@id="main"]//iframe[@id="2g_setting"]' 82 self.wait_for_object_by_xpath(xpath) 83 setframe = self.driver.find_element_by_xpath(xpath) 119 xpath = '//input[@name="Apply"]' 120 self.wait_for_object_by_xpath(xpath) 121 self.click_button_by_xpath(xpath) 122 self.wait_for_object_by_xpath(xpath, wait_time=30) 146 xpath = '//input[@maxlength="32" and @name="ssid"]' 147 self.set_content_of_text_field_by_xpath(ssid, xpath, abort_check=True) 167 xpath = '//select[@name="w_channel"] [all...] |
linksys_ap_configurator.py | 53 xpath = '//input[@name="wsc_smode" and @value="1"]' 54 button = self.driver.find_element_by_xpath(xpath) 56 self.click_button_by_xpath(xpath) 90 xpath = ('//select[@onchange="SelWL()" and @name="Mode"]') 91 self.select_item_from_popup_by_xpath(mode_name, xpath) 115 xpath = ('//input[@maxlength="32" and @name="SSID"]') 116 self.set_content_of_text_field_by_xpath(ssid, xpath) 131 xpath = ('//select[@onfocus="check_action(this,0)" and @name="Freq"]') 133 xpath) 145 xpath = ('//select[@name="SecurityMode"]' [all...] |
netgear4300_ap_configurator.py | 79 xpath = '//input[@name="security_type_an" and @value="WPA-ENTER"]' 81 self.wait_for_object_by_xpath(xpath).is_displayed()) 114 xpath = '//select[@name="opmode"]' 116 xpath = '//select[@name="opmode_an"]' 117 self.wait_for_object_by_xpath(xpath) 118 self.select_item_from_popup_by_xpath(mode_selection, xpath) 129 xpath = '//select[@name="w_channel"]' 131 xpath = '//select[@name="w_channel_an"]' 134 self.select_item_from_popup_by_xpath(channel_choices[position], xpath) 145 xpath = ('//input[@name="security_type" and @value="WEP" and [all...] |
buffalo_wzr_d1800h_ap_configurator.py | 89 @param apply_set: xpath for the apply button. 156 xpath = '//input[@type="text" and @name="ssid_11bg"]' 158 xpath = '//input[@type="text" and @name="ssid_11a"]' 159 self.set_content_of_text_field_by_xpath(ssid, xpath) 175 xpath = '//select[@name="channel11bg"]' 177 xpath = '//select[@name="channel11a"]' 182 if self.number_of_items_in_popup_by_xpath(xpath) == 0: 187 self.select_item_from_popup_by_xpath(channel_choice[position], xpath) 204 xpath = '//select[@name="nbw_11bg"]' 209 xpath = '//select[@name="nbw_11a"] [all...] |
belkinF7D5301_ap_configurator.py | 27 xpath = '//select[@name="wbr"]' 28 self.select_item_from_popup_by_xpath(mode_name, xpath,
|
linksyswrt54gs2_ap_configurator.py | 29 xpath = ('//select[@name="wl_net_mode"]') 30 self.select_item_from_popup_by_xpath(mode_name, xpath)
|
netgear1000_ap_configurator.py | 29 xpath = '//select[@name="opmode"]' 30 self.select_item_from_popup_by_xpath(mode, xpath)
|
netgear3700_ap_configurator.py | 33 xpath = '//a[text()="Wireless Settings"]' 34 self.click_button_by_xpath(xpath) 86 xpath = '//select[@name="w_channel"]' 88 xpath = '//select[@name="w_channel_an"]' 91 self.select_item_from_popup_by_xpath(channel_choices[position], xpath) 102 xpath = ('//input[@name="security_type" and @value="WEP"]') 106 xpath = ('//input[@name="security_type_an" and @value="WEP"]') 110 self.click_button_by_xpath(xpath, alert_handler=self._alert_handler)
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncNormalizeSpace.java | 21 package org.apache.xpath.functions; 25 import org.apache.xpath.XPathContext; 26 import org.apache.xpath.objects.XObject; 27 import org.apache.xpath.objects.XString; 54 * Execute an expression in the XPath runtime context, and return the 58 * @param xctxt The XPath runtime context.
|
/external/apache-xml/src/main/java/org/apache/xpath/operations/ |
And.java | 21 package org.apache.xpath.operations; 23 import org.apache.xpath.XPathContext; 24 import org.apache.xpath.objects.XBoolean; 25 import org.apache.xpath.objects.XObject; 40 * @return {@link org.apache.xpath.objects.XBoolean#S_TRUE} or 41 * {@link org.apache.xpath.objects.XBoolean#S_FALSE}.
|
Or.java | 21 package org.apache.xpath.operations; 23 import org.apache.xpath.XPathContext; 24 import org.apache.xpath.objects.XBoolean; 25 import org.apache.xpath.objects.XObject; 40 * @return {@link org.apache.xpath.objects.XBoolean#S_TRUE} or 41 * {@link org.apache.xpath.objects.XBoolean#S_FALSE}.
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
XPathFunction.java | 19 package javax.xml.xpath; 24 * <p><code>XPathFunction</code> provides access to XPath functions.</p> 26 * <p>Functions are identified by QName and arity in XPath.</p> 39 * XPath expression is under no obligation to call extension functions in 44 * @return The result of evaluating the <code>XPath</code> function as an <code>Object</code>. 46 * @throws XPathFunctionException If <code>args</code> cannot be evaluated with this <code>XPath</code> function.
|
/external/libxml2/doc/devhelp/ |
libxml2-xpointer.html | 43 <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPtrNewRange">xmlXPtrNewRange</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> start, <br/> int startindex, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> end, <br/> int endindex); 45 <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPtrWrapLocationSet">xmlXPtrWrapLocationSet</a> (<a href="libxml2-xpointer.html#xmlLocationSetPtr">xmlLocationSetPtr</a> val); 46 <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> <a href="#xmlXPtrBuildNodeList">xmlXPtrBuildNodeList</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> obj); 47 <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPtrEval">xmlXPtrEval</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctx); 48 <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPtrNewRangeNodes">xmlXPtrNewRangeNodes</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> start, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> end); 49 void <a href="#xmlXPtrLocationSetAdd">xmlXPtrLocationSetAdd</a> (<a href="libxml2-xpointer.html#xmlLocationSetPtr">xmlLocationSetPtr</a> cur, <br/> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val); 50 void <a href="#xmlXPtrRangeToFunction">xmlXPtrRangeToFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br/> int nargs); 51 <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPtrNewCollapsedRange">xmlXPtrNewCollapsedRange</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> start); 52 <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPtrNewRangePoints">xmlXPtrNewRangePoin (…) [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
UnionPattern.java | 21 package org.apache.xpath.patterns; 23 import org.apache.xpath.Expression; 24 import org.apache.xpath.ExpressionOwner; 25 import org.apache.xpath.XPathContext; 26 import org.apache.xpath.XPathVisitor; 27 import org.apache.xpath.objects.XObject; 107 * @param xctxt XPath runtime context. 109 * @return {@link org.apache.xpath.patterns.NodeTest#SCORE_NODETEST}, 110 * {@link org.apache.xpath.patterns.NodeTest#SCORE_NONE}, 111 * {@link org.apache.xpath.patterns.NodeTest#SCORE_NSWILD} [all...] |
/external/annotation-tools/asmx/test/lib/ |
jd.xslt-1.5.5.jar | |
/external/libxml2/ |
testC14N.c | 27 #include <libxml/xpath.h> 35 "Usage: %s <mode> <xml-file> [<xpath-expr>] [<inclusive-ns-list>]\n", 63 xmlXPathObjectPtr xpath = NULL; local 90 * load xpath file if specified 93 xpath = load_xpath_expr(doc, xpath_filename); 94 if(xpath == NULL) { 95 fprintf(stderr,"Error: unable to evaluate xpath expression\n"); 106 (xpath) ? xpath->nodesetval : NULL, 126 if(xpath != NULL) xmlXPathFreeObject(xpath) 240 xmlXPathObjectPtr xpath; local [all...] |
/external/libxml2/doc/tutorial/ |
apd.html | 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>D.?Code for XPath Example</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.2"><link rel="home" href="index.html" title="Libxml Tutorial"><link rel="up" href="index.html" title="Libxml Tutorial"><link rel="previous" href="apc.html" title="C.?Code for Keyword Example"><link rel="next" href="ape.html" title="E.?Code for Add Keyword Example"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">D.?Code for XPath Example</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apc.html">Prev</a>?</td><th width="60%" align="center">?</th><td width="20%" align="right">?<a accesskey="n" href="ape.html">Next</a></td></tr></table><hr></div><div class="appendix" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="xpathappendix"></a>D.?Code for XPath Example</h2></div></div><div></div></div><p> 4 #include <libxml/xpath.h> 20 getnodeset (xmlDocPtr doc, xmlChar *xpath){ 30 result = xmlXPathEvalExpression(xpath, context); 48 xmlChar *xpath = (xmlChar*) "//keyword"; 61 result = getnodeset (doc, xpath);
|
/external/libxml2/test/c14n/exc-without-comments/ |
merlin-c14n-two-10.xpath | 2 <XPath xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" xml:lang="en-ie"> 12 </XPath>
|
merlin-c14n-two-19.xpath | 2 <XPath xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" xml:lang="en-ie"> 12 </XPath>
|
/external/libxml2/test/c14n/without-comments/ |
merlin-c14n-two-01.xpath | 2 <XPath xmlns:bar="http://example.org/bar" xmlns:baz="http://example.org/baz" xmlns:foo="http://example.org/foo" xml:lang="en-ie"> 12 </XPath>
|
/external/libxml2/test/schemas/ |
import-455953.xsd | 19 <xs:selector xpath="tns:B"/>
20 <xs:field xpath="@BID"/>
|