/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
D | AntResourcesLocatorTest.java | 45 private AntResourcesLocator locator; field in AntResourcesLocatorTest 49 locator = new AntResourcesLocator("UTF-8", 8); in setup() 54 assertEquals(8, locator.getTabWidth()); in testGetTabWidth() 59 assertTrue(locator.isEmpty()); in testEmpty() 64 locator.add(createFile("org/jacoco/example/Test.java", "AAA")); in testFile() 66 assertFalse(locator.isEmpty()); in testFile() 67 final Reader source = locator.getSourceFile("org/jacoco/example", in testFile() 75 locator.add(new FileResource(folder.getRoot(), "src")); in testDirectory() 77 assertFalse(locator.isEmpty()); in testDirectory() 78 final Reader source = locator.getSourceFile("org/jacoco/example", in testDirectory() [all …]
|
D | AntFilesLocatorTest.java | 41 private AntFilesLocator locator; field in AntFilesLocatorTest 45 locator = new AntFilesLocator("UTF-8", 4); in setup() 50 assertNull(locator.getSourceFile("org/jacoco/somewhere", in testGetSourceFileNegative() 56 locator.add(createFile("org/jacoco/example/Test.java")); in testGetSourceFile() 57 final Reader source = locator.getSourceFile("org/jacoco/example", in testGetSourceFile()
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
D | DTMException.java | 42 SourceLocator locator; field in DTMException 51 return locator; in getLocator() 61 locator = location; in setLocator() 140 this.locator = null; in DTMException() 153 this.locator = null; in DTMException() 173 this.locator = null; in DTMException() 186 public DTMException(String message, SourceLocator locator) { in DTMException() argument 191 this.locator = locator; in DTMException() 202 public DTMException(String message, SourceLocator locator, in DTMException() argument 208 this.locator = locator; in DTMException() [all …]
|
D | DTMConfigurationException.java | 82 SourceLocator locator) { in DTMConfigurationException() argument 83 super(message, locator); in DTMConfigurationException() 95 SourceLocator locator, in DTMConfigurationException() argument 97 super(message, locator, e); in DTMConfigurationException()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
D | MultiSourceFileLocatorTest.java | 31 private MultiSourceFileLocator locator; field in MultiSourceFileLocatorTest 35 locator = new MultiSourceFileLocator(7); in setup() 40 assertEquals(7, locator.getTabWidth()); in testGetTabWidth() 45 assertNull(locator.getSourceFile("org/jacoco/example", "Test.java")); in testEmpty() 51 locator.add(loc1); in testNohit() 53 locator.add(loc2); in testNohit() 55 locator.add(loc3); in testNohit() 57 assertNull(locator.getSourceFile("org/jacoco/example", "Test.java")); in testNohit() 64 locator.add(loc1); in testHit() 67 locator.add(loc2); in testHit() [all …]
|
D | InputStreamSourceFileLocatorTest.java | 47 ISourceFileLocator locator = new TestLocator("UTF-8", 17); in testGetTabWidth() local 48 assertEquals(17, locator.getTabWidth()); in testGetTabWidth() 53 ISourceFileLocator locator = new TestLocator("UTF-8", 4); in testGetSourceFileNegative() local 54 assertNull(locator.getSourceFile("org/jacoco/example", "Test.java")); in testGetSourceFileNegative() 59 ISourceFileLocator locator = new TestLocator("UTF-8", 4); in testGetSourceFile() local 62 locator.getSourceFile("org/jacoco/example", "Test.java")); in testGetSourceFile() 67 ISourceFileLocator locator = new TestLocator("UTF-8", 4); in testGetSourceFileDefaultPackage() local 69 assertContent("ÜÄö", locator.getSourceFile("", "Test.java")); in testGetSourceFileDefaultPackage() 74 ISourceFileLocator locator = new TestLocator("UTF-16", 4); in testEncoding() local 76 assertContent("ÜÄö", locator.getSourceFile("", "Test.java")); in testEncoding() [all …]
|
D | DirectorySourceFileLocatorTest.java | 39 private ISourceFileLocator locator; field in DirectorySourceFileLocatorTest 43 locator = new DirectorySourceFileLocator(sourceFolder.getRoot(), in setup() 49 assertNull(locator.getSourceFile("org/jacoco/example", in testGetSourceFileNegative() 56 final Reader source = locator.getSourceFile("org/jacoco/example", in testGetSourceFile()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | SAXSourceLocator.java | 57 public SAXSourceLocator(Locator locator) in SAXSourceLocator() argument 59 m_locator = locator; in SAXSourceLocator() 60 this.setColumnNumber(locator.getColumnNumber()); in SAXSourceLocator() 61 this.setLineNumber(locator.getLineNumber()); in SAXSourceLocator() 62 this.setPublicId(locator.getPublicId()); in SAXSourceLocator() 63 this.setSystemId(locator.getSystemId()); in SAXSourceLocator() 72 public SAXSourceLocator(javax.xml.transform.SourceLocator locator) in SAXSourceLocator() argument 75 this.setColumnNumber(locator.getColumnNumber()); in SAXSourceLocator() 76 this.setLineNumber(locator.getLineNumber()); in SAXSourceLocator() 77 this.setPublicId(locator.getPublicId()); in SAXSourceLocator() [all …]
|
D | DefaultErrorHandler.java | 281 SourceLocator locator = null; in ensureLocationSet() local 289 locator = new SAXSourceLocator((SAXParseException)cause); in ensureLocationSet() 295 locator = causeLocator; in ensureLocationSet() 307 exception.setLocator(locator); in ensureLocationSet() 322 SourceLocator locator = null; in printLocation() local 330 locator = new SAXSourceLocator((SAXParseException)cause); in printLocation() 336 locator = causeLocator; in printLocation() 349 if(null != locator) in printLocation() 352 String id = (null != locator.getPublicId() ) in printLocation() 353 ? locator.getPublicId() in printLocation() [all …]
|
/external/v8/src/ |
D | effects.h | 82 Locator locator; in Lookup() local 83 return this->Find(var, &locator) in Lookup() 84 ? locator.value() : Effect::Unknown(Base::zone()); in Lookup() 95 Locator locator; in Seq() local 96 if (!this->Insert(var, &locator)) { in Seq() 97 effect = Effect::Seq(locator.value(), effect, Base::zone()); in Seq() 99 locator.set_value(effect); in Seq() 109 Locator locator; in Alt() local 110 if (!this->Insert(var, &locator)) { in Alt() 111 effect = Effect::Alt(locator.value(), effect, Base::zone()); in Alt() [all …]
|
D | splay-tree-inl.h | 23 Locator* locator) { in Insert() argument 34 locator->bind(root_); in Insert() 41 locator->bind(root_); in Insert() 77 bool SplayTree<Config, Allocator>::Find(const Key& key, Locator* locator) { in Find() argument 79 locator->bind(root_); in Find() 89 Locator* locator) { in FindGreatestLessThan() argument 99 locator->bind(root_); in FindGreatestLessThan() 104 bool result = FindGreatest(locator); in FindGreatestLessThan() 113 Locator* locator) { in FindLeastGreaterThan() argument 123 locator->bind(root_); in FindLeastGreaterThan() [all …]
|
D | splay-tree.h | 62 bool Insert(const Key& key, Locator* locator); 67 bool Find(const Key& key, Locator* locator); 71 bool FindGreatestLessThan(const Key& key, Locator* locator); 74 bool FindGreatest(Locator* locator); 78 bool FindLeastGreaterThan(const Key& key, Locator* locator); 81 bool FindLeast(Locator* locator);
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
D | SourceTreeManager.java | 119 String base, String urlString, SourceLocator locator) in resolveURI() argument 238 String base, String urlString, SourceLocator locator, XPathContext xctxt) in getSourceTree() argument 245 Source source = this.resolveURI(base, urlString, locator); in getSourceTree() 248 return getSourceTree(source, locator, xctxt); in getSourceTree() 252 throw new TransformerException(ioe.getMessage(), locator, ioe); in getSourceTree() 272 public int getSourceTree(Source source, SourceLocator locator, XPathContext xctxt) in getSourceTree() argument 281 n = parseToNode(source, locator, xctxt); in getSourceTree() 300 public int parseToNode(Source source, SourceLocator locator, XPathContext xctxt) in parseToNode() argument 322 throw new TransformerException(e.getMessage(), locator, e); in parseToNode() 341 public static XMLReader getXMLReader(Source inputSource, SourceLocator locator) in getXMLReader() argument [all …]
|
D | XPath.java | 164 String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type, in XPath() argument 174 XPathParser parser = new XPathParser(errorListener, locator); in XPath() 175 Compiler compiler = new Compiler(errorListener, locator, m_funcTable); in XPath() 190 if((null != locator) && locator instanceof ExpressionNode) in XPath() 192 expr.exprSetParent((ExpressionNode)locator); in XPath() 212 String exprString, SourceLocator locator, in XPath() argument 223 XPathParser parser = new XPathParser(errorListener, locator); in XPath() 224 Compiler compiler = new Compiler(errorListener, locator, m_funcTable); in XPath() 242 if((null != locator) && locator instanceof ExpressionNode) in XPath() 244 expr.exprSetParent((ExpressionNode)locator); in XPath() [all …]
|
/external/guice/lib/build/ |
D | safesax.jar | ... public void setDocumentLocator (org.xml.sax.Locator)
org.xml.sax.Locator locator
public ... |
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
D | StylesheetHandler.java | 409 public void setDocumentLocator(Locator locator) in setDocumentLocator() argument 413 m_stylesheetLocatorStack.push(new SAXSourceLocator(locator)); in setDocumentLocator() 855 SAXSourceLocator locator = getLocator(); in warn() local 861 handler.warning(new TransformerException(formattedMsg, locator)); in warn() 901 SAXSourceLocator locator = getLocator(); in error() local 908 ? new TransformerException(msg, locator) in error() 909 : new TransformerException(msg, locator, e); in error() 968 SAXSourceLocator locator = getLocator(); in warning() local 973 handler.warning(new TransformerException(formattedMsg, locator)); in warning() 996 SAXSourceLocator locator = getLocator(); in error() local [all …]
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/ |
D | BundlePage.java | 29 private final ISourceFileLocator locator; field in BundlePage 48 final ISourceFileLocator locator, final ReportOutputFolder folder, in BundlePage() argument 52 this.locator = locator; in BundlePage() 68 final PackagePage page = new PackagePage(p, this, locator, in renderPackages()
|
D | PackageSourcePage.java | 34 private final ISourceFileLocator locator; field in PackageSourcePage 55 final ReportPage parent, final ISourceFileLocator locator, in PackageSourcePage() argument 59 this.locator = locator; in PackageSourcePage() 83 final Reader reader = locator in renderSourceFilePages() 89 locator.getTabWidth(), this, folder, context); in renderSourceFilePages()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | ReplaceSelectedJavadoc.java | 65 if (replacement.locator.matches(bodyDeclaration)) { in processComment() 112 BodyDeclarationLocator locator = BodyDeclarationLocators.fromStringForm(locatorString); in createFromResource() local 116 replacements.add(new Replacement(locator, replacementText)); in createFromResource() 141 public final BodyDeclarationLocator locator; field in ReplaceSelectedJavadoc.Replacement 144 public Replacement(BodyDeclarationLocator locator, String replacementText) { in Replacement() argument 145 this.locator = locator; in Replacement()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | BodyDeclarationLocators.java | 43 BodyDeclarationLocator locator = BodyDeclarationLocators.fromStringForm(locatorString); in createLocatorsFromStrings() local 44 locatorListBuilder.add(locator); in createLocatorsFromStrings() 57 for (BodyDeclarationLocator locator : locators) { in toLocatorStringForms() 58 stringForms.add(locator.getStringFormType() + ":" + locator.getStringFormTarget()); in toLocatorStringForms() 137 for (BodyDeclarationLocator locator : locators) { in matchesAny() 138 if (locator.matches(node)) { in matchesAny()
|
/external/v8/src/profiler/ |
D | profile-generator.cc | 387 CodeTree::Locator locator; in AddCode() local 388 tree_.Insert(addr, &locator); in AddCode() 389 locator.set_value(CodeEntryInfo(entry, size)); in AddCode() 397 CodeTree::Locator locator; in DeleteAllCoveredCode() local 398 if (!tree_.FindGreatestLessThan(addr, &locator)) break; in DeleteAllCoveredCode() 399 Address start2 = locator.key(), end2 = start2 + locator.value().size; in DeleteAllCoveredCode() 408 CodeTree::Locator locator; in FindEntry() local 409 if (tree_.FindGreatestLessThan(addr, &locator)) { in FindEntry() 411 const CodeEntryInfo& entry = locator.value(); in FindEntry() 412 if (addr < (locator.key() + entry.size)) { in FindEntry() [all …]
|
/external/libxml2/python/tests/ |
D | readererr.py | 21 def myErrorHandler(arg,msg,severity,locator): argument 23 err = err + "%s (%d) %s:%d:%s" % (arg,severity,locator.BaseURI(),locator.LineNumber(),msg)
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemTemplate.java | 95 public void setLocaterInfo(SourceLocator locator) in setLocaterInfo() argument 98 m_publicId = locator.getPublicId(); in setLocaterInfo() 99 m_systemId = locator.getSystemId(); in setLocaterInfo() 101 super.setLocaterInfo(locator); in setLocaterInfo()
|
D | FuncDocument.java | 326 SourceLocator locator = spe2.getLocator(); in getDoc() 327 if ((null != locator) && (null != locator.getSystemId())) in getDoc() 328 diagnosticsWriter.println(" ID: " + locator.getSystemId() in getDoc() 329 + " Line #" + locator.getLineNumber() in getDoc() 331 + locator.getColumnNumber()); in getDoc()
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/ |
D | AbstractGroupVisitor.java | 44 final ISourceFileLocator locator) throws IOException { in visitBundle() argument 47 handleBundle(bundle, locator); in visitBundle() 61 ISourceFileLocator locator) throws IOException; in handleBundle() argument
|