Home
last modified time | relevance | path

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

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lzw/
DLZWInputStream.java48 private int previousCode = UNUSED_PREFIX; field in LZWInputStream
113 protected abstract int addEntry(int previousCode, byte character) in addEntry() argument
185 protected int addEntry(final int previousCode, final byte character, final int maxTableSize) { in addEntry() argument
187 prefixes[tableSize] = previousCode; in addEntry()
200 if (previousCode == -1) { in addRepeatOfPreviousCode()
204 return addEntry(previousCode, previousCodeFirstChar); in addRepeatOfPreviousCode()
220 if (previousCode != -1 && !addedUnfinishedEntry) { in expandCodeToOutputStack()
221 addEntry(previousCode, outputStack[outputStackLocation]); in expandCodeToOutputStack()
223 previousCode = code; in expandCodeToOutputStack()
256 this.previousCode = -1; in resetPreviousCode()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DUnshrinkingInputStream.java55 protected int addEntry(final int previousCode, final byte character) throws IOException { in addEntry() argument
61 final int idx = addEntry(previousCode, character, MAX_TABLE_SIZE); in addEntry()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/z/
DZCompressorInputStream.java104 protected int addEntry(final int previousCode, final byte character) throws IOException { in addEntry() argument
106 final int r = addEntry(previousCode, character, maxTableSize); in addEntry()