Home
last modified time | relevance | path

Searched refs:xpath (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/external/libxml2/
DAndroid.bp89 "xpath.c",
746 cmd: "mkdir -p $(genDir)/fuzz/seed/xpath && " +
749 "$${TOP_DIR}/$(location libxml2_genseed) xpath " +
752 "fuzz/seed/xpath/chapters-1",
753 "fuzz/seed/xpath/chapters-10",
754 "fuzz/seed/xpath/chapters-11",
755 "fuzz/seed/xpath/chapters-12",
756 "fuzz/seed/xpath/chapters-13",
757 "fuzz/seed/xpath/chapters-14",
758 "fuzz/seed/xpath/chapters-15",
[all …]
/external/autotest/server/cros/ap_configurators/
Dweb_driver_core_helpers.py39 def _handle_alert(self, xpath, alert_handler): argument
47 self.driver.find_element_by_xpath(xpath)
57 self._handle_alert(xpath, alert_handler)
129 for xpath in xpaths:
131 element = self.wait_for_object_by_xpath(xpath,
134 return xpath
149 xpath = 'id("%s")' % element_id
150 return self.click_button_by_xpath(xpath, alert_handler)
153 def click_button_by_xpath(self, xpath, alert_handler=None): argument
161 button = self.wait_for_object_by_xpath(xpath)
[all …]
Dasus_rtac68u_ap_configurator.py89 xpath = '//div[@id="subMenu"]//div[@id="option_str1"]'
90 self.click_button_by_xpath(xpath)
106 def _is_alert_present(self, xpath): argument
109 self.driver.find_element_by_xpath(xpath)
152 xpath = '//select[@name="wl_nmode_x"]'
153 self.wait_for_object_by_xpath(xpath)
154 self.select_item_from_popup_by_xpath(mode_selected, xpath)
170 xpath = '//div[@id="tabMenu"]/table/tbody/tr/td[6]/div/span'
171 self.wait_for_object_by_xpath(xpath)
172 self.click_button_by_xpath(xpath)
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DXPathTokenizer.java15 char[] xpath; field in XPathTokenizer
27 xpath = path.toCharArray(); in XPathTokenizer()
41 while (current < xpath.length) { in nextToken()
42 switch (xpath[current]) { in nextToken()
49 retval = new String(xpath, save, (current - save)); in nextToken()
58 if (current == xpath.length) { in nextToken()
59 retval = new String(xpath, save, (current - save)); in nextToken()
66 public static StringBuffer deleteToken(StringBuffer xpath) { in deleteToken() argument
67 int length = xpath.length(); in deleteToken()
71 switch (xpath.charAt(current)) { in deleteToken()
[all …]
DRecordingCLDRFile.java34 public String getStringValue(String xpath) { in getStringValue() argument
35 recordPath(xpath); in getStringValue()
36 return super.getStringValue(xpath); in getStringValue()
40 public String getWinningValue(String xpath) { in getWinningValue() argument
41 recordPath(xpath); in getWinningValue()
42 return super.getWinningValue(xpath); in getWinningValue()
46 public String getConstructedValue(String xpath) { in getConstructedValue() argument
47 recordPath(xpath); in getConstructedValue()
48 return super.getConstructedValue(xpath); in getConstructedValue()
51 private void recordPath(String xpath) { in recordPath() argument
[all …]
DLDMLUtilities.java29 import javax.xml.xpath.XPath;
30 import javax.xml.xpath.XPathConstants;
31 import javax.xml.xpath.XPathExpression;
32 import javax.xml.xpath.XPathExpressionException;
33 import javax.xml.xpath.XPathFactory;
154 StringBuffer xpath = new StringBuffer(); in getFullyResolvedLDML() local
155 mergeLDMLDocuments(full, doc, xpath, loc, sourceDir, ignoreDraft, false); in getFullyResolvedLDML()
306 String xpath = getAttributeValue(alias, LDMLConstants.PATH); in convertXPath2ICU() local
311 if (xpath != null) { in convertXPath2ICU()
312 XPathAPI_eval(context, xpath); in convertXPath2ICU()
[all …]
DCoverageInfo.java16 private final String xpath; field in CoverageInfo.XPathWithLocation
20 public XPathWithLocation(String xpath, String location) { in XPathWithLocation() argument
21 this.xpath = xpath; in XPathWithLocation()
24 this.xpath, in XPathWithLocation()
51 if (xpath != null && !xpath.equals(o.xpath)) { in equals()
58 return xpath; in getXPath()
84 public Level getCoverageLevel(String xpath, String loc) { in getCoverageLevel() argument
86 final XPathWithLocation xpLoc = new XPathWithLocation(xpath, loc); in getCoverageLevel()
118 public int getCoverageValue(String xpath, String loc) { in getCoverageValue() argument
119 return getCoverageLevel(xpath, loc).getLevel(); in getCoverageValue()
DXMLSource.java166 public String putValueAtPath(String xpath, String value) { in putValueAtPath() argument
170 String distinguishingXPath = CLDRFile.getDistinguishingXPath(xpath, fixedPath); in putValueAtPath()
198 public void valueChanged(String xpath, XMLSource source); in valueChanged() argument
527 public void removeValueAtPath(String xpath) { in removeValueAtPath() argument
530 removeValueAtDPath(CLDRFile.getDistinguishingXPath(xpath, null)); in removeValueAtPath()
540 public String getValueAtPath(String xpath) { in getValueAtPath() argument
541 return getValueAtDPath(CLDRFile.getDistinguishingXPath(xpath, null)); in getValueAtPath()
551 public String getFullPath(String xpath) { in getFullPath() argument
552 return getFullPathAtDPath(CLDRFile.getDistinguishingXPath(xpath, null)); in getFullPath()
744 public String getValueAtDPath(String xpath) { in getValueAtDPath() argument
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DHasPositionalPredChecker.java21 package org.apache.xpath.axes;
23 import org.apache.xpath.Expression;
24 import org.apache.xpath.ExpressionOwner;
25 import org.apache.xpath.XPathVisitor;
26 import org.apache.xpath.functions.FuncLast;
27 import org.apache.xpath.functions.FuncPosition;
28 import org.apache.xpath.functions.Function;
29 import org.apache.xpath.objects.XNumber;
30 import org.apache.xpath.operations.Div;
31 import org.apache.xpath.operations.Minus;
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DXPathExpressionImpl.java20 package org.apache.xpath.jaxp;
22 import org.apache.xpath.*;
25 import org.apache.xpath.objects.XObject;
27 import org.apache.xpath.res.XPATHErrorResources;
32 import javax.xml.xpath.XPathExpressionException;
33 import javax.xml.xpath.XPathConstants;
34 import javax.xml.xpath.XPathFunctionResolver;
35 import javax.xml.xpath.XPathVariableResolver;
36 import javax.xml.xpath.XPathConstants;
53 public class XPathExpressionImpl implements javax.xml.xpath.XPathExpression{
[all …]
DXPathImpl.java20 package org.apache.xpath.jaxp;
24 import javax.xml.xpath.XPathExpressionException;
25 import javax.xml.xpath.XPathConstants;
26 import javax.xml.xpath.XPathFunctionResolver;
27 import javax.xml.xpath.XPathVariableResolver;
28 import javax.xml.xpath.XPathExpression;
31 import org.apache.xpath.*;
32 import org.apache.xpath.objects.XObject;
33 import org.apache.xpath.res.XPATHErrorResources;
57 public class XPathImpl implements javax.xml.xpath.XPath {
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DFunctionTable.java21 package org.apache.xpath.compiler;
23 import org.apache.xpath.Expression;
24 import org.apache.xpath.functions.Function;
178 m_functions[FUNC_CURRENT] = org.apache.xpath.functions.FuncCurrent.class;
179 m_functions[FUNC_LAST] = org.apache.xpath.functions.FuncLast.class;
180 m_functions[FUNC_POSITION] = org.apache.xpath.functions.FuncPosition.class;
181 m_functions[FUNC_COUNT] = org.apache.xpath.functions.FuncCount.class;
182 m_functions[FUNC_ID] = org.apache.xpath.functions.FuncId.class;
186 org.apache.xpath.functions.FuncLocalPart.class;
188 org.apache.xpath.functions.FuncNamespace.class;
[all …]
DCompiler.java21 package org.apache.xpath.compiler;
34 import org.apache.xpath.Expression;
35 import org.apache.xpath.axes.UnionPathIterator;
36 import org.apache.xpath.axes.WalkerFactory;
37 import org.apache.xpath.functions.FuncExtFunction;
38 import org.apache.xpath.functions.FuncExtFunctionAvailable;
39 import org.apache.xpath.functions.Function;
40 import org.apache.xpath.functions.WrongNumberArgsException;
41 import org.apache.xpath.objects.XNumber;
42 import org.apache.xpath.objects.XString;
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRModify.java652 for (String xpath : toMergeIn) { in removePosix()
653 if (xpath.startsWith("//ldml/posix")) toRemove.add(xpath); in removePosix()
734 public abstract void handlePath(String xpath); in handlePath() argument
947 void handlePath(String xpath) { in handlePath() argument
953 filters[c].handlePath(xpath); in handlePath()
955 System.err.println("Failure in " + filters[c].localeID + "\t " + xpath); in handlePath()
1026 public void handlePath(String xpath) {
1027 String fullPath = cldrFileToFilter.getFullXPath(xpath);
1048 public void handlePath(String xpath) {
1049 if (xpath.indexOf("=\"InterIndic\"") < 0) return;
[all …]
DGenerateProductionData.java296 for (String xpath : cldrFileUnresolved) { in copyFilesAndReturnIsEmpty()
297 if (xpath.startsWith("//ldml/identity")) { in copyFilesAndReturnIsEmpty()
300 if (debugPath != null && localeId.equals(debugLocale) && xpath.equals(debugPath)) { in copyFilesAndReturnIsEmpty()
304 String value = cldrFileUnresolved.getStringValue(xpath); in copyFilesAndReturnIsEmpty()
306 toRemove.add(xpath); in copyFilesAndReturnIsEmpty()
313 if (xpath.startsWith("//ldml/annotations/annotation")) { in copyFilesAndReturnIsEmpty()
314 toRemove.add(xpath); in copyFilesAndReturnIsEmpty()
320 if (isArabicSpecial && xpath.contains("/defaultNumberingSystem")) { in copyFilesAndReturnIsEmpty()
321 toRetain.add(xpath); in copyFilesAndReturnIsEmpty()
326 …String bailey = cldrFileResolved.getConstructedBaileyValue(xpath, pathWhereFound, localeWhereFound… in copyFilesAndReturnIsEmpty()
[all …]
DGenerateBirth.java188 for (String xpath : newer) { in main()
189 boolean isOutdated = outdatedPaths.isRawOutdated(locale, xpath); in main()
191 …ystem.out.println("Error, broken locale: " + locale + "\t" + StringId.getId(xpath) + "\t" + xpath); in main()
194 if (outdatedPaths.isSkipped(xpath)) { in main()
197 String previous = outdatedPaths.getPreviousEnglish(xpath); in main()
198 if (previous.isEmpty() != english.emptyPrevious.contains(xpath)) { in main()
199 …System.out.println("previous.isEmpty() != original " + locale + "\t" + StringId.getId(xpath) + "\t" in main()
200 + xpath); in main()
201 needPrevious.add(xpath); in main()
236 for (String xpath : files[0]) { in Births()
[all …]
DFilterFactory.java45 xpath, value; enumConstant
136 for (String xpath : rawFile) { in filterCoverage()
138 int level = covInfo.getCoverageValue(xpath, rawFile.getLocaleID()); in filterCoverage()
140 rawFile.remove(xpath); in filterCoverage()
155 for (String xpath : rawFile) { in removeRedundantPaths()
156 if (xpath.startsWith("//ldml/identity")) { in removeRedundantPaths()
159 String value = rawFile.getStringValue(xpath); in removeRedundantPaths()
161 if (xpath.contains("[@count=")) { in removeRedundantPaths()
162 XPathParts parts = XPathParts.getFrozenInstance(xpath); in removeRedundantPaths()
169 duplicatePaths.add(xpath); in removeRedundantPaths()
[all …]
DConvertXTB.java139 public String xpath; field in ConvertXTB.XtbEntry
142 public XtbEntry(String messageId, String xpath, String value) { in XtbEntry() argument
144 this.xpath = xpath; in XtbEntry()
209 private void addValue(String xpath, String value) { in addValue() argument
215 addPluralValue(xpath, matcher.group(1)); in addValue()
217 addValueToOutput(xpath, value); in addValue()
227 private void addPluralValue(String xpath, String value) { in addPluralValue() argument
264 String pluralXPath = xpath + "[@count=\"" + countType + "\"]"; in addPluralValue()
282 buffer.append(getPlaceholderForName(xpath, name)); in addPluralValue()
297 private void addValueToOutput(String xpath, String value) { in addValueToOutput() argument
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/
DXPathVisitor.java21 package org.apache.xpath;
23 import org.apache.xpath.axes.LocPathIterator;
24 import org.apache.xpath.axes.UnionPathIterator;
25 import org.apache.xpath.functions.Function;
26 import org.apache.xpath.objects.XNumber;
27 import org.apache.xpath.objects.XString;
28 import org.apache.xpath.operations.Operation;
29 import org.apache.xpath.operations.UnaryOperation;
30 import org.apache.xpath.operations.Variable;
31 import org.apache.xpath.patterns.NodeTest;
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DXPPUtil.java15 public static String getXpathName(String xpath) { in getXpathName() argument
16 XPathParts xpp = XPathParts.getFrozenInstance(xpath); in getXpathName()
20 public static String getXpathName(String xpath, int pos) { in getXpathName() argument
21 XPathParts xpp = XPathParts.getFrozenInstance(xpath); in getXpathName()
25 public static String getAttributeValue(String xpath, String element, String attribute) { in getAttributeValue() argument
26 XPathParts xpp = XPathParts.getFrozenInstance(xpath); in getAttributeValue()
34 public static String getAttributeValue(String xpath, String attribute) { in getAttributeValue() argument
35 XPathParts xpp = XPathParts.getFrozenInstance(xpath); in getAttributeValue()
39 … public static String getBasicAttributeValue(CLDRFile whichFile, String xpath, String attribute) { in getBasicAttributeValue() argument
40 String fullPath = whichFile.getFullXPath(xpath); in getBasicAttributeValue()
[all …]
/external/libxml2/fuzz/
DMakefile.am2 EXTRA_PROGRAMS = genSeed html regexp schema uri xml xpath program
4 EXTRA_DIST = html.dict regexp.dict schema.dict xml.dict xpath.dict \
28 corpus: seed/html.stamp seed/schema.stamp seed/xml.stamp seed/xpath.stamp
38 rm -rf seed/xpath.stamp seed/xpath
125 seed/xpath.stamp: genSeed$(EXEEXT)
126 @mkdir -p seed/xpath
127 @./genSeed$(EXEEXT) xpath "$(top_builddir)/test/XPath"
128 @touch seed/xpath.stamp
130 xpath_SOURCES = xpath.c fuzz.c
133 fuzz-xpath: xpath$(EXEEXT) seed/xpath.stamp
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleCache.java39 private String xpath; field in ExampleCache.ExampleCacheItem
64 ExampleCacheItem(String xpath, String value) { in ExampleCacheItem() argument
65 this.xpath = xpath; in ExampleCacheItem()
82 starredPath = pathStarrer.set(xpath); in getExample()
85 valueMap = pathMap.get(xpath); in getExample()
91 … throw new InternalError("getExampleHtml cacheOnly not found: " + xpath + ", " + value); in getExample()
104 pathMap.put(xpath, valueMap); in putExample()
177 void update(String xpath) { in update() argument
179 String starredA = pathStarrer.set(xpath); in update()
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DVariable.java21 package org.apache.xpath.operations;
27 import org.apache.xpath.Expression;
28 import org.apache.xpath.ExpressionOwner;
29 import org.apache.xpath.XPath;
30 import org.apache.xpath.XPathContext;
31 import org.apache.xpath.XPathVisitor;
32 import org.apache.xpath.axes.PathComponent;
33 import org.apache.xpath.axes.WalkerFactory;
34 import org.apache.xpath.objects.XNodeSet;
35 import org.apache.xpath.objects.XObject;
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncCurrent.java21 package org.apache.xpath.functions;
25 import org.apache.xpath.XPathContext;
26 import org.apache.xpath.axes.LocPathIterator;
27 import org.apache.xpath.axes.PredicatedNodeTest;
28 import org.apache.xpath.objects.XNodeSet;
29 import org.apache.xpath.objects.XObject;
30 import org.apache.xpath.axes.SubContextList;
31 import org.apache.xpath.patterns.StepPattern;
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DAbsPathChecker.java23 import org.apache.xpath.ExpressionOwner;
24 import org.apache.xpath.XPathVisitor;
25 import org.apache.xpath.axes.LocPathIterator;
26 import org.apache.xpath.functions.FuncCurrent;
27 import org.apache.xpath.functions.FuncExtFunction;
28 import org.apache.xpath.functions.Function;
29 import org.apache.xpath.operations.Variable;

12345678910>>...15