Home
last modified time | relevance | path

Searched defs:parser (Results 1 – 25 of 26) sorted by relevance

12

/libcore/luni/src/test/java/libcore/xml/
DPullParserTest.java28 XmlPullParser parser = newPullParser(); in testAttributeNoValueWithRelaxed() local
38 XmlPullParser parser = newPullParser(); in testAttributeUnquotedValueWithRelaxed() local
48 XmlPullParser parser = newPullParser(); in testUnterminatedEntityWithRelaxed() local
60 XmlPullParser parser = newPullParser(); in testEntitiesAndNamespaces() local
68 XmlPullParser parser = newPullParser(); in testEntitiesAndNamespacesWithRelaxed() local
76 private void testNamespace(XmlPullParser parser) throws Exception { in testNamespace()
92 XmlPullParser parser = newPullParser(); in testRegularNumericEntities() local
117 XmlPullParser parser = newPullParser(); in testCharacterReferenceOfUtf16Surrogates() local
127 XmlPullParser parser = newPullParser(); in testCharacterReferenceOfLastUtf16Surrogate() local
158 XmlPullParser parser = newPullParser(); in testLineEndings() local
[all …]
DPullParserDtdTest.java40 XmlPullParser parser = newPullParser(xml); in testDeclaringParameterEntities() local
63 XmlPullParser parser = newPullParser(xml); in testGeneralAndParameterEntityWithTheSameName() local
75 XmlPullParser parser = newPullParser(xml); in testInternalEntities() local
85 XmlPullParser parser = newPullParser(xml); in testExternalDtdIsSilentlyIgnored() local
97 XmlPullParser parser = newPullParser(xml); in testExternalAndInternalDtd() local
109 XmlPullParser parser = newPullParser(xml); in testInternalEntitiesAreParsed() local
121 XmlPullParser parser = newPullParser(xml); in testFoolishlyRecursiveInternalEntities() local
139 XmlPullParser parser = newPullParser(xml); in testExpansionOfEntityAndCharacterReferences() local
158 XmlPullParser parser = newPullParser(xml); in testGeneralEntitiesAreStoredUnresolved() local
168 XmlPullParser parser = newPullParser(xml); in testStructuredEntityAndNextToken() local
[all …]
DSimpleParserTest.java39 private SAXParser parser; field in SimpleParserTest
152 SAXParser parser = factory.newSAXParser(); in testWorkingFile1() local
179 SAXParser parser = factory.newSAXParser(); in testWorkingFile2() local
DSaxTest.java187 SAXParser parser = SAXParserFactory.newInstance().newSAXParser(); in testDisableExternalEntities() local
205 SAXParser parser = SAXParserFactory.newInstance().newSAXParser(); in parse() local
DXmlPullParserFactoryTest.java36 XmlPullParser parser = factory.newPullParser(); in testDefaultNewInstance() local
/libcore/dom/src/test/java/org/w3c/domts/
DLSDocumentBuilderFactory.java32 private final Object parser; field in LSDocumentBuilderFactory
57 Object parser) throws in applySetting()
66 public abstract boolean hasSetting(Object parser); in hasSetting()
93 public void applySetting(DocumentBuilderSetting setting, Object parser) throws in applySetting()
103 public boolean hasSetting(Object parser) { in hasSetting()
131 Object parser, in setParameter()
152 protected static Object getParameter(Object parser, in getParameter()
165 public void applySetting(DocumentBuilderSetting setting, Object parser) throws in applySetting()
179 public boolean hasSetting(Object parser) { in hasSetting()
215 public void applySetting(DocumentBuilderSetting setting, Object parser) throws in applySetting()
[all …]
DXercesHTML2DocumentBuilderFactory.java202 SAXParser parser = factory.newSAXParser(); in load() local
DXercesHTMLDocumentBuilderFactory.java202 SAXParser parser = factory.newSAXParser(); in load() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderFactoryTest.java377 DocumentBuilder parser = null; in test_setCoalescingZ() local
440 DocumentBuilder parser = null; in test_setExpandEntityReferencesZ() local
543 DocumentBuilder parser = dbf.newDocumentBuilder(); in test_setIgnoringCommentsZ() local
566 DocumentBuilder parser = dbf.newDocumentBuilder(); in test_setIgnoringCommentsZ() local
592 DocumentBuilder parser = dbf.newDocumentBuilder(); in test_setIgnoringElementContentWhitespaceZ() local
611 DocumentBuilder parser = dbf.newDocumentBuilder(); in test_setIgnoringElementContentWhitespaceZ() local
635 DocumentBuilder parser = dbf.newDocumentBuilder(); in test_setNamespaceAwareZ() local
654 DocumentBuilder parser = dbf.newDocumentBuilder(); in test_setNamespaceAwareZ() local
DSAXParserTest.java121 SAXParser parser; field in SAXParserTest
145 SAXParser parser = SAXParserFactory.newInstance().newSAXParser(); in initFiles() local
828 Parser parser = spf.newSAXParser().getParser(); in testGetParser() local
851 SAXParser parser = spf.newSAXParser(); in testSetGetProperty() local
863 SAXParser parser = spf.newSAXParser(); in testSetGetProperty() local
873 SAXParser parser = spf.newSAXParser(); in testSetGetProperty() local
884 SAXParser parser = spf.newSAXParser(); in testSetGetProperty() local
894 SAXParser parser = spf.newSAXParser(); in testSetGetProperty() local
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParserException.java36 public XmlPullParserException(String msg, XmlPullParser parser, Throwable chain) { in XmlPullParserException()
/libcore/benchmarks/src/benchmarks/regression/
DXmlEntitiesBenchmark.java59 XmlPullParser parser = xmlPullParserFactory.newPullParser(); in timeXmlParser() local
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DSAXParserImpl.java38 private Parser parser; field in SAXParserImpl
DDocumentBuilderImpl.java105 KXmlParser parser = new KXmlParser(); in parse() local
178 private void parse(KXmlParser parser, DocumentImpl document, Node node, in parse()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatReader.java310 ExpatParser parser = new ExpatParser( in parse() local
322 ExpatParser parser = in parse() local
/libcore/luni/src/main/java/org/xml/sax/helpers/
DParserAdapter.java122 public ParserAdapter (Parser parser) in ParserAdapter()
136 private void setup (Parser parser) in setup()
833 private Parser parser = null; field in ParserAdapter
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DParserAdapterTest.java62 private Parser parser = new MockParser(logger); field in ParserAdapterTest
/libcore/luni/src/main/java/javax/xml/parsers/
DSAXParser.java352 Parser parser = this.getParser(); in parse() local
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp204 static ParsingContext* toParsingContext(XML_Parser parser) { in toParsingContext()
212 static jlong fromXMLParser(XML_Parser parser) { in fromXMLParser()
883 static int handleExternalEntity(XML_Parser parser, const char* context, in handleExternalEntity()
989 XML_Parser parser; in ExpatParser_initialize() local
1034 XML_Parser parser = toXMLParser(pointer); in append() local
1090 XML_Parser parser = toXMLParser(address); in ExpatParser_release() local
/libcore/ojluni/src/main/java/java/lang/
DClass.java808 GenericSignatureParser parser = new GenericSignatureParser(getClassLoader()); in getTypeParameters() local
874 GenericSignatureParser parser = new GenericSignatureParser(getClassLoader()); in getGenericSuperclass() local
1037 GenericSignatureParser parser = new GenericSignatureParser(getClassLoader()); in getGenericInterfaces() local
/libcore/ojluni/src/main/java/java/lang/reflect/
DField.java181 GenericSignatureParser parser = new GenericSignatureParser(cl); in getGenericType() local
DExecutable.java701 GenericSignatureParser parser = in getMethodOrConstructorGenericInfoInternal() local
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java650 DateFormat parser = new SimpleDateFormat(fullPattern, locale); in doUtcParsingTest() local
/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java427 StringTokenizer parser = new StringTokenizer(transformation, "/"); in tokenizeTransformation() local
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java368 private FtpDirParser parser = new DefaultParser(); field in FtpClient

12