Home
last modified time | relevance | path

Searched refs:setInput (Results 1 – 25 of 31) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterTest.java53 inflate.setInput(byteArray); in test_end()
79 inflate.setInput(outPutBuff1); in test_finished()
108 inflateDiction.setInput(outPutDiction); in test_getAdler()
130 inflate.setInput(byteArray); in test_getRemaining()
148 deflate.setInput(byteArray); in test_getTotalIn()
161 inflate.setInput(outPutBuf); in test_getTotalIn()
182 inflate2.setInput(outPutBuff1, offSet, length); in test_getTotalIn()
208 deflate.setInput(byteArray); in test_getTotalOut()
222 inflate.setInput(outPutBuf); in test_getTotalOut()
246 inflate.setInput(outPutBuf); in test_getTotalOut()
[all …]
DDeflaterTest.java76 defl.setInput(byteArray); in test_deflate$B()
91 infl.setInput(outPutBuf); in test_deflate$B()
120 defl.setInput(byteArray); in test_deflate$BII()
135 infl.setInput(outPutBuf, offSet, length); in test_deflate$BII()
154 defl.setInput(byteArray); in test_deflate$BII()
181 defl.setInput(byteArray); in test_end()
210 defl.setInput(byteArray); in test_finish()
229 infl.setInput(outPutBuf); in test_finish()
251 defl.setInput(byteArray); in test_finished()
272 defl.setInput(byteArray); in test_getAdler()
[all …]
DInflaterOutputStreamTest.java190 defaultDeflater.setInput(bytes1); in test_finish()
197 bestDeflater.setInput(bytes2); in test_finish()
417 deflater.setInput(input); in compressToBytes()
/libcore/luni/src/test/java/libcore/xml/
DPullParserTest.java30 parser.setInput(new StringReader("<input checked></input>")); in testAttributeNoValueWithRelaxed()
40 parser.setInput(new StringReader("<input checked=true></input>")); in testAttributeUnquotedValueWithRelaxed()
50 parser.setInput(new StringReader("<foo bar='A&W'>mac&cheese</foo>")); in testUnterminatedEntityWithRelaxed()
62 parser.setInput(new StringReader( in testEntitiesAndNamespaces()
71 parser.setInput(new StringReader( in testEntitiesAndNamespacesWithRelaxed()
93 parser.setInput(new StringReader("<foo>&#65;</foo>")); in testRegularNumericEntities()
118 parser.setInput(new StringReader(xml)); in testCharacterReferenceOfUtf16Surrogates()
128 parser.setInput(new StringReader("<foo>&#x10FFFF;</foo>")); in testCharacterReferenceOfLastUtf16Surrogate()
159 parser.setInput(new StringReader(xml)); in testLineEndings()
172 parser.setInput(new StringReader( in testXmlDeclaration()
[all …]
DXmlPullParserFactoryTest.java243 public void setInput(Reader in) throws XmlPullParserException { in setInput() method in XmlPullParserFactoryTest.XmlPullParserStub
246 public void setInput(InputStream inputStream, String inputEncoding) in setInput() method in XmlPullParserFactoryTest.XmlPullParserStub
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterTest.java53 deflater.setInput(new byte[] { 1, 2, 3 }); in testDeflate()
58 deflater.setInput(new byte[] { 4, 5, 6 }); in testDeflate()
64 deflater.setInput(new byte[] { 7, 8, 9 }); in testDeflate()
73 deflater.setInput(new byte[] { 10, 11, 12 }); in testDeflate()
84 inflater.setInput(compressed, totalDeflated, lastDeflated);
108 deflater.setInput(new byte[] { 1, 2, 3 });
115 deflater.setInput(new byte[] { 1, 2, 3 });
DInflaterTest.java53 inflater.setInput(deflatedBytes, offset, CHUNK_SIZE); in assertRoundTrip()
73 inflater.setInput(deflatedBytes, offset, nextChunkByteCount); in assertRoundTrip()
103 inflater.setInput(emptyInput); in testEmptyFileAndEmptyBuffer()
117 deflater.setInput(input); in deflate()
143 inflater.setInput(compressed, 0, 5); in testInflaterCounts()
152 inflater.setInput(compressed, 5, 6); in testInflaterCounts()
DOldAndroidDeflateTest.java49 compresser.setInput(input); in simpleTest()
55 decompresser.setInput(output, 0, compressedDataLength); in simpleTest()
142 deflater.setInput(inBuf, inPosn, want); in compress()
181 inflater.setInput(inBuf, inPosn, want); in expand()
DOldAndroidZipStressTest.java157 deflater.setInput(input); in testZipDeflateInflateStress()
165 inflater.setInput(zipped); in testZipDeflateInflateStress()
/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java141 public void setInput(byte[] b, int off, int len) { in setInput() method in Inflater
162 public void setInput(byte[] b) { in setInput() method in Inflater
163 setInput(b, 0, b.length); in setInput()
DDeflater.java217 public void setInput(byte[] b, int off, int len) { in setInput() method in Deflater
237 public void setInput(byte[] b) { in setInput() method in Deflater
238 setInput(b, 0, b.length); in setInput()
DDeflaterInputStream.java194 def.setInput(buf, 0, n); in read()
DInflaterInputStream.java270 inf.setInput(buf, 0, len); in fill()
DInflaterOutputStream.java246 inf.setInput(b, off, part); in write()
DDeflaterOutputStream.java210 def.setInput(b, off, len); in write()
DGZIPInputStream.java249 inf.setInput(buf, len - n + m, n - m); in readTrailer()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DInflater.java42 public void setInput(byte[] b, int off, int len) { in setInput() method in Inflater
46 public void setInput(byte[] b) { in setInput() method in Inflater
DDeflater.java45 public void setInput(byte[] b, int off, int len) { in setInput() method in Deflater
49 public void setInput(byte[] b) { in setInput() method in Deflater
/libcore/luni/src/main/java/libcore/reflect/
DGenericSignatureParser.java104 void setInput(GenericDeclaration genericDecl, String input) { in setInput() method in GenericSignatureParser
124 setInput(genericDecl, signature); in parseForClass()
155 setInput(genericDecl, signature); in parseForMethod()
186 setInput(genericDecl, signature); in parseForConstructor()
216 setInput(genericDecl, signature); in parseForField()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParser.java468 void setInput(Reader in) throws XmlPullParserException; in setInput() method
489 void setInput(InputStream inputStream, String inputEncoding) in setInput() method
/libcore/luni/src/main/native/
DZipUtilities.h37 void setInput(JNIEnv* env, jbyteArray buf, jint off, jint len);
DZipUtilities.cpp67 void NativeZipStream::setInput(JNIEnv* env, jbyteArray buf, jint off, jint len) { in setInput() function in NativeZipStream
/libcore/benchmarks/src/benchmarks/regression/
DXmlEntitiesBenchmark.java60 parser.setInput(new StringReader(xml)); in timeXmlParser()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java111 parser.setInput(source.getByteStream(), inputEncoding); in parse()
113 parser.setInput(source.getCharacterStream()); in parse()
119 parser.setInput(urlConnection.getInputStream(), inputEncoding); in parse()
/libcore/benchmarks/src/benchmarks/
DXmlParseBenchmark.java140 xmlPullParser.setInput(inputStream, "UTF-8"); in testXmlPull()

12