Home
last modified time | relevance | path

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

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterTest.java46 inflate.setInput(byteArray); in test_end()
52 inflate.setInput(byteArray); in test_end()
73 inflate.setInput(outPutBuff1); in test_finished()
101 inflateDiction.setInput(outPutDiction); in test_getAdler()
122 inflate.setInput(byteArray); in test_getRemaining()
139 deflate.setInput(byteArray); in test_getTotalIn()
152 inflate.setInput(outPutBuf); in test_getTotalIn()
171 inflate2.setInput(outPutBuff1, offSet, length); in test_getTotalIn()
196 deflate.setInput(byteArray); in test_getTotalOut()
210 inflate.setInput(outPutBuf); in test_getTotalOut()
[all …]
DDeflaterTest.java72 defl.setInput(byteArray); in test_deflate$B()
87 infl.setInput(outPutBuf); in test_deflate$B()
116 defl.setInput(byteArray); in test_deflate$BII()
131 infl.setInput(outPutBuf, offSet, length); in test_deflate$BII()
150 defl.setInput(byteArray); in test_deflate$BII()
177 defl.setInput(byteArray); in test_end()
206 defl.setInput(byteArray); in test_finish()
225 infl.setInput(outPutBuf); in test_finish()
247 defl.setInput(byteArray); in test_finished()
268 defl.setInput(byteArray); in test_getAdler()
[all …]
DInflaterOutputStreamTest.java171 defaultDeflater.setInput(bytes1); in test_finish()
177 bestDeflater.setInput(bytes2); in test_finish()
387 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.java34 deflater.setInput(new byte[] { 1, 2, 3 }); in testDeflate()
39 deflater.setInput(new byte[] { 4, 5, 6 }); in testDeflate()
45 deflater.setInput(new byte[] { 7, 8, 9 }); in testDeflate()
52 deflater.setInput(new byte[] { 10, 11, 12 }); in testDeflate()
63 inflater.setInput(compressed, totalDeflated, lastDeflated);
DInflaterTest.java47 inflater.setInput(deflatedBytes, offset, CHUNK_SIZE); in assertRoundTrip()
67 inflater.setInput(deflatedBytes, offset, nextChunkByteCount); in assertRoundTrip()
97 inflater.setInput(emptyInput); in testEmptyFileAndEmptyBuffer()
108 deflater.setInput(input); in deflate()
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/luni/src/main/java/java/util/zip/
DDeflater.java239 setInput(EmptyArray.BYTE); in deflateImpl()
392 public void setInput(byte[] buf) { in setInput() method in Deflater
393 setInput(buf, 0, buf.length); in setInput()
400 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput() method in Deflater
DInflater.java303 public synchronized void setInput(byte[] buf) { in setInput() method in Inflater
304 setInput(buf, 0, buf.length); in setInput()
311 public synchronized void setInput(byte[] buf, int offset, int byteCount) { in setInput() method in Inflater
DInflaterOutputStream.java144 inf.setInput(bytes, offset, byteCount); in write()
DDeflaterInputStream.java133 def.setInput(buf, 0, bytesRead); in read()
DInflaterInputStream.java195 inf.setInput(buf, 0, len); in fill()
DDeflaterOutputStream.java178 def.setInput(buffer, offset, byteCount); in write()
/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.h34 void setInput(JNIEnv* env, jbyteArray buf, jint off, jint len);
Djava_util_zip_Inflater.cpp52 toNativeZipStream(handle)->setInput(env, buf, off, len); in Inflater_setInputImpl()
61 stream->setInput(env, NULL, 0, len); in Inflater_setFileInputImpl()
DZipUtilities.cpp66 void NativeZipStream::setInput(JNIEnv* env, jbyteArray buf, jint off, jint len) { in setInput() function in NativeZipStream
Djava_util_zip_Deflater.cpp68 toNativeZipStream(handle)->setInput(env, buf, off, len); in Deflater_setInputImpl()
/libcore/benchmarks/src/benchmarks/regression/
DXmlEntitiesBenchmark.java59 parser.setInput(new StringReader(xml)); in timeXmlParser()
DParseBenchmark.java195 xmlParser.setInput(new StringReader(data)); in parse()
/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.java139 xmlPullParser.setInput(inputStream, "UTF-8"); in testXmlPull()

12