Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/zip/
DDeflaterDictionaryTests.java139 …ByteBuffer dictInf = ByteBuffer.wrap(DICTIONARY.getBytes(UTF_8), DICTIONARY_OFFSET, DICTIONARY_LEN… in testHeapByteBuffer() local
159 inflater.setDictionary(dictInf); in testHeapByteBuffer()
187 ByteBuffer dictInf = ByteBuffer.allocateDirect(DICTIONARY.length()); in testByteBufferDirect() local
189 dictInf.put(DICTIONARY.getBytes(UTF_8)); in testByteBufferDirect()
192 dictInf.position(DICTIONARY_OFFSET); in testByteBufferDirect()
193 dictInf.limit(DICTIONARY_LENGTH); in testByteBufferDirect()
213 inflater.setDictionary(dictInf.slice()); in testByteBufferDirect()
DDeInflate.java212 ByteBuffer dictDef, ByteBuffer dictInf) throws Throwable { in checkDict() argument
226 inf.setDictionary(dictInf); in checkDict()
263 ByteBuffer dictInf = ByteBuffer.wrap(dict); in checkDict() local
264 checkDict(def, inf, src, dstDef, dstInf, dictDef, dictInf); in checkDict()
267 dictInf = ByteBuffer.allocateDirect(dict.length); in checkDict()
269 dictInf.put(dict).flip(); in checkDict()
270 checkDict(def, inf, src, dstDef, dstInf, dictDef, dictInf); in checkDict()