Home
last modified time | relevance | path

Searched refs:InputSource (Results 1 – 25 of 68) sorted by relevance

123

/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPMetaParser.java28 import org.xml.sax.InputSource;
155 return parseInputSource(new InputSource(stream)); in parseXmlFromInputStream()
186 InputSource source = new InputSource(buffer.getByteStream()); in parseXmlFromBytebuffer()
209 return parseInputSource(new InputSource(fixReader)); in parseXmlFromBytebuffer()
218 source = new InputSource(buffer.getByteStream()); in parseXmlFromBytebuffer()
241 InputSource source = new InputSource(new StringReader(input)); in parseXmlFromString()
250 source = new InputSource(new FixASCIIControlsReader(new StringReader(input))); in parseXmlFromString()
267 private static Document parseInputSource(InputSource source) throws XMPException in parseInputSource()
/external/python/cpython3/Doc/library/
Dxml.sax.reader.rst54 .. class:: InputSource(system_id=None)
67 An :class:`InputSource` belongs to the application, the :class:`XMLReader` is
68 not allowed to modify :class:`InputSource` objects passed to it from the
106 object, or an :class:`InputSource` object. When
259 InputSource Objects
263 .. method:: InputSource.setPublicId(id)
265 Sets the public identifier of this :class:`InputSource`.
268 .. method:: InputSource.getPublicId()
270 Returns the public identifier of this :class:`InputSource`.
273 .. method:: InputSource.setSystemId(id)
[all …]
/external/python/cpython2/Doc/library/
Dxml.sax.reader.rst53 .. class:: InputSource([systemId])
66 An :class:`InputSource` belongs to the application, the :class:`XMLReader` is
67 not allowed to modify :class:`InputSource` objects passed to it from the
104 name or a URL), a file-like object, or an :class:`InputSource` object. When
252 InputSource Objects
256 .. method:: InputSource.setPublicId(id)
258 Sets the public identifier of this :class:`InputSource`.
261 .. method:: InputSource.getPublicId()
263 Returns the public identifier of this :class:`InputSource`.
266 .. method:: InputSource.setSystemId(id)
[all …]
/external/rust/crates/protobuf/src/
Dbuf_read_iter.rs31 enum InputSource<'a> { enum
54 input_source: InputSource<'a>,
65 InputSource::BufRead(ref mut buf_read) => buf_read.consume(self.pos_within_buf), in drop()
66 InputSource::Read(_) => { in drop()
77 input_source: InputSource::Read(BufReader::with_capacity( in from_read()
91 input_source: InputSource::BufRead(buf_read), in from_buf_read()
102 input_source: InputSource::Slice(bytes), in from_byte_slice()
114 input_source: InputSource::Bytes(bytes), in from_bytes()
288 if let InputSource::Bytes(bytes) = self.input_source { in read_exact_bytes()
357 InputSource::Read(ref mut buf_read) => { in read_exact()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/
DLocalEntityResolver.java18 import org.xml.sax.InputSource;
32 public InputSource resolveEntity(final String publicId, String systemId) in resolveEntity()
42 return new InputSource(in); in resolveEntity()
DXMLSupport.java30 import org.xml.sax.InputSource;
82 .parse(new InputSource(new ByteArrayInputStream(document))); in parse()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DIncrementalSAXSource.java25 import org.xml.sax.InputSource;
87 public void startParse(InputSource source) throws SAXException; in startParse()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTrAXFilter.java36 import org.xml.sax.InputSource;
108 public void parse (InputSource input) in parse()
189 parse(new InputSource(systemId)); in parse()
/external/python/cpython2/Lib/xml/sax/
D__init__.py22 from xmlreader import InputSource
47 inpsrc = InputSource()
/external/python/cpython3/Lib/xml/sax/
D__init__.py22 from .xmlreader import InputSource
43 inpsrc = InputSource()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/
DDOMDeserializer.java12 import org.xml.sax.InputSource;
60 return documentBuilder().parse(new InputSource(new StringReader(value))); in parse()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateAttributeList.java34 import org.xml.sax.InputSource;
94 InputSource is = new InputSource(fis); in addFromDTD()
127 InputSource is = new InputSource(fis); in addFromFiles()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOM2Helper.java35 import org.xml.sax.InputSource;
133 public void parse(InputSource source) throws TransformerException in parse()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ext/
DTestDOM.java6 import org.xml.sax.InputSource;
24 (new InputSource(new StringReader(SIMPLE_XML))); in testSerializeSimpleNonNS()
/external/cldr/tools/java/org/unicode/cldr/util/
DXMLValidator.java28 import org.xml.sax.InputSource;
166 parse(new InputSource(docURI), filename); in run()
170 static Document parse(InputSource docSrc, String filename) { in parse()
DElementAttributeInfo.java15 import org.xml.sax.InputSource;
97 InputSource is = new InputSource(fis); in ElementAttributeInfo()
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/
DXmlDocumentationTest.java34 import org.xml.sax.InputSource;
113 return builder.parse(new InputSource(in)); in parse()
/external/cldr/tools/java/org/unicode/cldr/api/
DXmlDataSource.java26 import org.xml.sax.InputSource;
151 InputSource src = new InputSource(r); in read()
165 private static void parseXml(XMLReader xmlReader, InputSource src, Path path) { in parseXml()
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DXPathExpressionImpl.java45 import org.xml.sax.InputSource;
272 public Object evaluate(InputSource source, QName returnType) in evaluate()
323 public String evaluate(InputSource source) in evaluate()
DXPathImpl.java41 import org.xml.sax.InputSource;
441 public Object evaluate(String expression, InputSource source, in evaluate()
519 public String evaluate(String expression, InputSource source) in evaluate()
/external/python/cpython3/Lib/test/
Dtest_sax.py17 from xml.sax.xmlreader import InputSource, AttributesImpl, AttributesNSImpl
194 input = InputSource()
372 src = InputSource(self.file)
382 src = InputSource(self.file)
392 src = InputSource(self.file)
961 source = InputSource()
1016 inpsrc = InputSource()
1133 parser.parse(InputSource(TEST_XMLFILE))
1148 parser.parse(InputSource(fname))
1158 inpsrc = InputSource()
[all …]
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlPolicyBuilderFuzzerTest.java42 import org.xml.sax.InputSource;
125 new InputSource(new StringReader(html)), "body"); in testFuzzedOutput()
DBenchmark.java37 import org.xml.sax.InputSource;
128 Node node = parser.parse(new InputSource(new StringReader(html))); in parseUsingLibhtmlparser()
/external/python/cpython2/Lib/test/
Dtest_sax.py16 from xml.sax.xmlreader import InputSource, AttributesImpl, AttributesNSImpl
172 input = InputSource()
314 src = InputSource(self.file)
324 src = InputSource(self.file)
720 inpsrc = InputSource()
820 parser.parse(InputSource(TEST_XMLFILE))
835 parser.parse(InputSource(fname))
845 inpsrc = InputSource()
938 source = InputSource()
/external/llvm/tools/llvm-mcmarkup/
Dllvm-mcmarkup.cpp148 StringRef InputSource = Buffer->getBuffer(); in parseMCMarkup() local
153 MarkupLexer Lex(InputSource); in parseMCMarkup()

123