/libcore/luni/src/test/java/libcore/xml/ |
D | PullParserDtdTest.java | 22 import org.xmlpull.v1.XmlPullParser; 40 XmlPullParser parser = newPullParser(xml); in testDeclaringParameterEntities() 41 while (parser.next() != XmlPullParser.END_DOCUMENT) { in testDeclaringParameterEntities() 63 XmlPullParser parser = newPullParser(xml); in testGeneralAndParameterEntityWithTheSameName() 64 assertEquals(XmlPullParser.START_TAG, parser.next()); in testGeneralAndParameterEntityWithTheSameName() 65 assertEquals(XmlPullParser.TEXT, parser.next()); in testGeneralAndParameterEntityWithTheSameName() 67 assertEquals(XmlPullParser.END_TAG, parser.next()); in testGeneralAndParameterEntityWithTheSameName() 68 assertEquals(XmlPullParser.END_DOCUMENT, parser.next()); in testGeneralAndParameterEntityWithTheSameName() 75 XmlPullParser parser = newPullParser(xml); in testInternalEntities() 76 assertEquals(XmlPullParser.START_TAG, parser.next()); in testInternalEntities() [all …]
|
D | PullParserTest.java | 22 import org.xmlpull.v1.XmlPullParser; 28 XmlPullParser parser = newPullParser(); in testAttributeNoValueWithRelaxed() 31 assertEquals(XmlPullParser.START_TAG, parser.next()); in testAttributeNoValueWithRelaxed() 38 XmlPullParser parser = newPullParser(); in testAttributeUnquotedValueWithRelaxed() 41 assertEquals(XmlPullParser.START_TAG, parser.next()); in testAttributeUnquotedValueWithRelaxed() 48 XmlPullParser parser = newPullParser(); in testUnterminatedEntityWithRelaxed() 51 assertEquals(XmlPullParser.START_TAG, parser.next()); in testUnterminatedEntityWithRelaxed() 55 assertEquals(XmlPullParser.TEXT, parser.next()); in testUnterminatedEntityWithRelaxed() 60 XmlPullParser parser = newPullParser(); in testEntitiesAndNamespaces() 68 XmlPullParser parser = newPullParser(); in testEntitiesAndNamespacesWithRelaxed() [all …]
|
D | KxmlPullParserDtdTest.java | 20 import org.xmlpull.v1.XmlPullParser; 24 @Override XmlPullParser newPullParser() throws XmlPullParserException { in newPullParser() 26 result.setFeature(XmlPullParser.FEATURE_PROCESS_DOCDECL, true); in newPullParser()
|
D | KxmlPullParserTest.java | 20 import org.xmlpull.v1.XmlPullParser; 24 @Override XmlPullParser newPullParser() { in newPullParser()
|
D | XmlPullParserFactoryTest.java | 27 import org.xmlpull.v1.XmlPullParser; 36 XmlPullParser parser = factory.newPullParser(); in testDefaultNewInstance() 228 public static class XmlPullParserStub implements XmlPullParser {
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
D | DocumentBuilderImpl.java | 43 import org.xmlpull.v1.XmlPullParser; 108 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, namespaceAware); in parse() 124 if (parser.nextToken() == XmlPullParser.END_DOCUMENT) { in parse() 128 parse(parser, document, document, XmlPullParser.END_DOCUMENT); in parse() 130 parser.require(XmlPullParser.END_DOCUMENT, null, null); in parse() 189 while (token != endToken && token != XmlPullParser.END_DOCUMENT) { in parse() 190 if (token == XmlPullParser.PROCESSING_INSTRUCTION) { in parse() 204 } else if (token == XmlPullParser.DOCDECL) { in parse() 210 } else if (token == XmlPullParser.COMMENT) { in parse() 218 } else if (token == XmlPullParser.IGNORABLE_WHITESPACE) { in parse() [all …]
|
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/ |
D | Driver.java | 33 import org.xmlpull.v1.XmlPullParser; 73 protected XmlPullParser pp; 85 public Driver(XmlPullParser pp) throws XmlPullParserException { in Driver() 173 return pp.getFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES); in getFeature() 175 return pp.getFeature(XmlPullParser.FEATURE_REPORT_NAMESPACE_ATTRIBUTES); in getFeature() 177 return pp.getFeature(XmlPullParser.FEATURE_VALIDATION); in getFeature() 193 pp.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, value); in setFeature() 195 if(pp.getFeature(XmlPullParser.FEATURE_REPORT_NAMESPACE_ATTRIBUTES) != value) { in setFeature() 196 pp.setFeature(XmlPullParser.FEATURE_REPORT_NAMESPACE_ATTRIBUTES, value); in setFeature() 199 pp.setFeature(XmlPullParser.FEATURE_VALIDATION, value); in setFeature() [all …]
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParserFactory.java | 81 features.put (XmlPullParser.FEATURE_PROCESS_NAMESPACES, awareness); in setNamespaceAware() 93 return getFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES); in isNamespaceAware() 105 features.put(XmlPullParser.FEATURE_VALIDATION, validating); in setValidating() 117 return getFeature(XmlPullParser.FEATURE_VALIDATION); in isValidating() 126 public XmlPullParser newPullParser() throws XmlPullParserException { in newPullParser() 127 final XmlPullParser pp = getParserInstance(); in newPullParser() 139 private XmlPullParser getParserInstance() throws XmlPullParserException { in getParserInstance() 148 return (XmlPullParser) parserClass.newInstance(); in getParserInstance()
|
D | XmlPullParserException.java | 36 public XmlPullParserException(String msg, XmlPullParser parser, Throwable chain) { in XmlPullParserException()
|
D | XmlPullParser.java | 141 public interface XmlPullParser { interface
|
/libcore/luni/src/main/java/libcore/timezone/ |
D | TimeZoneFinder.java | 19 import org.xmlpull.v1.XmlPullParser; 308 XmlPullParser parser = xmlPullParserFactory.newPullParser(); in processXml() 362 private static boolean processCountryZones(XmlPullParser parser, in processCountryZones() 407 private static List<TimeZoneMapping> parseTimeZoneMappings(XmlPullParser parser) in parseTimeZoneMappings() 443 private static Long parseLongAttribute(XmlPullParser parser, String attributeName, in parseLongAttribute() 462 private static Boolean parseBooleanAttribute(XmlPullParser parser, in parseBooleanAttribute() 476 private static void findRequiredStartTag(XmlPullParser parser, String elementName) in findRequiredStartTag() 482 private static boolean findOptionalStartTag(XmlPullParser parser, String elementName) in findOptionalStartTag() 495 XmlPullParser parser, String elementName, boolean elementRequired) in findStartTag() 499 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT) { in findStartTag() [all …]
|
/libcore/benchmarks/src/benchmarks/ |
D | XmlParseBenchmark.java | 37 import org.xmlpull.v1.XmlPullParser; 52 private Constructor<? extends XmlPullParser> kxmlConstructor; 53 private Constructor<? extends XmlPullParser> expatConstructor; 134 private int testXmlPull(Constructor<? extends XmlPullParser> constructor, int reps) in testXmlPull() 139 XmlPullParser xmlPullParser = constructor.newInstance(); in testXmlPull() 142 while ((type = xmlPullParser.next()) != XmlPullParser.END_DOCUMENT) { in testXmlPull() 143 if (type == XmlPullParser.START_TAG) { in testXmlPull()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | XmlEntitiesBenchmark.java | 25 import org.xmlpull.v1.XmlPullParser; 59 XmlPullParser parser = xmlPullParserFactory.newPullParser(); in timeXmlParser() 61 while (parser.next() != XmlPullParser.END_DOCUMENT) { in timeXmlParser()
|
/libcore/luni/src/main/java/libcore/util/ |
D | XmlObjectFactory.java | 23 import org.xmlpull.v1.XmlPullParser; 50 public static XmlPullParser newXmlPullParser() { in newXmlPullParser()
|
/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlParser.java | 33 import org.xmlpull.v1.XmlPullParser; 39 public class KXmlParser implements XmlPullParser, Closeable { 1762 if (XmlPullParser.FEATURE_PROCESS_NAMESPACES.equals(feature)) { in getFeature() 2095 if (XmlPullParser.FEATURE_PROCESS_NAMESPACES.equals(feature)) { in setFeature() 2097 } else if (XmlPullParser.FEATURE_PROCESS_DOCDECL.equals(feature)) { in setFeature()
|
/libcore/ |
D | non_openjdk_java_files.bp | 286 "xml/src/main/java/org/xmlpull/v1/XmlPullParser.java",
|
/libcore/mmodules/core_platform_api/api/platform/ |
D | current-api.txt | 1329 method public static org.xmlpull.v1.XmlPullParser newXmlPullParser();
|