Lines Matching refs:distance
53 stream->distance.bits = 16; in init_stream()
54 stream->distance.num_symbols = 32; in init_stream()
55 stream->distance.lengths = stream->distance_lengths; in init_stream()
56 stream->distance.symbols = stream->distance_symbols; in init_stream()
57 stream->distance.count = stream->distance_count; in init_stream()
58 stream->distance.first = stream->distance_first; in init_stream()
59 stream->distance.pos = stream->distance_pos; in init_stream()
142 struct huffman_set *distance = &(stream->distance); in decompress_huffman() local
164 if ((symbol = read_symbol(stream, distance)) < 0) in decompress_huffman()
226 struct huffman_set *distance = &(stream->distance); in decompress_dynamic() local
237 init_code_tables(distance); in decompress_dynamic()
270 distance->lengths[curr_code - hlit] = in decompress_dynamic()
272 distance->count[last_code]++; in decompress_dynamic()
293 distance->lengths[curr_code] = last_code = symbol; in decompress_dynamic()
294 distance->count[symbol]++; in decompress_dynamic()
299 distance->lengths[curr_code] = in decompress_dynamic()
301 distance->count[last_code]++; in decompress_dynamic()
311 fill_code_tables(distance); in decompress_dynamic()
322 struct huffman_set *distance = &(stream->distance); in decompress_fixed() local
334 cramfs_memset(distance->count, 0, 16); in decompress_fixed()
335 cramfs_memset(distance->first, 0, 16); in decompress_fixed()
336 cramfs_memset(distance->lengths, 5, 32); in decompress_fixed()
337 distance->count[5] = 32; in decompress_fixed()
341 fill_code_tables(distance); in decompress_fixed()