Home | History | Annotate | Download | only in lzw

Lines Matching full:last

61 	// last is the most recently seen code, or decoderInvalidCode.
62 clear, eof, hi, overflow, last uint16
65 // suffix[c] is the last of these bytes.
66 // prefix[c] is the code for all but the last byte.
150 if d.last != decoderInvalidCode {
153 d.prefix[d.hi] = d.last
159 d.last = decoderInvalidCode
168 // code == hi is a special case which expands to the last expansion
169 // followed by the head of the last expansion. To find the head, we walk
171 c = d.last
177 c = d.last
187 if d.last != decoderInvalidCode {
190 d.prefix[d.hi] = d.last
197 d.last, d.hi = code, d.hi+1
200 d.last = decoderInvalidCode
259 d.last = decoderInvalidCode