Lines Matching refs:lengths

41 	stream->codes.lengths = stream->code_lengths;  in init_stream()
47 stream->lengths.bits = 16; in init_stream()
48 stream->lengths.num_symbols = 288; in init_stream()
49 stream->lengths.lengths = stream->length_lengths; in init_stream()
50 stream->lengths.symbols = stream->length_symbols; in init_stream()
51 stream->lengths.count = stream->length_count; in init_stream()
52 stream->lengths.first = stream->length_first; in init_stream()
53 stream->lengths.pos = stream->length_pos; in init_stream()
57 stream->distance.lengths = stream->distance_lengths; in init_stream()
143 struct huffman_set *lengths = &(stream->lengths); in decompress_huffman() local
149 if ((symbol = read_symbol(stream, lengths)) < 0) return; in decompress_huffman()
198 if ((length = set->lengths[i])) in fill_code_tables()
208 cramfs_memset(set->lengths, 0, set->num_symbols); in init_code_tables()
227 struct huffman_set *lengths = &(stream->lengths); in decompress_dynamic() local
238 init_code_tables(lengths); in decompress_dynamic()
245 codes->lengths[huffman_order[i]] = length; in decompress_dynamic()
260 lengths->lengths[curr_code] = last_code = symbol; in decompress_dynamic()
261 lengths->count[symbol]++; in decompress_dynamic()
268 lengths->lengths[curr_code] = in decompress_dynamic()
270 lengths->count[last_code]++; in decompress_dynamic()
272 distance->lengths[curr_code - hlit] = in decompress_dynamic()
284 fill_code_tables(lengths); in decompress_dynamic()
295 distance->lengths[curr_code] = last_code = symbol; in decompress_dynamic()
301 distance->lengths[curr_code] = in decompress_dynamic()
323 struct huffman_set *lengths = &(stream->lengths); in decompress_fixed() local
326 cramfs_memset(lengths->count, 0, 16); in decompress_fixed()
327 cramfs_memset(lengths->first, 0, 16); in decompress_fixed()
328 cramfs_memset(lengths->lengths, 8, 144); in decompress_fixed()
329 cramfs_memset(lengths->lengths + 144, 9, 112); in decompress_fixed()
330 cramfs_memset(lengths->lengths + 256, 7, 24); in decompress_fixed()
331 cramfs_memset(lengths->lengths + 280, 8, 8); in decompress_fixed()
332 lengths->count[7] = 24; in decompress_fixed()
333 lengths->count[8] = 152; in decompress_fixed()
334 lengths->count[9] = 112; in decompress_fixed()
338 cramfs_memset(distance->lengths, 5, 32); in decompress_fixed()
342 fill_code_tables(lengths); in decompress_fixed()