Lines Matching full:block_size
352 u32 block_size; in lzx_read_block_header() local
364 block_size = LZX_DEFAULT_BLOCK_SIZE; in lzx_read_block_header()
366 block_size = 0; in lzx_read_block_header()
367 block_size |= bitstream_read_bits(is, 8); in lzx_read_block_header()
368 block_size <<= 8; in lzx_read_block_header()
369 block_size |= bitstream_read_bits(is, 8); in lzx_read_block_header()
466 *block_size_ret = block_size; in lzx_read_block_header()
473 int block_type, u32 block_size, in lzx_decompress_block() argument
477 u8 * const block_end = out_next + block_size; in lzx_decompress_block()
611 u32 block_size; in lzx_decompress() local
613 if (lzx_read_block_header(d, &is, &block_type, &block_size, in lzx_decompress()
617 if (block_size < 1 || block_size > (size_t)(out_end - out_next)) in lzx_decompress()
627 block_size, in lzx_decompress()
634 out_next += block_size; in lzx_decompress()
639 block_size); in lzx_decompress()
643 if (block_size & 1) in lzx_decompress()