Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/zip/
DDeflaterDictionaryTests.java52 private static final int DICTIONARY_LENGTH = 3; field in DeflaterDictionaryTests
64 {DICTIONARY_LENGTH} in validDictionaryOffsets()
77 {DICTIONARY_LENGTH + 2}, in invalidDictionaryOffsets()
96 … deflater.setDictionary(DICTIONARY.getBytes(UTF_8), dictionary_offset, DICTIONARY_LENGTH); in testByteArray() local
111 … inflater.setDictionary(DICTIONARY.getBytes(UTF_8), dictionary_offset, DICTIONARY_LENGTH); in testByteArray() local
138 …Buffer dictDef = ByteBuffer.wrap(DICTIONARY.getBytes(UTF_8), DICTIONARY_OFFSET, DICTIONARY_LENGTH); in testHeapByteBuffer()
139 …Buffer dictInf = ByteBuffer.wrap(DICTIONARY.getBytes(UTF_8), DICTIONARY_OFFSET, DICTIONARY_LENGTH); in testHeapByteBuffer()
191 dictDef.limit(DICTIONARY_LENGTH); in testByteBufferDirect()
193 dictInf.limit(DICTIONARY_LENGTH); in testByteBufferDirect()
245 deflater.setDictionary(dictionary, dictionary_offset, DICTIONARY_LENGTH)); in testInvalidOffsets()
[all …]