Home
last modified time | relevance | path

Searched refs:locator (Results 1 – 25 of 137) 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/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/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/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/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DTagMatchingDeclarations.java46 .map((locator) -> new LocatorTag(locator, tagComment)) in TagMatchingDeclarations()
60 BodyDeclaration bodyDeclaration = locatorTag.locator.find(cu); in process()
80 final BodyDeclarationLocator locator; field in TagMatchingDeclarations.LocatorTag
83 LocatorTag(BodyDeclarationLocator locator, String tagComment) { in LocatorTag() argument
84 this.locator = locator; in LocatorTag()
91 "locator=" + locator + in toString()
/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/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)
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DInjectedClassRuntime.java30 private final Class<?> locator; field in InjectedClassRuntime
43 public InjectedClassRuntime(final Class<?> locator, in InjectedClassRuntime() argument
45 this.locator = locator; in InjectedClassRuntime()
46 this.injectedClassName = locator.getPackage().getName().replace('.', in InjectedClassRuntime()
54 .privateLookupIn(locator, Lookup.lookup()) // in startup()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
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()
86 final Reader reader = locator in renderSourceFilePages()
92 locator.getTabWidth(), this, folder, context); in renderSourceFilePages()
DBundlePage.java30 private final ISourceFileLocator locator; field in BundlePage
49 final ISourceFileLocator locator, final ReportOutputFolder folder, in BundlePage() argument
53 this.locator = locator; in BundlePage()
72 final PackagePage page = new PackagePage(p, this, locator, in renderPackages()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DNvDynamic_fp.h158 NV_REF locator, // IN: where the data is located
171 NV_REF locator, // IN: where the data is located
184 NV_REF locator // IN: where index exists in NV
195 NV_REF locator, // IN: location of the index
207 NV_REF locator, // IN: location of the index
222 NV_REF *locator // OUT: location of the index
/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/tensorflow/tensorflow/python/debug/lib/
Ddebug_events_reader.py293 def read_graph_execution_traces_event(self, locator): argument
307 file_index, offset = locator
337 def __init__(self, wall_time, locator): argument
339 self._locator = locator
346 def locator(self): member in BaseDigest
371 locator, argument
374 super(ExecutionDigest, self).__init__(wall_time, locator)
438 execution_digest.locator,
662 locator, argument
671 super(GraphOpCreationDigest, self).__init__(wall_time, locator)
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/
DNV_ChangeAuth.c52 NV_REF locator; in TPM2_NV_ChangeAuth() local
53 NV_INDEX *nvIndex = NvGetIndexInfo(in->nvIndex, &locator); in TPM2_NV_ChangeAuth()
65 return NvWriteIndexAuth(locator, &in->newAuth); in TPM2_NV_ChangeAuth()
DNV_UndefineSpaceSpecial.c53 NV_REF locator; in TPM2_NV_UndefineSpaceSpecial() local
54 NV_INDEX *nvIndex = NvGetIndexInfo(in->nvIndex, &locator); in TPM2_NV_UndefineSpaceSpecial()
61 result = NvDeleteIndex(nvIndex, locator); in TPM2_NV_UndefineSpaceSpecial()
DNV_UndefineSpace.c56 NV_REF locator; in TPM2_NV_UndefineSpace() local
57 NV_INDEX *nvIndex = NvGetIndexInfo(in->nvIndex, &locator); in TPM2_NV_UndefineSpace()
73 return NvDeleteIndex(nvIndex, locator); in TPM2_NV_UndefineSpace()

123456