/external/autotest/server/cros/ap_configurators/ |
D | web_driver_core_helpers.py | 37 def _handle_alert(self, xpath, alert_handler): argument 45 self.driver.find_element_by_xpath(xpath) 55 self._handle_alert(xpath, alert_handler) 127 for xpath in xpaths: 129 element = self.wait_for_object_by_xpath(xpath, 132 return xpath 147 xpath = 'id("%s")' % element_id 148 return self.click_button_by_xpath(xpath, alert_handler) 151 def click_button_by_xpath(self, xpath, alert_handler=None): argument 159 button = self.wait_for_object_by_xpath(xpath) [all …]
|
D | asus_rtac68u_ap_configurator.py | 89 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/ |
D | XPathTokenizer.java | 15 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 …]
|
D | LDMLUtilities.java | 29 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 …]
|
D | CoverageInfo.java | 16 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() 49 if (xpath != null && !xpath.equals(o.xpath)) { in equals() 56 return xpath; in getXPath() 82 public Level getCoverageLevel(String xpath, String loc) { in getCoverageLevel() argument 84 final XPathWithLocation xpLoc = new XPathWithLocation(xpath, loc); in getCoverageLevel() 116 public int getCoverageValue(String xpath, String loc) { in getCoverageValue() argument 117 return getCoverageLevel(xpath, loc).getLevel(); in getCoverageValue()
|
D | XMLSource.java | 153 public String putValueAtPath(String xpath, String value) { in putValueAtPath() argument 157 String distinguishingXPath = CLDRFile.getDistinguishingXPath(xpath, fixedPath); in putValueAtPath() 185 public void valueChanged(String xpath, XMLSource source); in valueChanged() argument 473 public void removeValueAtPath(String xpath) { in removeValueAtPath() argument 476 removeValueAtDPath(CLDRFile.getDistinguishingXPath(xpath, null)); in removeValueAtPath() 486 public String getValueAtPath(String xpath) { in getValueAtPath() argument 487 return getValueAtDPath(CLDRFile.getDistinguishingXPath(xpath, null)); in getValueAtPath() 497 public String getFullPath(String xpath) { in getFullPath() argument 498 return getFullPathAtDPath(CLDRFile.getDistinguishingXPath(xpath, null)); in getFullPath() 684 public String getValueAtDPath(String xpath) { in getValueAtDPath() argument [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
D | HasPositionalPredChecker.java | 21 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/ |
D | XPathExpressionImpl.java | 20 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 …]
|
D | XPathImpl.java | 20 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/ |
D | FunctionTable.java | 21 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 …]
|
D | Compiler.java | 21 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/ |
D | CLDRModify.java | 650 for (String xpath : toMergeIn) { in removePosix() 651 if (xpath.startsWith("//ldml/posix")) toRemove.add(xpath); in removePosix() 729 public abstract void handlePath(String xpath); in handlePath() argument 938 void handlePath(String xpath) { in handlePath() argument 944 filters[c].handlePath(xpath); in handlePath() 946 System.err.println("Failure in " + filters[c].localeID + "\t " + xpath); in handlePath() 1017 public void handlePath(String xpath) { 1018 String fullPath = cldrFileToFilter.getFullXPath(xpath); 1038 public void handlePath(String xpath) { 1039 if (xpath.indexOf("=\"InterIndic\"") < 0) return; [all …]
|
D | GenerateProductionData.java | 296 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 …]
|
D | GenerateBirth.java | 187 for (String xpath : newer) { in main() 188 boolean isOutdated = outdatedPaths.isRawOutdated(locale, xpath); in main() 190 …ystem.out.println("Error, broken locale: " + locale + "\t" + StringId.getId(xpath) + "\t" + xpath); in main() 193 if (outdatedPaths.isSkipped(xpath)) { in main() 196 String previous = outdatedPaths.getPreviousEnglish(xpath); in main() 197 if (previous.isEmpty() != english.emptyPrevious.contains(xpath)) { in main() 198 …System.out.println("previous.isEmpty() != original " + locale + "\t" + StringId.getId(xpath) + "\t" in main() 199 + xpath); in main() 200 needPrevious.add(xpath); in main() 235 for (String xpath : files[0]) { in Births() [all …]
|
D | FilterFactory.java | 45 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.getInstance(xpath); // not frozen, for setAttribute in removeRedundantPaths() 168 duplicatePaths.add(xpath); in removeRedundantPaths() [all …]
|
D | dataModifiers.txt | 5 # xpath ; {old_xpath} ; {new_xpath} ; {options} 11 xpath ; //ldml/localeDisplayNames/territories/territory[@type="FK"][@alt="variant"] ; //ldml/locale… 13 xpath ; //ldml/localeDisplayNames/territories/territory[@type="HK"][@alt="short"] ; //ldml/localeDi… 15 xpath ; //ldml/localeDisplayNames/territories/territory[@type="MK"][@alt="variant"] ; //ldml/locale… 17 xpath ; //ldml/localeDisplayNames/territories/territory[@type="MO"][@alt="short"] ; //ldml/localeDi… 19 xpath ; //ldml/localeDisplayNames/territories/territory[@type="PS"][@alt="short"] ; //ldml/localeDi… 22 xpath ; //ldml/numbers/currencies/currency[@type="UAH"]/symbol[@alt="variant"] ; //ldml/numbers/cur… 29 # xpath={xpath} 31 # value ; ₹ ; Rs. ; xpath=//ldml/numbers/currencies/currency[@type="INR"]/symbol
|
D | ConvertXTB.java | 139 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/ |
D | XPathVisitor.java | 21 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/ |
D | XPPUtil.java | 15 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/apache-xml/src/main/java/org/apache/xpath/operations/ |
D | Variable.java | 21 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/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestLdml2ICU.java | 190 String xpath = CLDRFile.getNondraftNonaltXPath(pair.getFirst()); in checkSupplementalRegexes() local 191 XPathParts parts = XPathParts.getFrozenInstance(xpath); in checkSupplementalRegexes() 192 xpath = parts.toString(); in checkSupplementalRegexes() 193 checkPath(lookup, xpath, pair.getSecond()); in checkSupplementalRegexes() 202 private <T> void checkPath(RegexLookup<T> lookup, String xpath, String value) { in checkPath() argument 203 Pair<ExclusionType, String> exclusionInfo = exclusions.get(xpath); in checkPath() 209 if (lookup.get(xpath) == null) { in checkPath() 210 String errorMessage = "CLDR xpath <" + xpath + "> with value <" in checkPath() 213 logRegexLookup(this, lookup, xpath); in checkPath() 218 String template = xpath.replaceAll("\"[^\"]++\"", "*"); in checkPath() [all …]
|
D | TestExampleGenerator.java | 479 for (String xpath : With.in(exampleGenerator.getCldrFile().iterator( in Test4897() 482 String value = exampleGenerator.getCldrFile().getStringValue(xpath); in Test4897() 483 String actual = exampleGenerator.getExampleHtml(xpath, value, ExampleType.NATIVE); in Test4897() 485 if (!xpath.contains("singleCountries") in Test4897() 486 && !xpath.contains("gmtZeroFormat")) { in Test4897() 487 errln("Null value for " + value + "\t" + xpath); in Test4897() 489 exampleGenerator.getExampleHtml(xpath, value, ExampleType.NATIVE); in Test4897() 492 logln(actual + "\t" + value + "\t" + xpath); in Test4897() 510 String xpath = testPair[0]; in Test4528() local 512 String value = exampleGenerator.getCldrFile().getStringValue(xpath); in Test4528() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
D | FuncCurrent.java | 21 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;
|
D | Function.java | 21 package org.apache.xpath.functions; 24 import org.apache.xpath.Expression; 25 import org.apache.xpath.ExpressionOwner; 26 import org.apache.xpath.XPathContext; 27 import org.apache.xpath.XPathVisitor; 28 import org.apache.xpath.compiler.Compiler; 29 import org.apache.xpath.objects.XObject;
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | AbsPathChecker.java | 23 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;
|