Home
last modified time | relevance | path

Searched refs:setDictionary (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/test/java/util/zip/
DDeflaterDictionaryTests.java96 … deflater.setDictionary(DICTIONARY.getBytes(UTF_8), dictionary_offset, DICTIONARY_LENGTH); in testByteArray()
111 … inflater.setDictionary(DICTIONARY.getBytes(UTF_8), dictionary_offset, DICTIONARY_LENGTH); in testByteArray()
144 deflater.setDictionary(dictDef); in testHeapByteBuffer()
159 inflater.setDictionary(dictInf); in testHeapByteBuffer()
198 deflater.setDictionary(dictDef.slice()); in testByteBufferDirect()
213 inflater.setDictionary(dictInf.slice()); in testByteBufferDirect()
245 deflater.setDictionary(dictionary, dictionary_offset, DICTIONARY_LENGTH)); in testInvalidOffsets()
247 inflater.setDictionary(dictionary, dictionary_offset, DICTIONARY_LENGTH)); in testInvalidOffsets()
DDeInflate.java216 def.setDictionary(dictDef); in checkDict()
226 inf.setDictionary(dictInf); in checkDict()
245 def.setDictionary(dict); in checkDict()
255 inf.setDictionary(dict); in checkDict()
/libcore/ojluni/annotations/flagged_api/java/util/zip/
DInflater.annotated.java44 public void setDictionary(byte[] dictionary, int off, int len) { throw new RuntimeException("Stub!"… in setDictionary() method in Inflater
46 public void setDictionary(byte[] dictionary) { throw new RuntimeException("Stub!"); } in setDictionary() method in Inflater
49 public void setDictionary(java.nio.ByteBuffer dictionary) { throw new RuntimeException("Stub!"); } in setDictionary() method in Inflater
DDeflater.annotated.java45 public void setDictionary(byte[] dictionary, int off, int len) { throw new RuntimeException("Stub!"… in setDictionary() method in Deflater
47 public void setDictionary(byte[] dictionary) { throw new RuntimeException("Stub!"); } in setDictionary() method in Deflater
50 public void setDictionary(java.nio.ByteBuffer dictionary) { throw new RuntimeException("Stub!"); } in setDictionary() method in Deflater
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DInflater.java50 public void setDictionary(byte[] b, int off, int len) { in setDictionary() method in Inflater
54 public void setDictionary(byte[] b) { in setDictionary() method in Inflater
124 private static native void setDictionary(long addr, byte[] b, int off, int len); in setDictionary() method in Inflater
DDeflater.java53 public void setDictionary(byte[] b, int off, int len) { in setDictionary() method in Deflater
57 public void setDictionary(byte[] b) { in setDictionary() method in Deflater
131 private static native void setDictionary(long addr, byte[] b, int off, int len); in setDictionary() method in Deflater
/libcore/ojluni/src/main/java/java/util/zip/
DInflater.java232 public void setDictionary(byte[] dictionary, int off, int len) { in setDictionary() method in Inflater
238 setDictionary(zsRef.address(), dictionary, off, len); in setDictionary()
252 public void setDictionary(byte[] dictionary) { in setDictionary() method in Inflater
253 setDictionary(dictionary, 0, dictionary.length); in setDictionary()
270 public void setDictionary(ByteBuffer dictionary) { in setDictionary() method in Inflater
285 setDictionary(zsRef.address(), array, offset + position, remaining); in setDictionary()
736 private static native void setDictionary(long addr, byte[] b, int off, in setDictionary() method in Inflater
DDeflater.java310 public void setDictionary(byte[] dictionary, int off, int len) { in setDictionary() method in Deflater
316 setDictionary(zsRef.address(), dictionary, off, len); in setDictionary()
330 public void setDictionary(byte[] dictionary) { in setDictionary() method in Deflater
331 setDictionary(dictionary, 0, dictionary.length); in setDictionary()
348 public void setDictionary(ByteBuffer dictionary) { in setDictionary() method in Deflater
363 setDictionary(zsRef.address(), array, offset + position, remaining); in setDictionary()
927 private static native void setDictionary(long addr, byte[] b, int off, in setDictionary() method in Deflater
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterTest.java895 defDict1.setDictionary(dictionary1.getBytes()); in testSetDictionary$B()
896 defDict2.setDictionary(dictionary2.getBytes()); in testSetDictionary$B()
965 infl1.setDictionary(dictionary1.getBytes()); in testSetDictionary$B()
974 infl2.setDictionary(dictionary2.getBytes()); in testSetDictionary$B()
984 infl1.setDictionary(dictionary1.getBytes()); in testSetDictionary$B()
996 infl1.setDictionary(dictionary2.getBytes()); in testSetDictionary$B()
1003 infl1.setDictionary(dictionary2.getBytes()); in testSetDictionary$B()
1024 defDict1.setDictionary(dictionary1.getBytes()); in testSetDictionary$BII()
1025 defDict2.setDictionary(dictionary2.getBytes()); in testSetDictionary$BII()
1026 defDict3.setDictionary(dictionary2.getBytes(), 4, 4); in testSetDictionary$BII()
[all …]
DDeflaterTest.java449 defl.setDictionary(dictionaryArray); in test_setDictionary$B()
491 defl.setDictionary(dictionaryArray, offSet, length); in test_setDictionary$BII()
525 defl.setDictionary(dictionaryArray, offSet, length); in test_setDictionary$BII()
978 defl.setDictionary(dict); in helper_end_test()
/libcore/luni/src/main/native/
DZipUtilities.h36 void setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, bool inflate);
DZipUtilities.cpp45 void NativeZipStream::setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, in setDictionary() function in NativeZipStream
/libcore/luni/src/test/java/libcore/java/util/zip/
DInflaterTest.java63 inflater.setDictionary(dictionary); in assertRoundTrip()
115 deflater.setDictionary(dictionary); in deflate()
/libcore/ojluni/src/main/native/
DDeflater.c318 NATIVE_METHOD(Deflater, setDictionary, "(J[BII)V"),
DInflater.c312 NATIVE_METHOD(Inflater, setDictionary, "(J[BII)V"),
/libcore/api/
Dcurrent.txt18556 method public void setDictionary(byte[], int, int);
18557 method public void setDictionary(byte[]);
18558 method @FlaggedApi("com.android.libcore.v_apis") public void setDictionary(java.nio.ByteBuffer);
18631 method public void setDictionary(byte[], int, int);
18632 method public void setDictionary(byte[]);
18633 method @FlaggedApi("com.android.libcore.v_apis") public void setDictionary(java.nio.ByteBuffer);