Lines Matching full:distance

55 	stream->distance.bits = 16;  in init_stream()
56 stream->distance.num_symbols = 32; in init_stream()
57 stream->distance.lengths = stream->distance_lengths; in init_stream()
58 stream->distance.symbols = stream->distance_symbols; in init_stream()
59 stream->distance.count = stream->distance_count; in init_stream()
60 stream->distance.first = stream->distance_first; in init_stream()
61 stream->distance.pos = stream->distance_pos; in init_stream()
139 /* decompress a stream of data encoded with the passed length and distance
144 struct huffman_set *distance = &(stream->distance); in decompress_huffman() local
166 if ((symbol = read_symbol(stream, distance)) < 0) in decompress_huffman()
228 struct huffman_set *distance = &(stream->distance); in decompress_dynamic() local
239 init_code_tables(distance); in decompress_dynamic()
252 * to the distance table */ in decompress_dynamic()
271 } else { /* wrap to the distance table */ in decompress_dynamic()
272 distance->lengths[curr_code - hlit] = in decompress_dynamic()
274 distance->count[last_code]++; in decompress_dynamic()
286 /* Fill the distance table, don't need to worry about wrapthrough in decompress_dynamic()
295 distance->lengths[curr_code] = last_code = symbol; in decompress_dynamic()
296 distance->count[symbol]++; in decompress_dynamic()
301 distance->lengths[curr_code] = in decompress_dynamic()
303 distance->count[last_code]++; in decompress_dynamic()
313 fill_code_tables(distance); in decompress_dynamic()
318 /* fill in the length and distance huffman codes for fixed encoding
324 struct huffman_set *distance = &(stream->distance); in decompress_fixed() local
336 cramfs_memset(distance->count, 0, 16); in decompress_fixed()
337 cramfs_memset(distance->first, 0, 16); in decompress_fixed()
338 cramfs_memset(distance->lengths, 5, 32); in decompress_fixed()
339 distance->count[5] = 32; in decompress_fixed()
343 fill_code_tables(distance); in decompress_fixed()