Home
last modified time | relevance | path

Searched refs:locator (Results 1 – 25 of 139) sorted by relevance

123456

/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DAntResourcesLocatorTest.java45 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 …]
DAntFilesLocatorTest.java41 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/
DDTMException.java42 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 …]
DDTMConfigurationException.java82 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/
DMultiSourceFileLocatorTest.java31 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 …]
DInputStreamSourceFileLocatorTest.java47 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 …]
DDirectorySourceFileLocatorTest.java39 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/
DSAXSourceLocator.java57 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 …]
DDefaultErrorHandler.java281 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/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DBodyDeclarationLocatorStore.java45 public void add(BodyDeclarationLocator locator, T data) { in add() argument
46 T existing = locator2Data.putIfAbsent(locator, data); in add()
49 "Locator " + locator + " already has existing mapping: " + existing); in add()
76 private final BodyDeclarationLocator locator; field in BodyDeclarationLocatorStore.Mapping
79 private Mapping(BodyDeclarationLocator locator, T value) { in Mapping() argument
80 this.locator = locator; in Mapping()
85 return locator; in getLocator()
DChangeLog.java65 return (locator, typeDeclaration) -> changed("AddDefaultConstructor", in asAddDefaultConstructorListener()
66 locator.getStringFormTarget()); in asAddDefaultConstructorListener()
70 return (annotationInfo, locator, bodyDeclaration) -> changed( in asAddAnnotationListener()
72 String.format(Locale.US, "%s:%s", locator.getStringFormType(), in asAddAnnotationListener()
73 locator.getStringFormTarget())); in asAddAnnotationListener()
DBodyDeclarationLocators.java46 BodyDeclarationLocator locator = BodyDeclarationLocators.fromStringForm(locatorString); in createLocatorsFromStrings() local
47 locatorListBuilder.add(locator); in createLocatorsFromStrings()
60 for (BodyDeclarationLocator locator : locators) { in toLocatorStringForms()
61 stringForms.add(locator.getStringFormType() + ":" + locator.getStringFormTarget()); in toLocatorStringForms()
140 for (BodyDeclarationLocator locator : locators) { in matchesAny()
141 if (locator.matches(node)) { in matchesAny()
/external/v8/src/
Dsplay-tree-inl.h25 Locator* locator) { in Insert() argument
36 locator->bind(root_); in Insert()
43 locator->bind(root_); in Insert()
79 bool SplayTree<Config, Allocator>::Find(const Key& key, Locator* locator) { in Find() argument
81 locator->bind(root_); in Find()
91 Locator* locator) { in FindGreatestLessThan() argument
101 locator->bind(root_); in FindGreatestLessThan()
106 bool result = FindGreatest(locator); in FindGreatestLessThan()
115 Locator* locator) { in FindLeastGreaterThan() argument
125 locator->bind(root_); in FindLeastGreaterThan()
[all …]
Dsplay-tree.h60 bool Insert(const Key& key, Locator* locator);
65 bool Find(const Key& key, Locator* locator);
69 bool FindGreatestLessThan(const Key& key, Locator* locator);
72 bool FindGreatest(Locator* locator);
76 bool FindLeastGreaterThan(const Key& key, Locator* locator);
79 bool FindLeast(Locator* locator);
/external/apache-xml/src/main/java/org/apache/xpath/
DSourceTreeManager.java119 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 …]
DXPath.java164 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/
Dsafesax.jar ... public void setDocumentLocator (org.xml.sax.Locator) org.xml.sax.Locator locator public ...
/external/tcpdump/tests/
Dlisp_eid_notify.out6 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
9 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
14 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.80/32, 1 locator(s)
22 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
25 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
37 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
40 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
45 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.80/32, 1 locator(s)
54 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
57 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
Dlisp_ipv6.out6 …L 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:85a3::8a2e:370:7334/80, 1 locator(s)
9 …L 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:95a3::8a2e:370:7334/80, 1 locator(s)
19 …L 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:85a3::8a2e:370:7334/80, 1 locator(s)
22 …L 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:95a3::8a2e:370:7334/80, 1 locator(s)
Dlisp_eid_register.out6 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
9 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 1 locator(s)
19 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.100/32, 1 locator(s)
22 Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.96/32, 2 locator(s)
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DStylesheetHandler.java409 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/
DBundlePage.java29 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()
DPackageSourcePage.java34 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/libxml2/python/tests/
Dreadererr.py21 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/
DElemTemplate.java95 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()

123456